Avoid twice defined set_new_handler__FPFv_v symbol. Patch from NetBSD

This commit is contained in:
Martin Blapp 2002-03-08 14:00:00 +00:00
parent 9ca07ed0ae
commit fe99f7ef94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55723
20 changed files with 460 additions and 0 deletions

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+

View File

@ -0,0 +1,23 @@
--- ../tools/bootstrp/makefile.mk.orig Tue Jan 1 14:12:19 2002
+++ ../tools/bootstrp/makefile.mk
@@ -83,6 +83,15 @@
@echo No bootstrp for Mac OS
.ELSE # "$(OS)"=="MACOS"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="FREEBSD"
+ALLTAR2: $(LB)$/libgcc_pic.a $(LB)$/libgcc.a ALLTAR
+ @echo ""
+$(LB)$/libgcc_pic.a:
+ -objcopy -L set_new_handler__FPFv_v /usr/lib/libgcc.a $(LB)$/libgcc_pic.a
+$(LB)$/libgcc.a:
+ objcopy -L set_new_handler__FPFv_v `gcc -print-libgcc-file-name` $(LB)$/libgcc.a
+.ENDIF
+
OBJFILES= \
$(OBJ)$/sstring.obj \
$(OBJ)$/appdef.obj \
@@ -172,3 +181,4 @@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
+