diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-03-18 21:33:43 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-03-18 21:33:43 +0000 |
commit | ac41051480c946a2dccf7b9a896e7327a495c2e1 (patch) | |
tree | 1f571a105d3a997155799f65c40c627883bb58c6 | |
parent | 9f529b06029a7fc74f8a0d5e13c00a5218fdff60 (diff) | |
download | binutils-redhat-ac41051480c946a2dccf7b9a896e7327a495c2e1.tar.gz |
* defilep.y (opt_base): If no number given, set to default
(-1), not 0.
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/deffilep.y | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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 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; } |