Module Name: src Committed By: christos Date: Tue May 31 20:02:16 UTC 2016
Modified Files: src/sys/sys: exec_elf.h Log Message: Add an ElfW() macro like linux. To generate a diff of this commit: cvs rdiff -u -r1.154 -r1.155 src/sys/sys/exec_elf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/exec_elf.h diff -u src/sys/sys/exec_elf.h:1.154 src/sys/sys/exec_elf.h:1.155 --- src/sys/sys/exec_elf.h:1.154 Mon May 23 20:49:55 2016 +++ src/sys/sys/exec_elf.h Tue May 31 16:02:16 2016 @@ -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 @@ struct netbsd_elfcore_procinfo { #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)