* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement

to 30 bits in call insn to handle --enable-64-bit-bfd.
This commit is contained in:
David Edelsohn 1997-10-15 17:31:07 +00:00
parent f08be001ae
commit 048c2f0179
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Oct 15 10:27:14 1997 Doug Evans <dje@canuck.cygnus.com>
* config/sparc/tm-sparc.h (FIX_CALL_DUMMY): Mask off displacement
to 30 bits in call insn to handle --enable-64-bit-bfd.
Tue Oct 14 22:13:27 1997 Dawn Perchik <dawn@cygnus.com>
* stabsread.c: Make ref_map entries dynamically allocated.

View File

@ -583,7 +583,8 @@ arguments. */
#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \
{ \
store_unsigned_integer (dummyname + 168, 4, \
0x40000000 | ((fun - (pc + 168)) >> 2)); \
(0x40000000 \
| (((fun - (pc + 168)) >> 2) & 0x3fffffff))); \
if (!gcc_p \
&& (TYPE_CODE (type) == TYPE_CODE_STRUCT \
|| TYPE_CODE (type) == TYPE_CODE_UNION)) \