* config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
any kind of relocation against a not-loaded section.
This commit is contained in:
parent
1ca66634bd
commit
e138127ab2
@ -1,3 +1,8 @@
|
||||
2001-07-31 Geoffrey Keating <geoffk@redhat.com>
|
||||
|
||||
* config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
|
||||
any kind of relocation against a not-loaded section.
|
||||
|
||||
2001-07-30 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
|
||||
|
@ -1576,11 +1576,11 @@ ppc_elf_validate_fix (fixp, seg)
|
||||
&& fixp->fx_r_type != BFD_RELOC_LO16_BASEREL
|
||||
&& fixp->fx_r_type != BFD_RELOC_HI16_BASEREL
|
||||
&& fixp->fx_r_type != BFD_RELOC_HI16_S_BASEREL
|
||||
&& (seg->flags & SEC_LOAD) != 0
|
||||
&& strcmp (segment_name (seg), ".got2") != 0
|
||||
&& strcmp (segment_name (seg), ".dtors") != 0
|
||||
&& strcmp (segment_name (seg), ".ctors") != 0
|
||||
&& strcmp (segment_name (seg), ".fixup") != 0
|
||||
&& strcmp (segment_name (seg), ".stab") != 0
|
||||
&& strcmp (segment_name (seg), ".gcc_except_table") != 0
|
||||
&& strcmp (segment_name (seg), ".eh_frame") != 0
|
||||
&& strcmp (segment_name (seg), ".ex_shared") != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user