[LLVMdev] Generate PE\COFF file with ARM instructions
dg at cowlark.com
Mon May 13 08:52:39 PDT 2013
Moshe, Nir wrote:
> I have a question about the LLVM ARM backend:
> I try to build *.c files for Windows Phone (Windows 8) - so, basically
> I need to generate an "arm-pe" file (I *think* it has the same file
> structure like x86-pe file, but i am not sure).
> unfortunately, LLVM has no support with ARM PE\COFF.
We recently ran into this. Unfortunately there's no binutils support for
ARM PE/COFF (at least the last time I looked).
It doesn't seem to be very hard to add; from what I found out, the only
real difference is a difference to the CPU type field. But binutils is
sufficiently painful to wrangle that I couldn't do it in a few hours, so
we went for other tools.
With binutils support adding ARM PE/COFF should be fairly easy,
depending on how much the ABI has changed from ARM EABI.
┌─── ｄｇ＠ｃｏｗｌａｒｋ．ｃｏｍ ───── http://www.cowlark.com ─────
│ 𝕻𝖍'𝖓𝖌𝖑𝖚𝖎 𝖒𝖌𝖑𝖜'𝖓𝖆𝖋𝖍 𝕮𝖙𝖍𝖚𝖑𝖍𝖚 𝕽'𝖑𝖞𝖊𝖍
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the llvm-dev