This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 3/3] ld/emultempl/metagelf.em: Use sec_info_type rather than userdata->flags.just_syms
- From: Markos Chandras <markos dot chandras at gmail dot com>
- To: <binutils at sourceware dot org>
- Date: Fri, 8 Feb 2013 12:52:06 +0000
- Subject: [PATCH 3/3] ld/emultempl/metagelf.em: Use sec_info_type rather than userdata->flags.just_syms
- References: <1360327926-5360-1-git-send-email-markos.chandras@gmail.com>
From: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
ld/ChangeLog:
2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
*emultempl/metagelf.em: Use sec_info_type rather than
userdata->flags.just_syms
---
ld/emultempl/metagelf.em | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
1.8.1.2