Skip to contentSkip to conversation

ppc32 ld.script fix for building on ppc64

PATCH New Al Viro 1 participant 1 message Sep 28, 2005

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 ppc32 ld.script fix for building on ppc64

In arch/ppc/boot/ld.script we need OUTPUT_ARCH(powerpc:common) for
the same reasons why we need it in vmlinux.lds.S; when we build on ppc64 box, we need to be explicit about the target.

	See http://linus.bkbits.net:8080/linux-2.5/[email protected] for

the corresponding fix in vmlinux.lds.S.

----

arch/ppc/boot/ld.script +1 -1
diff -urN RC14-rc2-git6-uml-kconfig/arch/ppc/boot/ld.script RC14-rc2-git6-ppc-arch/arch/ppc/boot/ld.script
@@ -1,4 +1,4 @@
-OUTPUT_ARCH(powerpc)
+OUTPUT_ARCH(powerpc:common)
 SECTIONS
 {
   /* Read-only sections, merged into text segment: */