Fix .debug_line for MIPS -msym32
Thiemo Seufer
ths@networkno.de
Wed Jul 11 15:30:00 GMT 2007
Daniel Jacobowitz wrote:
> I discovered that a MIPS64 Linux kernel built with the GCC -msym32
> option caused GDB to crash. The address size in the .debug_info
> compilation header was 4, but the .debug_line section used R_MIPS_64
> relocations for DW_LNE_set_address. The former was generated by GCC,
> the latter by gas.
>
> Richard pointed me in the right direction for this fix. It causes no
> change in the binutils testsuite, and GDB no longer crashes. OK
> to commit?
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
> 2007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
>
> * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
> HAVE_64BIT_SYMBOLS.
Ok.
Thiemo
More information about the Binutils
mailing list