|
From: | Bill Westfield |
Subject: | [avr-gcc-list] avr-objcopy not copying custom section... |
Date: | Fri, 25 Feb 2011 01:21:27 -0800 |
optiboot_diecimila.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 000001d6 00003e00 00003e00 00000054 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .version 00000004 00003ffc 00003ffc 0000022a 2**0
CONTENTS, READONLY, CODE
:
Contents of section .text:
3e00 112484b7 14be81ff d3d085e0 80938100 .$..............
3e10 82e08093 c00088e1 8093c100 86e08093 ................
3e20 c20080e1 8093c400 8ee0bcd0 259a86e0 ............%...
3e30 20e33cef 91e03093 85002093 840096bb .<...0... .....
3e40 b09bfecf 1d9aa895 8150a9f7 99249394 .........P...$..
3e50 a5e0aa2e f1e1bf2e 9dd08134 21f481e0 ...........4!...
3e60 b2d083e0 1fc08234 11f484e1 03c08534 .......4.......4
:
Contents of section .version:
3ffc 02043412 ..4.
Contents of section .debug_aranges:
0000 24000000 02000000 00000400 00000000 $...............
BillW-MacOSX-2<8748> /sw/cross/bin/avr-objdump -sh optiboot_diecimila.elf | less
BillW-MacOSX-2<8748> /sw/cross/bin/avr-objcopy -j .version -O ihex optiboot_diecimila.elf foo.hex
BillW-MacOSX-2<8749> more foo.hex
:0400000300003E00BB
:00000001FF
[Prev in Thread] | Current Thread | [Next in Thread] |