mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-21 21:39:58 +01:00
Allow building for ARM thumb. Fixes bug#1202.
This commit is contained in:
parent
04b0b050ff
commit
6daa9dbd7c
@ -1,3 +1,8 @@
|
||||
2011-07-04 Werner Koch <wk@g10code.com>
|
||||
|
||||
* longlong.h: [__arm__]: Do no use asm if thumb code generation is
|
||||
enabled. Fixes bug#1202.
|
||||
|
||||
2010-10-28 Werner Koch <wk@g10code.com>
|
||||
|
||||
* longlong.h: Revert last two changes and replace by code from
|
||||
@ -551,5 +556,3 @@ Mon Feb 16 13:00:27 1998 Werner Koch (wk@isil.d.shuttle.de)
|
||||
This file is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
Note: I added some stuff for use with gnupg
|
||||
|
||||
Copyright (C) 1991, 1992, 1993, 1994, 1996, 1998,
|
||||
2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
2000, 2001, 2002, 2003, 2011 Free Software Foundation, Inc.
|
||||
|
||||
This file is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
@ -180,7 +180,7 @@ extern UDItype __udiv_qrnnd ();
|
||||
/***************************************
|
||||
************** ARM ******************
|
||||
***************************************/
|
||||
#if defined (__arm__) && W_TYPE_SIZE == 32
|
||||
#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined (__thumb__)
|
||||
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
|
||||
__asm__ ("adds %1, %4, %5\n" \
|
||||
"adc %0, %2, %3" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user