diff options
author | Geoffrey Keating <geoffk@geoffk.org> | 2001-07-31 19:24:57 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@geoffk.org> | 2001-07-31 19:24:57 +0000 |
commit | e138127ab29a47f6d129796faf39746d15e9890d (patch) | |
tree | a79aac9cc8bfdd355a1af844265db5a6c567da0f /gas/config/tc-ppc.c | |
parent | 1ca66634bd957b31bea95b1eddd6611b82ba42bb (diff) | |
download | gdb-e138127ab29a47f6d129796faf39746d15e9890d.zip gdb-e138127ab29a47f6d129796faf39746d15e9890d.tar.gz gdb-e138127ab29a47f6d129796faf39746d15e9890d.tar.bz2 |
* config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
any kind of relocation against a not-loaded section.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 621b6db..0710a67 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -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) |