NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/59917 CVS commit: src/libexec/ld.elf_so/arch/powerpc



The following reply was made to PR port-powerpc/59917; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59917 CVS commit: src/libexec/ld.elf_so/arch/powerpc
Date: Thu, 15 Jan 2026 22:13:32 +0000

 Module Name:	src
 Committed By:	jmcneill
 Date:		Thu Jan 15 22:13:32 UTC 2026
 
 Modified Files:
 	src/libexec/ld.elf_so/arch/powerpc: fixup.c
 
 Log Message:
 Fix ld.elf_so on non-espresso SMP and ibm4xx
 
 The espresso test in ld.elf_so for espresso had two flaws:
 
  1) It relied on emulation of the privileged mfpvr instruction for
     userspace, which doesn't exist on ibm4xx platforms.
  2) An && should have been an ||, which incorrectly caused the
     workaround to be applied to all SMP systems.
 
 Fixes PR# port-powerpc/59917
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/libexec/ld.elf_so/arch/powerpc/fixup.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index