2005-03-01  Roland McGrath  <roland@redhat.com>
	[BZ #721]
	* sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
	of [RESOLVE_MAP].

2005-03-01  Alfred M. Szmidt  <ams@gnu.org>

	* elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
	Add missing initializer.

	* malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
	USE_TLS && !USE___THREAD].
This commit is contained in:
Roland McGrath 2005-03-01 20:55:00 +00:00
parent a28b6b0a55
commit f8286ce613
3 changed files with 22 additions and 5 deletions

View File

@ -1,3 +1,17 @@
2005-03-01 Roland McGrath <roland@redhat.com>
[BZ #721]
* sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
of [RESOLVE_MAP].
2005-03-01 Alfred M. Szmidt <ams@gnu.org>
* elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
Add missing initializer.
* malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
USE_TLS && !USE___THREAD].
2005-02-26 GOTO Masanori <gotom@debian.or.jp> 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
* csu/Makefile: Use printf instead of echo for some shells. * csu/Makefile: Use printf instead of echo for some shells.

View File

@ -110,6 +110,8 @@ int __stack_prot attribute_hidden attribute_relro
= PROT_GROWSDOWN; = PROT_GROWSDOWN;
#elif _STACK_GROWS_UP && defined PROT_GROWSUP #elif _STACK_GROWS_UP && defined PROT_GROWSUP
= PROT_GROWSUP; = PROT_GROWSUP;
#else
= 0;
#endif #endif

View File

@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. ARM version. /* Machine-dependent ELF dynamic relocation inline functions. ARM version.
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
@ -350,13 +350,14 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rel *reloc,
#endif /* !dl_machine_h */ #endif /* !dl_machine_h */
#ifdef RESOLVE
/* ARM never uses Elf32_Rela relocations for the dynamic linker. /* ARM never uses Elf32_Rela relocations for the dynamic linker.
Prelinked libraries may use Elf32_Rela though. */ Prelinked libraries may use Elf32_Rela though. */
# ifdef RTLD_BOOTSTRAP #ifdef RTLD_BOOTSTRAP
# define ELF_MACHINE_NO_RELA 1 # define ELF_MACHINE_NO_RELA 1
# endif #endif
#ifdef RESOLVE
/* Deal with an out-of-range PC24 reloc. */ /* Deal with an out-of-range PC24 reloc. */
static Elf32_Addr static Elf32_Addr