Adding LONG(0) as below to a ld script, causes the section to contain data while
still retaining the type NOBITS and with __bss_start still point to its
beginning (instead of regarding it as a PROGBITS and having _bss_start point
above it).
180c180
< .plt : { *(.plt) } :hdata
---
> .plt : { LONG(0) *(.plt) } :hdata
--
Summary: Emitting code to a NOBITS section is not handled
properly
Product: binutils
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: yaari at il dot ibm dot com
CC: bug-binutils at gnu dot org
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=2864
------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils