This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: The problem of m68k-elf-objcopy
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Aladdin Chang <chang at totoro dot ee dot ntust dot edu dot tw>
- Cc: <binutils at sources dot redhat dot com>
- Date: 12 Jun 2002 15:29:43 +0100
- Subject: Re: The problem of m68k-elf-objcopy
- References: <Pine.LNX.4.33.0206111125260.24158-100000@totoro.ee.ntust.edu.tw>
Hi Aladdin,
> I can see the contain of section .vector using m68k-elf-objdump, but
> can not copy it to S-Record using m68k-elf-objcopy, what is the problem ?
> =========================================
> $ m68k-elf-objdump -s -j .vector ram_test
>
> ram_test: file format elf32-m68k
>
> Contents of section .vector:
> 0400 0000fffe 00000408 ........
> ----------------------------------------------------
> $ m68k-elf-objcopy -O srec -j .vector ram_test vector
> $ cat vector
> S0090000766572746F7254
> S9030408F0
Does the .vector section have both the ALLOC and LOAD flags set ? If
not then it will not be converted into a S-record. (You can use
'objdump -h ram_test' to check).
Cheers
Nick