]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(elf_machine_load_address): Use local label.
authorAndreas Jaeger <aj@suse.de>
Mon, 22 Jul 2002 11:22:14 +0000 (11:22 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 22 Jul 2002 11:22:14 +0000 (11:22 +0000)
sysdeps/x86_64/dl-machine.h

index 99fb2c31e6535da3c28f28184a1c1eb4ead44cc1..ef1f694077846ed97c6561103813e5c794bcd740 100644 (file)
@@ -1,5 +1,5 @@
 /* Machine-dependent ELF dynamic relocation inline functions.  x86-64 version.
-   Copyright (C) 2001 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Andreas Jaeger <aj@suse.de>.
 
@@ -66,11 +66,11 @@ elf_machine_load_address (void)
      and compare it with the current value that we can get via
      an RIP relative addressing mode.  */
 
-  asm ("movq .L1(%%rip), %1\n"
+  asm ("movq 1f(%%rip), %1\n"
        "0:\tleaq _dl_start(%%rip), %0\n\t"
        "subq %1, %0\n\t"
        ".section\t.data\n"
-       ".L1:\t.quad _dl_start\n\t"
+       "1:\t.quad _dl_start\n\t"
        ".previous\n\t"
        : "=r" (addr), "=r" (tmp) : : "cc");