This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix .debug_line for MIPS -msym32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]