From: alan@spri.levels.unisa.edu.au (Alan Modra)
To: raeburn@cygnus.com (Ken Raeburn)
Cc: gas2@cygnus.com
Subject: Re: m68k-coff-as bug
Date: Thu, 27 Jul 1995 21:57:00 -0000 [thread overview]
Message-ID: <m0sbhUN-0000ySC@mullet> (raw)
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
reply other threads:[~1995-07-27 21:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m0sbhUN-0000ySC@mullet \
--to=alan@spri.levels.unisa.edu.au \
--cc=gas2@cygnus.com \
--cc=raeburn@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).