The patch titled i386 vDSO: install unstripped copies on disk has been removed from the -mm tree. Its filename was i386-vdso-install-unstripped-copies-on-disk.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: i386 vDSO: install unstripped copies on disk From: Roland McGrath <roland@xxxxxxxxxx> This keeps an unstripped copy of the vDSO images built before they are stripped and embedded in the kernel. The unstripped copies get installed in $(MODLIB)/vdso/ by "make install". These files can be useful when they contain source-level debugging information. Signed-off-by: Roland McGrath <roland@xxxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/i386/Makefile | 1 + arch/i386/kernel/Makefile | 31 ++++++++++++++++++++++++------- 2 files changed, 25 insertions(+), 7 deletions(-) diff -puN arch/i386/Makefile~i386-vdso-install-unstripped-copies-on-disk arch/i386/Makefile --- a/arch/i386/Makefile~i386-vdso-install-unstripped-copies-on-disk +++ a/arch/i386/Makefile @@ -143,6 +143,7 @@ fdimage fdimage144 fdimage288 isoimage: install: $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install + $(Q)$(MAKE) $(build)=arch/i386/kernel $@ archclean: $(Q)$(MAKE) $(clean)=arch/i386/boot diff -puN arch/i386/kernel/Makefile~i386-vdso-install-unstripped-copies-on-disk arch/i386/kernel/Makefile --- a/arch/i386/kernel/Makefile~i386-vdso-install-unstripped-copies-on-disk +++ a/arch/i386/kernel/Makefile @@ -52,7 +52,8 @@ obj-$(CONFIG_SCx200) += scx200.o # We must build both images before we can assemble it. # Note: kbuild does not track this dependency due to usage of .incbin $(obj)/vsyscall.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so -targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) +targets += $(foreach F,$(addprefix vsyscall-,int80 sysenter),\ + $F.o $F.so $F.so.dbg) targets += vsyscall-note.o vsyscall.lds # The DSO images are built using a special linker script. @@ -62,16 +63,32 @@ quiet_cmd_syscall = SYSCALL $@ export CPPFLAGS_vsyscall.lds += -P -C -U$(ARCH) -vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \ +vsyscall-flags = -shared -Wl,-soname=linux-gate.so.1 \ $(call ld-option, -Wl$(comma)--hash-style=sysv) -SYSCFLAGS_vsyscall-sysenter.so = $(vsyscall-flags) -SYSCFLAGS_vsyscall-int80.so = $(vsyscall-flags) +SYSCFLAGS_vsyscall-sysenter.so.dbg = $(vsyscall-flags) +SYSCFLAGS_vsyscall-int80.so.dbg = $(vsyscall-flags) -$(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so: \ -$(obj)/vsyscall-%.so: $(src)/vsyscall.lds \ - $(obj)/vsyscall-%.o $(obj)/vsyscall-note.o FORCE +$(obj)/vsyscall-int80.so.dbg $(obj)/vsyscall-sysenter.so.dbg: \ +$(obj)/vsyscall-%.so.dbg: $(src)/vsyscall.lds \ + $(obj)/vsyscall-%.o $(obj)/vsyscall-note.o FORCE $(call if_changed,syscall) +$(obj)/%.so: OBJCOPYFLAGS := -S +$(obj)/%.so: $(obj)/%.so.dbg FORCE + $(call if_changed,objcopy) + +vdsos := vdso-int80.so vdso-sysenter.so + +quiet_cmd_vdso_install = INSTALL $@ + cmd_vdso_install = cp $(@:vdso-%.so=$(obj)/vsyscall-%.so.dbg) \ + $(MODLIB)/vdso/$@ + +$(vdsos): + @mkdir -p $(MODLIB)/vdso + $(call cmd,vdso_install) + +install: $(vdsos) + # We also create a special relocatable object that should mirror the symbol # table and layout of the linked DSO. With ld -R we can then refer to # these symbols in the kernel code rather than hand-coded addresses. _ Patches currently in -mm which might be from roland@xxxxxxxxxx are powerpc-vdso-install-unstripped-copies-on-disk.patch pass-g-to-assembler-under-config_debug_info.patch clone-flag-clone_parent_tidptr-leaves-invalid-results-in-memory.patch add-sys-module-name-notes.patch do_sigaction-remove-now-unneeded-recalc_sigpending.patch handle-the-multi-threaded-inits-exit-properly.patch add-linux-elfcore-compath.patch x86_64-use-linux-elfcore-compath.patch powerpc-use-linux-elfcore-compath.patch wait_task_zombie-remove-unneeded-child-signal-check.patch wait_task_zombie-fix-2-3-races-vs-forget_original_parent.patch exit_notify-dont-take-tasklist-for-tif_sigpending-re-targeting.patch zap_other_threads-dont-optimize-thread_group_empty-case.patch add-mmf_dump_elf_headers.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html