cat > start.s <<\EOF .text .global _start _start: .long 0 cat > start.lnk <<\EOF SECTIONS { . = 0xc000000000000000; .text : AT(ADDR(.text) - 0xc000000000000000) { *(.text) } /DISCARD/ : { *(*) } } EOF as -o start.o start.s ld -o start start.o strip start BFD: st91vQPh: section .text lma 0x0 overlaps previous sections BFD: st91vQPh: section `.text' can't be allocated in segment 1 LOAD: .text strip:st91vQPh[.text]: Bad value BFD: st91vQPh: section .text lma 0x0 overlaps previous sections BFD: st91vQPh: section `.text' can't be allocated in segment 1 LOAD: .text strip:st91vQPh: Bad value
-- Summary: All program header p_paddr fields zero confuse strip and objcopy Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: amodra at bigpond dot net dot au CC: bug-binutils at gnu dot org GCC target triplet: Any ELF target http://sourceware.org/bugzilla/show_bug.cgi?id=6473 ------- 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