Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/crunch/crunchide Undo last change. While these macro...
details: https://anonhg.NetBSD.org/src/rev/283d80b1ae46
branches: trunk
changeset: 477580:283d80b1ae46
user: hannken <hannken%NetBSD.org@localhost>
date: Fri Oct 22 10:47:37 1999 +0000
description:
Undo last change. While these macros are defined in exec_elf.h, they are
enclosed by `#ifdef _KERNEL'.
diffstat:
usr.bin/crunch/crunchide/exec_elf32.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 64fb089349b0 -r 283d80b1ae46 usr.bin/crunch/crunchide/exec_elf32.c
--- a/usr.bin/crunch/crunchide/exec_elf32.c Fri Oct 22 10:43:11 1999 +0000
+++ b/usr.bin/crunch/crunchide/exec_elf32.c Fri Oct 22 10:47:37 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf32.c,v 1.7 1999/10/21 21:16:07 erh Exp $ */
+/* $NetBSD: exec_elf32.c,v 1.8 1999/10/22 10:47:37 hannken Exp $ */
/*
* Copyright (c) 1997, 1998 Christopher G. Demetriou. All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: exec_elf32.c,v 1.7 1999/10/21 21:16:07 erh Exp $");
+__RCSID("$NetBSD: exec_elf32.c,v 1.8 1999/10/22 10:47:37 hannken Exp $");
#endif
#ifndef ELFSIZE
@@ -55,6 +55,12 @@
#include <sys/exec_elf.h>
+#define CONCAT(x,y) __CONCAT(x,y)
+#define ELFNAME(x) CONCAT(elf,CONCAT(ELFSIZE,CONCAT(_,x)))
+#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)))
+
struct listelem {
struct listelem *next;
void *mem;
Home |
Main Index |
Thread Index |
Old Index