diff options
author | Nick Clifton <nickc@redhat.com> | 2013-02-08 17:46:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-02-08 17:46:31 +0000 |
commit | 20855e86bf0d1da1729c64a7b36fd4d4048b0823 (patch) | |
tree | 34230d699f9628a34fdafc56839ea9a756c17a6a /ld/emultempl | |
parent | 34c67f14b0c34a59398300493e7d41c5a718d688 (diff) | |
download | gdb-20855e86bf0d1da1729c64a7b36fd4d4048b0823.zip gdb-20855e86bf0d1da1729c64a7b36fd4d4048b0823.tar.gz gdb-20855e86bf0d1da1729c64a7b36fd4d4048b0823.tar.bz2 |
* 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 8ab1272..21e3e94 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) |