* Re: m68k-coff-as bug
@ 1995-07-27 21:57 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 1995-07-27 21:57 UTC (permalink / raw)
To: Ken Raeburn; +Cc: gas2
Here is an updated version of the patch Andreas Schwab sent to fix the
m68k-coff problem introduced in gas-950622.
--- gas-950726/gas/config/obj-coff.c Fri Jul 28 08:41:30 1995
+++ ./gas/config/obj-coff.c Fri Jul 28 08:46:07 1995
@@ -3677,6 +3677,7 @@
if (!TC_FORCE_RELOCATION (fixP))
{
+ pcrel = 0; /* No further pcrel processing. */
fixP->fx_addsy = NULL;
fixP->fx_subsy = NULL;
fixP->fx_done = 1;
Some test code, similar to that emitted by gcc for switch statements:
mullet:/tmp$ cat >zzz.s
.text
.org 512
.set .LI1,.+2
move.w .L1-.LI1.b(%pc,%a0.l),%d0
jmp %pc@(2,%d0:w)
.L1:
mullet:/tmp$ /usr/tmp/gas-950726/gas/as.new -m68000 -o /dev/null zzz.s
zzz.s: Assembler messages:
zzz.s:4: Error: Value of -508 too large for field of 1 bytes at 0x203
zzz.s:4: Error: value out of range
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-07-27 21:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-07-27 21:57 m68k-coff-as bug Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).