File aarch64-dl-argv.patch of Package glibc.8004

2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
	hidden __GI__dl_argv symbol.

Index: glibc-2.19/ports/sysdeps/aarch64/dl-machine.h
===================================================================
--- glibc-2.19.orig/ports/sysdeps/aarch64/dl-machine.h
+++ glibc-2.19/ports/sysdeps/aarch64/dl-machine.h
@@ -169,8 +169,8 @@ _dl_start_user:							\n\
 	cmp	x0, #0						\n\
 	bne	1b						\n\
 	// Update _dl_argv					\n\
-	adrp	x3, _dl_argv					\n\
-	str	x2, [x3, #:lo12:_dl_argv]			\n\
+	adrp	x3, _dl_argv_internal				\n\
+	str	x2, [x3, #:lo12:_dl_argv_internal]		\n\
 .L_done_stack_adjust:						\n\
 	// compute envp						\n\
 	add	x3, x2, x1, lsl #3				\n\
openSUSE Build Service is sponsored by