1*c6039432Sjoerg /* $NetBSD: cdefs.h,v 1.6 2012/01/20 14:08:06 joerg Exp $ */ 265363da2Sitojun 393da9db9Such #ifndef _SH3_CDEFS_H_ 493da9db9Such #define _SH3_CDEFS_H_ 565363da2Sitojun 6*c6039432Sjoerg #define __ALIGNBYTES (sizeof(int) - 1) 7*c6039432Sjoerg 83bce84cfSthorpej /* 93bce84cfSthorpej * The old NetBSD/sh3 ELF toolchain used underscores. The new 103bce84cfSthorpej * NetBSD/sh3 ELF toolchain does not. The C pre-processor 113bce84cfSthorpej * defines __NO_LEADING_UNDERSCORES__ for the new ELF toolchain. 123bce84cfSthorpej */ 133bce84cfSthorpej 143bce84cfSthorpej #if defined(__ELF__) && !defined(__NO_LEADING_UNDERSCORES__) 15526ce203Smsaitoh #define __LEADING_UNDERSCORE 16526ce203Smsaitoh #endif 1765363da2Sitojun 1893da9db9Such #endif /* !_SH3_CDEFS_H_ */ 19