search for: flag_pic

Displaying 4 results from an estimated 4 matches for "flag_pic".

2007 Aug 29
4
[LLVMdev] RFC: Patch for Exceptions
...mmand line, do so now. This is mainly for debugging [bwendling:llvm-eh] svn diff gcc/config/linux.h Index: gcc/config/linux.h =================================================================== --- gcc/config/linux.h (revision 41554) +++ gcc/config/linux.h (working copy) @@ -113,8 +113,9 @@ if (flag_pic) \ argvec.push_back ("--relocation-model=pic"); \ else \ - argvec.push_back ("--relocation-model=static"); - + argvec.push_back ("--relocation-model=static"); \ + if...
2009 Mar 12
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
>> >> If any ARM/GCC experts know how to fix arm.md to not refer to >> Darwin-specific macros, that would be great, too. > > Probably the right general idea is to #define MACHO_DYNAMIC_NO_PIC_P > to be 0 for non-Darwin targets. Not sure where to put this so it > will work for both targets (the Darwin definition comes from config/ > darwin.h). I don't
2009 Mar 12
2
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Mar 12, 2009, at 8:30 AMPDT, Misha Brukman wrote: > > ../../../../src/llvm-gcc4.2-2.5.source/gcc/config/arm/arm.md:4788: > error: ‘MACHO_DYNAMIC_NO_PIC_P’ undeclared here (not in a function) > > This tells me there are some Darwin-specific bits in arm.md which > shouldn't be there (MachO is Mac OS X-specific). I'm using the > attached script
2010 Aug 16
3
[LLVMdev] -fomit-frame-pointer on intel darwin
Can anyone shed some light on the origins of the comments... /* Mach-O doesn't support omitting the frame pointer for now. */ ...in gcc/config/i386/i386.c. FSF gcc trunk has enabled the omit-frame-pointer option as the default for both i386 and x86_64 recently. * config.gcc: Handle --enable-frame-pointer. * configure.ac: Add --enable-frame-pointer. * configure: Regenerated. *