This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
OBJCOPY Help Needed
- From: "Swiger, Dan" <Dan dot Swiger at drs-ss dot com>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 21 Feb 2005 14:41:20 -0500
- Subject: OBJCOPY Help Needed
> -----Original Message-----
> From: Swiger, Dan
> Sent: Monday, February 21, 2005 2:37 PM
> To: 'gcc-help@gcc.gnu.org'
> Subject: OBJCOPY Help Needed
>
> I am currently using "gcc version 2.9-nios-010801-20030722".
> This is the GCC for the Altera NIOS SOC processor. We have,
> for some time, been using the objcopy command
> (nios-elf-objcopy) to generate S-Record simply for our own
> amusement. At some point, however, we will have to use them
> to burn the code into FLASH. I noticed today that the
> S-Records generated by objcopy are byte-oriented. Is there a
> way to make it generate word-oriented S-Records... by this, I
> mean to always have an even number of bytes on a single
> S-Record line. That way, we can avoid having to keep track
> of addresses, odd-bytes, and what-not when building and
> burning our S-Records into FLASH.
>
> Thanks in advance for any help,
>
> Dan