[llvmlinux] Added patch for detection of compilers that support unwind for ARM. Now clang is detected.

PaX Team pageexec at freemail.hu
Wed Jan 29 00:25:45 UTC 2014


On 28 Jan 2014 at 23:11, David Woodhouse wrote:

> On Wed, 2014-01-29 at 00:03 +0100, PaX Team wrote:
> > On 28 Jan 2014 at 16:22, David Woodhouse wrote:
> > > While I'm looking at that commit... 'addr32 stosb' doesn't build with
> > > -integrated-as. 
> 
> > it used to work but is apparently broken now ;).
> 
> Hm, with -integrated-as? Were you ever using -integrated-as? 

heh, i think i was probably among the very few who ever got a working kernel
with integrated-as back in 2011 or so. of course all the 16 bit code and some
other things had to be compiled with gnu as.

some earlier submissions:

http://marc.info/?l=llvm-commits&m=133678576430576&w=4
http://marc.info/?l=llvm-commits&m=135205253528167&w=4

> > - .octa support (very simple, only what's needed for linux)
> > - nested macros
> > - an x86 relocation handling bug (X86MCCodeEmitter.cpp)
> > - rip relative addressing support for the kernel
> 
> Useful; thanks. Focusing first on the signed relocation thing, is there
> a PR and/or a test case for this?

no PR, i only ran into it because i had some code in PaX that triggered it but
given the extra insns listed in the patch it should be easy to write a test.



More information about the LLVMLinux mailing list