mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* ldlang.c (strip_excluded_output_sections): Don't ignore sections
with update_dot_tree.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-07-13 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* ldlang.c (strip_excluded_output_sections): Don't ignore sections
|
||||||
|
with update_dot_tree.
|
||||||
|
|
||||||
2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
|
2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
* scripttempl/pe.sc: Don't include .gcc_except_table and
|
* scripttempl/pe.sc: Don't include .gcc_except_table and
|
||||||
|
@ -3380,7 +3380,8 @@ strip_excluded_output_sections (void)
|
|||||||
{
|
{
|
||||||
/* We don't set bfd_section to NULL since bfd_section of the
|
/* We don't set bfd_section to NULL since bfd_section of the
|
||||||
removed output section statement may still be used. */
|
removed output section statement may still be used. */
|
||||||
if (!os->section_relative_symbol)
|
if (!os->section_relative_symbol
|
||||||
|
&& !os->update_dot_tree)
|
||||||
os->ignored = TRUE;
|
os->ignored = TRUE;
|
||||||
output_section->flags |= SEC_EXCLUDE;
|
output_section->flags |= SEC_EXCLUDE;
|
||||||
bfd_section_list_remove (output_bfd, output_section);
|
bfd_section_list_remove (output_bfd, output_section);
|
||||||
|
Reference in New Issue
Block a user