thr_private.h (169094) | thr_private.h (169524) |
---|---|
1/* 2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * Private thread definitions for the uthread kernel. 30 * | 1/* 2 * Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * Private thread definitions for the uthread kernel. 30 * |
31 * $FreeBSD: head/lib/libkse/thread/thr_private.h 169094 2007-04-29 15:27:23Z deischen $ | 31 * $FreeBSD: head/lib/libkse/thread/thr_private.h 169524 2007-05-13 14:12:40Z deischen $ |
32 */ 33 34#ifndef _THR_PRIVATE_H 35#define _THR_PRIVATE_H 36 37/* 38 * Include files. 39 */ --- 19 unchanged lines hidden (view full) --- 59/* 60 * Unfortunately, libpthread had symbol versioning before libc. 61 * But now libc has symbol versioning, we need to occupy the 62 * same version namespace in order to override some libc functions. 63 * So in order to avoid breaking binaries requiring symbols from 64 * LIBTHREAD_1_0, we need to provide a compatible interface for 65 * those symbols. 66 */ | 32 */ 33 34#ifndef _THR_PRIVATE_H 35#define _THR_PRIVATE_H 36 37/* 38 * Include files. 39 */ --- 19 unchanged lines hidden (view full) --- 59/* 60 * Unfortunately, libpthread had symbol versioning before libc. 61 * But now libc has symbol versioning, we need to occupy the 62 * same version namespace in order to override some libc functions. 63 * So in order to avoid breaking binaries requiring symbols from 64 * LIBTHREAD_1_0, we need to provide a compatible interface for 65 * those symbols. 66 */ |
67#if defined(SYMBOL_VERSIONING) && defined(PIC) | 67#if 0 |
68#define SYM_LT10(sym) __CONCAT(sym, _lt10) 69#define SYM_FB10(sym) __CONCAT(sym, _fb10) 70#define SYM_FBP10(sym) __CONCAT(sym, _fbp10) 71#define WEAK_REF(sym, alias) __weak_reference(sym, alias) 72#define SYM_COMPAT(sym, impl, ver) __sym_compat(sym, impl, ver) 73#define SYM_DEFAULT(sym, impl, ver) __sym_default(sym, impl, ver) 74 75#define LT10_COMPAT(sym) \ --- 1249 unchanged lines hidden --- | 68#define SYM_LT10(sym) __CONCAT(sym, _lt10) 69#define SYM_FB10(sym) __CONCAT(sym, _fb10) 70#define SYM_FBP10(sym) __CONCAT(sym, _fbp10) 71#define WEAK_REF(sym, alias) __weak_reference(sym, alias) 72#define SYM_COMPAT(sym, impl, ver) __sym_compat(sym, impl, ver) 73#define SYM_DEFAULT(sym, impl, ver) __sym_default(sym, impl, ver) 74 75#define LT10_COMPAT(sym) \ --- 1249 unchanged lines hidden --- |