From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 40B5C3856082; Wed, 25 May 2022 12:41:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 40B5C3856082 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/29165] [Regression] broken argv adjustment Date: Wed, 25 May 2022 12:41:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2022 12:41:31 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29165 --- Comment #5 from Adhemerval Zanella --- But the start above will tail call _dl_start and _dl_start will call the us= er entrypoint that will eventually calls exit syscall. So I can't see why mat= ter restore r24 and r25 at this point, specially since they will point to the l= d.so ones. (In reply to dave.anglin from comment #4) > But the comment says these are for (_start) in start.S. >=20 > On 2022-05-25 7:57 a.m., adhemerval.zanella at linaro dot org wrote: > > I don't think it is required since _dl_fini does not have any arguments. > > > > (In reply to dave.anglin from comment #2) > >> Thanks.=C2=A0 I think we need to keep the instructions that save and r= estore r24 > >> and r25. > >> They will be clobbered by call to _dl_init. > >> > >> Will test. --=20 You are receiving this mail because: You are on the CC list for the bug.=