From 237e78477990cad3ee2f468df053402457c24bda Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 19 Jul 2000 03:48:24 +0000 Subject: [PATCH] ELFify --- sys/lib/libkern/arch/vax/random.S | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/lib/libkern/arch/vax/random.S b/sys/lib/libkern/arch/vax/random.S index d77145d2f709..c276726aef0b 100644 --- a/sys/lib/libkern/arch/vax/random.S +++ b/sys/lib/libkern/arch/vax/random.S @@ -1,4 +1,4 @@ -/* $NetBSD: random.S,v 1.1 1998/02/22 08:55:41 mycroft Exp $ */ +/* $NetBSD: random.S,v 1.2 2000/07/19 03:48:24 matt Exp $ */ /* * Copyright (c) 1990,1993 The Regents of the University of California. @@ -46,13 +46,13 @@ * The result is in (0,2^31), e.g., it's always positive. */ +#include + .data randseed: .long 1 - .text - .globl _random -_random: - .word 0x0 + +ENTRY(random, 0) movl $16807,r0 movl randseed,r1 # r2=16807*loword(randseed)