Wed Nov 8 20:03:44 1995 Eric Freudenthal <freudenthal@nyu.edu>
* coff-a29k.c (SIGN_EXTEND_HWORD): Use ~0xffff rather than 0xffff0000.
This commit is contained in:
parent
6a649eda40
commit
1b3b0c0343
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue