Back to index

cell-binutils  2.17cvs20070401
dlx.h
Go to the documentation of this file.
00001 /* DLX support for BFD.
00002    Copyright 2002 Free Software Foundation, Inc.
00003 
00004    This file is part of BFD, the Binary File Descriptor library.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software Foundation,
00018    Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00019 
00020 #ifndef _ELF_DLX_H
00021 #define _ELF_DLX_H
00022 
00023 #include "elf/reloc-macros.h"
00024 
00025 #if 0
00026 START_RELOC_NUMBERS (elf_dlx_reloc_type)
00027      RELOC_NUMBER (R_DLX_NONE,            0)
00028      RELOC_NUMBER (R_DLX_RELOC_16,        1)
00029      RELOC_NUMBER (R_DLX_RELOC_26,        2)
00030      RELOC_NUMBER (R_DLX_RELOC_32,        3)
00031      RELOC_NUMBER (R_DLX_GNU_VTINHERIT,   4)
00032      RELOC_NUMBER (R_DLX_GNU_VTENTRY,     5)
00033      RELOC_NUMBER (R_DLX_RELOC_16_HI,     6)
00034      RELOC_NUMBER (R_DLX_RELOC_16_LO,     7)
00035      RELOC_NUMBER (R_DLX_RELOC_16_PCREL,  8)
00036      RELOC_NUMBER (R_DLX_RELOC_26_PCREL,  9)
00037 END_RELOC_NUMBERS (R_DLX_max)
00038 #else
00039 START_RELOC_NUMBERS (elf_dlx_reloc_type)
00040      RELOC_NUMBER (R_DLX_NONE,            0)
00041      RELOC_NUMBER (R_DLX_RELOC_8,         1)
00042      RELOC_NUMBER (R_DLX_RELOC_16,        2)
00043      RELOC_NUMBER (R_DLX_RELOC_32,        3)
00044      RELOC_NUMBER (R_DLX_GNU_VTINHERIT,   4)
00045      RELOC_NUMBER (R_DLX_GNU_VTENTRY,     5)
00046      RELOC_NUMBER (R_DLX_RELOC_16_HI,     6)
00047      RELOC_NUMBER (R_DLX_RELOC_16_LO,     7)
00048      RELOC_NUMBER (R_DLX_RELOC_16_PCREL,  8)
00049      RELOC_NUMBER (R_DLX_RELOC_26_PCREL,  9)
00050 END_RELOC_NUMBERS (R_DLX_max)
00051 #endif /* 0 */
00052 
00053 #endif /* _ELF_DLX_H */