* ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
authorAlan Modra <amodra@gmail.com>
Thu, 9 Feb 2012 05:26:13 +0000 (05:26 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Feb 2012 05:26:13 +0000 (05:26 +0000)
ld/ChangeLog
ld/ldgram.y

index 00075ed7a481e660e6c3789dba8bb16032925460..42fe8221a6f39f76346c2bdb9184163df2ba15ee 100644 (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
index 36ccb5b28b7256d415db585d61499a7a6e1bc06c..c4f163fd5e1daab60b019762250e98c70261d8c2 100644 (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 ')'
                        {