* emultempl/metagelf.em (build_section_lists): Use sec_info_type

rather than userdata->flags.just_syms.
This commit is contained in:
Nick Clifton 2013-02-08 17:46:31 +00:00
parent 34c67f14b0
commit 20855e86bf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
* emultempl/metagelf.em (build_section_lists): Use sec_info_type
rather than userdata->flags.just_syms.
2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
Andrew Jenner <andrew@codesourcery.com>

View 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)