Source-Changes-HG archive

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

[src/netbsd-9]: src/common/lib/libc/arch/aarch64/gen Pull up following revisi...



details:   https://anonhg.NetBSD.org/src/rev/f682a78df2d8
branches:  netbsd-9
changeset: 458473:f682a78df2d8
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 12 14:48:31 2019 +0000

description:
Pull up following revision(s) (requested by maya in ticket #304):

        common/lib/libc/arch/aarch64/gen/byte_swap_8.S: revision 1.2

Remove htonll and ntohll as symbols from aarch64 libc.

Other architectures do not define them, and so we don't provide a
function declaration in any header.

This means a package may detect it with a link-test and then fail
due to the missing declaration, like sysutils/collectd currently does.

Done this way as aarch64 has not had a release yet. Discussed with releng.

diffstat:

 common/lib/libc/arch/aarch64/gen/byte_swap_8.S |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (17 lines):

diff -r 36a2f6214cde -r f682a78df2d8 common/lib/libc/arch/aarch64/gen/byte_swap_8.S
--- a/common/lib/libc/arch/aarch64/gen/byte_swap_8.S    Sat Oct 12 14:44:31 2019 +0000
+++ b/common/lib/libc/arch/aarch64/gen/byte_swap_8.S    Sat Oct 12 14:48:31 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: byte_swap_8.S,v 1.1 2014/08/10 05:47:35 matt Exp $ */
+/* $NetBSD: byte_swap_8.S,v 1.1.28.1 2019/10/12 14:48:31 martin Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,3 @@
        rev             x0, x0
        ret
 END(FUNC)
-#if BYTE_ORDER == LITTLE_ENDIAN
-STRONG_ALIAS(_C_LABEL(ntohll), FUNC)
-STRONG_ALIAS(_C_LABEL(htonll), FUNC)
-#endif



Home | Main Index | Thread Index | Old Index