* gas-980310: mips64orion-rtems failure
@ 1998-03-11 5:53 Joel Sherrill
0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 1998-03-11 5:53 UTC (permalink / raw)
To: gas2
It would not compile and failed with the following message:
gcc -DHAVE_CONFIG_H -I. -I../../src/gas -I. -D_GNU_SOURCE -I.
-I../../src/gas -I../bfd -I../../src/gas/config -I../../src/gas/../include
-I../../src/gas/.. -I../../src/gas/../bfd -O2 -c
../../src/gas/config/tc-mips.c
../../src/gas/config/tc-mips.c: In function `md_begin':
../../src/gas/config/tc-mips.c:889: parse error before `if'
../../src/gas/config/tc-mips.c:1114: parse error before `void'
I took a shot at patching this. This code is very different from what was
in 2.8.1. It now compiles but I have very little confidence that I got it
right. The code in question is setting the isa indicator. Anyway, the
patch is below my signature:
--joel
Joel Sherrill Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (205) 722-9985
Wed Mar 11 07:46:11 CST 1998 Joel Sherrill <joel@OARcorp.com>
* config/tc-mips.c: (md_begin): Added missing brace and
parenthesis so this would compile.
*** tc-mips.c.orig Tue Mar 10 03:20:11 1998
--- tc-mips.c Wed Mar 11 07:45:04 1998
***************
*** 883,890 ****
else if (mips_cpu == 4000
|| mips_cpu == 4100
|| mips_cpu == 4400
! || mips_cpu == 4300
if (mips_3900 < 0)
mips_3900 = (mips_cpu == 3900);
--- 883,892 ----
else if (mips_cpu == 4000
|| mips_cpu == 4100
|| mips_cpu == 4400
! || mips_cpu == 4300)
+ mips_opts.isa = 3;
+ }
if (mips_3900 < 0)
mips_3900 = (mips_cpu == 3900);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-03-11 5:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-11 5:53 gas-980310: mips64orion-rtems failure 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).