.xword crashes gas on sparc

Jakub Jelinek jakub@redhat.com
Mon Nov 29 14:26:00 GMT 1999


On Mon, Nov 29, 1999 at 05:09:25PM -0200, Alexandre Oliva wrote:
> This is the first of a series of problem reports I'm going to post.  I
> intend to try to fix them, but I wouldn't mind if someone gets to it
> first :-)
> 
> egcs is now multilibbed 32/64 on Solaris7/sparc, and the -m64 version
> fails to compile _trampoline.o for libgcc.  Here's a reduced testcase,
> that presents the same problem:
> 
> echo '.xword foo' | /n/gnu/bin/as -
> {standard input}: Assembler messages:
> {standard input}:1: Fatal error: {standard input}:1: bad return from bfd_install_relocation

Which binutils are that and how they were configured?
Cannot reproduce it here (sparc64-redhat-linux, configured with
sparc-redhat-linux --enable-targets sparc64-linux):

[root@tucnak /root]# as --version
GNU assembler 2.9.5
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `sparc-redhat-linux'.
[root@tucnak /root]# echo '.xword foo' | as -Av9a -64
[root@tucnak /root]# ls -l a.out
-rw-r--r--   1 root     root          792 Nov 29 23:15 a.out

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.18 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________


More information about the Binutils mailing list