This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
still problems linking plain data into an application (arm-elf)
- To: binutils at sources dot redhat dot com
- Subject: still problems linking plain data into an application (arm-elf)
- From: "Andreas Bürgel" <Andreas dot Buergel at web dot de>
- Date: Mon, 28 May 2001 18:34:46 +0200
- Organization: http://freemail.web.de/
Hi folks,
I want to link a plain data file - hex format or binary - into my application. Currently I'm using a linker script with an input-command "INPUT (<DATAFILE>)". Unfortunately the only format the linker pretends to recognize ist "Intel Hex", using other formats I get a " File format not recognized"-error.
1.) My arm-elf binutils claim to support even texhex and binary format. But why do they complain when using something other than Intel-hex?
2.) Is there an additional option for the "INPUT" command describing the input file format?
3.) When using Intel-hex (ihex) as data file format, the data file is linked into the ".sec1"-section of the application, but both nibbles in every byte seem to be exchanged with their companion mysteriously excluding the first 32-bit-word of the data. Can I suppress this manipulation of my data?
host-system is Intel-Linux, target system is arm-elf.
binutils version is 2.10.1
Thanks in advance,
-----------------------------------------------------
i.A. Andreas Bürgel GenoLogic GmbH
Software Engineer Joseph-von-Fraunhofer-Str. 13
D-44227 DORTMUND
Germany
ab@genologic.de phone +49 (0) 231/477349-0
fax +49 (0) 231/4761234
______________________________________________________________________________
Ferienklick.de - Jede Menge Urlaub auf einen Blick!
Hier geht's zu Ihrem Traumstrand: http://ferienklick.de/?PP=2-0-100-105-1