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
commit74477238b721ffe26e81d781c3f098b10c206814 (patch)
treecb3fb326906356e23443d13c05b1020f51aa3ce1 /bfd/elf32-hppa.h
parent69cb9252222ecb5035916082a118078de363a2df (diff)
downloadgdb-74477238b721ffe26e81d781c3f098b10c206814.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 b2339204592..2d99aa8f337 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 */