On Tue, Oct 04, 2005 at 01:19:33PM +0200, Blaisorblade wrote: > > extra-$(CONFIG_MODE_TT) += unmap.o > > $(obj)/unmap.o: _c_flags = $(call unprofile,$(CFLAGS)) > Where went objcopy -G switcheroo? > > Possibly (it doesn't link into glibc) it's trivially ok, but please make sure > as the original fixed bug was environment-dependant (it happened only on some > Gentoo NPTL-only systems, and maybe the problem disappeared in later glibc > versions), so you wouldn't see the breakage.
For one thing, it doesn't link into anything; for another, NPTL or not, it won't generate any non-trivial sections - it's one static variable (*not* per-thread, etc.) and one function with a bunch of inline assembler in it. Built as kernel object. IOW, this sucker is as self-contained as it get - .text, .bss, the only relocation being reference to static variable from code (i.e. offset relative to wherever .bss ends up) and the only non-local symbol being switcheroo. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel