/[gentoo-x86]/sys-libs/glibc/files/eblits/common.eblit
Gentoo

Diff of /sys-libs/glibc/files/eblits/common.eblit

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.13 2011/03/09 08:10:38 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.14 2011/03/10 06:50:56 vapier Exp $
4 4
5# We need to be able to set alternative headers for 5# We need to be able to set alternative headers for
6# compiling for non-native platform 6# compiling for non-native platform
7# Will also become useful for testing kernel-headers without screwing up 7# Will also become useful for testing kernel-headers without screwing up
8# the whole system. 8# the whole system.
208} 208}
209 209
210want_tls() { 210want_tls() {
211 # Archs that can use TLS (Thread Local Storage) 211 # Archs that can use TLS (Thread Local Storage)
212 case $(tc-arch) in 212 case $(tc-arch) in
213 sparc)
214 # 2.3.6 should have tls support on sparc64
215 # when using newer binutils
216 case ${CTARGET/-*} in
217 sparc64*) return 1 ;;
218 *) return 0 ;;
219 esac
220 ;;
221 x86) 213 x86)
222 # requires i486 or better #106556 214 # requires i486 or better #106556
223 [[ ${CTARGET} == i[4567]86* ]] && return 0 215 [[ ${CTARGET} == i[4567]86* ]] && return 0
224 return 1 216 return 1
225 ;; 217 ;;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20