]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(elf_machine_load_address): Use _dl_start instead of a local label, to
authorUlrich Drepper <drepper@redhat.com>
Fri, 5 Sep 1997 01:40:47 +0000 (01:40 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 5 Sep 1997 01:40:47 +0000 (01:40 +0000)
avoid getting an unreadable label name.

sysdeps/m68k/dl-machine.h

index 75434cd7504a5fe28d7014693d6f86c0815d38fa..44eefb20f5797e8d082a51538d09352c3c08a931 100644 (file)
@@ -56,8 +56,8 @@ static inline Elf32_Addr
 elf_machine_load_address (void)
 {
   Elf32_Addr addr;
-  asm ("1: lea 1b(%%pc), %0\n"
-       "   sub.l 1b@GOTPC(%%pc), %0"
+  asm ("lea _dl_start(%%pc), %0\n\t"
+       "sub.l _dl_start@GOTPC(%%pc), %0"
        : "=a" (addr));
   return addr;
 }