Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Undo last change. While these macros are define...



details:   https://anonhg.NetBSD.org/src/rev/ca18ff6e597e
branches:  trunk
changeset: 477575:ca18ff6e597e
user:      hannken <hannken%NetBSD.org@localhost>
date:      Fri Oct 22 10:10:36 1999 +0000

description:
Undo last change. While these macros are defined in exec_elf.h, they are
enclosed by `#ifdef _KERNEL'.

diffstat:

 lib/libc/gen/nlist_elf32.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 28964543328a -r ca18ff6e597e lib/libc/gen/nlist_elf32.c
--- a/lib/libc/gen/nlist_elf32.c        Fri Oct 22 08:50:59 1999 +0000
+++ b/lib/libc/gen/nlist_elf32.c        Fri Oct 22 10:10:36 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nlist_elf32.c,v 1.16 1999/10/21 21:12:37 erh Exp $     */
+/*     $NetBSD: nlist_elf32.c,v 1.17 1999/10/22 10:10:36 hannken Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -56,6 +56,12 @@
 #if (defined(NLIST_ELF32) && (ELFSIZE == 32)) || \
     (defined(NLIST_ELF64) && (ELFSIZE == 64))
 
+#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)))
+
 /* No need to check for off < 0 because it is unsigned */
 #define        check(off, size)        (off + size > mappedsize)
 #define        BAD                     goto out



Home | Main Index | Thread Index | Old Index