From 4064c856436483cfa8f13114c208a1f4c3bd6e8e Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 18 Mar 2003 21:33:43 +0000 Subject: [PATCH] * defilep.y (opt_base): If no number given, set to default (-1), not 0. --- ld/ChangeLog | 5 +++++ ld/deffilep.y | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index a2de168287..66132bf07e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-03-18 Danny Smith + + * defilep.y (opt_base): If no number given, set to default + (-1), not 0. + 2003-03-13 Danny Smith * deffilep.y (def_import): Use default extension of "dll" diff --git a/ld/deffilep.y b/ld/deffilep.y index 529b826113..45b1bda6f4 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; }