------- Additional Comments From hjl dot tools at gmail dot com 2009-10-11 02:03 ------- (In reply to comment #17) > Exactly. The reason is that .text is made a unique section, so doesn't match > the .text in the script. See unique_section_p, in particular the one in > output_section_callback. So .text is treated as an orphan, and orphans have > their vma set to zero.
Linker script has --- SECTIONS { . = 0x800000; .text : { *(.text) } . = 0x900000; .data : { *(.data) } /DISCARD/ : { *(.*) } } --- Shouldn't the orphaned sections be discarded? -- http://sourceware.org/bugzilla/show_bug.cgi?id=10749 ------- 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