Wed Nov 8 20:03:44 1995 Eric Freudenthal <freudenthal@nyu.edu>
authorIan Lance Taylor <ian@airs.com>
Thu, 9 Nov 1995 01:04:56 +0000 (01:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 9 Nov 1995 01:04:56 +0000 (01:04 +0000)
* coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than
0xffff0000.

bfd/ChangeLog
bfd/coff-a29k.c

index 783ea8203e30df6928611dd75b512909a6fa86f6..0f1dda446dd9da5d8c6c5df699e791d21c96b208 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov  8 20:03:44 1995  Eric Freudenthal <freudenthal@nyu.edu>
+
+       * coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than
+       0xffff0000.
+
 Wed Nov  8 11:31:11 1995  Ian Lance Taylor  <ian@cygnus.com>
 
        * libbfd.c (bfd_get_file_window): Change writable parameter from
index 46730419578bb73cde244792d42e2622a8447371..633899df20194b8fc6f98fcf3b5615af913f0184 100644 (file)
@@ -45,7 +45,7 @@ static boolean coff_a29k_adjust_symndx
 #define EXTRACT_HWORD(WORD) \
     ((((WORD) & 0x00ff0000) >> 8) | ((WORD)& 0xff))
 #define SIGN_EXTEND_HWORD(HWORD) \
-    ((HWORD) & 0x8000 ? (HWORD)|0xffff0000 : (HWORD))
+    ((HWORD) & 0x8000 ? (HWORD)|(~0xffffL) : (HWORD))
 
 /* Provided the symbol, returns the value reffed */
 static long
This page took 0.029861 seconds and 4 git commands to generate.