* bfd.c (_bfd_get_gp_value): New function.
authorIan Lance Taylor <ian@airs.com>
Fri, 16 Feb 1996 19:29:01 +0000 (19:29 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 16 Feb 1996 19:29:01 +0000 (19:29 +0000)
commitcba3f8a9bec5271063c4ef6671147b5b4a7a6024
tree2b7eef09119cbd65fe8bdf41aa3a659b10f031b9
parent803108ab644ab1ee4bcfb9afb65ccef725c27f01
* bfd.c (_bfd_get_gp_value): New function.
(_bfd_set_gp_value): New function.
* libbfd-in.h (_bfd_get_gp_value): Declare.
(_bfd_set_gp_value): Declare.
* libbfd.h: Rebuild.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Use
_bfd_get_gp_value and _bfd_set_gp_value rather than referring
directly to the fields in the tdata information.
(alpha_relocate_section): Likewise.
* coff-mips.c (mips_adjust_reloc_in): Likewise.
(mips_gprel_reloc): Likewise.
(mips_relocate_section): Likewise.
* elf32-mips.c (mips_elf_hi16_reloc): Likewise.
(mips_elf_lo16_reloc): Likewise.
(mips_elf_final_gp): Likewise.
(mips_elf_gprel16_reloc): Likewise.
(mips_elf_gprel32_reloc): Likewise.
(mips_elf_relocate_section): Likewise.
(mips_elf_finish_dynamic_symbol): Likewise.
PR 8449.
bfd/ChangeLog
bfd/coff-alpha.c
bfd/coff-mips.c
bfd/elf32-mips.c