diff options
author | Nick Clifton <nickc@redhat.com> | 2013-02-08 17:46:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-02-08 17:46:30 +0000 |
commit | f3353d15ed3f53133d2a2df98758427c8eec6a68 (patch) | |
tree | 07f909f43e3617c63b5347915cf254286ce6e811 /ld/emultempl | |
parent | be4ef7ffde275a6916ae39c030f5e2d513660213 (diff) | |
download | binutils-redhat-f3353d15ed3f53133d2a2df98758427c8eec6a68.tar.gz |
* emultempl/metagelf.em (build_section_lists): Use sec_info_type
rather than userdata->flags.just_syms.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/metagelf.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/metagelf.em b/ld/emultempl/metagelf.em index 8ab12729af..21e3e942ed 100644 --- a/ld/emultempl/metagelf.em +++ b/ld/emultempl/metagelf.em @@ -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) |