From 21c03dbf6a0cc49decfcc496d9a87104c5a3dd8f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 31 Jul 2005 16:28:55 +0000 Subject: (elf_machine_load_address): Move helper variable into .data.rel.ro. --- sysdeps/x86_64/dl-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h index 335b38ab37..6cf532a995 100644 --- a/sysdeps/x86_64/dl-machine.h +++ b/sysdeps/x86_64/dl-machine.h @@ -71,7 +71,7 @@ elf_machine_load_address (void) asm ("movq 1f(%%rip), %1\n" "0:\tleaq _dl_start(%%rip), %0\n\t" "subq %1, %0\n\t" - ".section\t.data\n" + ".section\t.data.rel.ro\n" "1:\t.quad _dl_start\n\t" ".previous\n\t" : "=r" (addr), "=r" (tmp) : : "cc"); -- cgit v1.2.3