summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850/bits/byteswap.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-28 22:43:01 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-01-02 16:57:03 +0100
commit82b948ef8ffd2770fb09a8640dab82f3cb2af443 (patch)
tree17380b9ddad8301a6feadc66f18986074e5e5ce8 /libc/sysdeps/linux/v850/bits/byteswap.h
parentbad1263e3316825b5ef0037ad7a897ae62a30d7e (diff)
remove deprecated architectures v850/i960
Both architectures are more or less deprecated. No Linux upstream support, no gcc support for uClinux.
Diffstat (limited to 'libc/sysdeps/linux/v850/bits/byteswap.h')
-rw-r--r--libc/sysdeps/linux/v850/bits/byteswap.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/libc/sysdeps/linux/v850/bits/byteswap.h b/libc/sysdeps/linux/v850/bits/byteswap.h
deleted file mode 100644
index b2e1ddb90..000000000
--- a/libc/sysdeps/linux/v850/bits/byteswap.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * libc/sysdeps/linux/v850/bits/byteswap.h -- Macros to swap the order
- * of bytes in integer values
- *
- * Copyright (C) 2001 NEC Corporation
- * Copyright (C) 2001 Miles Bader <miles@gnu.org>
- * Copyright (C) 1997,1998,2001 Free Software Foundation, Inc.
- *
- * This file is subject to the terms and conditions of the GNU Lesser
- * General Public License. See the file COPYING.LIB in the main
- * directory of this archive for more details.
- */
-
-#ifndef _ASM_BITS_BYTESWAP_H
-#define _ASM_BITS_BYTESWAP_H 1
-
-#define __bswap_non_constant_16(x) \
- (__extension__ \
- ({ unsigned long int __bswap_16_v; \
- __asm__ ("bsh %1, %0" : "=r" (__bswap_16_v) : "r" (x)); \
- __bswap_16_v; }))
-
-# define __bswap_non_constant_32(x) \
- (__extension__ \
- ({ unsigned long int __bswap_32_v; \
- __asm__ ("bsw %1, %0" : "=r" (__bswap_32_v) : "r" (x)); \
- __bswap_32_v; }))
-
-#endif
-
-#include <bits/byteswap-common.h>