From 5deb3317cb51ac52de922bb55f8492624018906d Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Thu, 13 Sep 2012 00:40:35 +0300 Subject: Add realtek target files Signed-off-by: Roman Yeryomin --- .../realtek/files/arch/rlx/include/asm/compiler.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 target/linux/realtek/files/arch/rlx/include/asm/compiler.h (limited to 'target/linux/realtek/files/arch/rlx/include/asm/compiler.h') diff --git a/target/linux/realtek/files/arch/rlx/include/asm/compiler.h b/target/linux/realtek/files/arch/rlx/include/asm/compiler.h new file mode 100644 index 000000000..71f5c5cfc --- /dev/null +++ b/target/linux/realtek/files/arch/rlx/include/asm/compiler.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2004, 2007 Maciej W. Rozycki + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ +#ifndef _ASM_COMPILER_H +#define _ASM_COMPILER_H + +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +#define GCC_IMM_ASM() "n" +#define GCC_REG_ACCUM "$0" +#else +#define GCC_IMM_ASM() "rn" +#define GCC_REG_ACCUM "accum" +#endif + +#endif /* _ASM_COMPILER_H */ -- cgit v1.2.3