aboutsummaryrefslogtreecommitdiff
path: root/ld
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
parent459ca30a775022d102149f0097147df8f0e85d31 (diff)
downloadgdb-8e58566ff2d15055f984eed93bb261de97f5d509.zip
gdb-8e58566ff2d15055f984eed93bb261de97f5d509.tar.gz
gdb-8e58566ff2d15055f984eed93bb261de97f5d509.tar.bz2
* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/deffilep.y8
2 files changed, 8 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c4b1d4e..bfb91af 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-29 Alan Modra <amodra@bigpond.net.au>
+
+ * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
+
2009-04-25 Alan Modra <amodra@bigpond.net.au>
PR 10061
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 }