debug/3532: mips stabs are emitted wrongly for current binutils

dan@debian.org dan@debian.org
Mon Jul 2 16:36:00 GMT 2001


>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:



More information about the Gcc-bugs mailing list