diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-07-09 03:49:27 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-07-09 03:49:27 +0000 |
commit | 0a4787a0816422095c3e87c62353749a8e20f6fa (patch) | |
tree | 6685d5bc5aa6eb60b7c11ca71d188a1bd218c322 /ld | |
parent | 57a4c584135c2e34f82de89bf58ba76d20010ad5 (diff) | |
download | gdb-0a4787a0816422095c3e87c62353749a8e20f6fa.zip gdb-0a4787a0816422095c3e87c62353749a8e20f6fa.tar.gz gdb-0a4787a0816422095c3e87c62353749a8e20f6fa.tar.bz2 |
* elf32-cris.c (cris_elf_relocate_section): Move sanity-check for
NULL sym_hashes to just before use.
<case R_CRIS_32_GOTREL>: In test for local symbol, accept also
symbol with non-default visibility.
<case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto.
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
Ditto.
(cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for
symbol with non-default visibility.
(cris_elf_check_relocs): At tests for local symbol before
increasing h->plt.refcount, also check for non-default
visibility. Ditto when checking for local symbol to eliminate
pc-relative runtime relocs.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions