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/7e270a751dea
branches:  trunk
changeset: 826103:7e270a751dea
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 36e15284be55 -r 7e270a751dea 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