summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-23 02:42:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-23 02:42:45 +0000
commit495c33c6637657ace4b7a4db6525175efa4b3b85 (patch)
tree45ac916fb790147465b7a358e916dec86bb02779 /sys/arch/powerpc
parent4d28f11436de1342c38ec5db96ef30e891b18b66 (diff)
use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/exec.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/powerpc/include/exec.h b/sys/arch/powerpc/include/exec.h
index 1028944d194..54357834d22 100644
--- a/sys/arch/powerpc/include/exec.h
+++ b/sys/arch/powerpc/include/exec.h
@@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: exec.h,v 1.1 1996/12/21 20:35:54 rahnds Exp $
+ * $Id: exec.h,v 1.2 1996/12/23 02:42:35 deraadt Exp $
*/
#ifndef _PPC_EXEC_H_
@@ -51,11 +51,9 @@ struct relocation_info_powerpc {
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_PPC
-/*
- * This is what we want nlist(3) to handle.
- */
-#define DO_AOUT /* support a.out */
-#define DO_ELF /* support ELF */
+#define _NLIST_DO_AOUT
+#define _NLIST_DO_ELF
+#define _KERN_DO_ELF
#endif /* _PPC_EXEC_H_ */