From 82b948ef8ffd2770fb09a8640dab82f3cb2af443 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 28 Dec 2015 22:43:01 +0100 Subject: remove deprecated architectures v850/i960 Both architectures are more or less deprecated. No Linux upstream support, no gcc support for uClinux. --- libc/sysdeps/linux/v850/bits/byteswap.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 libc/sysdeps/linux/v850/bits/byteswap.h (limited to 'libc/sysdeps/linux/v850/bits/byteswap.h') 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 - * 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 -- cgit v1.2.3