From ea420deaef3710c200208ed24a9fdedf8210a77d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 Sep 1997 01:40:47 +0000 Subject: [PATCH] (elf_machine_load_address): Use _dl_start instead of a local label, to avoid getting an unreadable label name. --- sysdeps/m68k/dl-machine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 75434cd750..44eefb20f5 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; }