This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15331] Assembler error building gnatlib on IRIX 6.5 with GNU as 2.14.91
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 22:50:34 -0000
- Subject: [Bug target/15331] Assembler error building gnatlib on IRIX 6.5 with GNU as 2.14.91
- References: <20040506215754.15331.ro@techfak.uni-bielefeld.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rsandifo at gcc dot gnu dot org 2004-05-06 22:50 -------
Created an attachment (id=6240)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6240&action=view)
patch
Yeah, I'd noticed this too, and came up with the attached patch.
Unfortunately, Ada seems to assume the native linker, so it's
not going to be possible to use GNU ld even if this patch goes in.
And I'm never too sure how useful the --with-gnu-as --without-gnu-ld
combo is for n32 & n64.
"gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> The file assembles ok with GNU as 2.14.90 20040209, but the affected
> lines seem bogus nonetheless:
>
> ld $16, 16*8+ +16($4)
>
> I'm not sure if the second `+' is interpreted as a unary plus here.
> But (after removing several instances of .[ul]eb128, even the native
> assembler groks this file without problems.
The second '+' used to be interpreted as a unary, but this was deliberately
changed by:
http://sources.redhat.com/ml/binutils/2004-03/msg00400.html
Richard
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15331