File lilo-libgcc.patch of Package lilo

--- lilo.ppc/bootheader/scripts/make_zimage_chrp.sh.xx	2011-06-22 16:33:00.000000000 +0200
+++ lilo.ppc/bootheader/scripts/make_zimage_chrp.sh	2011-06-22 16:48:54.000000000 +0200
@@ -138,7 +138,8 @@
 	$obj_dir/chrp/chrp.a \
 	$obj_dir/common/common.a \
 	$obj_dir/chrp/prom.a \
-	$obj_dir/common/zlib.a
+	$obj_dir/common/zlib.a \
+	`gcc -m32 -print-libgcc-file-name`
 #
 if [ "$no_addnote" = "false" ] ; then
 	case "$HOSTTYPE" in
--- lilo.ppc/bootheader/scripts/make_zimage_pmac_newworld.sh.xx	2011-06-22 16:33:00.000000000 +0200
+++ lilo.ppc/bootheader/scripts/make_zimage_pmac_newworld.sh	2011-06-22 16:49:11.000000000 +0200
@@ -119,7 +119,8 @@
 	$obj_dir/chrp/chrp.a \
 	$obj_dir/common/common.a \
 	$obj_dir/chrp/prom.a \
-	$obj_dir/common/zlib.a
+	$obj_dir/common/zlib.a \
+	`gcc -m32 -print-libgcc-file-name`
 
 rm -f "$output"
 cp "$tmp/output" "$output"
--- lilo.ppc/bootheader/scripts/make_zimage_pmac_oldworld_coff.sh.xx	2011-06-22 16:33:00.000000000 +0200
+++ lilo.ppc/bootheader/scripts/make_zimage_pmac_oldworld_coff.sh	2011-06-22 16:49:18.000000000 +0200
@@ -120,7 +120,8 @@
 	$obj_dir/chrp/chrp.a \
 	$obj_dir/common/common.a \
 	$obj_dir/chrp/prom.a \
-	$obj_dir/common/zlib.a
+	$obj_dir/common/zlib.a \
+	`gcc -m32 -print-libgcc-file-name`
 #
 objcopy \
 	-O aixcoff-rs6000 \
--- lilo.ppc/bootheader/scripts/make_zimage_prep.sh.xx	2011-06-22 16:33:00.000000000 +0200
+++ lilo.ppc/bootheader/scripts/make_zimage_prep.sh	2011-06-22 16:49:25.000000000 +0200
@@ -116,7 +116,8 @@
 	$obj_dir/prep/prep.a \
 	$obj_dir/common/common.a \
 	$obj_dir/chrp/prom.a \
-	$obj_dir/common/zlib.a
+	$obj_dir/common/zlib.a \
+	`gcc -m32 -print-libgcc-file-name`
 
 objcopy \
 	-O elf32-powerpc \
--- lilo.ppc/bootheader/scripts/make_zimage_ps3.sh.xx	2011-06-22 16:33:00.000000000 +0200
+++ lilo.ppc/bootheader/scripts/make_zimage_ps3.sh	2011-06-22 16:49:32.000000000 +0200
@@ -124,6 +124,7 @@
 	$tmp/ps3-head.o \
 	$tmp/empty.o \
 	$obj_dir/ps3/ps3.a \
+	`gcc -m32 -print-libgcc-file-name`
 
 # convert to RAW format
 objcopy -O binary --set-section-flags=.bss=contents,alloc,load,data $tmp/zImage.ps3 $tmp/zImage.ps3.bin
openSUSE Build Service is sponsored by