Go to file
Roland McGrath 2abf9ff113 * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before
calling _dl_start, using GOTOFF access.

	* configure.in (libc_cv_z_execstack): New check.
	* configure: Regenerated.
	* config.make.in (have-z-execstack): New variable set by it.
	* elf/tst-execstack.c: New file.
	* elf/tst-execstack-mod.c: New file.
	* elf/tst-execstack-needed.c: New file.
	* elf/Makefile (tests-execstack-yes, modules-execstack-yes): New
	variables.
	(tests, modules-names): Conditionally include them.
	(distribute): Add tst-execstack-mod.c here.
	($(objpfx)tst-execstack, $(objpfx)tst-execstack.out): New targets.
	(LDFLAGS-tst-execstack, LDFLAGS-tst-execstack-mod): New variables.
	($(objpfx)tst-execstack-needed): New target.
	(LDFLAGS-tst-execstack-needed): New variable.

	* sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_stack_flags
	and _dl_make_stack_executable_hook.  Declare _dl_make_stack_executable.
	* elf/rtld.c (_rtld_global): Add initializer for _dl_stack_flags.
	(dl_main): Reset _dl_stack_flags according to PT_GNU_STACK phdr.
	Initialize _dl_make_stack_executable_hook.
	* elf/dl-support.c: Define those new variables.
	(_dl_non_dynamic_init): Scan phdrs for PT_GNU_STACK.
	(_dl_phdr): Fix type.
	* elf/dl-load.c (_dl_map_object_from_fd): Grok PT_GNU_STACK phdr and
	enable execute permission for the stack if necessary.
	* sysdeps/generic/dl-execstack.c: New file.
	* elf/Makefile (dl-routines): Add it.
	* elf/Versions (ld: GLIBC_PRIVATE): Add _dl_make_stack_executable.
	* sysdeps/unix/sysv/linux/dl-execstack.c: New file.
