aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-16 09:34:28 +0000
committerAlan Modra <amodra@gmail.com>2001-11-16 09:34:28 +0000
commitbbe8ef22ff5ff90692a87e3d5f4f3aa135bd7a03 (patch)
tree3a9d34dcc726047ee73a74ff6f7c38a98b75e432
parente0ac8af02a77efea4bd5ecb7e7f21431c729e8a7 (diff)
downloadgdb-bbe8ef22ff5ff90692a87e3d5f4f3aa135bd7a03.zip
gdb-bbe8ef22ff5ff90692a87e3d5f4f3aa135bd7a03.tar.gz
gdb-bbe8ef22ff5ff90692a87e3d5f4f3aa135bd7a03.tar.bz2
* config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-m68k.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c923531..8e07d21 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.
+
2001-11-15 H.J. Lu <hjl@gnu.org>
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index ad8c3d7..20c9c10 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -4224,10 +4224,10 @@ md_number_to_chars (buf, val, n)
void
md_apply_fix3 (fixP, valP, seg)
fixS *fixP;
- valueT * valP;
+ valueT *valP;
segT seg ATTRIBUTE_UNUSED;
{
- valueT val = * valP;
+ offsetT val = *valP;
addressT upper_limit;
offsetT lower_limit;