Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so sh3 also needs libgcc_pic for millicode (c...



details:   https://anonhg.NetBSD.org/src/rev/7b0868213664
branches:  trunk
changeset: 766553:7b0868213664
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Jun 27 14:27:56 2011 +0000

description:
sh3 also needs libgcc_pic for millicode (cf. revision 1.107)

diffstat:

 libexec/ld.elf_so/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b05f7cdf804b -r 7b0868213664 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Mon Jun 27 13:50:31 2011 +0000
+++ b/libexec/ld.elf_so/Makefile        Mon Jun 27 14:27:56 2011 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index