Home | History | Annotate | Download | only in libelf
      1 /* Helper file for type conversion function generation.
      2    Copyright (C) 1998, 1999, 2000, 2002, 2004 Red Hat, Inc.
      3    Contributed by Ulrich Drepper <drepper (at) redhat.com>, 1998.
      4 
      5    This program is free software; you can redistribute it and/or modify
      6    it under the terms of the GNU General Public License as published by
      7    the Free Software Foundation, version 2.
      8 
      9    This program is distributed in the hope that it will be useful,
     10    but WITHOUT ANY WARRANTY; without even the implied warranty of
     11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     12    GNU General Public License for more details.
     13 
     14    You should have received a copy of the GNU General Public License
     15    along with this program; if not, write to the Free Software Foundation,
     16    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
     17 
     18 
     19 /* Simple types.  */
     20 FUNDAMENTAL (ADDR, Addr, LIBELFBITS);
     21 FUNDAMENTAL (OFF, Off, LIBELFBITS);
     22 FUNDAMENTAL (HALF, Half, LIBELFBITS);
     23 FUNDAMENTAL (WORD, Word, LIBELFBITS);
     24 FUNDAMENTAL (SWORD, Sword, LIBELFBITS);
     25 FUNDAMENTAL (XWORD, Xword, LIBELFBITS);
     26 FUNDAMENTAL (SXWORD, Sxword, LIBELFBITS);
     27 
     28 /* The structured types.  */
     29 TYPE (Ehdr, LIBELFBITS)
     30 TYPE (Phdr, LIBELFBITS)
     31 TYPE (Shdr, LIBELFBITS)
     32 TYPE (Sym, LIBELFBITS)
     33 TYPE (Rel, LIBELFBITS)
     34 TYPE (Rela, LIBELFBITS)
     35 TYPE (Note, LIBELFBITS)
     36 TYPE (Dyn, LIBELFBITS)
     37 TYPE (Syminfo, LIBELFBITS)
     38 TYPE (Move, LIBELFBITS)
     39 TYPE (Lib, LIBELFBITS)
     40 
     41 
     42 /* Prepare for the next round.  */
     43 #undef LIBELFBITS
     44