From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79AED385701B; Fri, 10 Jul 2020 23:11:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79AED385701B From: "tuliom at ascii dot art.br" To: glibc-bugs@sourceware.org Subject: [Bug libc/26173] powerpc64*: Add @notoc to calls to functions that do not preserve r2 Date: Fri, 10 Jul 2020 23:11:43 +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.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tuliom at ascii dot art.br X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tuliom at ascii dot art.br X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone 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: Fri, 10 Jul 2020 23:11:43 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26173 Tulio Magno Quites Machado Filho changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #2 from Tulio Magno Quites Machado Filho --- Fixed in 2.32 with: commit 7c7bcf3634e44cf7e001aaa302138c1ee0e58f8c Author: Tulio Magno Quites Machado Filho Date: Fri Jul 10 19:41:06 2020 -0300 powerpc64: Fix calls when r2 is not used [BZ #26173] Teach the linker that __mcount_internal, __sigjmp_save_symbol, __syscall_error and __GI_exit do not use r2, so that it does not need to recover r2 after the call. Test at configure time if the assembler supports @notoc and define USE_PPC64_NOTOC. --=20 You are receiving this mail because: You are on the CC list for the bug.=