shithub: scc

ref: 52ef32b73c4bb6a8a039a5c72d7c81b953953262
dir: /src/libc/arch/ppc32/linux/_cerrno.s/

View raw version
	.file	"_cerrno.s"
	.globl	_cerrno
_cerrno:
	cmpwi	0,0
	bne	err
	blr
err:
	lis	14,errno@h
	ori	14,14,errno@l
	stw	3,0(14)
	xor	3,3,3
	addi	3,3,-1
	blr