Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch/aarch64/gen Remove htonll and ntohll as...



details:   https://anonhg.NetBSD.org/src/rev/bca858bb706d
branches:  trunk
changeset: 455258:bca858bb706d
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Oct 12 09:22:36 2019 +0000

description:
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 cb6692794b19 -r bca858bb706d common/lib/libc/arch/aarch64/gen/byte_swap_8.S
--- a/common/lib/libc/arch/aarch64/gen/byte_swap_8.S    Sat Oct 12 09:09:14 2019 +0000
+++ b/common/lib/libc/arch/aarch64/gen/byte_swap_8.S    Sat Oct 12 09:22:36 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.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



Home | Main Index | Thread Index | Old Index