diff options
author | Andreas Jaeger <aj@suse.de> | 2002-07-22 11:22:14 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-07-22 11:22:14 +0000 |
commit | e7522f218ef1926d7ed2ba629f4d3f0864ddf5ca (patch) | |
tree | 5f18e50624ca735a8c2be23b4341952ab498d36f | |
parent | 3e84e9e90cb5983eb120a3733467e2013f9f05a0 (diff) | |
download | glibc-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.h | 6 |
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"); |