obsolete libgcc_pic and friends. all libgcc's are supposed to be pic
for platforms with shlibs already (and are.) this obsoletes our hacks for the libgcc specs to use libgcc_pic, and fixes a couple of other issues reported to me directly.
This commit is contained in:
parent
d8a2eb81da
commit
4a9d1308c3
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ad.mips64eb,v 1.56 2011/09/25 04:11:47 christos Exp $
|
||||
# $NetBSD: ad.mips64eb,v 1.57 2011/10/07 09:15:21 mrg Exp $
|
||||
./usr/bin/elf2aout comp-obsolete obsolete
|
||||
./usr/bin/elf2ecoff comp-sysutil-bin
|
||||
./usr/include/gcc-4.5/loongson.h comp-c-include gcccmds,gcc=45
|
||||
@ -276,9 +276,9 @@
|
||||
./usr/lib/64/libgcc.a comp-c-lib compat
|
||||
./usr/lib/64/libgcc_eh.a comp-c-lib compat,pic
|
||||
./usr/lib/64/libgcc_eh_p.a comp-c-proflib compat,profile,pic
|
||||
./usr/lib/64/libgcc_eh_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/64/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/64/libgcc_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/64/libgcc_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/64/libgcc_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/64/libgcc_s.a comp-obsolete obsolete
|
||||
./usr/lib/64/libgcc_s.so base-sys-shlib compat,pic
|
||||
./usr/lib/64/libgcc_s_p.a comp-obsolete obsolete
|
||||
@ -853,9 +853,9 @@
|
||||
./usr/lib/o32/libgcc.a comp-c-lib compat
|
||||
./usr/lib/o32/libgcc_eh.a comp-c-lib compat,pic
|
||||
./usr/lib/o32/libgcc_eh_p.a comp-c-proflib compat,profile,pic
|
||||
./usr/lib/o32/libgcc_eh_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/o32/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/o32/libgcc_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/o32/libgcc_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/o32/libgcc_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/o32/libgcc_s.a comp-obsolete obsolete
|
||||
./usr/lib/o32/libgcc_s.so base-sys-shlib compat,pic
|
||||
./usr/lib/o32/libgcc_s_p.a comp-obsolete obsolete
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: ad.mips64el,v 1.56 2011/09/25 04:11:47 christos Exp $
|
||||
# $NetBSD: ad.mips64el,v 1.57 2011/10/07 09:15:21 mrg Exp $
|
||||
./usr/bin/elf2aout comp-obsolete obsolete
|
||||
./usr/bin/elf2ecoff comp-sysutil-bin
|
||||
./usr/include/gcc-4.5/loongson.h comp-c-include gcccmds,gcc=45
|
||||
@ -276,9 +276,9 @@
|
||||
./usr/lib/64/libgcc.a comp-c-lib compat
|
||||
./usr/lib/64/libgcc_eh.a comp-c-lib compat,pic
|
||||
./usr/lib/64/libgcc_eh_p.a comp-c-proflib compat,profile,pic
|
||||
./usr/lib/64/libgcc_eh_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/64/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/64/libgcc_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/64/libgcc_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/64/libgcc_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/64/libgcc_s.a comp-obsolete obsolete
|
||||
./usr/lib/64/libgcc_s.so base-sys-shlib compat,pic
|
||||
./usr/lib/64/libgcc_s_p.a comp-obsolete obsolete
|
||||
@ -853,9 +853,9 @@
|
||||
./usr/lib/o32/libgcc.a comp-c-lib compat
|
||||
./usr/lib/o32/libgcc_eh.a comp-c-lib compat,pic
|
||||
./usr/lib/o32/libgcc_eh_p.a comp-c-proflib compat,profile,pic
|
||||
./usr/lib/o32/libgcc_eh_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/o32/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/o32/libgcc_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/o32/libgcc_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/o32/libgcc_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/o32/libgcc_s.a comp-obsolete obsolete
|
||||
./usr/lib/o32/libgcc_s.so base-sys-shlib compat,pic
|
||||
./usr/lib/o32/libgcc_s_p.a comp-obsolete obsolete
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: md.amd64,v 1.140 2011/09/25 07:00:45 mrg Exp $
|
||||
# $NetBSD: md.amd64,v 1.141 2011/10/07 09:15:21 mrg Exp $
|
||||
./usr/include/amd64 comp-c-include
|
||||
./usr/include/amd64/ansi.h comp-c-include
|
||||
./usr/include/amd64/aout_machdep.h comp-c-include
|
||||
@ -545,10 +545,10 @@
|
||||
./usr/lib/i386/libgcc_eh.a comp-c-lib compat,pic
|
||||
./usr/lib/i386/libgcc_eh_g.a comp-c-proflib compat,debuglib
|
||||
./usr/lib/i386/libgcc_eh_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/i386/libgcc_eh_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/i386/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/i386/libgcc_g.a comp-c-proflib compat,debuglib
|
||||
./usr/lib/i386/libgcc_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/i386/libgcc_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/i386/libgcc_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/i386/libgcc_s.a comp-obsolete obsolete
|
||||
./usr/lib/i386/libgcc_s.so comp-sys-shlib compat,pic
|
||||
./usr/lib/i386/libgcc_s_g.a comp-c-proflib compat,debuglib
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: md.sparc64,v 1.125 2011/09/26 00:07:26 mrg Exp $
|
||||
# $NetBSD: md.sparc64,v 1.126 2011/10/07 09:15:21 mrg Exp $
|
||||
./usr/include/gcc-4.5/tgmath.h comp-c-include gcccmds,gcc=45
|
||||
./usr/include/ieeefp.h comp-c-include
|
||||
./usr/include/sparc comp-c-include
|
||||
@ -404,10 +404,10 @@
|
||||
./usr/lib/sparc/libgcc_eh.a comp-c-lib compat,pic
|
||||
./usr/lib/sparc/libgcc_eh_g.a -unknown- compat,debuglib,pic
|
||||
./usr/lib/sparc/libgcc_eh_p.a comp-c-proflib compat,profile,pic
|
||||
./usr/lib/sparc/libgcc_eh_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/sparc/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/sparc/libgcc_g.a -unknown- compat,debuglib
|
||||
./usr/lib/sparc/libgcc_p.a comp-c-proflib compat,profile
|
||||
./usr/lib/sparc/libgcc_pic.a comp-c-piclib compat,pic
|
||||
./usr/lib/sparc/libgcc_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/sparc/libgcc_s.a comp-obsolete obsolete
|
||||
./usr/lib/sparc/libgcc_s.so base-sys-shlib compat,pic
|
||||
./usr/lib/sparc/libgcc_s_g.a comp-obsolete obsolete
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: shl.mi,v 1.194 2011/09/25 04:11:48 christos Exp $
|
||||
# $NetBSD: shl.mi,v 1.195 2011/10/07 09:15:21 mrg Exp $
|
||||
#
|
||||
# Note: don't delete entries from here - mark them as "obsolete" instead.
|
||||
#
|
||||
@ -39,8 +39,8 @@
|
||||
./usr/lib/libg2c_pic.a comp-obsolete gcc=4,obsolete
|
||||
./usr/lib/libgcc_eh.a comp-c-lib
|
||||
./usr/lib/libgcc_eh_p.a comp-c-proflib profile
|
||||
./usr/lib/libgcc_eh_pic.a comp-c-piclib
|
||||
./usr/lib/libgcc_pic.a comp-c-lib
|
||||
./usr/lib/libgcc_eh_pic.a comp-c-piclib obsolete
|
||||
./usr/lib/libgcc_pic.a comp-c-lib obsolete
|
||||
./usr/lib/libgmp.so comp-c-shlib obsolete
|
||||
./usr/lib/libgmp.so.10 comp-c-shlib obsolete
|
||||
./usr/lib/libgmp.so.10.2 comp-c-shlib obsolete
|
||||
|
4
external/gpl3/gcc/lib/libgcc/libgcc/Makefile
vendored
4
external/gpl3/gcc/lib/libgcc/libgcc/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2011/08/15 09:19:21 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2011/10/07 09:15:21 mrg Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
@ -33,6 +33,8 @@ BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/rs6000/${file:S/.S$/.asm/} ${file}
|
||||
.endfor
|
||||
. endif
|
||||
|
||||
MKPIC:= no
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2011/08/15 09:19:21 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/10/07 09:15:22 mrg Exp $
|
||||
|
||||
REQUIRETOOLS= yes
|
||||
NOLINT= # defined
|
||||
@ -14,6 +14,8 @@ LIB= gcc_eh
|
||||
SRCS+= ${LIB2_EH}
|
||||
COPTS.unwind-dw2.c = -Wno-stack-protector
|
||||
|
||||
MKPIC:= no
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
.else
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.109 2011/06/27 14:27:56 uwe Exp $
|
||||
# $NetBSD: Makefile,v 1.110 2011/10/07 09:15:21 mrg Exp $
|
||||
#
|
||||
# NOTE: when changing ld.so, ensure that ldd still compiles.
|
||||
#
|
||||
@ -121,8 +121,8 @@ DPADD+= ${CLIBOBJ}/libc.a
|
||||
|
||||
.if ${MACHINE_CPU} == "hppa" || ${MACHINE_CPU} == "sh3"
|
||||
# for $$divU, $$remU etc. (millicode)
|
||||
LDADD+= -lgcc_pic
|
||||
DPADD+= ${LIBGCC_PIC}
|
||||
LDADD+= -lgcc
|
||||
DPADD+= ${LIBGCC}
|
||||
.endif
|
||||
|
||||
STRIPFLAG=
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.hostprog.mk,v 1.64 2011/09/10 16:57:35 apb Exp $
|
||||
# $NetBSD: bsd.hostprog.mk,v 1.65 2011/10/07 09:15:22 mrg Exp $
|
||||
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
|
||||
|
||||
.include <bsd.init.mk>
|
||||
@ -24,7 +24,6 @@ LIBEVENT?= /usr/lib/libevent.a
|
||||
LIBFETCH?= /usr/lib/libfetch.a
|
||||
LIBFORM?= /usr/lib/libform.a
|
||||
LIBGCC?= /usr/lib/libgcc.a
|
||||
LIBGCC_PIC?= /usr/lib/libgcc_pic.a
|
||||
LIBGNUMALLOC?= /usr/lib/libgnumalloc.a
|
||||
LIBINTL?= /usr/lib/libintl.a
|
||||
LIBIPSEC?= /usr/lib/libipsec.a
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: bsd.lib.mk,v 1.317 2011/09/25 11:20:41 apb Exp $
|
||||
# $NetBSD: bsd.lib.mk,v 1.318 2011/10/07 09:15:22 mrg Exp $
|
||||
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
|
||||
|
||||
.include <bsd.init.mk>
|
||||
@ -534,7 +534,7 @@ DPLIBC ?= ${DESTDIR}${LIBC_SO}
|
||||
.else
|
||||
LDLIBC ?= -nodefaultlibs
|
||||
.if ${LIB} == "c"
|
||||
LDADD+= -lgcc_pic
|
||||
LDADD+= -lgcc
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user