Home | History | Annotate | Download | only in libelf
      1 /* Copyright (C) 2002 Red Hat, Inc.
      2    This file is part of Red Hat elfutils.
      3 
      4    Red Hat elfutils is free software; you can redistribute it and/or modify
      5    it under the terms of the GNU General Public License as published by the
      6    Free Software Foundation; version 2 of the License.
      7 
      8    Red Hat elfutils is distributed in the hope that it will be useful, but
      9    WITHOUT ANY WARRANTY; without even the implied warranty of
     10    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     11    General Public License for more details.
     12 
     13    You should have received a copy of the GNU General Public License along
     14    with Red Hat elfutils; if not, write to the Free Software Foundation,
     15    Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.
     16 
     17    In addition, as a special exception, Red Hat, Inc. gives You the
     18    additional right to link the code of Red Hat elfutils with code licensed
     19    under any Open Source Initiative certified open source license
     20    (http://www.opensource.org/licenses/index.php) which requires the
     21    distribution of source code with any binary distribution and to
     22    distribute linked combinations of the two.  Non-GPL Code permitted under
     23    this exception must only link to the code of Red Hat elfutils through
     24    those well defined interfaces identified in the file named EXCEPTION
     25    found in the source code files (the "Approved Interfaces").  The files
     26    of Non-GPL Code may instantiate templates or use macros or inline
     27    functions from the Approved Interfaces without causing the resulting
     28    work to be covered by the GNU General Public License.  Only Red Hat,
     29    Inc. may make changes or additions to the list of Approved Interfaces.
     30    Red Hat's grant of this exception is conditioned upon your not adding
     31    any new exceptions.  If you wish to add a new Approved Interface or
     32    exception, please contact Red Hat.  You must obey the GNU General Public
     33    License in all respects for all of the Red Hat elfutils code and other
     34    code used in conjunction with Red Hat elfutils except the Non-GPL Code
     35    covered by this exception.  If you modify this file, you may extend this
     36    exception to your version of the file, but you are not obligated to do
     37    so.  If you do not wish to provide this exception without modification,
     38    you must delete this exception statement from your version and license
     39    this file solely under the GPL without exception.
     40 
     41    Red Hat elfutils is an included package of the Open Invention Network.
     42    An included package of the Open Invention Network is a package for which
     43    Open Invention Network licensees cross-license their patents.  No patent
     44    license is granted, either expressly or impliedly, by designation as an
     45    included package.  Should you wish to participate in the Open Invention
     46    Network licensing program, please visit www.openinventionnetwork.com
     47    <http://www.openinventionnetwork.com>.  */
     48 
     49 #ifdef HAVE_CONFIG_H
     50 # include <config.h>
     51 #endif
     52 
     53 #define next_prime attribute_hidden __libelf_next_prime
     54 #include "../lib/next_prime.c"
     55