ROMable application with gnuh8-elf toolchain
Bill Gatliff
bgat@billgatliff.com
Sun Jun 8 02:08:00 GMT 2003
Stefan:
You don't need to rebuild your toolchain, you can use objcopy to copy
your ELF file to COFF.
Many of the ELF linker sections are for compatibility with other
toolchains, debugging information, and/or ABIs that you may not be
using. Start with the linker sections you recognize, and add in others
as you get unresolved symbols or things look broken. You'll find that
you don't need most of them.
Regards,
b.g.
Stefan Schober wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Bill,
>
> Bill Gatliff wrote:
> | Stefan:
> |
> |
> | I have a brief tutorial on linker scripts here:
> |
> | http://billgatliff.com/articles/gnu/gcc-whitepaper.html/index.html
> |
> | It's an excerpt from my training manuals.
>
> thank you for this information on linker scripts. Unfortunately that's
> not, what I'm looking for. I set up an ELF based cross compiling tool
> chain and recognized, that an ELF file may consist of many sections,
> which I don't know how to deal with. I don't have problems writing
> linker scripts for COFF based targets. The sections defined in a COFF
> file are much less and well known to me.
>
> As time goes by, I think I should really consider switching back to a
> COFF based tool chain. At the moment I can't imagine, how I can benefit
> from the possibilities given by ELF output. Especially considering the
> targets. That are (perhaps) H8S/26{12|23} or H8S2239. I'm convinced, I
> can better handle these targets with a COFF based cross compiler suite.
>
> Thank you
> stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQE+4kH0QwX1K5W3w68RAkkyAJ9yyQNEGSl+R4fVjbgmjXB+xsIUFACgm6fB
> jvsJZloMU1Yg70CIpPEQyBI=
> =GWPc
> -----END PGP SIGNATURE-----
>
--
Bill Gatliff
Embedded GNU and Linux development, training
bgat@billgatliff.com
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list