Module Name: src
Committed By: uwe
Date: Mon Jun 27 14:27:56 UTC 2011
Modified Files:
src/libexec/ld.elf_so: Makefile
Log Message:
sh3 also needs libgcc_pic for millicode (cf. revision 1.107)
To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/libexec/ld.elf_so/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/Makefile
diff -u src/libexec/ld.elf_so/Makefile:1.108 src/libexec/ld.elf_so/Makefile:1.109
--- src/libexec/ld.elf_so/Makefile:1.108 Sat Jun 25 05:45:12 2011
+++ src/libexec/ld.elf_so/Makefile Mon Jun 27 14:27:56 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.108 2011/06/25 05:45:12 nonaka Exp $
+# $NetBSD: Makefile,v 1.109 2011/06/27 14:27:56 uwe Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -119,7 +119,7 @@
DPADD+= ${CLIBOBJ}/libc.a
.endif
-.if ${MACHINE_CPU} == "hppa"
+.if ${MACHINE_CPU} == "hppa" || ${MACHINE_CPU} == "sh3"
# for $$divU, $$remU etc. (millicode)
LDADD+= -lgcc_pic
DPADD+= ${LIBGCC_PIC}