Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2024 15:35:07 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4fd5b8aed896 - main - boot1.chrp: Include memset
Message-ID:  <202406141535.45EFZ7sr097672@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4fd5b8aed89643707556fa859ba58bcfd335f6f7

commit 4fd5b8aed89643707556fa859ba58bcfd335f6f7
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-06-14 14:30:30 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-06-14 15:34:05 +0000

    boot1.chrp: Include memset
    
    Normally, memset isn't used. However for OPT_INIT_ALL=zero it is. Always
    include it since we're not space constrained and latter-day loaders won't
    include a copy if it's not actually used.
    
    Reviewed by: emaste
    Sponsored by: Netflix
---
 stand/powerpc/boot1.chrp/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/powerpc/boot1.chrp/Makefile b/stand/powerpc/boot1.chrp/Makefile
index 22a3f983affd..11b9e356219b 100644
--- a/stand/powerpc/boot1.chrp/Makefile
+++ b/stand/powerpc/boot1.chrp/Makefile
@@ -6,7 +6,7 @@ NEWVERSWHAT=    "Open Firmware boot block" ${MACHINE_ARCH}
 INSTALLFLAGS=   -b
 
 FILES=		boot1.hfs
-SRCS=		boot1.c ashldi3.c syncicache.c
+SRCS=		boot1.c ashldi3.c syncicache.c memset.c
 
 CFLAGS+=-I${LDRSRC}
 # Load boot1.elf below kernel.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406141535.45EFZ7sr097672>