diff options
author | Werner Koch <wk@gnupg.org> | 2004-03-03 08:08:43 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-03-03 08:08:43 +0000 |
commit | b2eedf2f5e685c0f6d59f41a6a2052f7a12cd13d (patch) | |
tree | 4f083565f8bb4f1a7fe5b67555ee1e13cba648e5 /mpi/config.links | |
parent | f599114325e534a40f06d54c590fde0638ac10c7 (diff) | |
download | libgcrypt-b2eedf2f5e685c0f6d59f41a6a2052f7a12cd13d.tar.gz |
* hppa1.1/udiv-qrnnd.S: Alignment fix from Lamont Jones for
Debian. Taken from gnupg-1.3.
* longlong.h: Added PowerPC 64 bit code from GPM-4.1.2 but didn't
enable it yet. Some whitespace changes in HPPA to fix assembler
problems on HP-UX. From gnupg 1.3
* mpiutil.c (_gcry_mpi_alloc_limb_space): Better allocate
something even if NLIMBS is passed as 0.
* config.links: Updated system list to match gnupg 1.3.
Diffstat (limited to 'mpi/config.links')
-rw-r--r-- | mpi/config.links | 35 |
1 files changed, 29 insertions, 6 deletions
diff --git a/mpi/config.links b/mpi/config.links index 3ed12de3..d901124e 100644 --- a/mpi/config.links +++ b/mpi/config.links @@ -35,21 +35,32 @@ mpi_optional_modules=`$AWK '/^#BEGIN_ASM_LIST/,/^#END_ASM_LIST/ { echo '/* created by config.links - do not edit */' >./mpi/asm-syntax.h +echo "/* Target: ${target} */" >>./mpi/asm-syntax.h if test "$try_asm_modules" = "yes" ; then case "${target}" in + powerpc-apple-darwin* | \ + i[34567]86*-*-openbsd[12]* | \ + i[34567]86*-*-openbsd3.[0123]*) + echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h + path="" + ;; + i[3467]86*-*-openbsd* | \ i[3467]86*-*-freebsd*-elf | \ i[3467]86*-*-freebsd[3-9]* | \ i[3467]86*-*-freebsdelf* | \ - i[3467]86*-*-netbsd* ) + i[3467]86*-*-netbsd* | \ + i[3467]86*-*-k*bsd*) echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h path="i386" ;; - i586*-*-freebsd*-elf | \ - i586*-*-freebsd[3-9]* | \ - i586*-*-freebsdelf* | \ + i586*-*-openbsd* | \ + i586*-*-freebsd*-elf | \ + i586*-*-freebsd[3-9]* | \ + i586*-*-freebsdelf* | \ i586*-*-netbsd* | \ + i586*-*-k*bsd* | \ pentium-*-netbsd* | \ pentiumpro-*-netbsd*) echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h @@ -126,6 +137,18 @@ case "${target}" in path="sparc32v8 sparc32" mpi_extra_modules="udiv" ;; + sparc64-sun-solaris2*) + # Got a report that udiv is missing, so we try this one + echo '/* configured for sparc64-sun-solaris2 */' >>./mpi/asm-syntax.h + path="sparc32v8 sparc32" + mpi_extra_modules="udiv" + ;; + sparc64-*-netbsd* | sparc64-*-freebsd* | sparc64-*-openbsd*) + # There are no sparc64 assembler modules that work on the + # *BSDs, so use the generic C functions. + echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h + path="" + ;; sparc9*-*-* | \ sparc64*-*-* | \ ultrasparc*-*-* ) @@ -205,8 +228,8 @@ case "${target}" in path="powerpc32" ;; - powerpc*-*-netbsd*) - echo '/* configured NetBSD on powerpc */' >>./mpi/asm-syntax.h + powerpc*-*-netbsd* | powerpc*-*-openbsd*) + echo '/* configured {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h mpi_sflags="-Wa,-mppc" |