mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 08:38:10 +08:00
* write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2008-09-15 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
|
||||||
|
|
||||||
2008-09-15 Alan Modra <amodra@bigpond.net.au>
|
2008-09-15 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* config/tc-frv.c (md_apply_fix): Use abs_section_sym for
|
* config/tc-frv.c (md_apply_fix): Use abs_section_sym for
|
||||||
|
@ -1090,8 +1090,8 @@ install_reloc (asection *sec, arelent *reloc, fragS *fragp,
|
|||||||
&& (sym = *reloc->sym_ptr_ptr) != NULL
|
&& (sym = *reloc->sym_ptr_ptr) != NULL
|
||||||
&& (sym->flags & BSF_KEEP) == 0
|
&& (sym->flags & BSF_KEEP) == 0
|
||||||
&& ((sym->flags & BSF_SECTION_SYM) == 0
|
&& ((sym->flags & BSF_SECTION_SYM) == 0
|
||||||
|| !EMIT_SECTION_SYMBOLS
|
|| (EMIT_SECTION_SYMBOLS
|
||||||
|| !bfd_is_abs_section (sym->section)))
|
&& !bfd_is_abs_section (sym->section))))
|
||||||
as_bad_where (file, line, _("redefined symbol cannot be used on reloc"));
|
as_bad_where (file, line, _("redefined symbol cannot be used on reloc"));
|
||||||
|
|
||||||
s = bfd_install_relocation (stdoutput, reloc,
|
s = bfd_install_relocation (stdoutput, reloc,
|
||||||
|
Reference in New Issue
Block a user