avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Invalid bfd target


From: patrick blanchard
Subject: [avr-gcc-list] Invalid bfd target
Date: Sun, 16 Oct 2005 08:38:08 -0500
User-agent: KMail/1.7.2

Hi, what is a bfd target and why the error for this makefile?

makefile

...snip
###### BLOCK 9) create bin (.hex and .eep) files from elf output file ######

%.hex: %.elf
        $(BIN) -O $(FORMAT) -R .eeprom $< $@

%.eep: %.elf
        $(BIN) -j .eeprom --set-section-flags=.eeprom="alloc,load" 
--change-section-lma .eeprom=0 -O $(FORMAT) $< $@

%.cof: %.elf
        $(BIN) --debugging -O coff-ext-avr \
                --change-section-address   .data-0x800000 \
                --change-section-address    .bss-0x800000 \
                --change-section-address .noinit-0x800000 \
                --change-section-address .eeprom-0x810000 \
                $< $@

...snip

terminal output:
...snip (error line is isolated w/ blank line)

/home/patrick/linuxtooling/bin/avr-gcc-3.4.4  buffer.o uart2.o rprintf.o 
timer.o a2d.o lcd.o lcdtest.o   -Wl,-Map=lcdtest.map,--cref -mmcu=atmega128 
-o lcdtest.elf
/home/patrick/linuxtooling/bin/avr-objcopy --debugging -O coff-ext-avr \
        --change-section-address   .data-0x800000 \
        --change-section-address    .bss-0x800000 \
        --change-section-address .noinit-0x800000 \
        --change-section-address .eeprom-0x810000 \
        lcdtest.elf lcdtest.cof


/home/patrick/linuxtooling/bin/avr-objcopy: lcdtest.cof: Invalid bfd target


/home/patrick/linuxtooling/bin/avr-objcopy: 
--change-section-vma .eeprom+0xff7f0000 never used
...snip


thanks
-- 
Patrick Blanchard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]