You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.3 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../glibc/sparc64-tls.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
Basic fixup for sparc TLS. Some bits are out of the glibc's CVS.
- Rene Rebe <rene@exactcode.de>
--- glibc-2.3-20051010/sysdeps/sparc/sparc64/elf/configure.vanilla 2005-10-12 12:44:13.000000000 +0200
+++ glibc-2.3-20051010/sysdeps/sparc/sparc64/elf/configure 2005-10-12 12:44:32.000000000 +0200
@@ -35,7 +35,7 @@
sethi %tle_hix22(foo), %l1
xor %l1, %tle_lox10(foo), %l1
EOF
-if { ac_try='${CC-cc} -o conftest.bin $CFLAGS conftest.s 1>&5'
+if { ac_try='${CC-cc} -c -o conftest.bin $CFLAGS conftest.s 1>&5'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?