(elf_machine_load_address): Use local label.

This commit is contained in:
Andreas Jaeger 2002-07-22 11:21:26 +00:00
parent 8470bd531c
commit e906034738

View File

@ -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");