From 288f7d79fe2dcc8e62c539f57b25d7662a2cd5ff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 28 Mar 2013 16:15:48 -0700 Subject: Use __ehdr_start, if available, as fallback for AT_PHDR. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index de20ebb1c9..876b577839 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2013-03-28 Roland McGrath + * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init + didn't do it already, then set _dl_phdr and _dl_phnum based on the + magic __ehdr_start linker symbol if it's defined. + * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set + them up here if it was already done. + * elf/dl-support.c (_dl_phdr): Make pointer to const. (_dl_aux_init): Use const in cast when setting it. * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast. -- cgit v1.2.3