]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(elf_machine_load_address): Move helper variable into .data.rel.ro.
authorUlrich Drepper <drepper@redhat.com>
Sun, 31 Jul 2005 16:28:55 +0000 (16:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 31 Jul 2005 16:28:55 +0000 (16:28 +0000)
sysdeps/x86_64/dl-machine.h

index 335b38ab37cbccd838e6b0554468ae514bb87883..6cf532a995ccb3119b6bd54e0721510c4f100bc6 100644 (file)
@@ -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");