search for: dynamicnop

Displaying 13 results from an estimated 13 matches for "dynamicnop".

Did you mean: dynamictop
2009 Jun 16
4
[LLVMdev] PIC documentation ?
...he COFF >> and MachO backends. > ABI is normally induced by platform, not by architecture or object > file format (however they can influence on it). Yes. > 1. Windows is PIC by design. Google for PE file format and for > 'relocs' section. This corresponds to LLVM's DynamicNoPIC Okay I have this documentation. > 2. ABI docs for Darwin (x86, x86_64, ppc, ppc64) you might find > somewhere @apple.com. There you can have all 3 types of PIC code: > static (no pic at all), DynamicNoPIC and full PIC. Okay. We need documentation, what is the difference between Dynami...
2009 Jun 16
0
[LLVMdev] PIC documentation ?
...PIC on x86, x86_64 and PowerPC for the COFF and MachO backends. ABI is normally induced by platform, not by architecture or object file format (however they can influence on it). 1. Windows is PIC by design. Google for PE file format and for 'relocs' section. This corresponds to LLVM's DynamicNoPIC 2. ABI docs for Darwin (x86, x86_64, ppc, ppc64) you might find somewhere @apple.com. There you can have all 3 types of PIC code: static (no pic at all), DynamicNoPIC and full PIC. 3. COFF is usually not used on PPC at all (maybe on some old AIX'es?). PS: Since you did not mention ELF, I ass...
2009 Jun 16
3
[LLVMdev] PIC documentation ?
Anton, Sorry I have not replied earlier. Can I ask what platform ABI's are documented other than Itanium ? I need to get to understand PIC on x86, x86_64 and PowerPC for the COFF and MachO backends. Thanks, Aaron 2009/6/15 Anton Korobeynikov <anton at korobeynikov.info> > Hello, Aaron > > > Is there any overview or detailed socumentation on LLVM PIC ? > Did you
2009 May 08
2
[LLVMdev] Darwin option processing
...==================================================== --- Makefile.rules (revision 71041) +++ Makefile.rules (working copy) @@ -245,6 +245,13 @@ OmitFramePointer := -fomit-frame-pointer endif endif + ifndef LOADABLE_MODULE + ifndef SHARED_LIBRARY + ifeq ($(OS),Darwin) + DynamicNoPic := -mdynamic-no-pic + endif + endif + endif # Darwin requires -fstrict-aliasing to be explicitly enabled. # Avoid -fstrict-aliasing on Darwin for now, there are unresolved issues @@ -252,8 +259,8 @@ #ifeq ($(OS),Darwin) # EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-al...
2009 Jun 16
0
[LLVMdev] PIC documentation ?
Aaron, > Maybe we should collect references and do some LLVM PIC documentation and > put it on LLVM website ? What you mean as "LLVM PIC documentation"? What should be included there? > Okay. We need documentation, what is the difference between DynamicNoPIC and > full PIC ? >From TargetMachine.cpp (actually this is show in llc --help): cl::values( clEnumValN(Reloc::Default, "default", "Target default relocation model"), clEnumValN(Reloc::Static, "static", "Non-relocata...
2009 Jun 16
0
[LLVMdev] PIC documentation ?
>> 2. ABI docs for Darwin (x86, x86_64, ppc, ppc64) you might find >> somewhere @apple.com. There you can have all 3 types of PIC code: >> static (no pic at all), DynamicNoPIC and full PIC. > > Okay. We need documentation, what is the difference between > DynamicNoPIC and > full PIC ? The best way to figure this out is to run a small program through and look at the output I think. It's not considered part of the ABI, as it doesn't affect th...
2009 Jun 16
1
[LLVMdev] PIC documentation ?
...the >> COFF and MachO backends. > ABI is normally induced by platform, not by architecture or object > file format (however they can influence on it). > > 1. Windows is PIC by design. Google for PE file format and for > 'relocs' section. This corresponds to LLVM's DynamicNoPIC > 2. ABI docs for Darwin (x86, x86_64, ppc, ppc64) you might find > somewhere @apple.com. There you can have all 3 types of PIC code: > static (no pic at all), DynamicNoPIC and full PIC. The Apple ABI document is here, but doesn't really talk about PIC: http://developer.apple.com/do...
2009 May 08
0
[LLVMdev] Darwin option processing
On May 7, 2009, at 6:24 PM, Mike Stump wrote: > I'm toying with building with -mdynamic-no-pic, but for this to work, > the shared library bits in llvm can't be built with that flag. Hi Mike, If you're doing this for Clang's benefit, I think the best thing to do is to compile LLVM PIC (the default) and then build the clang front- end pieces with -mdynamic-no-pic. Does
2009 May 08
0
[LLVMdev] Darwin option processing
...===== > --- Makefile.rules (revision 71041) > +++ Makefile.rules (working copy) > @@ -245,6 +245,13 @@ > OmitFramePointer := -fomit-frame-pointer > endif > endif > + ifndef LOADABLE_MODULE > + ifndef SHARED_LIBRARY > + ifeq ($(OS),Darwin) > + DynamicNoPic := -mdynamic-no-pic > + endif > + endif > + endif How about factoring the logic so that there is one PIC_SETTING. This setting can be either -fpic, -mdynamic-no-pic, or empty. -Chris > > > # Darwin requires -fstrict-aliasing to be explicitly enabled. > #...
2009 May 08
2
[LLVMdev] Darwin option processing
I'm toying with building with -mdynamic-no-pic, but for this to work, the shared library bits in llvm can't be built with that flag. I've found that: Index: Makefile.rules =================================================================== --- Makefile.rules (revision 71041) +++ Makefile.rules (working copy) @@ -472,6 +476,9 @@ ifneq ($(DARWIN_MAJVERS),4) LD.Flags += $(RPATH)
2012 Jul 31
0
[LLVMdev] Help with PPC64 JIT
On 07/20/2012 10:35 AM, Will Schmidt wrote: > On Fri, 2012-07-20 at 08:36 +0200, Duncan Sands wrote: >> Hi Adhemerval Zanella, the old JIT infrastructure is going away, to be replaced >> by "MC-JIT" (try passing -use-mcjit to lli). It sounds like you are working on >> the old JIT, so I suggest you work instead on getting MC-JIT working on powerpc. > Hi Duncan,
2012 Jul 20
3
[LLVMdev] Help with PPC64 JIT
On Fri, 2012-07-20 at 08:36 +0200, Duncan Sands wrote: > Hi Adhemerval Zanella, the old JIT infrastructure is going away, to be replaced > by "MC-JIT" (try passing -use-mcjit to lli). It sounds like you are working on > the old JIT, so I suggest you work instead on getting MC-JIT working on powerpc. Hi Duncan, Thanks for the pointers. We hadn't stumbled across the
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...tialFrameState(Inst); @@ -77,7 +81,9 @@ static MCCodeGenInfo *createAArch64MCCodeGenInfo(StringRef TT, Reloc::Model RM, // On ELF platforms the default static relocation model has a smart enough // linker to cope with referencing external symbols defined in a shared // library. Hence DynamicNoPIC doesn't need to be promoted to PIC. - RM = Reloc::Static; + Triple TheTriple(TT); + + RM = TheTriple.isOSDarwin() ? Reloc::PIC_ : Reloc::Static; } if (CM == CodeModel::Default) @@ -101,6 +107,8 @@ static MCStreamer *createMCStreamer(const Target &T, StringRef TT,...