head	1.2;
access;
symbols
	netbsd-11-0-RC6:1.2
	netbsd-11-0-RC5:1.2
	netbsd-11-0-RC4:1.2
	netbsd-11-0-RC3:1.2
	netbsd-11-0-RC2:1.2
	netbsd-11-0-RC1:1.2
	perseant-exfatfs-base-20250801:1.2
	netbsd-11:1.2.0.4
	netbsd-11-base:1.2
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.2
	perseant-exfatfs-base:1.2
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.2
	netbsd-10-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2023.09.04.18.16.53;	author riastradh;	state Exp;
branches;
next	1.1;
commitid	yALsA8jOQJguVtDE;

1.1
date	2022.05.30.15.06.55;	author rin;	state Exp;
branches;
next	;
commitid	GVUeTtYLg8nxI5GD;


desc
@@


1.2
log
@libc_aligned, libc_fp: Add missing close-paren.

Did this ever work?
@
text
@#	$NetBSD: Makefile,v 1.1 2022/05/30 15:06:55 rin Exp $
#

# libc routines with strictly aligned memory access

USE_SHLIBDIR=	yes

.include <bsd.own.mk>

LIBC_MACHINE_CPU?= ${MACHINE_CPU}

.if exists(arch/${LIBC_MACHINE_CPU})
.include "arch/${LIBC_MACHINE_CPU}/Makefile.inc"
.PATH: ${.CURDIR}/arch/${LIBC_MACHINE_CPU}
.elif exists(arch/${MACHINE_ARCH})
.include "arch/${MACHINE_ARCH}/Makefile.inc"
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
.elif exists(arch/${MACHINE})
.include "arch/${MACHINE}/Makefile.inc"
.PATH: ${.CURDIR}/arch/${MACHINE}
.endif

.if !empty(SRCS)

LIB?=		c_aligned

.include <bsd.lib.mk>
.endif
@


1.1
log
@Introduce libc_aligned.so for evbppc-powerpc32, which provides
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and
memmove(3).

This is used for 403 by ld.so.conf with machdep.no_unaligned variable.

With this library, unaligned memory accesses are significantly reduced
for 403 (from several hundreds to few tens per sec under heavy load);
only ld.elf_so (typically few times per fork) and statically-linked
binaries do such access.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2016/07/14 01:59:18 matt Exp $
d18 1
a18 1
.elif exists(arch/${MACHINE}
@

