From: Ulrich Drepper Date: Fri, 5 Sep 1997 01:40:47 +0000 (+0000) Subject: (elf_machine_load_address): Use _dl_start instead of a local label, to X-Git-Tag: glibc-2.16-ports-before-merge~3424 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea420deaef3710c200208ed24a9fdedf8210a77d;p=thirdparty%2Fglibc.git (elf_machine_load_address): Use _dl_start instead of a local label, to avoid getting an unreadable label name. --- diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 75434cd7504..44eefb20f57 100644 --- a/sysdeps/m68k/dl-machine.h +++ b/sysdeps/m68k/dl-machine.h @@ -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; }