[PATCH 05/10] sparc: drop kallsyms bits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The variable kallsyms.o are not exported so boot/Makefile
never sees it. So drop it to avoid being fooled to think
it actually works.

In Makefile a second pass over kallsyms was forced but this
was not justified and is not needed - drop it.

We can add back a working solution if kallsyms support is needed
in the btfixed up kernel.

For now it is better to just drop the stuff as it do not do as
originally intended.

Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
---
 arch/sparc/Makefile      |    4 ----
 arch/sparc/boot/Makefile |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile
index 04ea968..b8d1c5b 100644
--- a/arch/sparc/Makefile
+++ b/arch/sparc/Makefile
@@ -40,10 +40,6 @@ VMLINUX_MAIN := $(core-y) kernel/ mm/ fs/ ipc/ security/ crypto/ block/
 VMLINUX_MAIN += $(patsubst %/, %/lib.a, $(libs-y)) $(libs-y)
 VMLINUX_MAIN += $(drivers-y) $(net-y)
 
-ifdef CONFIG_KALLSYMS
-kallsyms.o := .tmp_kallsyms2.o
-endif
-
 # Default target
 all: zImage
 
diff --git a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile
index 4fd5620..014e3d1 100644
--- a/arch/sparc/boot/Makefile
+++ b/arch/sparc/boot/Makefile
@@ -41,7 +41,7 @@ BTOBJS := $(patsubst %/, %/built-in.o, $(VMLINUX_INIT))
 BTLIBS := $(patsubst %/, %/built-in.o, $(VMLINUX_MAIN))
 LDFLAGS_image := -T arch/sparc/kernel/vmlinux.lds $(BTOBJS) \
                   --start-group $(BTLIBS) --end-group \
-                  $(kallsyms.o) $(obj)/btfix.o
+                  $(obj)/btfix.o
 
 # Link the final image including btfixup'ed symbols.
 # This is a replacement for the link done in the top-level Makefile.
-- 
1.5.6.GIT

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux