diff options
| author | martin <martin@NetBSD.org> | 2019-10-12 14:48:31 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2019-10-12 14:48:31 +0000 |
| commit | 14bcebecae34d55557b45ec71a6b7f45207d7459 (patch) | |
| tree | 255b3cf79ecdd07919b7a29ce70ed0ecf5c5bb8e | |
| parent | 4d159082f4de4ffef9f888d0ee1a97afbb71f790 (diff) | |
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.
| -rw-r--r-- | common/lib/libc/arch/aarch64/gen/byte_swap_8.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/lib/libc/arch/aarch64/gen/byte_swap_8.S b/common/lib/libc/arch/aarch64/gen/byte_swap_8.S index 5a235a2b948..ecc23960b98 100644 --- a/common/lib/libc/arch/aarch64/gen/byte_swap_8.S +++ b/common/lib/libc/arch/aarch64/gen/byte_swap_8.S @@ -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 @@ ENTRY(FUNC) rev x0, x0 ret END(FUNC) -#if BYTE_ORDER == LITTLE_ENDIAN -STRONG_ALIAS(_C_LABEL(ntohll), FUNC) -STRONG_ALIAS(_C_LABEL(htonll), FUNC) -#endif |
