diff options
author | Alan Modra <amodra@gmail.com> | 2008-09-15 13:53:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-09-15 13:53:17 +0000 |
commit | 55f8b826e7939968d06a8acad344237c09e6aeaf (patch) | |
tree | 17c2961b056409d3d2ac68f47410b5c55baa22d2 /gas/write.c | |
parent | 455bde508dbf8bd82d5f1403aa6e6edf2740f6f2 (diff) | |
download | gdb-55f8b826e7939968d06a8acad344237c09e6aeaf.zip gdb-55f8b826e7939968d06a8acad344237c09e6aeaf.tar.gz gdb-55f8b826e7939968d06a8acad344237c09e6aeaf.tar.bz2 |
* write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/write.c b/gas/write.c index 55c757d..f164e2e 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1090,8 +1090,8 @@ install_reloc (asection *sec, arelent *reloc, fragS *fragp, && (sym = *reloc->sym_ptr_ptr) != NULL && (sym->flags & BSF_KEEP) == 0 && ((sym->flags & BSF_SECTION_SYM) == 0 - || !EMIT_SECTION_SYMBOLS - || !bfd_is_abs_section (sym->section))) + || (EMIT_SECTION_SYMBOLS + && !bfd_is_abs_section (sym->section)))) as_bad_where (file, line, _("redefined symbol cannot be used on reloc")); s = bfd_install_relocation (stdoutput, reloc, |