diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-05-25 01:33:44 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-05-25 01:33:44 +0000 |
commit | 60f663b1ef6da4ea2006b55a328f87168d202a7d (patch) | |
tree | 13530cf331b552a1d559156e4068e4803bcd0bae /sys/arch/alpha | |
parent | 96911d55d4351176a6cfb5fb9d8a927bdec9960d (diff) |
gas will error out with a number of "Error: unassigned file number 1"
messages when compiling with gcc3, so to appease gas I have added
".file 1 __FILE__" at the top of locore. now a kernel will compile
using gcc3.
thanks to jason@ for pointing out the fix via this URL..
http://sourceware.org/ml/binutils/2001-05/msg00043.html
ok deraadt@
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/locore.s | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/alpha/locore.s b/sys/arch/alpha/alpha/locore.s index f517807db3e..64b6ff8606e 100644 --- a/sys/arch/alpha/alpha/locore.s +++ b/sys/arch/alpha/alpha/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.28 2005/06/17 21:54:14 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.29 2006/05/25 01:33:43 brad Exp $ */ /* $NetBSD: locore.s,v 1.94 2001/04/26 03:10:44 ross Exp $ */ /*- @@ -65,6 +65,8 @@ * rights to redistribute these changes. */ +.file 1 __FILE__ + .stabs __FILE__,100,0,0,kernel_text #include <machine/asm.h> @@ -1339,7 +1341,7 @@ bcopy_ov_short: ldq_u t2,0(a0) br zero,bcopy_da_finish - END(bcopy) + END(memcpy) /* * kcopy(const void *src, void *dst, size_t len); |