aboutsummaryrefslogtreecommitdiff
path: root/ld/deffilep.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-04-29 01:17:54 +0000
committerAlan Modra <amodra@gmail.com>2009-04-29 01:17:54 +0000
commit8e58566ff2d15055f984eed93bb261de97f5d509 (patch)
treeedccf488c1c1921c01c93921c58a3c9b0addc328 /ld/deffilep.y
parent459ca30a775022d102149f0097147df8f0e85d31 (diff)
downloadgdb-8e58566ff2d15055f984eed93bb261de97f5d509.zip
gdb-8e58566ff2d15055f984eed93bb261de97f5d509.tar.gz
gdb-8e58566ff2d15055f984eed93bb261de97f5d509.tar.bz2
* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
Diffstat (limited to 'ld/deffilep.y')
-rw-r--r--ld/deffilep.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/deffilep.y b/ld/deffilep.y
index 4f17f50..11c075d 100644
--- a/ld/deffilep.y
+++ b/ld/deffilep.y
@@ -104,7 +104,7 @@ static const char *lex_parse_string_end = 0;
int number;
};
-%token NAME LIBRARY DESCRIPTION STACKSIZE HEAPSIZE CODE DATAU DATAL
+%token NAME LIBRARY DESCRIPTION STACKSIZE_K HEAPSIZE CODE DATAU DATAL
%token SECTIONS EXPORTS IMPORTS VERSIONK BASE CONSTANTU CONSTANTL
%token PRIVATEU PRIVATEL
%token READ WRITE EXECUTE SHARED NONAMEU NONAMEL DIRECTIVE
@@ -124,7 +124,7 @@ command:
NAME opt_name opt_base { def_image_name ($2, $3, 0); }
| LIBRARY opt_name opt_base { def_image_name ($2, $3, 1); }
| DESCRIPTION ID { def_description ($2);}
- | STACKSIZE NUMBER opt_number { def_stacksize ($2, $3);}
+ | STACKSIZE_K NUMBER opt_number { def_stacksize ($2, $3);}
| HEAPSIZE NUMBER opt_number { def_heapsize ($2, $3);}
| CODE attr_list { def_section ("CODE", $2);}
| DATAU attr_list { def_section ("DATA", $2);}
@@ -570,7 +570,7 @@ struct
diropts[] =
{
{ "-heap", HEAPSIZE },
- { "-stack", STACKSIZE },
+ { "-stack", STACKSIZE_K },
{ "-attr", SECTIONS },
{ "-export", EXPORTS },
{ 0, 0 }
@@ -894,7 +894,7 @@ tokens[] =
{ "SECTIONS", SECTIONS },
{ "SEGMENTS", SECTIONS },
{ "SHARED", SHARED },
- { "STACKSIZE", STACKSIZE },
+ { "STACKSIZE", STACKSIZE_K },
{ "VERSION", VERSIONK },
{ "WRITE", WRITE },
{ 0, 0 }