[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-12-27 01:26 --- A patch is posted at http://sourceware.org/ml/binutils/2007-12/msg00150.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=5522 --- You are receiving this mail because: --- You are on the CC list for

[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-12-27 01:12 --- There are /* An instruction to the linker to not output the section even if it has information which would normally be written. */ #define SEC_NEVER_LOAD 0x200 `NOLOAD' The section should be marked as not

[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-12-27 00:46 --- The bug is trigger by the linker script: /* Server size info */ .data.server (NOLOAD) : { *(.data.server) } Linker marks the .data.server section as SHT_NOBITS, which is wrong

Re: ld

2007-12-26 Thread Nick Clifton
Hi Ashley, I'm having some trouble using the linker... I am using V4.1.2 as part of the WinAVR package. Which version of the linker does this include ? If it is earlier then v2.18 please try downloading the current binutils sources and building a new linker. If that does not solve the

ld

2007-12-26 Thread Ashley Duncan
Hi there, I'm having some trouble using the linker... I am using V4.1.2 as part of the WinAVR package. The issue I am having is as follows... The package includes a linker script named avr5.x. In that script it has the line "PROVIDE(__heap_start = .)". When I use the linker with --defsym=_

[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread SebastianR at gmx dot de
--- Additional Comments From SebastianR at gmx dot de 2007-12-26 15:35 --- Thank you for the really quick response! I guess what I am trying to do here probably does not make much sense. The stabs debugging sections originate from a COFF-specific .s file generated by the MinGW version o

[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-12-26 15:06 --- This regression was introduced by http://sourceware.org/ml/binutils-cvs/2007-05/msg00158.html -- What|Removed |Added ---

[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-12-26 14:27 --- Confirmed. -- What|Removed |Added Status|RESOLVED|REOPENED Res

[Bug ld/5522] Section contents partially overwritten with zero

2007-12-26 Thread SebastianR at gmx dot de
--- Additional Comments From SebastianR at gmx dot de 2007-12-26 13:20 --- Created an attachment (id=2160) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2160&action=view) updated bss.lds I'm sorry; I somehow managed to upload an outdated bss.lds file. When using the attached fi