2003-09-23 12:07:26 +00:00
abilist Merged in current data for powerpc-.*-linux.*/notls. 2003-04-02 04:39:52 +00:00
aout Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argp Update. 2003-09-16 05:54:09 +00:00
assert Update. 2003-08-15 17:55:25 +00:00
bare Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bits Update. 2003-09-09 00:07:08 +00:00
catgets Update. 2003-07-15 07:52:52 +00:00
conf (NEED_INETADDR, NEED_INETATON): Define to 1, not empty. 1995-09-08 20:24:57 +00:00
conform Add strerror_r prototype. 2002-04-23 21:16:22 +00:00
crypt * crypt/md5-crypt.c: Doc fix. 2002-11-11 02:43:35 +00:00
csu Update. 2003-06-26 08:00:21 +00:00
ctype 2002-09-23 Roland McGrath <roland@redhat.com> 2002-09-24 04:20:50 +00:00
debug Update. 2003-02-06 03:05:38 +00:00
dirent Update. 2003-09-17 01:19:43 +00:00
dlfcn Update. 2003-09-19 20:41:17 +00:00
elf * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
gmon Update. 2003-09-04 14:26:36 +00:00
gnulib Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp Update. 2003-09-12 22:37:19 +00:00
hesiod Update. 2002-08-26 07:06:57 +00:00
hurd Update. 2003-02-21 07:07:52 +00:00
iconv Update. 2003-09-04 08:27:37 +00:00
iconvdata Update. 2003-08-14 08:49:16 +00:00
include Update. 2003-09-22 21:30:25 +00:00
inet Update. 2003-09-12 22:37:19 +00:00
intl Update. 2003-09-17 00:49:19 +00:00
io Update. 2003-09-16 05:54:09 +00:00
libio Update. 2003-09-18 19:15:31 +00:00
linuxthreads Update. 2003-09-23 06:13:18 +00:00
linuxthreads_db Update. 2003-08-25 09:08:28 +00:00
locale Update. 2003-09-12 22:37:19 +00:00
localedata Update. 2003-09-23 05:47:54 +00:00
login (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00
mach 2003-05-11 Andreas Schwab <schwab@suse.de> 2003-05-28 21:05:12 +00:00
malloc Update. 2003-09-23 05:47:54 +00:00
manual Update. 2003-09-08 16:33:12 +00:00
math Update. 2003-08-28 00:14:28 +00:00
misc Update. 2003-09-17 18:23:49 +00:00
nis Update. 2003-09-02 00:49:47 +00:00
nptl Update. 2003-09-22 22:13:36 +00:00
nptl_db * sysdeps/unix/sysv/linux/speed.c 2003-09-09 07:01:01 +00:00
nscd Update. 2003-09-14 08:03:54 +00:00
nss 2003-09-05 Roland McGrath <roland@redhat.com> 2003-09-05 21:24:50 +00:00
po Update. 2003-06-10 16:23:23 +00:00
posix Update. 2003-09-23 05:43:03 +00:00
pwd Update. 2003-09-12 22:37:19 +00:00
resolv Update. 2003-09-12 22:37:19 +00:00
resource Update. 2002-07-20 04:01:22 +00:00
rpm Update. 1998-05-18 11:43:16 +00:00
rt * rt/tst-timer2.c: New file. 2003-07-29 09:32:03 +00:00
scripts Update. 2003-09-09 02:42:46 +00:00
setjmp Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
shadow Update. 2003-09-12 22:37:19 +00:00
signal Update. 2003-08-30 09:10:12 +00:00
socket Update. 2003-04-19 16:57:17 +00:00
soft-fp * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0. 2003-05-28 20:52:43 +00:00
stdio-common Update. 2003-09-12 22:37:19 +00:00
stdlib Update. 2003-09-17 18:23:49 +00:00
streams Update. 2003-04-19 16:57:17 +00:00
string Update. 2003-09-10 05:23:33 +00:00
sunrpc Update. 2003-09-12 22:37:19 +00:00
sysdeps * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
sysvipc Update. 2003-06-15 21:22:26 +00:00
termios Update. 2003-06-15 21:22:26 +00:00
time Update. 2003-09-04 08:27:37 +00:00
timezone Update. 2003-09-22 19:51:38 +00:00
wcsmbs Update. 2003-07-31 19:26:38 +00:00
wctype Update. 2003-06-13 21:05:42 +00:00
.cvsignore Also ignore names such as autom4te-2.53.cache. 2002-12-06 11:07:54 +00:00
abi-tags * sysdeps/generic/utmp-equal.h: New file, extracted from utmp_file.c. 2002-09-20 22:07:20 +00:00
aclocal.m4 * scripts/abilist.awk: New file. 2002-11-14 03:59:56 +00:00
BUGS Update. 2002-09-30 20:56:47 +00:00
CANCEL-FILE-WAIVE Update. 2003-09-02 09:33:38 +00:00
ChangeLog * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
ChangeLog.1 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.2 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.3 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.4 * Makefile (distribute): Add ChangeLog.[0-9]. 1995-04-14 03:52:54 +00:00
ChangeLog.5 Thu Jul 18 12:33:57 1996 Roland McGrath <roland@baalperazim.frob.com> 1996-07-20 12:06:21 +00:00
ChangeLog.6 Update. 1997-07-22 00:10:33 +00:00
ChangeLog.7 Update. 1997-11-18 02:50:07 +00:00
ChangeLog.8 Update. Old logs are in ChangeLog.7. 1998-08-11 18:44:11 +00:00
ChangeLog.9 Update. 2000-04-28 06:14:43 +00:00
ChangeLog.10 Update. 2000-02-29 01:13:44 +00:00
ChangeLog.11 Update. 2000-11-10 04:15:55 +00:00
ChangeLog.12 Update. 2001-08-16 05:39:18 +00:00
ChangeLog.13 Update. 2002-10-03 16:37:04 +00:00
config-name.in initial import 1995-02-18 01:27:10 +00:00
config.h.in * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, 2003-05-21 09:25:53 +00:00
config.make.in * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
configure * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
configure.in * sysdeps/i386/dl-machine.h (RTLD_START): Set __libc_stack_end before 2003-09-23 12:07:26 +00:00
CONFORMANCE Update. 2001-01-11 17:50:24 +00:00
COPYING Update. 2001-07-06 06:58:28 +00:00
COPYING.LIB 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
cppflags-iterator.mk * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
extra-lib.mk * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
FAQ Regenerated: /usr/bin/perl scripts/gen-FAQ.pl FAQ.in 2003-02-21 06:17:16 +00:00
FAQ.in Update. 2002-12-10 04:05:39 +00:00
glibcbug.in Update. 2002-07-16 18:15:34 +00:00
INSTALL Update. 2002-12-10 04:05:39 +00:00
INTERFACE Update. 1999-10-31 17:37:43 +00:00
LICENSES 2002-08-20 Brian Youmans <3diff@gnu.org> 2002-08-20 21:51:55 +00:00
Make-dist 2003-02-20 Roland McGrath <roland@redhat.com> 2003-02-21 03:02:16 +00:00
Makeconfig Update. 2003-09-17 08:47:44 +00:00
Makefile Update. 2003-09-09 02:42:46 +00:00
Makefile.in Update. 2000-11-15 23:56:34 +00:00
Makerules Update. 2003-09-12 22:37:19 +00:00
MakeTAGS 2003-02-22 Roland McGrath <roland@redhat.com> 2003-02-22 20:20:29 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS Update. 2003-04-24 23:45:17 +00:00
NOTES Regenerated. 2000-03-10 09:36:06 +00:00
o-iterator.mk Fri Mar 17 12:58:37 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-03-17 18:42:51 +00:00
PROJECTS Update. 2002-09-04 23:40:45 +00:00
README Remade for stable-2.3.2 2003-02-21 02:27:09 +00:00
README-alpha Update. 1999-05-13 10:22:54 +00:00
README.libm update from main archive 961105 1996-11-06 04:24:40 +00:00
README.template Update. 2002-10-03 00:24:35 +00:00
Rules * Makerules (check-abi-%): Use two rules for $(common-objpfx) and 2003-01-15 08:08:20 +00:00
shlib-versions Update. 2002-09-05 10:28:51 +00:00
test-skeleton.c * posix/transbug.c: Include <string.h> for memset and strlen 2003-06-25 11:04:58 +00:00
tls.make.c * sysdeps/unix/make-syscalls.sh: When an undefined syscall has 2003-03-26 22:49:50 +00:00
version.h Remade for stable-2.3.2 2003-02-21 02:27:09 +00:00
Versions.def Update. 2003-03-25 20:41:26 +00:00

This directory contains the version 2.3.2 release of the GNU C Library.
Many bugs have been fixed since the last release.
Some bugs surely remain.

As of this release, the GNU C library is known to run on the following
configurations:

		*-*-gnu			GNU Hurd
		i[3456]86-*-linux-gnu	Linux-2.x on Intel
		m68k-*-linux-gnu	Linux-2.x on Motorola 680x0
		alpha*-*-linux-gnu	Linux-2.x on DEC Alpha
		powerpc-*-linux-gnu     Linux and MkLinux on PowerPC systems
		powerpc64-*-linux-gnu	Linux-2.4.19+ on 64-bit PowerPC systems
		sparc-*-linux-gnu	Linux-2.x on SPARC
		sparc64-*-linux-gnu	Linux-2.x on UltraSPARC 64-bit
		arm-*-none		ARM standalone systems
		arm-*-linux		Linux-2.x on ARM
		arm-*-linuxaout		Linux-2.x on ARM using a.out binaries
		mips*-*-linux-gnu	Linux-2.x on MIPS
		ia64-*-linux-gnu	Linux-2.x on ia64
		s390-*-linux-gnu	Linux-2.x on IBM S/390
		s390x-*-linux-gnu	Linux-2.4+ on IBM S/390 64-bit
		sh-*-linux-gnu		Linux-2.x on Super Hitachi
		cris-*-linux-gnu	Linux-2.4+ on CRIS
		x86-64-*-linux-gnu	Linux-2.4+ on x86-64

Former releases of this library (version 1.09.1 and perhaps earlier
versions) used to run on the following configurations:

		alpha-dec-osf1
		i[3456]86-*-bsd4.3
		i[3456]86-*-isc2.2
		i[3456]86-*-isc3
		i[3456]86-*-sco3.2
		i[3456]86-*-sco3.2v4
		i[3456]86-*-sysv
		i[3456]86-*-sysv4
		i[3456]86-force_cpu386-none
		i[3456]86-sequent-bsd
		i960-nindy960-none
		m68k-hp-bsd4.3
		m68k-mvme135-none
		m68k-mvme136-none
		m68k-sony-newsos3
		m68k-sony-newsos4
		m68k-sun-sunos4
		mips-dec-ultrix4
		mips-sgi-irix4
		sparc-sun-solaris2
		sparc-sun-sunos4

Since no one has volunteered to test and fix the above configurations,
these are not supported at the moment.  It's expected that these don't
work anymore.  Porting the library is not hard.  If you are interested
in doing a port, please contact the glibc maintainers by sending
electronic mail to <bug-glibc@gnu.org>.

There are some add-ons which can be used together with GNU libc.  They
are designed in a way to ease the installation by integrating them in
the libc source tree.  Simply get the add-ons you need and use the
--enable-add-ons option of the `configure' script to tell where the
add-ons are found.  Please read the FAQ file for more details.

See the file INSTALL to find out how to configure, build, install, and port
the GNU C library.  You might also consider reading the WWW pages for the
GNU libc at http://www.gnu.org/software/libc/libc.html.

The GNU C Library is completely documented by the Texinfo manual found
in the `manual/' subdirectory.  The manual is still being updated and
contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.
Please send comments on the manual to <bug-glibc-manual@gnu.org>, and
not to the library bug-reporting address.

The file NOTES contains a description of the feature-test macros used
in the GNU C library, explaining how you can tell the library what
facilities you want it to make available.

We prefer to get bug reports sent using the `glibcbug' shell script which
is installed together with the rest of the GNU libc to <bugs@gnu.org>.
Simply run this shell script and fill in the information.  Nevertheless
you can still send bug reports to <bug-glibc@gnu.org> as normal electronic
mails.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.