From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2138) id DF61E387474A; Fri, 24 Jun 2022 22:22:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF61E387474A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Andreas Schwab To: glibc-cvs@sourceware.org Subject: [glibc] m68k: optimize RTLD_START X-Act-Checkin: glibc X-Git-Author: Andreas Schwab X-Git-Refname: refs/heads/master X-Git-Oldrev: baf2a265c71113a91f6971313ef191be9e77ef6a X-Git-Newrev: 01c60dc90ca404c153d51f0ddc3b5fe36d3c1099 Message-Id: <20220624222225.DF61E387474A@sourceware.org> Date: Fri, 24 Jun 2022 22:22:25 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2022 22:22:26 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=01c60dc90ca404c153d51f0ddc3b5fe36d3c1099 commit 01c60dc90ca404c153d51f0ddc3b5fe36d3c1099 Author: Andreas Schwab Date: Fri Jun 24 21:24:40 2022 +0200 m68k: optimize RTLD_START Diff: --- sysdeps/m68k/dl-machine.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 64b9fe0b71..b670df5d8b 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\