Go to file
Ulrich Drepper 99c7f8700d * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
Handle prelinked libraries and binaries with new style PLT.

2005-06-07  Jakub Jelinek  <jakub@redhat.com>

	* elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
	R_PPC_REL16_HA): Define.

2005-06-14  Alan Modra  <amodra@bigpond.net.au>

	* config.h.in (HAVE_ASM_PPC_REL16): Add.
	* elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
	* elf/tls-macros.h (PowerPC32): Include config.h.  Add variants of
	TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
	* sysdeps/powerpc/powerpc32/configure.in: New file,
	* sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
	* sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
	(ppc_got): New inline function.
	(elf_machine_dynamic): Use ppc_got.  Add attribute const.
	(elf_machine_load_address): Add attribute const.  Don't use int vars.
	Use bcl rather than bl to save trashing branch target stack.  Use
	elf_machine_dynamic rather than duplicating code here.
	(elf_machine_runtime_setup): New inline function replacing define.
	Handle new PLT.
	(elf_machine_fixup_plt): Handle new PLT.
	(elf_machine_rela): Likewise.
	* sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
	(CALL_MCOUNT): Don't set up counter vars.
	* sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
	* sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
	define when HAVE_ASM_PPC_REL16.
	(_start): Add HAVE_ASM_PPC_REL16 code.
	* sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
	into the GOT when HAVE_ASM_PPC_REL16.
	* sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
	* sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
	(__getcontext): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
	(__setcontext): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
	(__swapcontext): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
	Comment.
	(__socket): Bomb if NARGS >= 7.  Invoke CGOTSETUP and CGOTRESTORE.

2005-06-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
	to use __GI_memset.
	* sysdeps/posix/signal.c: Likewise.
	* sysdeps/posix/sigset.c: Likewise.
	* sysdeps/posix/sysv_signal.c: Likewise.
	* sysdeps/unix/sysv/linux/sleep.c: Likewise.
	* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
	* sysdeps/unix/sysv/linux/system.c: Likewise.
