Fix .debug_line for MIPS -msym32
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
> 2007-07-11 Daniel Jacobowitz <email@example.com>
> * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
More information about the Binutils