From 3ce1f2959437e952b9db4eaeed2407424f11a4d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Sep 2011 14:34:15 -0400 Subject: Cleanup of configuration options Make several tool features mandatory and simplify the code. --- csu/Versions | 11 ----------- csu/init.c | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'csu') diff --git a/csu/Versions b/csu/Versions index f0b4f00..4ddf0d5 100644 --- a/csu/Versions +++ b/csu/Versions @@ -4,23 +4,12 @@ libc { GLIBC_2.0 { # helper functions __libc_init_first; __libc_start_main; - -%if !HAVE___THREAD - # global variables - _errno; - - # variables in normal name space - errno; -%endif } GLIBC_2.1 { # New special glibc functions. gnu_get_libc_release; gnu_get_libc_version; } GLIBC_PRIVATE { -%if HAVE___THREAD - # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol. errno; -%endif } } diff --git a/csu/init.c b/csu/init.c index 129609e..559d13e 100644 --- a/csu/init.c +++ b/csu/init.c @@ -1,5 +1,5 @@ /* Special startup support. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -17,7 +17,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#if defined USE_IN_LIBIO && defined __GNUC__ && __GNUC__ >= 2 +#if defined __GNUC__ && __GNUC__ >= 2 #include <_G_config.h> -- cgit v1.1