diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2012-02-24 14:20:15 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2012-02-24 14:20:15 +0000 |
commit | dcfd4d66872ed928ca0bf1a99e1672509fc62c79 (patch) | |
tree | cbc2188f0fb905ad0b714bf519297f4b925a805d /binutils/defparse.y | |
parent | 1173a0c1d916f19f7f5b90094b889318065fc97b (diff) | |
download | binutils-redhat-dcfd4d66872ed928ca0bf1a99e1672509fc62c79.tar.gz |
PR binutils/13710
* defparse.y (keyword_as_name): Disable LIBRARY
keyword.
* doc/binutils.texi: Document LIBRARY exception.
PR binutils/13710
* deffilep.y (keyword_as_name): Disable LIBRARY
keyword.
Diffstat (limited to 'binutils/defparse.y')
-rw-r--r-- | binutils/defparse.y | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/defparse.y b/binutils/defparse.y index b21ce93215..a4e73eb314 100644 --- a/binutils/defparse.y +++ b/binutils/defparse.y @@ -153,7 +153,10 @@ opt_PRIVATE: ; keyword_as_name: NAME { $$ = "NAME"; } - | LIBRARY { $$ = "LIBRARY"; } +/* Disabled LIBRARY keyword for a quirk in libtool. It places LIBRARY + command after EXPORTS list, which is illegal by specification. + See PR binutils/13710 + | LIBRARY { $$ = "LIBRARY"; } */ | DESCRIPTION { $$ = "DESCRIPTION"; } | STACKSIZE { $$ = "STACKSIZE"; } | HEAPSIZE { $$ = "HEAPSIZE"; } |