[if gte mso 9]>
Subject: [edk2] ARMGCC on Linux
From: "Cohen, Eugene" <email@example.com>
To: "firstname.lastname@example.org" <email@example.com>, "Andrew Fish (firstname.lastname@example.org)" <email@example.com>, "firstname.lastname@example.org" <email@example.com>
Date: 2011-07-02 05:22:08
I’m trying to build edk2 using ARMGCC (codesourcery) on Linux. I am trying to run an EDK2 app build from here on our EDK1 environment which does not support the new thumb2 relocation codes. So I modified the tools_def to remove -mthumb to keep code as regular ARM. When I do this GenFw fails because it sees a relocation it doesn’t recognize:
WriteRelocations():edk2/Build/MdeModule/DEBUG_ARMGCC/ARM/MdeModulePkg/Application/HelloWorld/HelloWorld/DEBUG/HelloWorld.dll unsupported ELF EM_ARM relocation 0x2b.
I thought the normal ARM relocations are simple 32-bit addends so I’m confused that this is failing.
Any insights why builds without -mthumb would fail?