From 49412141b35d892ecd9b41549ebf10fcac4a4e7a Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 2 Feb 1997 03:28:41 +0000 Subject: [PATCH] correct arch check, do not drop of non-void function; yasufu-i@is.aist-nara.ac.jp --- gnu/usr.bin/ld/m68k/md.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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 */ -- 2.20.1