From owner-cvs-sys Tue Apr 22 06:58:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA16028 for cvs-sys-outgoing; Tue, 22 Apr 1997 06:58:03 -0700 (PDT) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA16016; Tue, 22 Apr 1997 06:58:00 -0700 (PDT) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.5/8.8.5) with ESMTP id GAA03809; Tue, 22 Apr 1997 06:57:58 -0700 (PDT) Message-Id: <199704221357.GAA03809@austin.polstra.com> To: Poul-Henning Kamp cc: CVS-committers@freebsd.org, cvs-all@freebsd.org, cvs-sys@freebsd.org Subject: Re: 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 In-reply-to: Your message of "Tue, 22 Apr 1997 09:18:24 +0200." <1653.861693504@critter> References: <1653.861693504@critter> Date: Tue, 22 Apr 1997 06:57:57 -0700 From: John Polstra Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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". > > Urg. This complicates the sysctl a fair bit. Can't we find some way > to build this list automagically ? I will take a look at it and see what I can do. Remember, it won't break the a.out kernel even if it is wrong. It affects only the ELF kernel. No emergency measures are necessary. > If we added a .stab for all linkersets, couldn't we gather it from > there ? It would have to be done in some sort of last-minute pre-link step, after everything else had already been compiled, but I suppose it is possible. I don't really like the approach, because .stabs don't even officially exist in ELF. GCC emits them, but only for the brain-damaged reason that they never could get cc1plus to emit usable DWARF. The assmbler and linker pass .stabs through, but they don't understand them in any way. I'll take a look at the SYSCTL macros. I may be able to get them to emit the necessary stuff to do it automatically. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth