Source-Changes-HG archive

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

[src/trunk]: src update all of these makefiles for the .so -> .pico change.



details:   https://anonhg.NetBSD.org/src/rev/522606a6d6eb
branches:  trunk
changeset: 752996:522606a6d6eb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 14 00:26:09 2010 +0000

description:
update all of these makefiles for the .so -> .pico change.

most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.

diffstat:

 external/gpl3/binutils/lib/libbfd/Makefile         |   4 ++--
 gnu/lib/libgcc4/Makefile.inc                       |   6 +++---
 gnu/lib/libgcc4/libgcc/Makefile                    |   6 +++---
 gnu/usr.bin/gdb6/bfd/Makefile                      |   4 ++--
 lib/libc/arch/powerpc/string/Makefile.inc          |  10 +++++-----
 sys/arch/amiga/stand/bootblock/boot/Makefile       |   4 ++--
 sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile |   4 ++--
 sys/arch/amiga/stand/bootblock/ppcboot/Makefile    |   4 ++--
 8 files changed, 21 insertions(+), 21 deletions(-)

diffs (174 lines):

diff -r 90af02cfd833 -r 522606a6d6eb external/gpl3/binutils/lib/libbfd/Makefile
--- a/external/gpl3/binutils/lib/libbfd/Makefile        Sat Mar 13 23:33:52 2010 +0000
+++ b/external/gpl3/binutils/lib/libbfd/Makefile        Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2009/09/11 22:36:12 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2010/03/14 00:26:09 mrg Exp $
 
 NOLINKLIB=     # defined
 NOLINT=                # defined
@@ -52,7 +52,7 @@
 .include <bsd.info.mk>
 
 ${OBJS} ${SOBJS}: elf32-target.h elf64-target.h
-targets.o targets.so: targmatch.h Makefile
+targets.o targets.pico: targmatch.h Makefile
 .else
 .include <bsd.prog.mk> # do nothing
 .endif
diff -r 90af02cfd833 -r 522606a6d6eb gnu/lib/libgcc4/Makefile.inc
--- a/gnu/lib/libgcc4/Makefile.inc      Sat Mar 13 23:33:52 2010 +0000
+++ b/gnu/lib/libgcc4/Makefile.inc      Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.19 2009/12/18 13:57:10 uebayasi Exp $
+#      $NetBSD: Makefile.inc,v 1.20 2010/03/14 00:26:10 mrg Exp $
 
 .if ${MKGCC} != "no"
 .if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
@@ -101,7 +101,7 @@
        ${_MKTARGET_COMPILE}
        ${COMPILE.c} -fexceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC}
 
-${LIB2_EH:.c=.so}:
+${LIB2_EH:.c=.pico}:
        ${_MKTARGET_COMPILE}
        ${COMPILE.c} ${CPICFLAGS} -fexceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC}
 
@@ -109,7 +109,7 @@
        ${_MKTARGET_COMPILE}
        ${COMPILE.c} -fexceptions -fnon-call-exceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC}
 
-${G_LIB2_DIVMOD_FUNCS:=.so}:
+${G_LIB2_DIVMOD_FUNCS:=.pico}:
        ${_MKTARGET_COMPILE}
        ${COMPILE.c} ${CPICFLAGS} -fexceptions -fnon-call-exceptions ${COPTS.${.IMPSRC:T}} -o ${.TARGET} ${.IMPSRC}
 
diff -r 90af02cfd833 -r 522606a6d6eb gnu/lib/libgcc4/libgcc/Makefile
--- a/gnu/lib/libgcc4/libgcc/Makefile   Sat Mar 13 23:33:52 2010 +0000
+++ b/gnu/lib/libgcc4/libgcc/Makefile   Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2009/12/18 13:57:10 uebayasi Exp $
+#      $NetBSD: Makefile,v 1.11 2010/03/14 00:26:10 mrg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -39,7 +39,7 @@
 
 CLEANFILES+=   ${SOBJS:=.tmp1} ${SOBJS:=.tmp2}
 
-.c.so:
+.c.pico:
        ${_MKTARGET_COMPILE}
        ${COMPILE.c} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}.tmp1
        ${NM} -pg ${.TARGET}.tmp1 | \
@@ -53,7 +53,7 @@
 .endif
        rm -f ${.TARGET}.tmp1
 
-.S.so .s.so:
+.S.pico .s.pico:
        ${_MKTARGET_COMPILE}
        ${COMPILE.S} ${CAPICFLAGS} ${CFLAGS:M-[ID]*} ${.IMPSRC} -o ${.TARGET}.tmp1
        ${NM} -pg ${.TARGET}.tmp1 | \
