public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* newlib-1.6.1 shows bug in m68k-coff-as
@ 1995-07-04 18:23 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 1995-07-04 18:23 UTC (permalink / raw)
  To: gas2

This one came up when I decided to try out the latest assembler on
newlib-1.6.1.  gas was configured with
./configure --prefix=/usr --target=m68k-coff --host=i486-linux

$ cd /usr/tmp/newlib-1.6.1/newlib/libm/math

$ m68k-coff-gcc -g -pipe -O2 -DMISSING_SYSCALL_NAMES -fno-builtin
-I/usr/tmp/newlib-1.6.1/newlib/./targ-include
-I/usr/tmp/newlib-1.6.1/newlib/./libc/include -S k_standard.c

$ /usr/tmp/gas-950704/gas/as.new -o /dev/null k_standard.s
k_standard.s: Assembler messages:
k_standard.s:297: Error: Value of -784 too large for field of 1 bytes at 0x317
k_standard.s:297: Error: value out of range

An older gas works ok

$ m68k-coff-as --version
GNU assembler version 950530 (m68k-coff)

$ m68k-coff-as -o /dev/null k_standard.s


The relevant lines from k_standard.s
	.set .LI381,.+2
	move.w .L381-.LI381.b(%pc,%a1.l*2),%d0
	jmp %pc@(2,%d0:w)
.L381:

If anyone wants all of k_standard.s, just ask.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-04 18:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-07-04 18:23 newlib-1.6.1 shows bug in m68k-coff-as 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).