1 1.6 joerg /* $NetBSD: cdefs.h,v 1.6 2012/01/20 14:08:06 joerg Exp $ */ 2 1.1 itojun 3 1.4 uch #ifndef _SH3_CDEFS_H_ 4 1.5 uch #define _SH3_CDEFS_H_ 5 1.1 itojun 6 1.6 joerg #define __ALIGNBYTES (sizeof(int) - 1) 7 1.6 joerg 8 1.3 thorpej /* 9 1.3 thorpej * The old NetBSD/sh3 ELF toolchain used underscores. The new 10 1.3 thorpej * NetBSD/sh3 ELF toolchain does not. The C pre-processor 11 1.3 thorpej * defines __NO_LEADING_UNDERSCORES__ for the new ELF toolchain. 12 1.3 thorpej */ 13 1.3 thorpej 14 1.3 thorpej #if defined(__ELF__) && !defined(__NO_LEADING_UNDERSCORES__) 15 1.5 uch #define __LEADING_UNDERSCORE 16 1.2 msaitoh #endif 17 1.1 itojun 18 1.4 uch #endif /* !_SH3_CDEFS_H_ */ 19