Skip to content

Commit

Permalink
hurd: Initialize __libc_stack_end for hidden support
Browse files Browse the repository at this point in the history
	* sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
	into initialized data instead of common.
  • Loading branch information
Samuel Thibault committed Nov 25, 2015
1 parent c679db4 commit 4d95285
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
* sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
libc_hidden_def.
* sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Define
rtld_hidden_data_def.
* sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
into initialized data instead of common. Define rtld_hidden_data_def.
* sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
* sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
libc_hidden_def.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/mach/hurd/dl-sysdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ rtld_hidden_data_def (__libc_enable_secure)
int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
of init-first. */
/* This variable contains the lowest stack address ever used. */
void *__libc_stack_end;
void *__libc_stack_end = NULL;
rtld_hidden_data_def(__libc_stack_end)

#if HP_TIMING_AVAIL
Expand Down

0 comments on commit 4d95285

Please sign in to comment.