https://sourceware.org/bugzilla/show_bug.cgi?id=30144
--- Comment #7 from Nick Clifton <nickc at redhat dot com> --- Created attachment 16041 --> https://sourceware.org/bugzilla/attachment.cgi?id=16041&action=edit Proposed patch Hi Pali, The secret is to add a new emulation function. These functions are target specific, so in that way you can make sure that the new code is only used for x86 targets. Please try out this revised version of your patch to see what I mean. I have not actually tested it, but I think that it should work... :-) Currently the new code is enabled both for 32-bit and 64-bit x86/x86_64 architectures. If it should be restricted to just 32-bits then you should be able to add a "case x${OUTPUT_FORMAT} in" controlling clause, as is done for other functions in the elf-x86.em file. If this patch is OK, please let me know and I will commit it. Otherwise please feel free to amend it as needed. Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.