From e90603473876d58d25a37ce6dc275fc1cba36884 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Jul 2002 11:21:26 +0000 Subject: (elf_machine_load_address): Use local label. --- sysdeps/x86_64/dl-machine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h index 3f113f8a60..adf108c17f 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"); -- cgit v1.2.3