Displaying 5 results from an estimated 5 matches for "x86linuxtargetobjectfile".
2013 Jun 25
2
[LLVMdev] Contants generation
Hi again,
Actually, I've just been looking at the existing code and the ARM
solution may be over-complicated for this situation.
You should be able to override EmitConstantPool directly, or possibly
even just override getSectionForConstantKind in
X86LinuxTargetObjectFile (and perhaps others) to return .text.
Tim.
2013 Jun 24
2
[LLVMdev] Contants generation
Hi,
I'd like to generate constants inside .text in order to use ip-relative loads, when the code model is "large".
How can I do this?
(I'm on X86_64 linux)
Thank you.
- Elena
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the
2013 Jun 25
0
[LLVMdev] Contants generation
Hi Elena,
> I’d like to generate constants inside .text in order to use ip-relative
> loads, when the code model is “large”.
I don't think this is a sequence the x86 backend supports at the
moment, but it is how ARM handles its constant-pools. The outline is
that you have a pass which looks through a functions constpool uses
and emits a pseudo-instruction for each, which is then
2013 Jun 25
0
[LLVMdev] Contants generation
...du
Subject: Re: [LLVMdev] Contants generation
Hi again,
Actually, I've just been looking at the existing code and the ARM solution may be over-complicated for this situation.
You should be able to override EmitConstantPool directly, or possibly even just override getSectionForConstantKind in X86LinuxTargetObjectFile (and perhaps others) to return .text.
Tim.
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is stric...
2013 Jun 25
2
[LLVMdev] Contants generation - proposal
...du
Subject: Re: [LLVMdev] Contants generation
Hi again,
Actually, I've just been looking at the existing code and the ARM solution may be over-complicated for this situation.
You should be able to override EmitConstantPool directly, or possibly even just override getSectionForConstantKind in X86LinuxTargetObjectFile (and perhaps others) to return .text.
Tim.
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is stric...