From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Linz Date: Thu, 4 Mar 2004 16:14:30 +0100 Subject: [U-Boot-Users] Patch: Changes to support GCC 3.3.x In-Reply-To: <16455.13925.369050.724478@gargle.gargle.HOWL> References: <16455.13925.369050.724478@gargle.gargle.HOWL> Message-ID: <04030416143003.12732@pcj86> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Donnerstag, 4. M?rz 2004 15:00 schrieb Yuli Barcohen: > GCC 3.3.x changed handling of global variables explicitly initialised to > zero. It puts them to .bss section and not .data as it was in older GCC > versions. This change breaks environment redundancy feature. Attached > patch fixes the problem. short comment/question: Is the result backward compatible to older pre 3.x gcc ? There are some targets (ex. Nios) with gcc 2.95 support only. Best Regards, Stephan Linz