Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/include Make cpu_exec_aout_makecmds() a static ...



details:   https://anonhg.NetBSD.org/src/rev/f297928764d3
branches:  trunk
changeset: 573672:f297928764d3
user:      joff <joff%NetBSD.org@localhost>
date:      Fri Feb 04 19:07:26 2005 +0000

description:
Make cpu_exec_aout_makecmds() a static inline instead of just #define'ed to
ENOEXEC.  Broken on ARM build from the de-__P'ing, this is the fix.

diffstat:

 sys/arch/arm/include/aout_machdep.h |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r a9c02b7bf73d -r f297928764d3 sys/arch/arm/include/aout_machdep.h
--- a/sys/arch/arm/include/aout_machdep.h       Fri Feb 04 18:35:45 2005 +0000
+++ b/sys/arch/arm/include/aout_machdep.h       Fri Feb 04 19:07:26 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aout_machdep.h,v 1.2 2002/12/10 17:14:08 thorpej Exp $ */
+/*     $NetBSD: aout_machdep.h,v 1.3 2005/02/04 19:07:26 joff Exp $    */
 
 /*
  * Copyright (c) 1994-1996 Mark Brinicombe.
@@ -52,8 +52,12 @@
 };
 
 #define relocation_info relocation_info_arm6
-                                                                                                                                                                                       
+
 /* No special executable format */
-#define        cpu_exec_aout_makecmds(a, b)    ENOEXEC
+static __inline int
+cpu_exec_aout_makecmds(struct proc *p, struct exec_package *e)
+{
+       return ENOEXEC;
+}
 
 #endif /* _ARM32_AOUT_MACHDEP_H_ */



Home | Main Index | Thread Index | Old Index