diff -r 90af02cfd833 -r 522606a6d6eb gnu/usr.bin/gdb6/bfd/Makefile
--- a/gnu/usr.bin/gdb6/bfd/Makefile     Sat Mar 13 23:33:52 2010 +0000
+++ b/gnu/usr.bin/gdb6/bfd/Makefile     Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2008/10/25 22:27:35 apb Exp $
+#      $NetBSD: Makefile,v 1.5 2010/03/14 00:26:09 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -34,7 +34,7 @@
 .endif
 
 ${OBJS} ${SOBJS}: elf32-target.h elf64-target.h
-targets.o targets.so: targmatch.h Makefile
+targets.o targets.pico: targmatch.h Makefile
 
 targmatch.h: config.bfd targmatch.sed
        ${_MKTARGET_CREATE}
diff -r 90af02cfd833 -r 522606a6d6eb lib/libc/arch/powerpc/string/Makefile.inc
--- a/lib/libc/arch/powerpc/string/Makefile.inc Sat Mar 13 23:33:52 2010 +0000
+++ b/lib/libc/arch/powerpc/string/Makefile.inc Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.12 2009/08/11 17:30:43 dsl Exp $
+#      $NetBSD: Makefile.inc,v 1.13 2010/03/14 00:26:10 mrg Exp $
 
 SRCS+=  bzero.S ffs.S strlen.S
 NO_SRCS+= memset.S
@@ -9,16 +9,16 @@
 .if ${MACHINE} == "evbppc"
 bcopy.o: bcopy.c
 bcopy.po: bcopy.c
-bcopy.so: bcopy.c
+bcopy.pico: bcopy.c
 memcpy.o: memcpy.c
 memcpy.po: memcpy.c
-memcpy.so: memcpy.c
+memcpy.pico: memcpy.c
 memcmp.o: memcmp.c
 memcmp.po: memcmp.c
-memcmp.so: memcmp.c
+memcmp.pico: memcmp.c
 memmove.o: memmove.c
 memmove.po: memmove.c
-memmove.so: memmove.c
+memmove.pico: memmove.c
 .else
 SRCS+= memcmp.S bcopy.S memcpy.S memmove.S
 .endif
diff -r 90af02cfd833 -r 522606a6d6eb sys/arch/amiga/stand/bootblock/boot/Makefile
--- a/sys/arch/amiga/stand/bootblock/boot/Makefile      Sat Mar 13 23:33:52 2010 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/Makefile      Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.41 2009/12/29 20:21:45 elad Exp $
+#      $NetBSD: Makefile,v 1.42 2010/03/14 00:26:10 mrg Exp $
 
 .include <bsd.sys.mk>          # for HOST_SH
 
@@ -32,7 +32,7 @@
 # prefer our assembler versions over assembler, and assembler over C:
 
 .SUFFIXES:
-.SUFFIXES: .out .o .po .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
+.SUFFIXES: .out .o .po .pico .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
 
 FILES= boot.amiga
 BINDIR=/usr/mdec
diff -r 90af02cfd833 -r 522606a6d6eb sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
--- a/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile        Sat Mar 13 23:33:52 2010 +0000
+++ b/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile        Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2009/12/29 20:21:46 elad Exp $
+#      $NetBSD: Makefile,v 1.13 2010/03/14 00:26:10 mrg Exp $
 
 ### what we need:
 
@@ -18,7 +18,7 @@
 # prefer our assembler versions over assembler, and assembler over C:
 
 .SUFFIXES:
-.SUFFIXES: .out .o .po .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
+.SUFFIXES: .out .o .po .pico .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
 
 FILES= bootxx_ffs bootxx_fd
 BINDIR=/usr/mdec
diff -r 90af02cfd833 -r 522606a6d6eb sys/arch/amiga/stand/bootblock/ppcboot/Makefile
--- a/sys/arch/amiga/stand/bootblock/ppcboot/Makefile   Sat Mar 13 23:33:52 2010 +0000
+++ b/sys/arch/amiga/stand/bootblock/ppcboot/Makefile   Sun Mar 14 00:26:09 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2009/12/29 20:21:46 elad Exp $
+#      $NetBSD: Makefile,v 1.8 2010/03/14 00:26:10 mrg Exp $
 
 ### what we need:
 
@@ -13,7 +13,7 @@
 # prefer our assembler versions over assembler, and assembler over C:
 
 .SUFFIXES:
-.SUFFIXES: .out .o .po .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
+.SUFFIXES: .out .o .po .pico .so .s .S .c .cc .C .f .y .l .ln .m4 .sh
 
 FILES= xxppcboot fdppcboot
 BINDIR=/usr/mdec



Home | Main Index | Thread Index | Old Index