Skip to contentSkip to conversation

sparc: drop kallsyms bits

PATCH New Sam Ravnborg 1 participant 1 message Nov 29, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 5/10 sparc: drop kallsyms bits

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.

---
 arch/sparc/Makefile      |    4 ----
 arch/sparc/boot/Makefile |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)
arch/sparc/Makefile +0 -4
index 04ea968..b8d1c5b 100644
@@ -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
 
arch/sparc/boot/Makefile +1 -1
index 4fd5620..014e3d1 100644
@@ -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.
Signature · 1 line
1.5.6.GIT