Date: Mon, 21 Apr 1997 23:55:51 -0700 (PDT) From: John Polstra <jdp> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf Makefile.i386 src/sys/i386/i386 setdef0.c setdef1.c setdefs.h identcpu.c locore.s machdep.c swtch.s src/sys/i386/isa npx.c src/sys/sys cdefs.h kernel.h src/sys/gnu/i386/fpemul div_small.s fpu_asm.h poly_div.s poly_mul64.s polynomial.s reg_div.s reg_norm.s reg_round.s reg_u_add.s reg_u_div.s reg_u_mul.s reg_u_sub.s wm_shrx.s wm_sqrt.s src/sys/i386/include asnames.h asmacros.h Message-ID: <199704220655.XAA19168@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jdp 97/04/21 23:55:50 Modified: sys/gnu/i386/fpemul div_small.s fpu_asm.h poly_div.s poly_mul64.s polynomial.s reg_div.s reg_norm.s reg_round.s reg_u_add.s reg_u_div.s reg_u_mul.s reg_u_sub.s wm_shrx.s wm_sqrt.s sys/i386/conf Makefile.i386 sys/i386/i386 identcpu.c locore.s machdep.c swtch.s sys/i386/include asmacros.h sys/i386/isa npx.c sys/sys cdefs.h kernel.h Added: sys/i386/i386 setdef0.c setdef1.c setdefs.h sys/i386/include asnames.h Log: Make the necessary changes so that an ELF kernel can be built. I have successfully built, booted, and run a number of different ELF kernel configurations, including GENERIC. LINT also builds and links cleanly, though I have not tried to boot it. The impact on developers is virtually nil, except for two things. All linker sets that might possibly be present in the kernel must be listed in "sys/i386/i386/setdefs.h". And all C symbols that are also referenced from assembly language code must be listed in "sys/i386/include/asnames.h". It so happens that failure to do these things will have no impact on the a.out kernel. But it will break the build of the ELF kernel. The ELF bootloader works, but it is not ready to commit quite yet. Revision Changes Path 1.7 +2 -6 src/sys/gnu/i386/fpemul/div_small.s 1.7 +2 -1 src/sys/gnu/i386/fpemul/fpu_asm.h 1.7 +4 -10 src/sys/gnu/i386/fpemul/poly_div.s 1.7 +2 -4 src/sys/gnu/i386/fpemul/poly_mul64.s 1.7 +2 -4 src/sys/gnu/i386/fpemul/polynomial.s 1.7 +2 -5 src/sys/gnu/i386/fpemul/reg_div.s 1.7 +3 -9 src/sys/gnu/i386/fpemul/reg_norm.s 1.7 +3 -5 src/sys/gnu/i386/fpemul/reg_round.s 1.7 +2 -4 src/sys/gnu/i386/fpemul/reg_u_add.s 1.7 +3 -6 src/sys/gnu/i386/fpemul/reg_u_div.s 1.7 +3 -6 src/sys/gnu/i386/fpemul/reg_u_mul.s 1.7 +2 -4 src/sys/gnu/i386/fpemul/reg_u_sub.s 1.7 +2 -5 src/sys/gnu/i386/fpemul/wm_shrx.s 1.7 +3 -6 src/sys/gnu/i386/fpemul/wm_sqrt.s 1.94 +23 -9 src/sys/i386/conf/Makefile.i386 1.15 +5 -3 src/sys/i386/i386/identcpu.c 1.85 +5 -5 src/sys/i386/i386/locore.s 1.238 +7 -1 src/sys/i386/i386/machdep.c 1.47 +2 -2 src/sys/i386/i386/swtch.s 1.16 +23 -7 src/sys/i386/include/asmacros.h 1.41 +9 -5 src/sys/i386/isa/npx.c 1.14 +6 -2 src/sys/sys/cdefs.h 1.28 +20 -2 src/sys/sys/kernel.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704220655.XAA19168>