[PATCH] uml: include the linker script rather than symlink it
Make vmlinux.lds.S include appopriate script instead of playing games with symlinks. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Este commit está contenido en:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
|
||||
extra-y := vmlinux.lds
|
||||
clean-files := vmlinux.lds.S
|
||||
clean-files :=
|
||||
|
||||
obj-y = checksum.o config.o exec_kern.o exitcode.o \
|
||||
helper.o init_task.o irq.o irq_user.o ksyms.o main.o mem.o mem_user.o \
|
||||
|
6
arch/um/kernel/vmlinux.lds.S
Archivo normal
6
arch/um/kernel/vmlinux.lds.S
Archivo normal
@@ -0,0 +1,6 @@
|
||||
#include <linux/config.h>
|
||||
#ifdef CONFIG_LD_SCRIPT_STATIC
|
||||
#include "uml.lds.S"
|
||||
#else
|
||||
#include "dyn.lds.S"
|
||||
#endif
|
Referencia en una nueva incidencia
Block a user