MIPS branch out of range
Mon May 31 21:06:00 GMT 1999
But, in fact, the SGI assembler is issuing errors on the test-case.
Hmm. My recollection is that the SGI assembler could handle this, but then
we don't have GNU as for Irix6, so that doesn't make sense.
I think I was remembering irix5 info. It has been quite a while since I looked
at this particular problem, so I was probably still using irix5 then. The gcc
irix5 port requires GNU as for debugging, and GNU as does not handle out of
range branches, but the SGI Irix5 assembler did. SGI rewrote the assembler
in between irix5 and irix6, so it is feasible that this feature got dropped
from the irix6 (n32/n64) assembler. Substituting SGI as for GNU as did not
work if you needed GNU as features though. The GNAT folks in particular
weren't able to use irix5 SGI as, and occasionally ran into the out-of-range
branch problem. It was pretty rare for anyone else to see the problem.
More information about the Gcc-bugs