From: Ulrich Drepper Date: Sun, 31 Jul 2005 16:28:55 +0000 (+0000) Subject: (elf_machine_load_address): Move helper variable into .data.rel.ro. X-Git-Tag: cvs/fedora-glibc-20050808T2126~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21c03dbf6a0cc49decfcc496d9a87104c5a3dd8f;p=thirdparty%2Fglibc.git (elf_machine_load_address): Move helper variable into .data.rel.ro. --- diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h index 335b38ab37c..6cf532a995c 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");