2005-06-17 23:11:35 +00:00
abilist 2004-08-30 Roland McGrath <roland@frob.com> 2004-08-31 06:17:08 +00:00
aout Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
argp (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
assert (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
bare (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
bits * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
catgets * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
conf (NEED_INETADDR, NEED_INETATON): Define to 1, not empty. 1995-09-08 20:24:57 +00:00
conform 2004-05-26 Roland McGrath <roland@frob.com> 2004-05-26 19:21:39 +00:00
crypt [BZ #924] 2005-05-02 20:15:34 +00:00
csu * csu/Makefile: Use printf instead of echo for some shells. 2005-03-01 01:45:27 +00:00
ctype [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
debug * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
dirent * sysdeps/unix/rewinddir.c: Reset filepos. 2005-01-16 06:26:38 +00:00
dlfcn * elf/dl-error.c (_dl_signal_error): Store information about use of 2005-06-12 16:29:51 +00:00
elf * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
gmon Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
gnulib Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
grp [BZ #661] 2005-03-29 23:41:03 +00:00
hesiod * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0 2005-06-15 06:44:01 +00:00
hurd * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo 2005-01-19 19:26:29 +00:00
iconv * iconv/gconv_int.h: Include <ctype.h> and <string.h>. 2005-04-05 23:33:08 +00:00
iconvdata [BZ #955] 2005-05-21 18:40:10 +00:00
include * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
inet * inet/test-ifaddrs.c: Use test-skeleton. 2005-03-19 17:45:59 +00:00
intl * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
io [BZ #961] 2005-05-23 17:37:21 +00:00
libidn * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword. 2005-03-15 22:57:31 +00:00
libio [BZ #779] 2005-03-19 00:28:51 +00:00
linuxthreads * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
linuxthreads_db * pthread.c (init_one_static_tls): Adjust initialization of DTV 2005-01-09 20:13:03 +00:00
locale [BZ #954] 2005-05-26 19:08:49 +00:00
localedata [BZ #622] 2005-06-08 20:22:55 +00:00
login (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
mach (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
malloc * elf/dl-close.c: Include stddef.h. 2005-04-27 01:39:11 +00:00
manual * manual/string.texi: Fix typo in wmemcpy decl. 2005-04-11 20:22:01 +00:00
math * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names. 2005-03-28 20:42:53 +00:00
misc [BZ #779] 2005-03-19 00:28:51 +00:00
nis * nis/nis_table.c: Fix realloc handling. 2005-04-29 09:19:34 +00:00
nptl * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
nptl_db (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
nscd * configure.in: Add test for availability of libaudit. 2005-06-14 22:52:30 +00:00
nss * posix/getconf.c: Update copyright year. 2005-01-12 23:43:44 +00:00
po * MakeTAGS: Make xgettext not look into test cases. 2005-05-08 16:46:56 +00:00
posix [BZ #959] 2005-06-03 20:37:25 +00:00
pwd * grp/putgrent.c (putgrent): Don't write 0 as group 2005-01-12 03:12:43 +00:00
resolv [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
resource (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
rt * rt/tst-cpuclock1.c: New file. 2005-04-27 08:03:47 +00:00
scripts * scripts/config.guess: Update from upstream. 2005-04-28 15:32:56 +00:00
setjmp (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
shadow * sysdeps/mach/hurd/tls.h: Include <stdbool.h> 2005-02-02 19:44:07 +00:00
signal (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
socket [BZ #779] 2005-03-19 00:28:51 +00:00
soft-fp (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
stdio-common Correctly account for characters of decimal points right after +-. 2005-04-26 20:52:22 +00:00
stdlib * stdlib/test-canon.c: Make doesExist a directory and add more tests 2005-04-27 07:37:00 +00:00
streams (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
string * stdlib/random_r.c (__initstate_r): Don't use non-existing state. 2005-04-12 15:29:07 +00:00
sunrpc * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd 2005-05-23 19:05:24 +00:00
sysdeps * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
sysvipc (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
termios (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
time * time/strptime_l.c (__strptime_internal): Handle 'z' to set 2005-04-27 04:33:01 +00:00
timezone * timezone/africa: Update from tzdata2005i. 2005-04-30 05:40:51 +00:00
wcsmbs * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright. 2005-04-01 09:53:28 +00:00
wctype (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
.cvsignore Update. 2004-09-11 16:28:48 +00:00
abi-tags (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
aclocal.m4 * aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT. 2004-07-02 06:45:17 +00:00
BUGS (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
CANCEL-FCT-WAIVE Update. 2004-03-08 07:58:18 +00:00
CANCEL-FILE-WAIVE Update. 2004-03-08 07:58:18 +00:00
ChangeLog * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +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 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +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 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
ChangeLog.12 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
ChangeLog.13 Update. 2002-10-03 16:37:04 +00:00
ChangeLog.14 Update. 2004-04-20 04:28:00 +00:00
ChangeLog.15 Split out ChangeLog.15 at 2.3 branch point 2005-02-16 07:34:17 +00:00
config-name.in (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
config.h.in * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
config.make.in * configure.in: Add test for availability of libaudit. 2005-06-14 22:52:30 +00:00
configure * hesiod/hesiod_p.h (struct hesiod_p): Add classes array. 2005-06-15 04:14:52 +00:00
configure.in * configure.in: Add test for availability of libaudit. 2005-06-14 22:52:30 +00:00
CONFORMANCE Update. 2004-04-17 18:02:33 +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 2004-03-11 Jeroen Dekkers <jeroen@dekkers.cx> 2004-03-14 19:13:17 +00:00
extra-lib.mk * extra-lib.mk (object-suffixes-$(lib)): Add .oS when 2004-12-02 22:55:30 +00:00
extra-modules.mk Update. 2004-03-08 21:31:23 +00:00
FAQ 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca> 2005-04-08 21:00:44 +00:00
FAQ.in 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca> 2005-04-08 21:00:44 +00:00
INSTALL (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
INTERFACE (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
LICENSES 2002-08-20 Brian Youmans <3diff@gnu.org> 2002-08-20 21:51:55 +00:00
Makeconfig [BZ #715] 2005-02-11 10:17:19 +00:00
Makefile [BZ #592, BZ #821, BZ #822, BZ #825] 2005-04-06 02:18:44 +00:00
Makefile.in (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Makerules 2005-03-05 Jakub Jelinek <jakub@redhat.com> 2005-03-05 19:24:32 +00:00
MakeTAGS * MakeTAGS: Make xgettext not look into test cases. 2005-05-08 16:46:56 +00:00
NAMESPACE Add and update many more entries. 2000-03-20 00:42:58 +00:00
NEWS * NEWS: Copy 2.3.5 section from 2.3 branch. 2005-04-06 03:07:37 +00:00
NOTES (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +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. 2004-10-12 06:19:23 +00:00
README (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
README.libm (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
README.template (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Rules * Rules (subdir_objs, subdir_stubs): New phony targets. 2005-02-10 23:48:50 +00:00
shlib-versions 2005-05-23 Roland McGrath <roland@redhat.com> 2005-05-24 06:16:04 +00:00
test-skeleton.c * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call 2005-03-08 00:50:21 +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 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Versions.def * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names. 2005-03-28 20:42:53 +00:00
WUR-REPORT Update. 2005-01-06 21:52:35 +00:00

This directory contains the version 2.3.4 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
		x86-64-*-linux-gnu	Linux-2.4+ on x86-64

Past releases of this library ran on a variety of configurations that are
no longer supported.  Porting the library is not hard.  If you are
interested in doing a port, please contact the glibc maintainers;
see http://www.gnu.org/software/libc/ for more information.

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.

Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

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.