summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-02 03:28:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-02-02 03:28:42 +0000
commitc9a729c4b02933dfe9d4a4ab40587419a09d96da (patch)
tree99edd7abd4d3514048cd5bfa9ed5d55900d827b1 /gnu
parent584792b398e50f41973f78ac60ba00bd2aa87dc1 (diff)
correct arch check, do not drop of non-void function; yasufu-i@is.aist-nara.ac.jp
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/m68k/md.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/m68k/md.c b/gnu/usr.bin/ld/m68k/md.c
index 9eadd9a65a9..45e258e56e1 100644
--- a/gnu/usr.bin/ld/m68k/md.c
+++ b/gnu/usr.bin/ld/m68k/md.c
@@ -27,7 +27,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: md.c,v 1.2 1996/09/30 22:29:29 deraadt Exp $
+ * $Id: md.c,v 1.3 1997/02/02 03:28:41 deraadt Exp $
*/
#include <sys/param.h>
@@ -266,6 +266,8 @@ struct exec *hp;
return 1;
#if 0
return (((md_swap_long(hp->a_midmag)&0x00ff0000) >> 16) == MID_SUN020);
+#else
+ return (0);
#endif
}
#endif /* RTLD */