Compiling libc on i386 results in compiler warnings for bcmp, bzero, bcopy,
brk, and sbrk. Use ENTRY_NB instead of ENTRY to avoid this.
ok jca millert
-/* $OpenBSD: bcmp.S,v 1.5 2017/11/29 05:13:57 guenther Exp $ */
+/* $OpenBSD: bcmp.S,v 1.6 2022/12/04 08:22:13 tb Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
#include "DEFS.h"
-ENTRY(bcmp)
+ENTRY_NB(bcmp)
pushl %edi
pushl %esi
movl 12(%esp),%edi
-/* $OpenBSD: bzero.S,v 1.6 2017/11/29 05:13:57 guenther Exp $ */
+/* $OpenBSD: bzero.S,v 1.7 2022/12/04 08:22:13 tb Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
#include "DEFS.h"
-ENTRY(bzero)
+ENTRY_NB(bzero)
pushl %edi
movl 8(%esp),%edi
movl 12(%esp),%edx
-/* $OpenBSD: memmove.S,v 1.7 2017/11/29 05:13:57 guenther Exp $ */
+/* $OpenBSD: memmove.S,v 1.8 2022/12/04 08:22:13 tb Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
* Emulate bcopy() by swapping the first two arguments, and jumping
* into memmove(), which handles overlapping regions.
*/
-ENTRY(bcopy)
+ENTRY_NB(bcopy)
pushl %esi
pushl %edi
movl 12(%esp),%esi
-/* $OpenBSD: brk.S,v 1.14 2021/10/25 14:38:10 jca Exp $ */
+/* $OpenBSD: brk.S,v 1.15 2022/12/04 08:22:13 tb Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
END(__minbrk)
.type __minbrk,@object
-ENTRY(brk)
+ENTRY_NB(brk)
#ifdef __PIC__
movl 4(%esp),%ecx
PIC_PROLOGUE
-/* $OpenBSD: sbrk.S,v 1.14 2021/10/25 14:38:10 jca Exp $ */
+/* $OpenBSD: sbrk.S,v 1.15 2022/12/04 08:22:13 tb Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
END(__curbrk)
.type __curbrk,@object
-ENTRY(sbrk)
+ENTRY_NB(sbrk)
#ifdef __PIC__
movl 4(%esp),%ecx
PIC_PROLOGUE