Undo last change. While these macros are defined in exec_elf.h, they are

enclosed by `#ifdef _KERNEL'.
This commit is contained in:
hannken 1999-10-22 10:30:08 +00:00
parent f991f0978c
commit db05621dec

View File

@ -1,4 +1,4 @@
/* $NetBSD: map_object.c,v 1.6 1999/10/21 21:15:04 erh Exp $ */
/* $NetBSD: map_object.c,v 1.7 1999/10/22 10:30:08 hannken Exp $ */
/*
* Copyright 1996 John D. Polstra.
@ -40,6 +40,12 @@
#include "rtld.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)))
static int protflags __P((int)); /* Elf flags -> mmap protection */
/*