public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dilfridge at gentoo dot org" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug libc/31325] mips: clone3 is wrong for o32 Date: Sat, 15 Jun 2024 13:37:45 +0000 [thread overview] Message-ID: <bug-31325-131-Hywcl973OC@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-31325-131@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=31325 Andreas K. Huettel <dilfridge at gentoo dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |2.40 CC| |dilfridge at gentoo dot org Status|NEW |RESOLVED --- Comment #1 from Andreas K. Huettel <dilfridge at gentoo dot org> --- commit bbd248ac0d75efdef8fe61ea69b1fb25fb95b6e7 Author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Thu Feb 1 14:29:53 2024 -0300 mips: FIx clone3 implementation (BZ 31325) For o32 we need to setup a minimal stack frame to allow cprestore on __thread_start_clone3 (which instruct the linker to save the gp for PIC). Also, there is no guarantee by kABI that $8 will be preserved after syscall execution, so we need to save it on the provided stack. Checked on mipsel-linux-gnu. Reported-by: Khem Raj <raj.khem@gmail.com> Tested-by: Khem Raj <raj.khem@gmail.com> -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2024-06-15 13:37 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-01 17:40 [Bug libc/31325] New: " adhemerval.zanella at linaro dot org 2024-06-15 13:37 ` dilfridge at gentoo dot org [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-31325-131-Hywcl973OC@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).