sections beim gnu Compiler

Gast #75242
Lesenswert?

hallo!
Weiss jemand die GENAUE Syntax, wie ich dem Linker die startadresse
einer Section angeben muss?? habe schon alle probiert, aber es will
nicht klappen:



avr-gcc ..\O\main.o -Wl,-Map=..\M\bootldr.map -o ..\M\bootldr.elf
--cref --section-start.bootloader=0x3C00 -mmcu=atmega162

oder muss es heissen
--section-start".bootloader"=0x3C00     oder:
--section-start = .bootloader=0x3C00     oder:
--section-start".bootloader" 3C00     oder:
Wl,--section-start".bootloader"=0x3C00     oder:
???????????????????

Gruß Martin

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren