This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: irix bootstrap dies in builtins.c
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: irix bootstrap dies in builtins.c
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 4 Apr 2001 10:20:28 +1000 (EST)
- cc: Zack Weinberg <zackw at stanford dot edu>, Geoff Keating <geoffk at redhat dot com>, ghazi at caip dot rutgers dot edu, David dot Billinghurst at riotinto dot com, gcc-patches at gcc dot gnu dot org
On Tue, 3 Apr 2001, Richard Henderson wrote:
> On Tue, Apr 03, 2001 at 12:25:55AM -0700, Zack Weinberg wrote:
> > Couldn't you just put rth's small test case from
> > http://sources.redhat.com/ml/binutils/2001-03/msg00095.html
> > into conftest.s? Then all the buggy assemblers would crash.
>
> Because that test case requires x86 elf. It doesn't properly
> check a.out, or coff, or m68k, or ...
>
> I have no idea how to rewrite it properly.
This should do the trick
$ cat uleb.s
.section .data
.uleb128 .L2-.L1
.section .text.foo
.L1:
.org .L1+2
.L2:
$ as uleb.s
Segmentation fault (core dumped)
$ gas/gas/as-new uleb.s
$ gas/gas/as-new -al uleb.s
GAS LISTING uleb.s page 1
1 .section .data
2 0000 02 .uleb128 .L2-.L1
3 0001 000000 .section .text.foo
4 .L1:
5 0000 0000 .org .L1+2
6 .L2:
Alan
--
Linuxcare