* Re: bug in a29k-coff
@ 2000-09-21 17:12 Richard Kenner
0 siblings, 0 replies; 2+ messages in thread
From: Richard Kenner @ 2000-09-21 17:12 UTC (permalink / raw)
To: joel.sherrill; +Cc: gcc
store 0,0,AI0,gr116
I don't know whether that is valid assembly language or not for the
a29k so I can't blame it on gcc or binutils.
This is not valid. AI0 is a "fake" register used to denote incoming
arguments in the variable-size register frame (I don't remember the details:
I wrote this stuff nearly 15 years ago).
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug in a29k-coff
@ 2000-09-21 14:46 Joel Sherrill
0 siblings, 0 replies; 2+ messages in thread
From: Joel Sherrill @ 2000-09-21 14:46 UTC (permalink / raw)
To: binutils, gcc
CC: gcc 2.95.2
BINUTILS: binutils 2.10
TARGET: a29k-rtems (basically a29k-coff)
I don't know if anyone cares about this or not. We have an old
a29k port of RTEMS and I was (perhaps foolishly) trying to build
a29k tools to see how badly it was bit-rotted. When building C++,
it blew up on this gcc invocation:
/usr1/rtems/work-tools/tools/b-a29k-gcc/gcc/xgcc \
-B/usr1/rtems/work-tools/tools/b-a29k-gcc/gcc/ \
-B/opt/a29k-rtems/a29k-rtems/bin/ \
-I/opt/a29k-rtems/a29k-rtems/include -O2 \
-I../../gcc-2.95.2/gcc/../newlib/libc/sys/rtems/include
-DCROSS_COMPILE \
-DIN_GCC -O2 -I./include -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 \
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -O2 -I. \
-I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config \
-I../../gcc-2.95.2/gcc/../include -c \
../../gcc-2.95.2/gcc/cp/new1.cc -DL_op_new
Tracking it down, I cut new1.s down to this and it still failed.
==================
.text
store 0,0,AI0,gr116
==================
sh$ a29k-rtems-as new1.s
new1.s: Assembler messages:
new1.s:2: Error: Invalid operands
==================
I don't know whether that is valid assembly language or not for the
a29k so I can't blame it on gcc or binutils.
Thanks.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-21 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-21 17:12 bug in a29k-coff Richard Kenner
-- strict thread matches above, loose matches on Subject: below --
2000-09-21 14:46 Joel Sherrill
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).