diff options
Diffstat (limited to 'ld/deffilep.y')
-rw-r--r-- | ld/deffilep.y | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/deffilep.y b/ld/deffilep.y index 31aa703..6b17e55 100644 --- a/ld/deffilep.y +++ b/ld/deffilep.y @@ -214,7 +214,13 @@ attr: ; opt_name: ID { $$ = $1; } - | { $$ = 0; } + | ID '.' ID + { + char * name = xmalloc (strlen ($1) + 1 + strlen ($3) + 1); + sprintf (name, "%s.%s", $1, $3); + $$ = name; + } + | { $$ = ""; } ; opt_ordinal: |