mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
bfd/ELF: _bfd_elf{,32,64}_hppa_gen_reloc_type are exposed to gas
As non-private functions / macros, they shouldn't have "_bfd_" prefixes, but merely "bfd_" ones.
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
#define ELF_R_TYPE(X) ELF64_R_TYPE(X)
|
#define ELF_R_TYPE(X) ELF64_R_TYPE(X)
|
||||||
#define ELF_R_SYM(X) ELF64_R_SYM(X)
|
#define ELF_R_SYM(X) ELF64_R_SYM(X)
|
||||||
#define elf_hppa_reloc_final_type elf64_hppa_reloc_final_type
|
#define elf_hppa_reloc_final_type elf64_hppa_reloc_final_type
|
||||||
#define _bfd_elf_hppa_gen_reloc_type _bfd_elf64_hppa_gen_reloc_type
|
#define bfd_elf_hppa_gen_reloc_type bfd_elf64_hppa_gen_reloc_type
|
||||||
#define elf_hppa_relocate_section elf64_hppa_relocate_section
|
#define elf_hppa_relocate_section elf64_hppa_relocate_section
|
||||||
#define elf_hppa_final_link elf64_hppa_final_link
|
#define elf_hppa_final_link elf64_hppa_final_link
|
||||||
#endif
|
#endif
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
#define ELF_R_TYPE(X) ELF32_R_TYPE(X)
|
#define ELF_R_TYPE(X) ELF32_R_TYPE(X)
|
||||||
#define ELF_R_SYM(X) ELF32_R_SYM(X)
|
#define ELF_R_SYM(X) ELF32_R_SYM(X)
|
||||||
#define elf_hppa_reloc_final_type elf32_hppa_reloc_final_type
|
#define elf_hppa_reloc_final_type elf32_hppa_reloc_final_type
|
||||||
#define _bfd_elf_hppa_gen_reloc_type _bfd_elf32_hppa_gen_reloc_type
|
#define bfd_elf_hppa_gen_reloc_type bfd_elf32_hppa_gen_reloc_type
|
||||||
#define elf_hppa_relocate_section elf32_hppa_relocate_section
|
#define elf_hppa_relocate_section elf32_hppa_relocate_section
|
||||||
#define elf_hppa_final_link elf32_hppa_final_link
|
#define elf_hppa_final_link elf32_hppa_final_link
|
||||||
#endif
|
#endif
|
||||||
@@ -745,7 +745,7 @@ elf_hppa_reloc_final_type (bfd *abfd,
|
|||||||
relocation with modifications based on format and field. */
|
relocation with modifications based on format and field. */
|
||||||
|
|
||||||
elf_hppa_reloc_type **
|
elf_hppa_reloc_type **
|
||||||
_bfd_elf_hppa_gen_reloc_type (bfd *abfd,
|
bfd_elf_hppa_gen_reloc_type (bfd *abfd,
|
||||||
elf_hppa_reloc_type base_type,
|
elf_hppa_reloc_type base_type,
|
||||||
int format,
|
int format,
|
||||||
unsigned int field,
|
unsigned int field,
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ bool elf32_hppa_build_stubs
|
|||||||
elf_hppa_reloc_type elf32_hppa_reloc_final_type
|
elf_hppa_reloc_type elf32_hppa_reloc_final_type
|
||||||
(bfd *, elf_hppa_reloc_type, int, unsigned int);
|
(bfd *, elf_hppa_reloc_type, int, unsigned int);
|
||||||
|
|
||||||
extern elf_hppa_reloc_type ** _bfd_elf32_hppa_gen_reloc_type
|
extern elf_hppa_reloc_type **bfd_elf32_hppa_gen_reloc_type
|
||||||
(bfd *, elf_hppa_reloc_type, int, unsigned int, int, asymbol *);
|
(bfd *, elf_hppa_reloc_type, int, unsigned int, int, asymbol *);
|
||||||
|
|
||||||
/* Define groups of basic relocations. FIXME: These should
|
/* Define groups of basic relocations. FIXME: These should
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
extern elf_hppa_reloc_type elf64_hppa_reloc_final_type
|
extern elf_hppa_reloc_type elf64_hppa_reloc_final_type
|
||||||
(bfd *, elf_hppa_reloc_type, int, unsigned int);
|
(bfd *, elf_hppa_reloc_type, int, unsigned int);
|
||||||
|
|
||||||
extern elf_hppa_reloc_type ** _bfd_elf64_hppa_gen_reloc_type
|
extern elf_hppa_reloc_type **bfd_elf64_hppa_gen_reloc_type
|
||||||
(bfd *, elf_hppa_reloc_type, int, unsigned int, int, asymbol *);
|
(bfd *, elf_hppa_reloc_type, int, unsigned int, int, asymbol *);
|
||||||
|
|
||||||
/* Define groups of basic relocations. FIXME: These should
|
/* Define groups of basic relocations. FIXME: These should
|
||||||
|
|||||||
@@ -54,10 +54,10 @@ typedef elf_symbol_type obj_symbol_type;
|
|||||||
|
|
||||||
#if TARGET_ARCH_SIZE == 64
|
#if TARGET_ARCH_SIZE == 64
|
||||||
/* How to generate a relocation. */
|
/* How to generate a relocation. */
|
||||||
#define hppa_gen_reloc_type _bfd_elf64_hppa_gen_reloc_type
|
#define hppa_gen_reloc_type bfd_elf64_hppa_gen_reloc_type
|
||||||
#define elf_hppa_reloc_final_type elf64_hppa_reloc_final_type
|
#define elf_hppa_reloc_final_type elf64_hppa_reloc_final_type
|
||||||
#else
|
#else
|
||||||
#define hppa_gen_reloc_type _bfd_elf32_hppa_gen_reloc_type
|
#define hppa_gen_reloc_type bfd_elf32_hppa_gen_reloc_type
|
||||||
#define elf_hppa_reloc_final_type elf32_hppa_reloc_final_type
|
#define elf_hppa_reloc_final_type elf32_hppa_reloc_final_type
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user