aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-03-18 21:33:43 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-03-18 21:33:43 +0000
commit4064c856436483cfa8f13114c208a1f4c3bd6e8e (patch)
treeb45732bdc392c07e866a86d9b00d9c21b9245118 /ld
parent06600e06816a57df8dbd003b4471d67bedc5286e (diff)
downloadgdb-4064c856436483cfa8f13114c208a1f4c3bd6e8e.zip
gdb-4064c856436483cfa8f13114c208a1f4c3bd6e8e.tar.gz
gdb-4064c856436483cfa8f13114c208a1f4c3bd6e8e.tar.bz2
* defilep.y (opt_base): If no number given, set to default
(-1), not 0.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/deffilep.y2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a2de168..66132bf 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-18 Danny Smith <dannysmith@users.sourceforge,net>
+
+ * defilep.y (opt_base): If no number given, set to default
+ (-1), not 0.
+
2003-03-13 Danny Smith <dannysmith@users.sourceforge,net>
* deffilep.y (def_import): Use default extension of "dll"
diff --git a/ld/deffilep.y b/ld/deffilep.y
index 529b826..45b1bda 100644
--- a/ld/deffilep.y
+++ b/ld/deffilep.y
@@ -236,7 +236,7 @@ opt_equal_name:
;
opt_base: BASE '=' NUMBER { $$ = $3;}
- | { $$ = 0;}
+ | { $$ = -1;}
;
dot_name: ID { $$ = $1; }