[En-Nut-Discussion] devnut_m3n branch linker severely broken?

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed Feb 1 17:43:49 CET 2012


>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:

    Ole> Hi Ulrich,
    >> in devnut_m3n the linker setup is severely broken.  I t is impossible
    >> to link a system without big code overhead. It looks like both,
    >> stdlib and nutos wrappers, are linked into the system.

    Ole> Are you shure that this is a problem of the devnut_m3n in general
    Ole> or just a problem with the STM32 implementation / Linker scripts?

    Ole> With the LPC1788 implementation I compiled my little test program
    Ole> (some blinking LEDs) and it just has 3K of size, not more than a
    Ole> few weeks ago.

    Ole> On the other hand there are no references to the nutcrt right now.

    Ole> AFAIK Uwe modified the STM32 linker scripts not long ago.

At least the SVN log says that I didn't touch stm32f10x_flash.ld.

Last change was 
r3523 | astralix | 2011-07-20 23:01:23 +0200 (Mi, 20. Jul 2011) | 1 Zeile
Geänderte Pfade:
   M /branches/devnut_m3n/nut/arch/cm3/ldscripts/stm32f10x_flash.ld

Thx Uwe: fixed linking fail with gcc > 4.5.1 toolchains.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the En-Nut-Discussion mailing list