diff options
author | Bob Wilson <bob.wilson@acm.org> | 2006-07-26 00:10:26 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2006-07-26 00:10:26 +0000 |
commit | b2f2897591c8e4a29868fa8fcc4a50a0e163b273 (patch) | |
tree | 05729df370ef2f379f63fe975e394f2dc569f4b4 /ld/emultempl/xtensaelf.em | |
parent | 8bfba64fd7ba7385d463817816420d29e9a31fa5 (diff) | |
download | gdb-b2f2897591c8e4a29868fa8fcc4a50a0e163b273.zip gdb-b2f2897591c8e4a29868fa8fcc4a50a0e163b273.tar.gz gdb-b2f2897591c8e4a29868fa8fcc4a50a0e163b273.tar.bz2 |
* emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
Set discarded section's output_section to bfd_abs_section_ptr.
Diffstat (limited to 'ld/emultempl/xtensaelf.em')
-rw-r--r-- | ld/emultempl/xtensaelf.em | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emultempl/xtensaelf.em b/ld/emultempl/xtensaelf.em index 20ac2f2..1135d27 100644 --- a/ld/emultempl/xtensaelf.em +++ b/ld/emultempl/xtensaelf.em @@ -1249,6 +1249,7 @@ xtensa_strip_inconsistent_linkonce_sections (lang_statement_list_type *slist) case lang_input_section_enum: if (is_inconsistent_linkonce_section (s->input_section.section)) { + s->input_section.section->output_section = bfd_abs_section_ptr; *s_p = s_next; continue; } |