Skip to contentSkip to conversation

sparc32 block needed in final image link build fix

PATCH New Paul Jackson 1 participant 1 message Dec 9, 2005 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc32 block needed in final image link build fix

With this fix, sparc links vmlinuz again using crosstool. Without this fix, the final link fails missing several dozen dozen symbols, beginning with:

kernel/built-in.o(.text+0x6fd0): In function `do_exit':
: undefined reference to `exit_io_context'

(exit_io_context is defined in block/ll_rw_blk.c).

No further testing whatsoever was done after the link succeeded.

---

 arch/sparc/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/sparc/Makefile +1 -1
@@ -34,7 +34,7 @@ libs-y += arch/sparc/prom/ arch/sparc/li
 # Renaming is done to avoid confusing pattern matching rules in 2.5.45 (multy-)
 INIT_Y		:= $(patsubst %/, %/built-in.o, $(init-y))
 CORE_Y		:= $(core-y)
-CORE_Y		+= kernel/ mm/ fs/ ipc/ security/ crypto/
+CORE_Y		+= kernel/ mm/ fs/ ipc/ security/ crypto/ block/
 CORE_Y		:= $(patsubst %/, %/built-in.o, $(CORE_Y))
 DRIVERS_Y	:= $(patsubst %/, %/built-in.o, $(drivers-y))
 NET_Y		:= $(patsubst %/, %/built-in.o, $(net-y))
Signature · 3 lines
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <[email protected]> 1.650.933.1373