bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/15354] New: ppc64 vdso linker script failure


From: anton at samba dot org
Subject: [Bug gold/15354] New: ppc64 vdso linker script failure
Date: Wed, 10 Apr 2013 07:51:58 +0000

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

             Bug #: 15354
           Summary: ppc64 vdso linker script failure
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified


Created attachment 6971
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6971
VDSO linker script

I see the following failure when building a ppc64 Linux kernel with gold:

# gcc -m64 -nostdlib -shared -Wl,-T vdso64.lds foo.c

/root/binutils_install/bin/ld: error: sections loaded on first page without
room for file and program headers are not supported
/root/binutils_install/bin/ld: error: address of section '.brlt' moves backward
from 0x1003a0 to 0x0


Adding the .brlt section to DISCARD (as suggested by Alan) fixes it.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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