[llvm-commits] new patches for compiling linux with integrated-as

PaX Team pageexec at freemail.hu
Sun Nov 4 08:57:48 PST 2012


hello folks,

here's the latest batch of patches that are needed for compiling linux (the kernel).

- .octa support: this is a GNU as keyword used by some crypto code in linux.
  nothing changed since the last submission last spring, would be nice if someone
  looked at it finally ;). as i said back then, this is a minimal implementation,
  full 128 bit expression support would require way too many changes (APInt would
  have to be used throughout in MCExpr).

- more .cfi* support: linux makes use of 3 CFI directives not yet (fully) supported
  by llvm.

  .cfi_startproc simple: i added the 'simple' keyword recognition but a review is needed.

  .cfi_undefined: new directive, it's only recognized, someone else will have to provide
  a proper implementation in MCStreamer::EmitCFIUndefined.

  .cfi_register: new directive, i think MCStreamer::EmitCFIRegister does what it
  should do, but review (and help with fixing it up :) is needed.

- more macro args changes: most of the macro default arg handling stuff is now in
  llvm, these are the remaining bits in my tree that allow nesting and fix up whitespace
  separated parameter handling and add some comments. right now one of the macro tests
  fails, but i didn't figure out yet what i managed to overlook, help is appreciated :).

- x86 signed reloc handling: as i said last time, llvm generates wrong code in linux
  and short of someone figuring out how to properly recognize the affected insns, this
  is a minimal fix.

cheers,
  PaX Team

-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  macro-octa.patch
     Date:  4 Nov 2012, 18:33
     Size:  5178 bytes.
     Type:  Unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macro-octa.patch
Type: application/octet-stream
Size: 5178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121104/3fa64ac8/attachment.obj>
-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  macro-cfi.patch
     Date:  4 Nov 2012, 18:36
     Size:  7840 bytes.
     Type:  Unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macro-cfi.patch
Type: application/octet-stream
Size: 7840 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121104/3fa64ac8/attachment-0001.obj>
-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  macro-args.patch
     Date:  4 Nov 2012, 18:39
     Size:  7049 bytes.
     Type:  Unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: macro-args.patch
Type: application/octet-stream
Size: 7049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121104/3fa64ac8/attachment-0002.obj>
-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  x86-signed-reloc.patch
     Date:  4 Nov 2012, 18:40
     Size:  2660 bytes.
     Type:  Unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86-signed-reloc.patch
Type: application/octet-stream
Size: 2660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121104/3fa64ac8/attachment-0003.obj>


More information about the llvm-commits mailing list