summaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-06-22 12:20:30 +0000
committerJeff Law <law@redhat.com>1999-06-22 12:20:30 +0000
commit7ba6ec0182cfde6de0c769e0fe6322bfdd9e5b67 (patch)
tree6570c95134f879342c98d1b723e6ffb6abe8466a /bfd/elf32-hppa.h
parent5491733dd7911eacd7a19c6ff739889fbc0a9aba (diff)
downloadbinutils-redhat-7ba6ec0182cfde6de0c769e0fe6322bfdd9e5b67.tar.gz
* elf-hppa.h: New file. Common stuff for elf32 and elf64 PA
support. * elf32-hppa.c: Include elf-hppa.h. (ARCH_SIZE): Define. (elf_hppa_reloc_type_lookup): Delete. Found in the common code now. (elf32_hppa_info_to_howto): Similarly. (elf_hppa_howto_table): Similarly. (elf_hppa_reloc_type_lookup): Similarly. (hppa_elf_gen_reloc_type): Similarly. * elf32-hppa.h (ELF_HOWTO_TALBE, N_PARISC_RELOCS): Delete.
Diffstat (limited to 'bfd/elf32-hppa.h')
-rw-r--r--bfd/elf32-hppa.h26
1 files changed, 10 insertions, 16 deletions
diff --git a/bfd/elf32-hppa.h b/bfd/elf32-hppa.h
index b233920459..2d99aa8f33 100644
--- a/bfd/elf32-hppa.h
+++ b/bfd/elf32-hppa.h
@@ -35,32 +35,26 @@
#include "libhppa.h"
#include "elf/hppa.h"
-#define ELF_HOWTO_TABLE_SIZE R_PARISC_UNIMPLEMENTED + 1
-#define N_PARISC_RELOCS R_PARISC_UNIMPLEMENTED + 1
+boolean elf32_hppa_size_stubs
+ PARAMS ((bfd *, bfd *, struct bfd_link_info *));
+
+boolean elf32_hppa_build_stubs
+ PARAMS ((bfd *, struct bfd_link_info *));
/* Define groups of basic relocations. FIXME: These should
be the only basic relocations created by GAS. The rest
- should be internal to the BFD backend.
+ should be internal to the BFD backend.
The idea is both SOM and ELF define these basic relocation
- types so they map into a SOM or ELF specific relocation
+ types so they map into a SOM or ELF specific relocation
as appropriate. This allows GAS to share much more code
between the two target object formats. */
#define R_HPPA_NONE R_PARISC_NONE
-#define R_HPPA R_PARISC_DIR32
-#define R_HPPA_GOTOFF R_PARISC_DPREL21L
-#define R_HPPA_PCREL_CALL R_PARISC_PCREL21L
+#define R_HPPA R_PARISC_DIR32
+#define R_HPPA_GOTOFF R_PARISC_DPREL21L
+#define R_HPPA_PCREL_CALL R_PARISC_PCREL21L
#define R_HPPA_ABS_CALL R_PARISC_DIR17F
#define R_HPPA_COMPLEX R_PARISC_UNIMPLEMENTED
-elf32_hppa_reloc_type ** hppa_elf_gen_reloc_type
- PARAMS ((bfd *, elf32_hppa_reloc_type, int, int, int, asymbol *));
-
-boolean elf32_hppa_size_stubs
- PARAMS ((bfd *, bfd *, struct bfd_link_info *));
-
-boolean elf32_hppa_build_stubs
- PARAMS ((bfd *, struct bfd_link_info *));
-
#endif /* _ELF32_HPPA_H */