This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
debug/3532: mips stabs are emitted wrongly for current binutils
- To: gcc-gnats at gcc dot gnu dot org
- Subject: debug/3532: mips stabs are emitted wrongly for current binutils
- From: dan at debian dot org
- Date: 2 Jul 2001 23:31:56 -0000
- Reply-To: dan at debian dot org
>Number: 3532
>Category: debug
>Synopsis: mips stabs are emitted wrongly for current binutils
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 02 16:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: dan@debian.org
>Release: gcc-3.0
>Organization:
>Environment:
Native compiler for mipsel-linux, or cross from i386-linux to mipsel-linux.
>Description:
mips_output_lineno emits stabn directives like this:
$LM5:
.stabn 68,0,7,$LM5
But now that current binutils have MIPS_STABS_ELF turned on, they
expect the address to be relative (i.e. $LM5-main).
>How-To-Repeat:
>Fix:
Either binutils/gdb or gcc needs to be changed; we may have to autoconf
guesstest for the version of GAS being used and whether gas is being used at all. Ugh.
>Release-Note:
>Audit-Trail:
>Unformatted: