mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
gate h != NULL for h->def_regular test.
This commit is contained in:
parent
d179004260
commit
02865b8e18
@ -2,6 +2,8 @@
|
||||
|
||||
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
|
||||
action for symbols other than bfd_link_hash_indirect.
|
||||
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
|
||||
gate h != NULL for h->def_regular test.
|
||||
|
||||
2008-12-15 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
|
@ -1494,7 +1494,7 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
&& r_type != R_CRIS_16_PCREL
|
||||
&& r_type != R_CRIS_32_PCREL)
|
||||
|| (!info->symbolic
|
||||
|| !h->def_regular)))
|
||||
|| (h != NULL && !h->def_regular))))
|
||||
{
|
||||
Elf_Internal_Rela outrel;
|
||||
bfd_byte *loc;
|
||||
|
Loading…
Reference in New Issue
Block a user