[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107983] lib/accelerated/x86/asm files incompatible with i386/x86_64
From: |
Jack Howarth |
Subject: |
[sr #107983] lib/accelerated/x86/asm files incompatible with i386/x86_64 darwin |
Date: |
Thu, 15 Mar 2012 03:40:48 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.54.16 (KHTML, like Gecko) Version/5.1.4 Safari/534.54.16 |
URL:
<http://savannah.gnu.org/support/?107983>
Summary: lib/accelerated/x86/asm files incompatible with
i386/x86_64 darwin
Project: GnuTLS
Submitted by: jhowarth
Submitted on: Thu 15 Mar 2012 03:40:46 AM GMT
Category: Core library
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: Mac OS
_______________________________________________________
Details:
The current gnutls 3.0.15 release contains assembly files in
lib/accelerated/x86/asm which are incompatible with i386/x86_64 darwin.
Minimal changes are required for these to properly compile on darwin...
1) Use the more portable .balign rather than .align (since i386/x86_64 darwin
doesn't support .align > 15).
2) Add underscore to global symbols (as well as _aesni_set_encrypt_key and
calls to it) using SYM macro.
3) Add TYPEF/TYPEO and SIZE macros to handle .type for @function/@object and
.size on darwin as is done in the FSF gcc libitm assembly files.
4) Add and :"#ifdef __linux__" on ".section .note.GNU-stack,"",%progbits"
With these change the accelerated assembly code is compiled at i386 and x86_64
on darwin10/11 and the resulting build passes the gnutls test suite.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 15 Mar 2012 03:40:46 AM GMT Name: gnutls_darwin.patch Size: 55kB
By: jhowarth
darwin lib/accelerated/x86/asm assembly changes
<http://savannah.gnu.org/support/download.php?file_id=25366>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107983>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [sr #107983] lib/accelerated/x86/asm files incompatible with i386/x86_64 darwin,
Jack Howarth <=