aboutsummaryrefslogtreecommitdiff
path: root/gold/yyscript.y
diff options
context:
space:
mode:
Diffstat (limited to 'gold/yyscript.y')
-rw-r--r--gold/yyscript.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/yyscript.y b/gold/yyscript.y
index f762536..9cd29fb 100644
--- a/gold/yyscript.y
+++ b/gold/yyscript.y
@@ -320,6 +320,8 @@ input_list:
input_list_element:
string
{ script_add_file(closure, $1.value, $1.length); }
+ | '-' STRING
+ { script_add_library(closure, $2.value, $2.length); }
| AS_NEEDED
{ script_start_as_needed(closure); }
'(' input_list ')'