]> Git Repo - binutils.git/commitdiff
* emultempl/metagelf.em (build_section_lists): Use sec_info_type
authorNick Clifton <[email protected]>
Fri, 8 Feb 2013 17:46:31 +0000 (17:46 +0000)
committerNick Clifton <[email protected]>
Fri, 8 Feb 2013 17:46:31 +0000 (17:46 +0000)
rather than userdata->flags.just_syms.

ld/ChangeLog
ld/emultempl/metagelf.em

index cf809f179f32298c536beb07c8dbc85ae304c0a3..e8159d009226ef91e02d5ea5ef61e10674618ee7 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-08  Markos Chandras  <[email protected]>
+
+       * emultempl/metagelf.em (build_section_lists): Use sec_info_type
+       rather than userdata->flags.just_syms.
+
 2013-02-06  Sandra Loosemore  <[email protected]>
             Andrew Jenner <[email protected]>
 
index 8ab12729af0f0b3daaef4a5a2a71493e0de046a5..21e3e942edf4ad213461f16a0f32082aa40b3428 100644 (file)
@@ -205,7 +205,7 @@ build_section_lists (lang_statement_union_type *statement)
     {
       asection *i = statement->input_section.section;
 
-      if (!((lang_input_statement_type *) i->owner->usrdata)->flags.just_syms
+      if (i->sec_info_type != SEC_INFO_TYPE_JUST_SYMS
          && (i->flags & SEC_EXCLUDE) == 0
          && i->output_section != NULL
          && i->output_section->owner == link_info.output_bfd)
This page took 0.029309 seconds and 4 git commands to generate.