diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-07-12 15:54:57 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-07-12 15:54:57 +0000 |
commit | 6849c52f0a5db1d4d89aac4e01e725c604977e67 (patch) | |
tree | 1ab23cc14bdd7e6622ceae82badf237eaf9ac91c /bfd/ChangeLog | |
parent | f1cf2c2e58d26549bd69ae893073d35eb74abeac (diff) | |
download | gdb-6849c52f0a5db1d4d89aac4e01e725c604977e67.zip gdb-6849c52f0a5db1d4d89aac4e01e725c604977e67.tar.gz gdb-6849c52f0a5db1d4d89aac4e01e725c604977e67.tar.bz2 |
* elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
dynamic reference test in assertion when initializing GOT with
static contents. Just assert that there are either no dynamic
sections, the symbol is defined in the regular objects or that the
symbol is undef weak. Tweak comment.
(elf_cris_finish_dynamic_symbol): Emit .got reloc for a program
only if the symbol isn't defined in the program and isn't undef
weak.
(elf_cris_adjust_dynamic_symbol): Simplify condition for getting
rid of PLT entry: only do it if the symbol isn't defined in a DSO.
When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments.
(elf_cris_discard_excess_program_dynamics): Don't consider
ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3dc0f25..53d5199 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,19 @@ +2002-07-12 Hans-Peter Nilsson <hp@axis.com> + + * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical + dynamic reference test in assertion when initializing GOT with + static contents. Just assert that there are either no dynamic + sections, the symbol is defined in the regular objects or that the + symbol is undef weak. Tweak comment. + (elf_cris_finish_dynamic_symbol): Emit .got reloc for a program + only if the symbol isn't defined in the program and isn't undef + weak. + (elf_cris_adjust_dynamic_symbol): Simplify condition for getting + rid of PLT entry: only do it if the symbol isn't defined in a DSO. + When doing so, clear ELF_LINK_HASH_NEEDS_PLT. Tweak comments. + (elf_cris_discard_excess_program_dynamics): Don't consider + ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs. + 2002-07-11 Alan Modra <amodra@bigpond.net.au> * elf32-i386.c (elf_i386_relocate_section): Don't complain about |