summaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-02-09 05:26:13 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-02-09 05:26:13 +0000
commit549261263cb07ba75720fa676628c750f398f538 (patch)
treed6c782c03ca530d8392c69fe8c25f2a17e64c399 /ld/ldgram.y
parentbd774e2a1fbe58a0e54461949342c0df480b794e (diff)
downloadbinutils-redhat-549261263cb07ba75720fa676628c750f398f538.tar.gz
* ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags.
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y2
1 files changed, 1 insertions, 1 deletions
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 ')'
{