On Tue, 2013-12-10 at 15:22 -1000, Andrew Fish wrote: > > Maybe we should just take David up on his offer of free assembler licenses. > > :) > > > > Talking to a lawyer is not free.
Oh, for $DEITY's sake. http://git.infradead.org/users/dwmw2/llvm.git There, I fixed it for you :) That patchset needs some polish and some review from someone who's actually spent more than two days looking at LLVM, but should fix LLVM for the 16-bit addressing modes in .code32 *and* implement .code16. The existing .code32-translated abomination in Thunk16.S probably *still* won't work, since it makes hard-coded assumptions about what size of displacement the assembler will use. It "knows" that the assembler will use [REG]+disp16 in some places where LLVM will actually use [REG]+disp32, and thus the hard-coded offsets are going to break. So I think you're out of luck with ever compiling the existing code with LLVM and getting it to work. But the cleaned-up .code16 version that I posted should be fine. -- David Woodhouse Open Source Technology Centre david.woodho...@intel.com Intel Corporation
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel