about summary refs log tree commit diff
path: root/sysdeps/x86_64/dl-machine.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-07-31 16:28:55 +0000
committerUlrich Drepper <drepper@redhat.com>2005-07-31 16:28:55 +0000
commit21c03dbf6a0cc49decfcc496d9a87104c5a3dd8f (patch)
tree13d7dd93d50afe353436117d72478d8bc15d885d /sysdeps/x86_64/dl-machine.h
parent52387e1db0b4d85b34e6f61bfe4f9160c89be9de (diff)
downloadglibc-21c03dbf6a0cc49decfcc496d9a87104c5a3dd8f.tar.gz
glibc-21c03dbf6a0cc49decfcc496d9a87104c5a3dd8f.tar.xz
glibc-21c03dbf6a0cc49decfcc496d9a87104c5a3dd8f.zip
(elf_machine_load_address): Move helper variable into .data.rel.ro.
Diffstat (limited to 'sysdeps/x86_64/dl-machine.h')
-rw-r--r--sysdeps/x86_64/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
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");