Date: Tue, 22 Apr 1997 06:57:57 -0700 From: John Polstra <jdp@polstra.com> To: Poul-Henning Kamp <phk@dk.tfs.com> 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 Message-ID: <199704221357.GAA03809@austin.polstra.com> In-Reply-To: Your message of "Tue, 22 Apr 1997 09:18:24 %2B0200." <1653.861693504@critter> References: <1653.861693504@critter>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704221357.GAA03809>