[U-Boot-Users] Patch: Changes to support GCC 3.3.x

Yuli Barcohen yuli at arabellasw.com
Thu Mar 4 18:01:44 CET 2004


>>>>> Stephan Linz writes:

    Stephan> Am Donnerstag, 4. März 2004 15:00 schrieb Yuli Barcohen:

    Yuli> GCC 3.3.x changed handling of global variables explicitly
    Yuli> initialised to zero. It puts them to .bss section and not
    Yuli> .data as it was in older GCC versions. This change breaks
    Yuli> environment redundancy feature. Attached patch fixes the
    Yuli> problem.

    Stephan> short comment/question: Is the result backward compatible
    Stephan> to older pre 3.x gcc ? There are some targets (ex. Nios)
    Stephan> with gcc 2.95 support only.

Yes, the patch just makes the code to behave the same way with any
version of the compiler.

-- 
========================================================================
 Yuli Barcohen       | Phone +972-9-765-1788 |  Software Project Leader
 yuli at arabellasw.com | Fax   +972-9-765-7494 | Arabella Software, Israel
========================================================================





More information about the U-Boot mailing list