* ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.

This commit is contained in:
Alan Modra 2012-02-09 05:26:13 +00:00
parent dbb7c4414b
commit 09f6ed3442
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-02-09 Alan Modra <amodra@gmail.com>
* ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13616

View File

@ -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 ')'
{