On Tue, Aug 30, 2011 at 2:06 AM, aliko <ali.tli...@gmail.com> wrote:
> 30.08.2011 12:54, Eric Decker пишет:
> > we need more details about the compile process, turn on verbose and see
> > what switches are being fed to the compiler and linker.
>
> compiller (for one of files in project):
> msp430-g++ -c -mmcu=msp430x1611 -I ".\src" -I
> "./../../libs/scmRTOS/v4/Common" -I "./../../libs/scmRTOS/v4/MSP430"
> -I "./../commons" -I "./../commons/comm" -I "./../commons/hart" -I
> "./../commons/config" -I "./../commons/flash" -I "./../commons/lcd"
> -I "./../commons/analogio" -I "./../../libs" -MD -DOSVER=4
> -Wa,-adhlns=.\lst/analogio.lst -O1 -g -std=c++0x -fomit-frame-pointer
> -fno-exceptions -fno-rtti -fdata-sections -fno-elide-constructors
> -funsigned-bitfields -fshort-enums -fno-threadsafe-statics -Wall
> -Wimplicit -Wcast-align -Wpointer-arith -Wredundant-decls -Wshadow
> -Wcast-qual -Wcast-align -pedantic -save-temps -o .\obj/analogio.o
> ./../commons/analogio/analogio.cpp
>
> assembler:
> msp430-g++ -x assembler-with-cpp -c -mmcu=msp430x1611 -I ".\src" -I
> "./../../libs/scmRTOS/v4/Common" -I "./../../libs/scmRTOS/v4/MSP430"
> -I "./../commons" -I "./../commons/comm" -I "./../commons/hart" -I
> "./../commons/config" -I "./../commons/flash" -I "./../commons/lcd"
> -I "./../commons/analogio" -I "./../../libs" -MD -DOSVER=4
> -Wa,-adhlns=.\lst/OS_Target_asm.lst -o .\obj/OS_Target_asm.o
> ./../../libs/scmRTOS/v4/MSP430/OS_Target_asm.S
>
> linker:
> msp430-gcc .\obj/main.o .\obj/ModeValveAnalog.o .\obj/keys.o
> .\obj/interface.o .\obj/control.o .\obj/ModeSettings.o
> .\obj/ModeAuto.o .\obj/usrlib.o .\obj/OS_Kernel.o .\obj/OS_Services.o
> .\obj/OS_Target_cpp.o .\obj/comm.o .\obj/hart.o .\obj/config.o
> .\obj/flash.o .\obj/small_font.o .\obj/lcd.o .\obj/big_font.o
> .\obj/analogio.o .\obj/OS_Target_asm.o -mmcu=msp430x1611
> -Wl,-Map=".\lst\epp.map",--sort-common,--cref
> -Wl -o ".\exe\epp.elf" -mdisable-watchdog
>
>
> > how much custom stuff are you doing?
>
> Not sure I'm understood What do you mean?
>
custom linker script, using non-standard switches etc. Anything out of
the usual.
I think the next thing to do is figure out what linker script is being
invoked (I'm not sure how to do that).
The linker script tells the linker where things are supposed to live. I'd
see if I could find the linker script for the 1611 in the new toolchain and
the mspgcc4 toolchain and see if they are different.
If that doesn't yield any insight, kicking this to Peter would make sense.
See what you can figure out looking at linker scripts and then submit a
tracker bug.
>
> > and what does readelf say when you run it against the mspgcc4 output.
>
> Here the peace of output of readelf for elf compiled by GCC4:
> [15] .rodata._ZL7xfCon PROGBITS 0000bd4c 007e60 000058 00 A
> 0 0 2
>
> [16] .rodata._ZL10HART PROGBITS 0000bda4 007eb8 00006a 00 A
> 0 0 2
>
> [17] .rodata.small_fon PROGBITS 0000be0e 007f22 00000e 00 A
> 0 0 2
>
> [18] .rodata._ZL16font PROGBITS 0000be1c 007f30 0003a8 00 A
> 0 0 1
>
> As you can see now addresses a good.
>
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
--
Eric B. Decker
Senior (over 50 :-) Researcher
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users