aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-07-22 11:21:26 +0000
committerAndreas Jaeger <aj@suse.de>2002-07-22 11:21:26 +0000
commite90603473876d58d25a37ce6dc275fc1cba36884 (patch)
tree27d2d7f5bc31d115ed3dbceec08275c15bb91522 /sysdeps
parent8470bd531c35eabe4abd89b61d05d8ebb2516b0f (diff)
downloadglibc-e90603473876d58d25a37ce6dc275fc1cba36884.zip
glibc-e90603473876d58d25a37ce6dc275fc1cba36884.tar.gz
glibc-e90603473876d58d25a37ce6dc275fc1cba36884.tar.bz2
(elf_machine_load_address): Use local label.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/dl-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
index 3f113f8..adf108c 100644
--- a/sysdeps/x86_64/dl-machine.h
+++ b/sysdeps/x86_64/dl-machine.h
@@ -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");