]> sourceware.org Git - glibc.git/commitdiff
m68k: optimize RTLD_START
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 24 Jun 2022 19:24:40 +0000 (21:24 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 24 Jun 2022 22:22:02 +0000 (00:22 +0200)
sysdeps/m68k/dl-machine.h

index 64b9fe0b7118d965611ac47da1695cd8fec6f5e3..b670df5d8b59bae1c3e77e6d6427d2d15ee7b368 100644 (file)
@@ -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\
This page took 1.700395 seconds and 5 git commands to generate.