diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2001-03-14 02:56:45 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2001-03-14 02:56:45 +0000 |
commit | 912f7270cfdb64add96caa3e380fefbd14963e05 (patch) | |
tree | e92906c13c6c4624b3154277cd049c09f491703c /binutils/defparse.y | |
parent | e4e8cda92cae653d7c6b7eb41807b11689b4e203 (diff) | |
download | binutils-redhat-912f7270cfdb64add96caa3e380fefbd14963e05.tar.gz |
* defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
Diffstat (limited to 'binutils/defparse.y')
-rw-r--r-- | binutils/defparse.y | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/defparse.y b/binutils/defparse.y index 7e139654e2..d0bccd95a7 100644 --- a/binutils/defparse.y +++ b/binutils/defparse.y @@ -149,6 +149,12 @@ opt_ordinal: opt_equal_name: '=' ID { $$ = $2; } + | '=' ID '.' ID + { + char *name = xmalloc (strlen ($2) + 1 + strlen ($4) + 1); + sprintf (name, "%s.%s", $2, $4); + $$ = name; + } | { $$ = 0; } ; |