From 8a30f00fe8ea30054c2df183d34ef3ad8a522cc5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 23 Jul 2002 23:12:01 +0000 Subject: Update. 2002-07-23 Ulrich Drepper * sysdeps/generic/libc-tls.c: New file. * csu/Makefile (routines): Add libc-tls. (static-only-routines): Add libc-tls. * elf/dl-support.c (_dl_phdr): New variable. (_dl_phnum): New variable. (_dl_aux_init): Initialize _dl_phdr and _dl_phnum from aux vector. * sysdeps/generic/libc-start.c (__libc_start_main): Reorganize code for !SHARED. First look through auxiliary vector. If TLS always call __pthread_initialize_minimal. * sysdeps/generic/dl-tls.c (_dl_allocate_tls): Make sure size argument in mmap call is never zero. --- csu/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'csu/Makefile') diff --git a/csu/Makefile b/csu/Makefile index 994e2b29de..ca8dbbbeac 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -1,5 +1,5 @@ # Makefile for csu code for GNU C library. -# Copyright (C) 1995,96,97,98,99,2000,01 Free Software Foundation, Inc. +# Copyright (C) 1995,96,97,98,99,2000,01,2002 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 @@ -26,7 +26,9 @@ subdir := csu -routines = init-first libc-start $(libc-init) sysdep version check_fds +routines = init-first libc-start $(libc-init) sysdep version check_fds \ + libc-tls +static-only-routines = libc-tls csu-dummies = $(filter-out $(start-installed-name),crt1.o Mcrt1.o) extra-objs = start.o gmon-start.o \ $(start-installed-name) g$(start-installed-name) $(csu-dummies) -- cgit v1.2.3