Ismail,
Can you explain this patch ? Why does a different version of bison
require these lines to be in other places ?
Also I don't see the STACKSIZE change as I expected it. What happened to
that ?
Danny
On Fri, 2009-04-24 at 00:13 +0200, Ismail Khatib wrote:
> Next, a patch for deffilep.y, which seems to be needed with some
> versions of bison
> (a usable deffilep.c is generated with bison 2.3, however at least
> with version 2.4.1 of bison
> this patch is needed - so it's no mac specific issue as I suspected
> beforehand):
>
>
> Index: src/binutils/ld/deffilep.y
> ===================================================================
> --- src/binutils/ld/deffilep.y (revision 1245)
> +++ src/binutils/ld/deffilep.y (working copy)
> @@ -20,6 +20,25 @@
> Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
> MA 02110-1301, USA. */
>
> +%}
> +
> +%union {
> + char *id;
> + int number;
> +};
> +
> +%token NAME LIBRARY DESCRIPTION STACKSIZE HEAPSIZE CODE DATAU DATAL
> +%token SECTIONS EXPORTS IMPORTS VERSIONK BASE CONSTANTU CONSTANTL
> +%token PRIVATEU PRIVATEL
> +%token READ WRITE EXECUTE SHARED NONAMEU NONAMEL DIRECTIVE
> +%token <id> ID
> +%token <number> NUMBER
> +%type <number> opt_base opt_ordinal
> +%type <number> attr attr_list opt_number exp_opt_list exp_opt
> +%type <id> opt_name opt_equal_name dot_name
> +
> +%{
> +
> #include "sysdep.h"
> #include "libiberty.h"
> #include "safe-ctype.h"
> @@ -99,21 +118,6 @@
>
> %}
>
> -%union {
> - char *id;
> - int number;
> -};
> -
> -%token NAME LIBRARY DESCRIPTION STACKSIZE HEAPSIZE CODE DATAU DATAL
> -%token SECTIONS EXPORTS IMPORTS VERSIONK BASE CONSTANTU CONSTANTL
> -%token PRIVATEU PRIVATEL
> -%token READ WRITE EXECUTE SHARED NONAMEU NONAMEL DIRECTIVE
> -%token <id> ID
> -%token <number> NUMBER
> -%type <number> opt_base opt_ordinal
> -%type <number> attr attr_list opt_number exp_opt_list exp_opt
> -%type <id> opt_name opt_equal_name dot_name
> -
> %%
>
> start: start command
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel