Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add an ElfW() macro like linux.
details: https://anonhg.NetBSD.org/src/rev/b6784f43d3ee
branches: trunk
changeset: 345536:b6784f43d3ee
user: christos <christos%NetBSD.org@localhost>
date: Tue May 31 20:02:16 2016 +0000
description:
Add an ElfW() macro like linux.
diffstat:
sys/sys/exec_elf.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 765e5e95b69c -r b6784f43d3ee sys/sys/exec_elf.h
--- a/sys/sys/exec_elf.h Tue May 31 19:25:17 2016 +0000
+++ b/sys/sys/exec_elf.h Tue May 31 20:02:16 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.h,v 1.154 2016/05/24 00:49:55 christos Exp $ */
+/* $NetBSD: exec_elf.h,v 1.155 2016/05/31 20:02:16 christos Exp $ */
/*-
* Copyright (c) 1994 The NetBSD Foundation, Inc.
@@ -1059,6 +1059,7 @@
#define ELFNAME2(x,y) CONCAT(x,CONCAT(_elf,CONCAT(ELFSIZE,CONCAT(_,y))))
#define ELFNAMEEND(x) CONCAT(x,CONCAT(_elf,ELFSIZE))
#define ELFDEFNNAME(x) CONCAT(ELF,CONCAT(ELFSIZE,CONCAT(_,x)))
+#define ElfW(x) CONCAT(Elf,CONCAT(ELFSIZE,CONCAT(_,x)))
#endif
#if defined(ELFSIZE) && (ELFSIZE == 32)
Home |
Main Index |
Thread Index |
Old Index