Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/include Remove fallback definition for __ELF__.



details:   https://anonhg.NetBSD.org/src/rev/a3d110685dfb
branches:  trunk
changeset: 355802:a3d110685dfb
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Aug 15 09:09:49 2017 +0000

description:
Remove fallback definition for __ELF__.

Failing to define it would've been a toolchain bug, not to be worked
around with a simple redefinition. fortunately, it doesn't appear to happen

diffstat:

 sys/arch/ia64/include/cdefs.h |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (18 lines):

diff -r 0225560caed9 -r a3d110685dfb sys/arch/ia64/include/cdefs.h
--- a/sys/arch/ia64/include/cdefs.h     Tue Aug 15 09:08:39 2017 +0000
+++ b/sys/arch/ia64/include/cdefs.h     Tue Aug 15 09:09:49 2017 +0000
@@ -1,13 +1,8 @@
-/*     $NetBSD: cdefs.h,v 1.3 2014/03/18 17:11:19 christos Exp $       */
+/*     $NetBSD: cdefs.h,v 1.4 2017/08/15 09:09:49 maya Exp $   */
 
 #ifndef        _MACHINE_CDEFS_H_
 #define        _MACHINE_CDEFS_H_
 
-/* We're elf only: inspected by sys/cdefs.h  */
-#ifndef __ELF__
-#define __ELF__
-#endif
-
 #define        __ALIGNBYTES            ((size_t)15)
 
 #endif /* !_MACHINE_CDEFS_H_ */



Home | Main Index | Thread Index | Old Index