From 09f6ed3442a55ace63325d0a0264d826fb1c98f2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 9 Feb 2012 05:26:13 +0000 Subject: [PATCH] * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. --- ld/ChangeLog | 4 ++++ ld/ldgram.y | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 00075ed7a4..42fe8221a6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2012-02-09 Alan Modra + + * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. + 2012-01-31 H.J. Lu PR ld/13616 diff --git a/ld/ldgram.y b/ld/ldgram.y index 36ccb5b28b..c4f163fd5e 100644 --- a/ld/ldgram.y +++ b/ld/ldgram.y @@ -629,7 +629,7 @@ input_section_spec_no_keep: tmp.exclude_name_list = NULL; tmp.sorted = none; tmp.section_flag_list = $1; - lang_add_wild (NULL, $3, ldgram_had_keep); + lang_add_wild (&tmp, $3, ldgram_had_keep); } | wildcard_spec '(' file_NAME_list ')' {