"ld -r" on mixed IR/non-IR objects (
H. Peter Anvin
hpa@zytor.com
Wed Dec 8 17:46:00 GMT 2010
On 12/08/2010 01:19 AM, Andi Kleen wrote:
>>
>> Quite possibly a better way to deal with that is to provide a mechanism
>> for encapsulating arbitrary binary code objects inside the LTO IR.
>
> Then you would need to teach your assembler and everything
> else that may generate ELF objects to generate this magic object. But why
> not just ELF directly? that is what it is after all.
>
No. You just need to teach the linker to generate it when you're doing
a ld -r on mixed objects.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Binutils
mailing list