aboutsummaryrefslogtreecommitdiff
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
commit9e103c9cd2e22101617426f7c4e28d88dcce6d6a (patch)
tree70780f49894f529f53ed7e4cf92936448c9c4a70 /bfd/elf32-hppa.h
parent5c6bbab8fef65c565e52dd2e579aaefc97a7a358 (diff)
downloadgdb-9e103c9cd2e22101617426f7c4e28d88dcce6d6a.zip
gdb-9e103c9cd2e22101617426f7c4e28d88dcce6d6a.tar.gz
gdb-9e103c9cd2e22101617426f7c4e28d88dcce6d6a.tar.bz2
* 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 b233920..2d99aa8 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 */