Sat Oct 12 09:22:36 2019 UTC ()
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.


(maya)
diff -r1.1 -r1.2 src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S

cvs diff -r1.1 -r1.2 src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S (expand / switch to context diff)
--- src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S 2014/08/10 05:47:35 1.1
+++ src/common/lib/libc/arch/aarch64/gen/byte_swap_8.S 2019/10/12 09:22:36 1.2
@@ -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.2 2019/10/12 09:22:36 maya 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