When making OMAGIC executables with ld with the swich -N, the ld script begins
with :

>SECTIONS
>{
>  . = 0x1020;

and so on

Which make the executables hopelessly segfault.

It seems that giving to ld a script with . = 0x0 corrects the problem. However,
I'm unable to find out where to change in the sources.

-- 
           Summary: bad definition of start address in ldscripts for OMAGIC
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: Quentin dot Godfroy at ens dot fr
                CC: bug-binutils at gnu dot org
 GCC build triplet: i486-linux
  GCC host triplet: i486-linux
GCC target triplet: i486-linuxaout


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to