diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-09-19 10:26:28 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2010-09-19 10:26:28 +0000 |
commit | 020d7251584c7ac86ab48a9eaa9bdefc53935d09 (patch) | |
tree | 7da3adaef886606b7da697a049b37a548fa8913d /ld/testsuite/ChangeLog | |
parent | f7ff11061f3278dce60be909b9f63d94cbd38afd (diff) | |
download | gdb-020d7251584c7ac86ab48a9eaa9bdefc53935d09.zip gdb-020d7251584c7ac86ab48a9eaa9bdefc53935d09.tar.gz gdb-020d7251584c7ac86ab48a9eaa9bdefc53935d09.tar.bz2 |
bfd/
* elfxx-mips.c (mips_got_entry): Adjust commentary.
(mips_elf_create_local_got_entry): If given a symbol, check that it
has been assigned to the local part of the GOT.
(mips_elf_count_got_symbols): Take the bfd_link_info as argument
instead of the master GOT. Put all locally-binding symbols in
the local area.
(mips_elf_make_got_per_bfd): Use global_got_area to decide whether
a symbol lives in the local or global area.
(mips_elf_local_relocation_p): Remove check_forced argument and
retain only the !check_forced behavior.
(mips_elf_calculate_relocation): Adjust call accordingly.
Use global_got_area to decide whether an output relocation
should be local or global. Explicitly decay R_MIPS_GOT_PAGE
into R_MIPS_GOT_DISP where appropriate. Fix selection of
local vs. global semantics for R_MIPS*_26. Remove redundant
reevaluation of what is stored in was_local_p.
(mips_elf_create_dynamic_relocation): Use global_got_area to decide
whether the relocation should be against a global or local symbol.
(mips_elf_lay_out_got): Update the GOT traversal after the above
change to mips_elf_count_got_symbols.
(mips_elf_adjust_addend): Adjust call to mips_elf_local_relocation_p.
(_bfd_mips_elf_relocate_section): Likewise.
(_bfd_mips_elf_finish_dynamic_symbol): Use global_got_area to decide
whether the symbol has a global got entry.
(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
ld/testsuite/
* ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries
and remove some duplication between the global and local GOT
entries. Adjust GP offsets accordingly.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update
GP offsets accordingly.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to
the local GOT.
* ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly.
* ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for
smaller GOT sizes.
Diffstat (limited to 'ld/testsuite/ChangeLog')
-rw-r--r-- | ld/testsuite/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 0c0729a..1f52f8c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2010-09-19 Richard Sandiford <rdsandiford@googlemail.com> + + * ld-mips-elf/elf-rel-got-n32.d: Swap two local GOT entries + and remove some duplication between the global and local GOT + entries. Adjust GP offsets accordingly. + * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise. + * ld-mips-elf/elf-rel-xgot-n32.d: Reorder GOT entries and update + GP offsets accordingly. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + * ld-mips-elf/mips16-pic-1.gd: Move all global GOT entries to + the local GOT. + * ld-mips-elf/mips16-pic-1.dd: Update GP offsets accordingly. + * ld-mips-elf/multi-got-no-shared.d: Adjust GP setup for + smaller GOT sizes. + 2010-09-18 Alan Modra <amodra@gmail.com> * lib/ld-lib.exp (check_gc_sections_available): Fail more targets. |