Porting binutils to new platform
Paul Brook
paul@codesourcery.com
Wed May 26 14:21:00 GMT 2004
On Wednesday 26 May 2004 14:45, Chris Smith wrote:
> I'm trying to get binutils working for a calculator.
>
> The calculator uses an ARM processor... but typically uses it to emulate
> the assembly language of a now-defunct proprietary processor. Recently,
> it's been discovered that it's possible to call ARM machine code by placing
> the machine code into a string constant and then doing some fancy stuff
> with the emulated assembly to cause the processor to jump to the address of
> the string constant. I'd like to define a target file format which takes
> ARM assembly and creates just such a file -- with machine code stuffed into
> a string constant and the basic Saturn machine code header to cause the
> processor to run the ARM code.
It may be quicker and easier to use the existing arm-elf target (probably with
a custom linker script), then "objcopy -O binary" and a quick script to
generate your assembly wrapper.
Paul
More information about the Binutils
mailing list