aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldgram.y')
-rw-r--r--ld/ldgram.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index da8d214..68ff0a2 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -264,6 +264,8 @@ casesymlist:
extern_name_list:
NAME
{ ldlang_add_undef ($1); }
+ | extern_name_list NAME
+ { ldlang_add_undef ($2); }
| extern_name_list ',' NAME
{ ldlang_add_undef ($3); }
;
@@ -325,6 +327,7 @@ ifile_p1:
{
lang_add_nocrossref ($3);
}
+ | EXTERN '(' extern_name_list ')'
;
input_list: