aboutsummaryrefslogtreecommitdiff
path: root/binutils/defparse.y
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2012-02-24 14:20:19 +0000
committerKai Tietz <kai.tietz@onevision.com>2012-02-24 14:20:19 +0000
commit5b3d386eed68db38fda170cb48b54ce1baa86baa (patch)
tree2a710d6ac6285f7b06cc636876f349a0075d4354 /binutils/defparse.y
parent11337c2fed80fe18e89604d4dd6a0fa2d5663c68 (diff)
downloadgdb-5b3d386eed68db38fda170cb48b54ce1baa86baa.zip
gdb-5b3d386eed68db38fda170cb48b54ce1baa86baa.tar.gz
gdb-5b3d386eed68db38fda170cb48b54ce1baa86baa.tar.bz2
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.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/defparse.y b/binutils/defparse.y
index b21ce93..a4e73eb 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"; }