mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-28 19:53:28 +08:00
* coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
macro. (pr ld/7127)
This commit is contained in:
parent
9e1b4d5750
commit
dc1f8593d0
@ -43,7 +43,7 @@ static boolean coff_a29k_adjust_symndx
|
|||||||
#define INSERT_HWORD(WORD,HWORD) \
|
#define INSERT_HWORD(WORD,HWORD) \
|
||||||
(((WORD) & 0xff00ff00) | (((HWORD) & 0xff00) << 8) | ((HWORD)& 0xff))
|
(((WORD) & 0xff00ff00) | (((HWORD) & 0xff00) << 8) | ((HWORD)& 0xff))
|
||||||
#define EXTRACT_HWORD(WORD) \
|
#define EXTRACT_HWORD(WORD) \
|
||||||
(((WORD) & 0x00ff0000) >> 8) | ((WORD)& 0xff)
|
((((WORD) & 0x00ff0000) >> 8) | ((WORD)& 0xff))
|
||||||
#define SIGN_EXTEND_HWORD(HWORD) \
|
#define SIGN_EXTEND_HWORD(HWORD) \
|
||||||
((HWORD) & 0x8000 ? (HWORD)|0xffff0000 : (HWORD))
|
((HWORD) & 0x8000 ? (HWORD)|0xffff0000 : (HWORD))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user