bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/6844] Segmentation Fault using cross architecture ld command


From: nickc at redhat dot com
Subject: [Bug ld/6844] Segmentation Fault using cross architecture ld command
Date: 20 Aug 2008 11:17:52 -0000

------- Additional Comments From nickc at redhat dot com  2008-08-20 11:17 
-------
Hi John,

  Hmm, without a test case this is going to be very hard to track down and fix.
 But if you are willing to try a few things then maybe we can solve it.

  1.  Re comment #8.  If you add an entry for .eh_frame to your linker script
and try again does that work ?  (And if necessary, adding entries for any other
loadable input sections which are not currently mentioned in the linker script).

  2. It appears that code in elf32-ppc.c that is causing the problem is trying
to set an entry in the global offset table.  When the seg-fault occurs, can you
use gdb to find out the values (in hex) of:

    htab->got->contents
    htab->elf.hgot->root.u.def.value
    htab->got->size

Cheers
  Nick

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=6844

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]