Back to index

cell-binutils  2.17cvs20070401
elf64-hppa.h
Go to the documentation of this file.
00001 /* ELF64/HPPA support
00002 
00003    Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
00004 
00005 This file is part of BFD, the Binary File Descriptor library.
00006 
00007 This program is free software; you can redistribute it and/or modify
00008 it under the terms of the GNU General Public License as published by
00009 the Free Software Foundation; either version 2 of the License, or
00010 (at your option) any later version.
00011 
00012 This program is distributed in the hope that it will be useful,
00013 but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with this program; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00020 
00021 #ifndef _ELF64_HPPA_H
00022 #define _ELF64_HPPA_H
00023 
00024 #include "elf-bfd.h"
00025 #include "libhppa.h"
00026 #include "elf/hppa.h"
00027 
00028 elf_hppa_reloc_type elf64_hppa_reloc_final_type
00029   PARAMS ((bfd *, elf_hppa_reloc_type, int, unsigned int));
00030 
00031 extern elf_hppa_reloc_type ** _bfd_elf64_hppa_gen_reloc_type
00032   PARAMS ((bfd *, elf_hppa_reloc_type, int, unsigned int, int, asymbol *));
00033 
00034 /* Define groups of basic relocations.  FIXME:  These should
00035    be the only basic relocations created by GAS.  The rest
00036    should be internal to the BFD backend.
00037 
00038    The idea is both SOM and ELF define these basic relocation
00039    types so they map into a SOM or ELF specific relocation
00040    as appropriate.  This allows GAS to share much more code
00041    between the two target object formats.  */
00042 
00043 #define R_HPPA_NONE                R_PARISC_NONE
00044 #define R_HPPA                            R_PARISC_DIR64
00045 #define R_HPPA_GOTOFF                     R_PARISC_DLTREL21L
00046 #define R_HPPA_PCREL_CALL          R_PARISC_PCREL21L
00047 #define R_HPPA_ABS_CALL                   R_PARISC_DIR17F
00048 #define R_HPPA_COMPLEX                    R_PARISC_UNIMPLEMENTED
00049 
00050 #endif /* _ELF64_HPPA_H */