From: Andreas Schwab Date: Fri, 24 Jun 2022 19:24:40 +0000 (+0200) Subject: m68k: optimize RTLD_START X-Git-Tag: glibc-2.36~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01c60dc90ca404c153d51f0ddc3b5fe36d3c1099;p=thirdparty%2Fglibc.git m68k: optimize RTLD_START --- diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 64b9fe0b711..b670df5d8b5 100644 --- a/sysdeps/m68k/dl-machine.h +++ b/sysdeps/m68k/dl-machine.h @@ -142,10 +142,8 @@ _start:\n\ _dl_start_user:\n\ | Save the user entry point address in %a4.\n\ move.l %d0, %a4\n\ - | Pop the original argument count\n\ - move.l (%sp)+, %d1\n\ - | Push back the modified argument count.\n\ - move.l %d1, -(%sp)\n\ + | Load the adjusted argument count.\n\ + move.l (%sp), %d1\n\ # Call _dl_init (struct link_map *main_map, int argc, char **argv, char **env)\n\ pea 8(%sp, %d1*4)\n\ pea 8(%sp)\n\