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.
This commit is contained in:
Kai Tietz
2012-02-24 14:20:19 +00:00
parent 11337c2fed
commit 5b3d386eed
5 changed files with 32 additions and 2 deletions

View File

@@ -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"; }