about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-07-22 11:22:14 +0000
committerAndreas Jaeger <aj@suse.de>2002-07-22 11:22:14 +0000
commite7522f218ef1926d7ed2ba629f4d3f0864ddf5ca (patch)
tree5f18e50624ca735a8c2be23b4341952ab498d36f
parent3e84e9e90cb5983eb120a3733467e2013f9f05a0 (diff)
downloadglibc-e7522f218ef1926d7ed2ba629f4d3f0864ddf5ca.tar.gz
glibc-e7522f218ef1926d7ed2ba629f4d3f0864ddf5ca.tar.xz
glibc-e7522f218ef1926d7ed2ba629f4d3f0864ddf5ca.zip
(elf_machine_load_address): Use local label.
-rw-r--r--sysdeps/x86_64/dl-machine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
index 99fb2c31e6..ef1f694077 100644
--- a/sysdeps/x86_64/dl-machine.h
+++ b/sysdeps/x86_64/dl-machine.h
@@ -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");