aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-02-09 05:26:13 +0000
committerAlan Modra <amodra@gmail.com>2012-02-09 05:26:13 +0000
commit09f6ed3442a55ace63325d0a0264d826fb1c98f2 (patch)
tree4de4e6455cdcd885fc8be9eab75e5fd367b204eb /ld/ldgram.y
parentdbb7c4414b09c017dafc73b63de13640f19c5735 (diff)
downloadgdb-09f6ed3442a55ace63325d0a0264d826fb1c98f2.zip
gdb-09f6ed3442a55ace63325d0a0264d826fb1c98f2.tar.gz
gdb-09f6ed3442a55ace63325d0a0264d826fb1c98f2.tar.bz2
* 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 36ccb5b..c4f163f 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 ')'
{