From 9173fca6514dbab26ecb483658326b6d4e997408 Mon Sep 17 00:00:00 2001 From: kristerw Date: Fri, 9 Jul 2004 20:43:47 +0000 Subject: Update to binutils-2.15. Changes since binutils-2.9 are not easy to summarize, since it represent more than 6 years of active development... Solves PR pkg/13442. --- cross/binutils/Makefile | 73 +- cross/binutils/PLIST | 1606 ++++++++++++++++++++++++++++- cross/binutils/distinfo | 24 +- cross/binutils/files/exclude | 3 - cross/binutils/patches/patch-aa | 45 - cross/binutils/patches/patch-ab | 37 - cross/binutils/patches/patch-ac | 163 --- cross/binutils/patches/patch-af | 8 +- cross/binutils/patches/patch-ai | 15 - cross/binutils/patches/patch-aj | 14 - cross/binutils/patches/patch-ak | 41 - cross/binutils/patches/patch-al | 35 - cross/binutils/patches/patch-am | 116 --- cross/binutils/patches/patch-an | 13 - cross/binutils/patches/patch-archive | 155 --- cross/binutils/patches/patch-armthirtytwo | 748 -------------- cross/binutils/patches/patch-arrays | 82 -- cross/binutils/patches/patch-mips | 34 - cross/binutils/patches/patch-msixtyeightk | 72 -- cross/binutils/patches/patch-powerpc | 13 - cross/binutils/patches/patch-sh | 410 -------- 21 files changed, 1625 insertions(+), 2082 deletions(-) delete mode 100644 cross/binutils/files/exclude delete mode 100644 cross/binutils/patches/patch-aa delete mode 100644 cross/binutils/patches/patch-ab delete mode 100644 cross/binutils/patches/patch-ac delete mode 100644 cross/binutils/patches/patch-ai delete mode 100644 cross/binutils/patches/patch-aj delete mode 100644 cross/binutils/patches/patch-ak delete mode 100644 cross/binutils/patches/patch-al delete mode 100644 cross/binutils/patches/patch-am delete mode 100644 cross/binutils/patches/patch-an delete mode 100644 cross/binutils/patches/patch-archive delete mode 100644 cross/binutils/patches/patch-armthirtytwo delete mode 100644 cross/binutils/patches/patch-arrays delete mode 100644 cross/binutils/patches/patch-mips delete mode 100644 cross/binutils/patches/patch-msixtyeightk delete mode 100644 cross/binutils/patches/patch-powerpc delete mode 100644 cross/binutils/patches/patch-sh (limited to 'cross') diff --git a/cross/binutils/Makefile b/cross/binutils/Makefile index f11b34b08d4..14f41ff88c8 100644 --- a/cross/binutils/Makefile +++ b/cross/binutils/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.34 2004/07/02 13:37:03 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2004/07/09 20:43:47 kristerw Exp $ # # GNU binutils configured to hold `as many targets as the cross system is # capable of using'. Configures and builds everything except gas, which # gets built at cross-pkg build time (it's target specific). -DISTNAME= binutils-2.9.1 -PKGNAME= cross-binutils-2.9.1.2 +DISTNAME= binutils-2.15 +PKGNAME= cross-binutils-2.15.0.0 CATEGORIES= cross lang MASTER_SITES= ${MASTER_SITE_GNU:=binutils/} @@ -18,13 +18,14 @@ USE_CROSSBASE= yes USE_GNU_TOOLS+= m4 USE_LIBTOOL= yes -CONFIG_GUESS_OVERRIDE= # empty -CONFIG_SUB_OVERRIDE= # empty GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-windres CONFIGURE_ARGS+= --enable-64-bit-bfd -CONFIGURE_ARGS+= --enable-targets=${ENABLE_TARGETS_LIST} \ - --target=i386-linux -# --target above ensures that --host is not included as default +CONFIGURE_ARGS+= --enable-targets=all + +# Ensure that --host is not included as default +CONFIGURE_ARGS+= --target=i386-linux + MAKE_ARGS+= CFLAGS="${CFLAGS}" ALL_TARGET= all-binutils all-ld @@ -32,53 +33,38 @@ PLIST_SUBST= LOCALBASE=${LOCALBASE} BINDIR= ${PREFIX}/libexec/binutils -# due to /bin/sh restriction, we can accomodate no more archs -ENABLE_TARGETS+= alpha-netbsd arm-netbsd \ - i386-cygwin32 i386-elf i386-go32 i386-linux \ - i386-netbsd i386-netware \ - m68k-elf m68k-netbsd m68k-netbsdelf m68k-sunos4 \ - mipseb-netbsd mipsel-netbsd \ - powerpc-eabi powerpcle-eabi \ - sparc-netbsd sparc-solaris2 sparc-sunos4 \ - sh-netbsdcoff shel-netbsdcoff - -# this breaks the `sparc-solaris2' target (which adds sparc_elf32 -# which we use for the `sparc-netbsdelf' target -#ENABLE_TARGETS+= sparc64-elf - -# make sure configure/Makefile.in is newer than configure.in/Makefile.am +# Prevent the need to run texi2pod.pl and pod2man hence +# the need for perl as build dependency. post-patch: - ${FIND} ${WRKSRC} -name configure -print | ${XARGS} ${TOUCH} - ${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} ${TOUCH} - -# check that path does not contain cwd -pre-configure: - @cd ${WRKDIR}; \ - ${LN} -s ${CAT} ld; \ - whichld=`${TYPE} ld | ${AWK} '{ print $$NF }'`; \ - ${RM} -f ld; \ - if [ "X$$whichld" = "X./ld" ]; then \ - ${ECHO} "Warning - \".\" is present in your path \"${PATH}\". Configuration step will fail"; \ - ${ECHO} "Please remove \".\" from your path, so that the correct ld executable will be found."; \ - ${FALSE}; \ - fi; \ +.for _file_ in ld/ldver.texi ld/ld.1 gas/doc/gasver.texi gas/doc/as.1 + if [ -f ${WRKSRC}/${_file_} ]; then \ + ${TOUCH} ${WRKSRC}/${_file_}; \ + fi +.endfor + ${RM} -rf ${WRKSRC}/etc ${WRKSRC}/gas # we use MKDIR, not INSTALL_PROGRAM_DIR, deliberately. do-install: ${MKDIR} ${BINDIR} ${PREFIX}/lib/ldscripts ${PREFIX}/include @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/addr2line ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ar ${BINDIR} - @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/dlltool ${BINDIR} - @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/ld/ld-new ${BINDIR}/ld + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/coffdump ${BINDIR} + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/cxxfilt ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nlmconv ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nm-new ${BINDIR}/nm @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objcopy ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/objdump ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/ranlib ${BINDIR} + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/readelf ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/size ${BINDIR} + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/srconv ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strings ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/strip-new ${BINDIR}/strip + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/sysdump ${BINDIR} + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/sysinfo ${BINDIR} @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/windres ${BINDIR} + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/ld/ld-new ${BINDIR}/ld + @${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/binutils/nlmconv ${BINDIR} @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/bfd/libbfd.la ${PREFIX}/lib @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/opcodes/libopcodes.la ${PREFIX}/lib @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libiberty/libiberty.a ${PREFIX}/lib @@ -93,12 +79,3 @@ post-build: ${WRKSRC}/cross-env .include "../../mk/bsd.pkg.mk" - -ENABLE_TARGETS_LIST!= ${ECHO} "${ENABLE_TARGETS}" | ${SED} "s/[ ][ ]*/,/g;s/^,*//" - -.if defined(EXTRACT_USING_PAX) -DONT_EXTRACT!= ${AWK} -- '{ ORS=" "; print $1 }' < ${FILESDIR}/exclude -EXTRACT_ELEMENTS= -c ${DONT_EXTRACT} -.else -EXTRACT_ELEMENTS= -X ${FILESDIR}/exclude -.endif diff --git a/cross/binutils/PLIST b/cross/binutils/PLIST index 6b8234cdc36..5d93f5c25b1 100644 --- a/cross/binutils/PLIST +++ b/cross/binutils/PLIST @@ -1,53 +1,899 @@ -@comment $NetBSD: PLIST,v 1.3 2002/12/09 16:01:15 tron Exp $ +@comment $NetBSD: PLIST,v 1.4 2004/07/09 20:43:47 kristerw Exp $ include/ansidecl.h include/bfd.h +lib/ldscripts/a29k.x +lib/ldscripts/a29k.xbn +lib/ldscripts/a29k.xn +lib/ldscripts/a29k.xr +lib/ldscripts/a29k.xu +lib/ldscripts/aixppc.x +lib/ldscripts/aixppc.xbn +lib/ldscripts/aixppc.xn +lib/ldscripts/aixppc.xr +lib/ldscripts/aixppc.xu +lib/ldscripts/aixrs6.x +lib/ldscripts/aixrs6.xbn +lib/ldscripts/aixrs6.xn +lib/ldscripts/aixrs6.xr +lib/ldscripts/aixrs6.xu +lib/ldscripts/alpha.x +lib/ldscripts/alpha.xbn +lib/ldscripts/alpha.xn +lib/ldscripts/alpha.xr +lib/ldscripts/alpha.xu +lib/ldscripts/arcelf.x +lib/ldscripts/arcelf.xbn +lib/ldscripts/arcelf.xc +lib/ldscripts/arcelf.xn +lib/ldscripts/arcelf.xr +lib/ldscripts/arcelf.xu +lib/ldscripts/arm_epoc_pe.x +lib/ldscripts/arm_epoc_pe.xbn +lib/ldscripts/arm_epoc_pe.xn +lib/ldscripts/arm_epoc_pe.xr +lib/ldscripts/arm_epoc_pe.xu +lib/ldscripts/armaoutb.x +lib/ldscripts/armaoutb.xbn +lib/ldscripts/armaoutb.xn +lib/ldscripts/armaoutb.xr +lib/ldscripts/armaoutb.xu +lib/ldscripts/armaoutl.x +lib/ldscripts/armaoutl.xbn +lib/ldscripts/armaoutl.xn +lib/ldscripts/armaoutl.xr +lib/ldscripts/armaoutl.xu +lib/ldscripts/armcoff.x +lib/ldscripts/armcoff.xbn +lib/ldscripts/armcoff.xn +lib/ldscripts/armcoff.xr +lib/ldscripts/armcoff.xu +lib/ldscripts/armelf.x +lib/ldscripts/armelf.xbn +lib/ldscripts/armelf.xc +lib/ldscripts/armelf.xn +lib/ldscripts/armelf.xr +lib/ldscripts/armelf.xs +lib/ldscripts/armelf.xsc +lib/ldscripts/armelf.xu +lib/ldscripts/armelf_fbsd.x +lib/ldscripts/armelf_fbsd.xbn +lib/ldscripts/armelf_fbsd.xc +lib/ldscripts/armelf_fbsd.xn +lib/ldscripts/armelf_fbsd.xr +lib/ldscripts/armelf_fbsd.xs +lib/ldscripts/armelf_fbsd.xsc +lib/ldscripts/armelf_fbsd.xu +lib/ldscripts/armelf_linux.x +lib/ldscripts/armelf_linux.xbn +lib/ldscripts/armelf_linux.xc +lib/ldscripts/armelf_linux.xn +lib/ldscripts/armelf_linux.xr +lib/ldscripts/armelf_linux.xs +lib/ldscripts/armelf_linux.xsc +lib/ldscripts/armelf_linux.xu +lib/ldscripts/armelf_nbsd.x +lib/ldscripts/armelf_nbsd.xbn +lib/ldscripts/armelf_nbsd.xc +lib/ldscripts/armelf_nbsd.xn +lib/ldscripts/armelf_nbsd.xr +lib/ldscripts/armelf_nbsd.xs +lib/ldscripts/armelf_nbsd.xsc +lib/ldscripts/armelf_nbsd.xu +lib/ldscripts/armelf_oabi.x +lib/ldscripts/armelf_oabi.xbn +lib/ldscripts/armelf_oabi.xc +lib/ldscripts/armelf_oabi.xn +lib/ldscripts/armelf_oabi.xr +lib/ldscripts/armelf_oabi.xu +lib/ldscripts/armelfb.x +lib/ldscripts/armelfb.xbn +lib/ldscripts/armelfb.xc +lib/ldscripts/armelfb.xn +lib/ldscripts/armelfb.xr +lib/ldscripts/armelfb.xs +lib/ldscripts/armelfb.xsc +lib/ldscripts/armelfb.xu +lib/ldscripts/armelfb_linux.x +lib/ldscripts/armelfb_linux.xbn +lib/ldscripts/armelfb_linux.xc +lib/ldscripts/armelfb_linux.xn +lib/ldscripts/armelfb_linux.xr +lib/ldscripts/armelfb_linux.xs +lib/ldscripts/armelfb_linux.xsc +lib/ldscripts/armelfb_linux.xu +lib/ldscripts/armelfb_nbsd.x +lib/ldscripts/armelfb_nbsd.xbn +lib/ldscripts/armelfb_nbsd.xc +lib/ldscripts/armelfb_nbsd.xn +lib/ldscripts/armelfb_nbsd.xr +lib/ldscripts/armelfb_nbsd.xs +lib/ldscripts/armelfb_nbsd.xsc +lib/ldscripts/armelfb_nbsd.xu lib/ldscripts/armnbsd.x lib/ldscripts/armnbsd.xbn lib/ldscripts/armnbsd.xn lib/ldscripts/armnbsd.xr lib/ldscripts/armnbsd.xu +lib/ldscripts/armnto.x +lib/ldscripts/armnto.xbn +lib/ldscripts/armnto.xc +lib/ldscripts/armnto.xn +lib/ldscripts/armnto.xr +lib/ldscripts/armnto.xs +lib/ldscripts/armnto.xsc +lib/ldscripts/armnto.xu +lib/ldscripts/armpe.x +lib/ldscripts/armpe.xbn +lib/ldscripts/armpe.xn +lib/ldscripts/armpe.xr +lib/ldscripts/armpe.xu +lib/ldscripts/avr1.x +lib/ldscripts/avr1.xbn +lib/ldscripts/avr1.xn +lib/ldscripts/avr1.xr +lib/ldscripts/avr1.xu +lib/ldscripts/avr2.x +lib/ldscripts/avr2.xbn +lib/ldscripts/avr2.xn +lib/ldscripts/avr2.xr +lib/ldscripts/avr2.xu +lib/ldscripts/avr3.x +lib/ldscripts/avr3.xbn +lib/ldscripts/avr3.xn +lib/ldscripts/avr3.xr +lib/ldscripts/avr3.xu +lib/ldscripts/avr4.x +lib/ldscripts/avr4.xbn +lib/ldscripts/avr4.xn +lib/ldscripts/avr4.xr +lib/ldscripts/avr4.xu +lib/ldscripts/avr5.x +lib/ldscripts/avr5.xbn +lib/ldscripts/avr5.xn +lib/ldscripts/avr5.xr +lib/ldscripts/avr5.xu +lib/ldscripts/coff_i860.x +lib/ldscripts/coff_i860.xbn +lib/ldscripts/coff_i860.xn +lib/ldscripts/coff_i860.xr +lib/ldscripts/coff_i860.xu +lib/ldscripts/coff_sparc.x +lib/ldscripts/coff_sparc.xbn +lib/ldscripts/coff_sparc.xn +lib/ldscripts/coff_sparc.xr +lib/ldscripts/coff_sparc.xu +lib/ldscripts/crisaout.x +lib/ldscripts/crisaout.xbn +lib/ldscripts/crisaout.xn +lib/ldscripts/crisaout.xr +lib/ldscripts/crisaout.xu +lib/ldscripts/criself.x +lib/ldscripts/criself.xbn +lib/ldscripts/criself.xc +lib/ldscripts/criself.xn +lib/ldscripts/criself.xr +lib/ldscripts/criself.xu +lib/ldscripts/crislinux.x +lib/ldscripts/crislinux.xbn +lib/ldscripts/crislinux.xc +lib/ldscripts/crislinux.xn +lib/ldscripts/crislinux.xr +lib/ldscripts/crislinux.xs +lib/ldscripts/crislinux.xsc +lib/ldscripts/crislinux.xu +lib/ldscripts/d10velf.x +lib/ldscripts/d10velf.xbn +lib/ldscripts/d10velf.xn +lib/ldscripts/d10velf.xr +lib/ldscripts/d10velf.xu +lib/ldscripts/d30v_e.x +lib/ldscripts/d30v_e.xbn +lib/ldscripts/d30v_e.xn +lib/ldscripts/d30v_e.xr +lib/ldscripts/d30v_e.xu +lib/ldscripts/d30v_o.x +lib/ldscripts/d30v_o.xbn +lib/ldscripts/d30v_o.xn +lib/ldscripts/d30v_o.xr +lib/ldscripts/d30v_o.xu +lib/ldscripts/d30velf.x +lib/ldscripts/d30velf.xbn +lib/ldscripts/d30velf.xn +lib/ldscripts/d30velf.xr +lib/ldscripts/d30velf.xu +lib/ldscripts/delta68.x +lib/ldscripts/delta68.xbn +lib/ldscripts/delta68.xn +lib/ldscripts/delta68.xr +lib/ldscripts/delta68.xu +lib/ldscripts/ebmon29k.x +lib/ldscripts/ebmon29k.xbn +lib/ldscripts/ebmon29k.xn +lib/ldscripts/ebmon29k.xr +lib/ldscripts/ebmon29k.xu +lib/ldscripts/elf32_dlx.x +lib/ldscripts/elf32_dlx.xbn +lib/ldscripts/elf32_dlx.xn +lib/ldscripts/elf32_dlx.xr +lib/ldscripts/elf32_dlx.xu +lib/ldscripts/elf32_i860.x +lib/ldscripts/elf32_i860.xbn +lib/ldscripts/elf32_i860.xc +lib/ldscripts/elf32_i860.xn +lib/ldscripts/elf32_i860.xr +lib/ldscripts/elf32_i860.xu +lib/ldscripts/elf32_i960.x +lib/ldscripts/elf32_i960.xbn +lib/ldscripts/elf32_i960.xc +lib/ldscripts/elf32_i960.xn +lib/ldscripts/elf32_i960.xr +lib/ldscripts/elf32_i960.xu lib/ldscripts/elf32_sparc.x lib/ldscripts/elf32_sparc.xbn +lib/ldscripts/elf32_sparc.xc +lib/ldscripts/elf32_sparc.xd +lib/ldscripts/elf32_sparc.xdc lib/ldscripts/elf32_sparc.xn lib/ldscripts/elf32_sparc.xr lib/ldscripts/elf32_sparc.xs +lib/ldscripts/elf32_sparc.xsc lib/ldscripts/elf32_sparc.xu +lib/ldscripts/elf32b4300.x +lib/ldscripts/elf32b4300.xbn +lib/ldscripts/elf32b4300.xc +lib/ldscripts/elf32b4300.xn +lib/ldscripts/elf32b4300.xr +lib/ldscripts/elf32b4300.xs +lib/ldscripts/elf32b4300.xsc +lib/ldscripts/elf32b4300.xu lib/ldscripts/elf32bmip.x lib/ldscripts/elf32bmip.xbn +lib/ldscripts/elf32bmip.xc lib/ldscripts/elf32bmip.xn lib/ldscripts/elf32bmip.xr lib/ldscripts/elf32bmip.xs +lib/ldscripts/elf32bmip.xsc lib/ldscripts/elf32bmip.xu +lib/ldscripts/elf32bmipn32.x +lib/ldscripts/elf32bmipn32.xbn +lib/ldscripts/elf32bmipn32.xc +lib/ldscripts/elf32bmipn32.xn +lib/ldscripts/elf32bmipn32.xr +lib/ldscripts/elf32bmipn32.xs +lib/ldscripts/elf32bmipn32.xsc +lib/ldscripts/elf32bmipn32.xu +lib/ldscripts/elf32btsmip.x +lib/ldscripts/elf32btsmip.xbn +lib/ldscripts/elf32btsmip.xc +lib/ldscripts/elf32btsmip.xn +lib/ldscripts/elf32btsmip.xr +lib/ldscripts/elf32btsmip.xs +lib/ldscripts/elf32btsmip.xsc +lib/ldscripts/elf32btsmip.xu +lib/ldscripts/elf32btsmipn32.x +lib/ldscripts/elf32btsmipn32.xbn +lib/ldscripts/elf32btsmipn32.xc +lib/ldscripts/elf32btsmipn32.xn +lib/ldscripts/elf32btsmipn32.xr +lib/ldscripts/elf32btsmipn32.xs +lib/ldscripts/elf32btsmipn32.xsc +lib/ldscripts/elf32btsmipn32.xu +lib/ldscripts/elf32ebmip.x +lib/ldscripts/elf32ebmip.xbn +lib/ldscripts/elf32ebmip.xc +lib/ldscripts/elf32ebmip.xn +lib/ldscripts/elf32ebmip.xr +lib/ldscripts/elf32ebmip.xs +lib/ldscripts/elf32ebmip.xsc +lib/ldscripts/elf32ebmip.xu +lib/ldscripts/elf32elmip.x +lib/ldscripts/elf32elmip.xbn +lib/ldscripts/elf32elmip.xc +lib/ldscripts/elf32elmip.xn +lib/ldscripts/elf32elmip.xr +lib/ldscripts/elf32elmip.xs +lib/ldscripts/elf32elmip.xsc +lib/ldscripts/elf32elmip.xu +lib/ldscripts/elf32fr30.x +lib/ldscripts/elf32fr30.xbn +lib/ldscripts/elf32fr30.xc +lib/ldscripts/elf32fr30.xn +lib/ldscripts/elf32fr30.xr +lib/ldscripts/elf32fr30.xu +lib/ldscripts/elf32frv.x +lib/ldscripts/elf32frv.xbn +lib/ldscripts/elf32frv.xc +lib/ldscripts/elf32frv.xn +lib/ldscripts/elf32frv.xr +lib/ldscripts/elf32frv.xu +lib/ldscripts/elf32frvfd.x +lib/ldscripts/elf32frvfd.xbn +lib/ldscripts/elf32frvfd.xc +lib/ldscripts/elf32frvfd.xn +lib/ldscripts/elf32frvfd.xr +lib/ldscripts/elf32frvfd.xs +lib/ldscripts/elf32frvfd.xsc +lib/ldscripts/elf32frvfd.xu +lib/ldscripts/elf32i370.x +lib/ldscripts/elf32i370.xbn +lib/ldscripts/elf32i370.xn +lib/ldscripts/elf32i370.xr +lib/ldscripts/elf32i370.xs +lib/ldscripts/elf32i370.xu +lib/ldscripts/elf32ip2k.x +lib/ldscripts/elf32ip2k.xbn +lib/ldscripts/elf32ip2k.xc +lib/ldscripts/elf32ip2k.xn +lib/ldscripts/elf32ip2k.xr +lib/ldscripts/elf32ip2k.xu +lib/ldscripts/elf32iq10.x +lib/ldscripts/elf32iq10.xbn +lib/ldscripts/elf32iq10.xn +lib/ldscripts/elf32iq10.xr +lib/ldscripts/elf32iq10.xu +lib/ldscripts/elf32iq2000.x +lib/ldscripts/elf32iq2000.xbn +lib/ldscripts/elf32iq2000.xn +lib/ldscripts/elf32iq2000.xr +lib/ldscripts/elf32iq2000.xu +lib/ldscripts/elf32l4300.x +lib/ldscripts/elf32l4300.xbn +lib/ldscripts/elf32l4300.xc +lib/ldscripts/elf32l4300.xn +lib/ldscripts/elf32l4300.xr +lib/ldscripts/elf32l4300.xs +lib/ldscripts/elf32l4300.xsc +lib/ldscripts/elf32l4300.xu lib/ldscripts/elf32lmip.x lib/ldscripts/elf32lmip.xbn +lib/ldscripts/elf32lmip.xc lib/ldscripts/elf32lmip.xn lib/ldscripts/elf32lmip.xr lib/ldscripts/elf32lmip.xs +lib/ldscripts/elf32lmip.xsc lib/ldscripts/elf32lmip.xu lib/ldscripts/elf32lppc.x lib/ldscripts/elf32lppc.xbn +lib/ldscripts/elf32lppc.xc +lib/ldscripts/elf32lppc.xd +lib/ldscripts/elf32lppc.xdc lib/ldscripts/elf32lppc.xn lib/ldscripts/elf32lppc.xr lib/ldscripts/elf32lppc.xs +lib/ldscripts/elf32lppc.xsc lib/ldscripts/elf32lppc.xu +lib/ldscripts/elf32lppcnto.x +lib/ldscripts/elf32lppcnto.xbn +lib/ldscripts/elf32lppcnto.xc +lib/ldscripts/elf32lppcnto.xd +lib/ldscripts/elf32lppcnto.xdc +lib/ldscripts/elf32lppcnto.xn +lib/ldscripts/elf32lppcnto.xr +lib/ldscripts/elf32lppcnto.xs +lib/ldscripts/elf32lppcnto.xsc +lib/ldscripts/elf32lppcnto.xu +lib/ldscripts/elf32lppcsim.x +lib/ldscripts/elf32lppcsim.xbn +lib/ldscripts/elf32lppcsim.xc +lib/ldscripts/elf32lppcsim.xd +lib/ldscripts/elf32lppcsim.xdc +lib/ldscripts/elf32lppcsim.xn +lib/ldscripts/elf32lppcsim.xr +lib/ldscripts/elf32lppcsim.xs +lib/ldscripts/elf32lppcsim.xsc +lib/ldscripts/elf32lppcsim.xu +lib/ldscripts/elf32ltsmip.x +lib/ldscripts/elf32ltsmip.xbn +lib/ldscripts/elf32ltsmip.xc +lib/ldscripts/elf32ltsmip.xn +lib/ldscripts/elf32ltsmip.xr +lib/ldscripts/elf32ltsmip.xs +lib/ldscripts/elf32ltsmip.xsc +lib/ldscripts/elf32ltsmip.xu +lib/ldscripts/elf32ltsmipn32.x +lib/ldscripts/elf32ltsmipn32.xbn +lib/ldscripts/elf32ltsmipn32.xc +lib/ldscripts/elf32ltsmipn32.xn +lib/ldscripts/elf32ltsmipn32.xr +lib/ldscripts/elf32ltsmipn32.xs +lib/ldscripts/elf32ltsmipn32.xsc +lib/ldscripts/elf32ltsmipn32.xu +lib/ldscripts/elf32mcore.x +lib/ldscripts/elf32mcore.xbn +lib/ldscripts/elf32mcore.xc +lib/ldscripts/elf32mcore.xn +lib/ldscripts/elf32mcore.xr +lib/ldscripts/elf32mcore.xs +lib/ldscripts/elf32mcore.xsc +lib/ldscripts/elf32mcore.xu +lib/ldscripts/elf32mipswindiss.x +lib/ldscripts/elf32mipswindiss.xbn +lib/ldscripts/elf32mipswindiss.xc +lib/ldscripts/elf32mipswindiss.xn +lib/ldscripts/elf32mipswindiss.xr +lib/ldscripts/elf32mipswindiss.xu +lib/ldscripts/elf32openrisc.x +lib/ldscripts/elf32openrisc.xbn +lib/ldscripts/elf32openrisc.xc +lib/ldscripts/elf32openrisc.xn +lib/ldscripts/elf32openrisc.xr +lib/ldscripts/elf32openrisc.xu lib/ldscripts/elf32ppc.x lib/ldscripts/elf32ppc.xbn +lib/ldscripts/elf32ppc.xc +lib/ldscripts/elf32ppc.xd +lib/ldscripts/elf32ppc.xdc lib/ldscripts/elf32ppc.xn lib/ldscripts/elf32ppc.xr lib/ldscripts/elf32ppc.xs +lib/ldscripts/elf32ppc.xsc lib/ldscripts/elf32ppc.xu +lib/ldscripts/elf32ppc_fbsd.x +lib/ldscripts/elf32ppc_fbsd.xbn +lib/ldscripts/elf32ppc_fbsd.xc +lib/ldscripts/elf32ppc_fbsd.xd +lib/ldscripts/elf32ppc_fbsd.xdc +lib/ldscripts/elf32ppc_fbsd.xn +lib/ldscripts/elf32ppc_fbsd.xr +lib/ldscripts/elf32ppc_fbsd.xs +lib/ldscripts/elf32ppc_fbsd.xsc +lib/ldscripts/elf32ppc_fbsd.xu +lib/ldscripts/elf32ppclinux.x +lib/ldscripts/elf32ppclinux.xbn +lib/ldscripts/elf32ppclinux.xc +lib/ldscripts/elf32ppclinux.xd +lib/ldscripts/elf32ppclinux.xdc +lib/ldscripts/elf32ppclinux.xn +lib/ldscripts/elf32ppclinux.xr +lib/ldscripts/elf32ppclinux.xs +lib/ldscripts/elf32ppclinux.xsc +lib/ldscripts/elf32ppclinux.xu +lib/ldscripts/elf32ppcnto.x +lib/ldscripts/elf32ppcnto.xbn +lib/ldscripts/elf32ppcnto.xc +lib/ldscripts/elf32ppcnto.xd +lib/ldscripts/elf32ppcnto.xdc +lib/ldscripts/elf32ppcnto.xn +lib/ldscripts/elf32ppcnto.xr +lib/ldscripts/elf32ppcnto.xs +lib/ldscripts/elf32ppcnto.xsc +lib/ldscripts/elf32ppcnto.xu +lib/ldscripts/elf32ppcsim.x +lib/ldscripts/elf32ppcsim.xbn +lib/ldscripts/elf32ppcsim.xc +lib/ldscripts/elf32ppcsim.xd +lib/ldscripts/elf32ppcsim.xdc +lib/ldscripts/elf32ppcsim.xn +lib/ldscripts/elf32ppcsim.xr +lib/ldscripts/elf32ppcsim.xs +lib/ldscripts/elf32ppcsim.xsc +lib/ldscripts/elf32ppcsim.xu +lib/ldscripts/elf32ppcwindiss.x +lib/ldscripts/elf32ppcwindiss.xbn +lib/ldscripts/elf32ppcwindiss.xc +lib/ldscripts/elf32ppcwindiss.xn +lib/ldscripts/elf32ppcwindiss.xr +lib/ldscripts/elf32ppcwindiss.xu +lib/ldscripts/elf32vax.x +lib/ldscripts/elf32vax.xbn +lib/ldscripts/elf32vax.xc +lib/ldscripts/elf32vax.xn +lib/ldscripts/elf32vax.xr +lib/ldscripts/elf32vax.xs +lib/ldscripts/elf32vax.xsc +lib/ldscripts/elf32vax.xu +lib/ldscripts/elf32xstormy16.x +lib/ldscripts/elf32xstormy16.xbn +lib/ldscripts/elf32xstormy16.xn +lib/ldscripts/elf32xstormy16.xr +lib/ldscripts/elf32xstormy16.xu +lib/ldscripts/elf32xtensa.x +lib/ldscripts/elf32xtensa.xbn +lib/ldscripts/elf32xtensa.xc +lib/ldscripts/elf32xtensa.xn +lib/ldscripts/elf32xtensa.xr +lib/ldscripts/elf32xtensa.xs +lib/ldscripts/elf32xtensa.xsc +lib/ldscripts/elf32xtensa.xu +lib/ldscripts/elf64_aix.x +lib/ldscripts/elf64_aix.xbn +lib/ldscripts/elf64_aix.xc +lib/ldscripts/elf64_aix.xn +lib/ldscripts/elf64_aix.xr +lib/ldscripts/elf64_aix.xs +lib/ldscripts/elf64_aix.xsc +lib/ldscripts/elf64_aix.xu +lib/ldscripts/elf64_ia64.x +lib/ldscripts/elf64_ia64.xbn +lib/ldscripts/elf64_ia64.xc +lib/ldscripts/elf64_ia64.xd +lib/ldscripts/elf64_ia64.xdc +lib/ldscripts/elf64_ia64.xn +lib/ldscripts/elf64_ia64.xr +lib/ldscripts/elf64_ia64.xs +lib/ldscripts/elf64_ia64.xsc +lib/ldscripts/elf64_ia64.xu +lib/ldscripts/elf64_ia64_fbsd.x +lib/ldscripts/elf64_ia64_fbsd.xbn +lib/ldscripts/elf64_ia64_fbsd.xc +lib/ldscripts/elf64_ia64_fbsd.xd +lib/ldscripts/elf64_ia64_fbsd.xdc +lib/ldscripts/elf64_ia64_fbsd.xn +lib/ldscripts/elf64_ia64_fbsd.xr +lib/ldscripts/elf64_ia64_fbsd.xs +lib/ldscripts/elf64_ia64_fbsd.xsc +lib/ldscripts/elf64_ia64_fbsd.xu +lib/ldscripts/elf64_s390.x +lib/ldscripts/elf64_s390.xbn +lib/ldscripts/elf64_s390.xc +lib/ldscripts/elf64_s390.xd +lib/ldscripts/elf64_s390.xdc +lib/ldscripts/elf64_s390.xn +lib/ldscripts/elf64_s390.xr +lib/ldscripts/elf64_s390.xs +lib/ldscripts/elf64_s390.xsc +lib/ldscripts/elf64_s390.xu +lib/ldscripts/elf64_sparc.x +lib/ldscripts/elf64_sparc.xbn +lib/ldscripts/elf64_sparc.xc +lib/ldscripts/elf64_sparc.xd +lib/ldscripts/elf64_sparc.xdc +lib/ldscripts/elf64_sparc.xn +lib/ldscripts/elf64_sparc.xr +lib/ldscripts/elf64_sparc.xs +lib/ldscripts/elf64_sparc.xsc +lib/ldscripts/elf64_sparc.xu +lib/ldscripts/elf64_sparc_fbsd.x +lib/ldscripts/elf64_sparc_fbsd.xbn +lib/ldscripts/elf64_sparc_fbsd.xc +lib/ldscripts/elf64_sparc_fbsd.xd +lib/ldscripts/elf64_sparc_fbsd.xdc +lib/ldscripts/elf64_sparc_fbsd.xn +lib/ldscripts/elf64_sparc_fbsd.xr +lib/ldscripts/elf64_sparc_fbsd.xs +lib/ldscripts/elf64_sparc_fbsd.xsc +lib/ldscripts/elf64_sparc_fbsd.xu lib/ldscripts/elf64alpha.x lib/ldscripts/elf64alpha.xbn +lib/ldscripts/elf64alpha.xc +lib/ldscripts/elf64alpha.xd +lib/ldscripts/elf64alpha.xdc lib/ldscripts/elf64alpha.xn lib/ldscripts/elf64alpha.xr lib/ldscripts/elf64alpha.xs +lib/ldscripts/elf64alpha.xsc lib/ldscripts/elf64alpha.xu +lib/ldscripts/elf64alpha_fbsd.x +lib/ldscripts/elf64alpha_fbsd.xbn +lib/ldscripts/elf64alpha_fbsd.xc +lib/ldscripts/elf64alpha_fbsd.xd +lib/ldscripts/elf64alpha_fbsd.xdc +lib/ldscripts/elf64alpha_fbsd.xn +lib/ldscripts/elf64alpha_fbsd.xr +lib/ldscripts/elf64alpha_fbsd.xs +lib/ldscripts/elf64alpha_fbsd.xsc +lib/ldscripts/elf64alpha_fbsd.xu +lib/ldscripts/elf64alpha_nbsd.x +lib/ldscripts/elf64alpha_nbsd.xbn +lib/ldscripts/elf64alpha_nbsd.xc +lib/ldscripts/elf64alpha_nbsd.xd +lib/ldscripts/elf64alpha_nbsd.xdc +lib/ldscripts/elf64alpha_nbsd.xn +lib/ldscripts/elf64alpha_nbsd.xr +lib/ldscripts/elf64alpha_nbsd.xs +lib/ldscripts/elf64alpha_nbsd.xsc +lib/ldscripts/elf64alpha_nbsd.xu +lib/ldscripts/elf64bmip.x +lib/ldscripts/elf64bmip.xbn +lib/ldscripts/elf64bmip.xc +lib/ldscripts/elf64bmip.xn +lib/ldscripts/elf64bmip.xr +lib/ldscripts/elf64bmip.xs +lib/ldscripts/elf64bmip.xsc +lib/ldscripts/elf64bmip.xu +lib/ldscripts/elf64btsmip.x +lib/ldscripts/elf64btsmip.xbn +lib/ldscripts/elf64btsmip.xc +lib/ldscripts/elf64btsmip.xn +lib/ldscripts/elf64btsmip.xr +lib/ldscripts/elf64btsmip.xs +lib/ldscripts/elf64btsmip.xsc +lib/ldscripts/elf64btsmip.xu +lib/ldscripts/elf64hppa.x +lib/ldscripts/elf64hppa.xbn +lib/ldscripts/elf64hppa.xc +lib/ldscripts/elf64hppa.xn +lib/ldscripts/elf64hppa.xr +lib/ldscripts/elf64hppa.xs +lib/ldscripts/elf64hppa.xsc +lib/ldscripts/elf64hppa.xu +lib/ldscripts/elf64lppc.x +lib/ldscripts/elf64lppc.xbn +lib/ldscripts/elf64lppc.xc +lib/ldscripts/elf64lppc.xd +lib/ldscripts/elf64lppc.xdc +lib/ldscripts/elf64lppc.xn +lib/ldscripts/elf64lppc.xr +lib/ldscripts/elf64lppc.xs +lib/ldscripts/elf64lppc.xsc +lib/ldscripts/elf64lppc.xu +lib/ldscripts/elf64ltsmip.x +lib/ldscripts/elf64ltsmip.xbn +lib/ldscripts/elf64ltsmip.xc +lib/ldscripts/elf64ltsmip.xn +lib/ldscripts/elf64ltsmip.xr +lib/ldscripts/elf64ltsmip.xs +lib/ldscripts/elf64ltsmip.xsc +lib/ldscripts/elf64ltsmip.xu +lib/ldscripts/elf64mmix.x +lib/ldscripts/elf64mmix.xbn +lib/ldscripts/elf64mmix.xc +lib/ldscripts/elf64mmix.xn +lib/ldscripts/elf64mmix.xr +lib/ldscripts/elf64mmix.xs +lib/ldscripts/elf64mmix.xsc +lib/ldscripts/elf64mmix.xu +lib/ldscripts/elf64ppc.x +lib/ldscripts/elf64ppc.xbn +lib/ldscripts/elf64ppc.xc +lib/ldscripts/elf64ppc.xd +lib/ldscripts/elf64ppc.xdc +lib/ldscripts/elf64ppc.xn +lib/ldscripts/elf64ppc.xr +lib/ldscripts/elf64ppc.xs +lib/ldscripts/elf64ppc.xsc +lib/ldscripts/elf64ppc.xu lib/ldscripts/elf_i386.x lib/ldscripts/elf_i386.xbn +lib/ldscripts/elf_i386.xc +lib/ldscripts/elf_i386.xd +lib/ldscripts/elf_i386.xdc lib/ldscripts/elf_i386.xn lib/ldscripts/elf_i386.xr lib/ldscripts/elf_i386.xs +lib/ldscripts/elf_i386.xsc lib/ldscripts/elf_i386.xu +lib/ldscripts/elf_i386_be.x +lib/ldscripts/elf_i386_be.xbn +lib/ldscripts/elf_i386_be.xc +lib/ldscripts/elf_i386_be.xn +lib/ldscripts/elf_i386_be.xr +lib/ldscripts/elf_i386_be.xs +lib/ldscripts/elf_i386_be.xsc +lib/ldscripts/elf_i386_be.xu +lib/ldscripts/elf_i386_chaos.x +lib/ldscripts/elf_i386_chaos.xbn +lib/ldscripts/elf_i386_chaos.xn +lib/ldscripts/elf_i386_chaos.xr +lib/ldscripts/elf_i386_chaos.xs +lib/ldscripts/elf_i386_chaos.xu +lib/ldscripts/elf_i386_fbsd.x +lib/ldscripts/elf_i386_fbsd.xbn +lib/ldscripts/elf_i386_fbsd.xc +lib/ldscripts/elf_i386_fbsd.xd +lib/ldscripts/elf_i386_fbsd.xdc +lib/ldscripts/elf_i386_fbsd.xn +lib/ldscripts/elf_i386_fbsd.xr +lib/ldscripts/elf_i386_fbsd.xs +lib/ldscripts/elf_i386_fbsd.xsc +lib/ldscripts/elf_i386_fbsd.xu +lib/ldscripts/elf_i386_ldso.x +lib/ldscripts/elf_i386_ldso.xbn +lib/ldscripts/elf_i386_ldso.xc +lib/ldscripts/elf_i386_ldso.xn +lib/ldscripts/elf_i386_ldso.xr +lib/ldscripts/elf_i386_ldso.xs +lib/ldscripts/elf_i386_ldso.xsc +lib/ldscripts/elf_i386_ldso.xu +lib/ldscripts/elf_s390.x +lib/ldscripts/elf_s390.xbn +lib/ldscripts/elf_s390.xc +lib/ldscripts/elf_s390.xd +lib/ldscripts/elf_s390.xdc +lib/ldscripts/elf_s390.xn +lib/ldscripts/elf_s390.xr +lib/ldscripts/elf_s390.xs +lib/ldscripts/elf_s390.xsc +lib/ldscripts/elf_s390.xu +lib/ldscripts/elf_x86_64.x +lib/ldscripts/elf_x86_64.xbn +lib/ldscripts/elf_x86_64.xc +lib/ldscripts/elf_x86_64.xd +lib/ldscripts/elf_x86_64.xdc +lib/ldscripts/elf_x86_64.xn +lib/ldscripts/elf_x86_64.xr +lib/ldscripts/elf_x86_64.xs +lib/ldscripts/elf_x86_64.xsc +lib/ldscripts/elf_x86_64.xu +lib/ldscripts/elf_x86_64_fbsd.x +lib/ldscripts/elf_x86_64_fbsd.xbn +lib/ldscripts/elf_x86_64_fbsd.xc +lib/ldscripts/elf_x86_64_fbsd.xd +lib/ldscripts/elf_x86_64_fbsd.xdc +lib/ldscripts/elf_x86_64_fbsd.xn +lib/ldscripts/elf_x86_64_fbsd.xr +lib/ldscripts/elf_x86_64_fbsd.xs +lib/ldscripts/elf_x86_64_fbsd.xsc +lib/ldscripts/elf_x86_64_fbsd.xu +lib/ldscripts/gld960.x +lib/ldscripts/gld960.xbn +lib/ldscripts/gld960.xn +lib/ldscripts/gld960.xr +lib/ldscripts/gld960.xu +lib/ldscripts/gld960coff.x +lib/ldscripts/gld960coff.xbn +lib/ldscripts/gld960coff.xn +lib/ldscripts/gld960coff.xr +lib/ldscripts/gld960coff.xu +lib/ldscripts/h8300.x +lib/ldscripts/h8300.xbn +lib/ldscripts/h8300.xn +lib/ldscripts/h8300.xr +lib/ldscripts/h8300.xu +lib/ldscripts/h8300elf.x +lib/ldscripts/h8300elf.xbn +lib/ldscripts/h8300elf.xc +lib/ldscripts/h8300elf.xn +lib/ldscripts/h8300elf.xr +lib/ldscripts/h8300elf.xu +lib/ldscripts/h8300h.x +lib/ldscripts/h8300h.xbn +lib/ldscripts/h8300h.xn +lib/ldscripts/h8300h.xr +lib/ldscripts/h8300h.xu +lib/ldscripts/h8300helf.x +lib/ldscripts/h8300helf.xbn +lib/ldscripts/h8300helf.xc +lib/ldscripts/h8300helf.xn +lib/ldscripts/h8300helf.xr +lib/ldscripts/h8300helf.xu +lib/ldscripts/h8300hn.x +lib/ldscripts/h8300hn.xbn +lib/ldscripts/h8300hn.xn +lib/ldscripts/h8300hn.xr +lib/ldscripts/h8300hn.xu +lib/ldscripts/h8300hnelf.x +lib/ldscripts/h8300hnelf.xbn +lib/ldscripts/h8300hnelf.xc +lib/ldscripts/h8300hnelf.xn +lib/ldscripts/h8300hnelf.xr +lib/ldscripts/h8300hnelf.xu +lib/ldscripts/h8300s.x +lib/ldscripts/h8300s.xbn +lib/ldscripts/h8300s.xn +lib/ldscripts/h8300s.xr +lib/ldscripts/h8300s.xu +lib/ldscripts/h8300self.x +lib/ldscripts/h8300self.xbn +lib/ldscripts/h8300self.xc +lib/ldscripts/h8300self.xn +lib/ldscripts/h8300self.xr +lib/ldscripts/h8300self.xu +lib/ldscripts/h8300sn.x +lib/ldscripts/h8300sn.xbn +lib/ldscripts/h8300sn.xn +lib/ldscripts/h8300sn.xr +lib/ldscripts/h8300sn.xu +lib/ldscripts/h8300snelf.x +lib/ldscripts/h8300snelf.xbn +lib/ldscripts/h8300snelf.xc +lib/ldscripts/h8300snelf.xn +lib/ldscripts/h8300snelf.xr +lib/ldscripts/h8300snelf.xu +lib/ldscripts/h8300sx.x +lib/ldscripts/h8300sx.xbn +lib/ldscripts/h8300sx.xn +lib/ldscripts/h8300sx.xr +lib/ldscripts/h8300sx.xu +lib/ldscripts/h8300sxelf.x +lib/ldscripts/h8300sxelf.xbn +lib/ldscripts/h8300sxelf.xc +lib/ldscripts/h8300sxelf.xn +lib/ldscripts/h8300sxelf.xr +lib/ldscripts/h8300sxelf.xu +lib/ldscripts/h8300sxn.x +lib/ldscripts/h8300sxn.xbn +lib/ldscripts/h8300sxn.xn +lib/ldscripts/h8300sxn.xr +lib/ldscripts/h8300sxn.xu +lib/ldscripts/h8300sxnelf.x +lib/ldscripts/h8300sxnelf.xbn +lib/ldscripts/h8300sxnelf.xc +lib/ldscripts/h8300sxnelf.xn +lib/ldscripts/h8300sxnelf.xr +lib/ldscripts/h8300sxnelf.xu +lib/ldscripts/h8500.x +lib/ldscripts/h8500.xbn +lib/ldscripts/h8500.xn +lib/ldscripts/h8500.xr +lib/ldscripts/h8500.xu +lib/ldscripts/h8500b.x +lib/ldscripts/h8500b.xbn +lib/ldscripts/h8500b.xn +lib/ldscripts/h8500b.xr +lib/ldscripts/h8500b.xu +lib/ldscripts/h8500c.x +lib/ldscripts/h8500c.xbn +lib/ldscripts/h8500c.xn +lib/ldscripts/h8500c.xr +lib/ldscripts/h8500c.xu +lib/ldscripts/h8500m.x +lib/ldscripts/h8500m.xbn +lib/ldscripts/h8500m.xn +lib/ldscripts/h8500m.xr +lib/ldscripts/h8500m.xu +lib/ldscripts/h8500s.x +lib/ldscripts/h8500s.xbn +lib/ldscripts/h8500s.xn +lib/ldscripts/h8500s.xr +lib/ldscripts/h8500s.xu +lib/ldscripts/hp300bsd.x +lib/ldscripts/hp300bsd.xbn +lib/ldscripts/hp300bsd.xn +lib/ldscripts/hp300bsd.xr +lib/ldscripts/hp300bsd.xu +lib/ldscripts/hp3hpux.x +lib/ldscripts/hp3hpux.xbn +lib/ldscripts/hp3hpux.xn +lib/ldscripts/hp3hpux.xr +lib/ldscripts/hp3hpux.xu +lib/ldscripts/hppa64linux.x +lib/ldscripts/hppa64linux.xbn +lib/ldscripts/hppa64linux.xc +lib/ldscripts/hppa64linux.xn +lib/ldscripts/hppa64linux.xr +lib/ldscripts/hppa64linux.xs +lib/ldscripts/hppa64linux.xsc +lib/ldscripts/hppa64linux.xu +lib/ldscripts/hppaelf.x +lib/ldscripts/hppaelf.xbn +lib/ldscripts/hppaelf.xn +lib/ldscripts/hppaelf.xr +lib/ldscripts/hppaelf.xu +lib/ldscripts/hppalinux.x +lib/ldscripts/hppalinux.xbn +lib/ldscripts/hppalinux.xc +lib/ldscripts/hppalinux.xn +lib/ldscripts/hppalinux.xr +lib/ldscripts/hppalinux.xs +lib/ldscripts/hppalinux.xsc +lib/ldscripts/hppalinux.xu +lib/ldscripts/hppanbsd.x +lib/ldscripts/hppanbsd.xbn +lib/ldscripts/hppanbsd.xc +lib/ldscripts/hppanbsd.xn +lib/ldscripts/hppanbsd.xr +lib/ldscripts/hppanbsd.xs +lib/ldscripts/hppanbsd.xsc +lib/ldscripts/hppanbsd.xu +lib/ldscripts/hppaobsd.x +lib/ldscripts/hppaobsd.xbn +lib/ldscripts/hppaobsd.xc +lib/ldscripts/hppaobsd.xn +lib/ldscripts/hppaobsd.xr +lib/ldscripts/hppaobsd.xs +lib/ldscripts/hppaobsd.xsc +lib/ldscripts/hppaobsd.xu +lib/ldscripts/i386aout.x +lib/ldscripts/i386aout.xbn +lib/ldscripts/i386aout.xn +lib/ldscripts/i386aout.xr +lib/ldscripts/i386aout.xu +lib/ldscripts/i386beos.x +lib/ldscripts/i386beos.xbn +lib/ldscripts/i386beos.xn +lib/ldscripts/i386beos.xr +lib/ldscripts/i386beos.xu +lib/ldscripts/i386bsd.x +lib/ldscripts/i386bsd.xbn +lib/ldscripts/i386bsd.xn +lib/ldscripts/i386bsd.xr +lib/ldscripts/i386bsd.xu +lib/ldscripts/i386coff.x +lib/ldscripts/i386coff.xbn +lib/ldscripts/i386coff.xn +lib/ldscripts/i386coff.xr +lib/ldscripts/i386coff.xu lib/ldscripts/i386go32.x lib/ldscripts/i386go32.xbn lib/ldscripts/i386go32.xn @@ -58,11 +904,42 @@ lib/ldscripts/i386linux.xbn lib/ldscripts/i386linux.xn lib/ldscripts/i386linux.xr lib/ldscripts/i386linux.xu +lib/ldscripts/i386lynx.x +lib/ldscripts/i386lynx.xbn +lib/ldscripts/i386lynx.xn +lib/ldscripts/i386lynx.xr +lib/ldscripts/i386lynx.xu +lib/ldscripts/i386mach.x +lib/ldscripts/i386mach.xbn +lib/ldscripts/i386mach.xn +lib/ldscripts/i386mach.xr +lib/ldscripts/i386mach.xu +lib/ldscripts/i386moss.x +lib/ldscripts/i386moss.xbn +lib/ldscripts/i386moss.xc +lib/ldscripts/i386moss.xn +lib/ldscripts/i386moss.xr +lib/ldscripts/i386moss.xs +lib/ldscripts/i386moss.xsc +lib/ldscripts/i386moss.xu +lib/ldscripts/i386msdos.x +lib/ldscripts/i386msdos.xbn +lib/ldscripts/i386msdos.xn +lib/ldscripts/i386msdos.xr +lib/ldscripts/i386msdos.xu lib/ldscripts/i386nbsd.x lib/ldscripts/i386nbsd.xbn lib/ldscripts/i386nbsd.xn lib/ldscripts/i386nbsd.xr lib/ldscripts/i386nbsd.xu +lib/ldscripts/i386nto.x +lib/ldscripts/i386nto.xbn +lib/ldscripts/i386nto.xc +lib/ldscripts/i386nto.xn +lib/ldscripts/i386nto.xr +lib/ldscripts/i386nto.xs +lib/ldscripts/i386nto.xsc +lib/ldscripts/i386nto.xu lib/ldscripts/i386nw.x lib/ldscripts/i386nw.xbn lib/ldscripts/i386nw.xn @@ -74,38 +951,665 @@ lib/ldscripts/i386pe.xbn lib/ldscripts/i386pe.xn lib/ldscripts/i386pe.xr lib/ldscripts/i386pe.xu +lib/ldscripts/i386pe_posix.x +lib/ldscripts/i386pe_posix.xbn +lib/ldscripts/i386pe_posix.xn +lib/ldscripts/i386pe_posix.xr +lib/ldscripts/i386pe_posix.xu +lib/ldscripts/lnk960.x +lib/ldscripts/lnk960.xbn +lib/ldscripts/lnk960.xn +lib/ldscripts/lnk960.xr +lib/ldscripts/lnk960.xu +lib/ldscripts/m32relf.x +lib/ldscripts/m32relf.xbn +lib/ldscripts/m32relf.xc +lib/ldscripts/m32relf.xn +lib/ldscripts/m32relf.xr +lib/ldscripts/m32relf.xu +lib/ldscripts/m32relf_linux.x +lib/ldscripts/m32relf_linux.xbn +lib/ldscripts/m32relf_linux.xc +lib/ldscripts/m32relf_linux.xn +lib/ldscripts/m32relf_linux.xr +lib/ldscripts/m32relf_linux.xs +lib/ldscripts/m32relf_linux.xsc +lib/ldscripts/m32relf_linux.xu +lib/ldscripts/m32rlelf.x +lib/ldscripts/m32rlelf.xbn +lib/ldscripts/m32rlelf.xc +lib/ldscripts/m32rlelf.xn +lib/ldscripts/m32rlelf.xr +lib/ldscripts/m32rlelf.xu +lib/ldscripts/m32rlelf_linux.x +lib/ldscripts/m32rlelf_linux.xbn +lib/ldscripts/m32rlelf_linux.xc +lib/ldscripts/m32rlelf_linux.xn +lib/ldscripts/m32rlelf_linux.xr +lib/ldscripts/m32rlelf_linux.xs +lib/ldscripts/m32rlelf_linux.xsc +lib/ldscripts/m32rlelf_linux.xu +lib/ldscripts/m68hc11elf.x +lib/ldscripts/m68hc11elf.xbn +lib/ldscripts/m68hc11elf.xn +lib/ldscripts/m68hc11elf.xr +lib/ldscripts/m68hc11elf.xu +lib/ldscripts/m68hc11elfb.x +lib/ldscripts/m68hc11elfb.xbn +lib/ldscripts/m68hc11elfb.xn +lib/ldscripts/m68hc11elfb.xr +lib/ldscripts/m68hc11elfb.xu +lib/ldscripts/m68hc12elf.x +lib/ldscripts/m68hc12elf.xbn +lib/ldscripts/m68hc12elf.xn +lib/ldscripts/m68hc12elf.xr +lib/ldscripts/m68hc12elf.xu +lib/ldscripts/m68hc12elfb.x +lib/ldscripts/m68hc12elfb.xbn +lib/ldscripts/m68hc12elfb.xn +lib/ldscripts/m68hc12elfb.xr +lib/ldscripts/m68hc12elfb.xu +lib/ldscripts/m68k4knbsd.x +lib/ldscripts/m68k4knbsd.xbn +lib/ldscripts/m68k4knbsd.xn +lib/ldscripts/m68k4knbsd.xr +lib/ldscripts/m68k4knbsd.xu +lib/ldscripts/m68kaout.x +lib/ldscripts/m68kaout.xbn +lib/ldscripts/m68kaout.xn +lib/ldscripts/m68kaout.xr +lib/ldscripts/m68kaout.xu +lib/ldscripts/m68kaux.x +lib/ldscripts/m68kaux.xbn +lib/ldscripts/m68kaux.xn +lib/ldscripts/m68kaux.xr +lib/ldscripts/m68kaux.xu +lib/ldscripts/m68kcoff.x +lib/ldscripts/m68kcoff.xbn +lib/ldscripts/m68kcoff.xn +lib/ldscripts/m68kcoff.xr +lib/ldscripts/m68kcoff.xu lib/ldscripts/m68kelf.x lib/ldscripts/m68kelf.xbn +lib/ldscripts/m68kelf.xc lib/ldscripts/m68kelf.xn lib/ldscripts/m68kelf.xr lib/ldscripts/m68kelf.xs +lib/ldscripts/m68kelf.xsc lib/ldscripts/m68kelf.xu lib/ldscripts/m68kelfnbsd.x lib/ldscripts/m68kelfnbsd.xbn +lib/ldscripts/m68kelfnbsd.xc lib/ldscripts/m68kelfnbsd.xn lib/ldscripts/m68kelfnbsd.xr lib/ldscripts/m68kelfnbsd.xs +lib/ldscripts/m68kelfnbsd.xsc lib/ldscripts/m68kelfnbsd.xu +lib/ldscripts/m68klinux.x +lib/ldscripts/m68klinux.xbn +lib/ldscripts/m68klinux.xn +lib/ldscripts/m68klinux.xr +lib/ldscripts/m68klinux.xu +lib/ldscripts/m68klynx.x +lib/ldscripts/m68klynx.xbn +lib/ldscripts/m68klynx.xn +lib/ldscripts/m68klynx.xr +lib/ldscripts/m68klynx.xu lib/ldscripts/m68knbsd.x lib/ldscripts/m68knbsd.xbn lib/ldscripts/m68knbsd.xn lib/ldscripts/m68knbsd.xr lib/ldscripts/m68knbsd.xu -lib/ldscripts/shlunx.x -lib/ldscripts/shlunx.xbn -lib/ldscripts/shlunx.xn -lib/ldscripts/shlunx.xr -lib/ldscripts/shlunx.xu -lib/ldscripts/shunx.x -lib/ldscripts/shunx.xbn -lib/ldscripts/shunx.xn -lib/ldscripts/shunx.xr -lib/ldscripts/shunx.xu +lib/ldscripts/m68kpsos.x +lib/ldscripts/m68kpsos.xbn +lib/ldscripts/m68kpsos.xn +lib/ldscripts/m68kpsos.xr +lib/ldscripts/m68kpsos.xu +lib/ldscripts/m88kbcs.x +lib/ldscripts/m88kbcs.xbn +lib/ldscripts/m88kbcs.xn +lib/ldscripts/m88kbcs.xr +lib/ldscripts/m88kbcs.xu +lib/ldscripts/mcorepe.x +lib/ldscripts/mcorepe.xbn +lib/ldscripts/mcorepe.xn +lib/ldscripts/mcorepe.xr +lib/ldscripts/mcorepe.xu +lib/ldscripts/mipsbig.x +lib/ldscripts/mipsbig.xbn +lib/ldscripts/mipsbig.xn +lib/ldscripts/mipsbig.xr +lib/ldscripts/mipsbig.xu +lib/ldscripts/mipsbsd.x +lib/ldscripts/mipsbsd.xbn +lib/ldscripts/mipsbsd.xn +lib/ldscripts/mipsbsd.xr +lib/ldscripts/mipsbsd.xu +lib/ldscripts/mipsidt.x +lib/ldscripts/mipsidt.xbn +lib/ldscripts/mipsidt.xn +lib/ldscripts/mipsidt.xr +lib/ldscripts/mipsidt.xu +lib/ldscripts/mipsidtl.x +lib/ldscripts/mipsidtl.xbn +lib/ldscripts/mipsidtl.xn +lib/ldscripts/mipsidtl.xr +lib/ldscripts/mipsidtl.xu +lib/ldscripts/mipslit.x +lib/ldscripts/mipslit.xbn +lib/ldscripts/mipslit.xn +lib/ldscripts/mipslit.xr +lib/ldscripts/mipslit.xu +lib/ldscripts/mipslnews.x +lib/ldscripts/mipslnews.xbn +lib/ldscripts/mipslnews.xn +lib/ldscripts/mipslnews.xr +lib/ldscripts/mipslnews.xu +lib/ldscripts/mipspe.x +lib/ldscripts/mipspe.xbn +lib/ldscripts/mipspe.xn +lib/ldscripts/mipspe.xr +lib/ldscripts/mipspe.xu +lib/ldscripts/mmo.x +lib/ldscripts/mmo.xbn +lib/ldscripts/mmo.xn +lib/ldscripts/mmo.xr +lib/ldscripts/mmo.xu +lib/ldscripts/msp430x110.x +lib/ldscripts/msp430x110.xbn +lib/ldscripts/msp430x110.xn +lib/ldscripts/msp430x110.xr +lib/ldscripts/msp430x110.xu +lib/ldscripts/msp430x1101.x +lib/ldscripts/msp430x1101.xbn +lib/ldscripts/msp430x1101.xn +lib/ldscripts/msp430x1101.xr +lib/ldscripts/msp430x1101.xu +lib/ldscripts/msp430x1111.x +lib/ldscripts/msp430x1111.xbn +lib/ldscripts/msp430x1111.xn +lib/ldscripts/msp430x1111.xr +lib/ldscripts/msp430x1111.xu +lib/ldscripts/msp430x112.x +lib/ldscripts/msp430x112.xbn +lib/ldscripts/msp430x112.xn +lib/ldscripts/msp430x112.xr +lib/ldscripts/msp430x112.xu +lib/ldscripts/msp430x1121.x +lib/ldscripts/msp430x1121.xbn +lib/ldscripts/msp430x1121.xn +lib/ldscripts/msp430x1121.xr +lib/ldscripts/msp430x1121.xu +lib/ldscripts/msp430x1122.x +lib/ldscripts/msp430x1122.xbn +lib/ldscripts/msp430x1122.xn +lib/ldscripts/msp430x1122.xr +lib/ldscripts/msp430x1122.xu +lib/ldscripts/msp430x1132.x +lib/ldscripts/msp430x1132.xbn +lib/ldscripts/msp430x1132.xn +lib/ldscripts/msp430x1132.xr +lib/ldscripts/msp430x1132.xu +lib/ldscripts/msp430x122.x +lib/ldscripts/msp430x122.xbn +lib/ldscripts/msp430x122.xn +lib/ldscripts/msp430x122.xr +lib/ldscripts/msp430x122.xu +lib/ldscripts/msp430x1222.x +lib/ldscripts/msp430x1222.xbn +lib/ldscripts/msp430x1222.xn +lib/ldscripts/msp430x1222.xr +lib/ldscripts/msp430x1222.xu +lib/ldscripts/msp430x123.x +lib/ldscripts/msp430x123.xbn +lib/ldscripts/msp430x123.xn +lib/ldscripts/msp430x123.xr +lib/ldscripts/msp430x123.xu +lib/ldscripts/msp430x1232.x +lib/ldscripts/msp430x1232.xbn +lib/ldscripts/msp430x1232.xn +lib/ldscripts/msp430x1232.xr +lib/ldscripts/msp430x1232.xu +lib/ldscripts/msp430x133.x +lib/ldscripts/msp430x133.xbn +lib/ldscripts/msp430x133.xn +lib/ldscripts/msp430x133.xr +lib/ldscripts/msp430x133.xu +lib/ldscripts/msp430x1331.x +lib/ldscripts/msp430x1331.xbn +lib/ldscripts/msp430x1331.xn +lib/ldscripts/msp430x1331.xr +lib/ldscripts/msp430x1331.xu +lib/ldscripts/msp430x135.x +lib/ldscripts/msp430x135.xbn +lib/ldscripts/msp430x135.xn +lib/ldscripts/msp430x135.xr +lib/ldscripts/msp430x135.xu +lib/ldscripts/msp430x1351.x +lib/ldscripts/msp430x1351.xbn +lib/ldscripts/msp430x1351.xn +lib/ldscripts/msp430x1351.xr +lib/ldscripts/msp430x1351.xu +lib/ldscripts/msp430x147.x +lib/ldscripts/msp430x147.xbn +lib/ldscripts/msp430x147.xn +lib/ldscripts/msp430x147.xr +lib/ldscripts/msp430x147.xu +lib/ldscripts/msp430x148.x +lib/ldscripts/msp430x148.xbn +lib/ldscripts/msp430x148.xn +lib/ldscripts/msp430x148.xr +lib/ldscripts/msp430x148.xu +lib/ldscripts/msp430x149.x +lib/ldscripts/msp430x149.xbn +lib/ldscripts/msp430x149.xn +lib/ldscripts/msp430x149.xr +lib/ldscripts/msp430x149.xu +lib/ldscripts/msp430x155.x +lib/ldscripts/msp430x155.xbn +lib/ldscripts/msp430x155.xn +lib/ldscripts/msp430x155.xr +lib/ldscripts/msp430x155.xu +lib/ldscripts/msp430x156.x +lib/ldscripts/msp430x156.xbn +lib/ldscripts/msp430x156.xn +lib/ldscripts/msp430x156.xr +lib/ldscripts/msp430x156.xu +lib/ldscripts/msp430x157.x +lib/ldscripts/msp430x157.xbn +lib/ldscripts/msp430x157.xn +lib/ldscripts/msp430x157.xr +lib/ldscripts/msp430x157.xu +lib/ldscripts/msp430x167.x +lib/ldscripts/msp430x167.xbn +lib/ldscripts/msp430x167.xn +lib/ldscripts/msp430x167.xr +lib/ldscripts/msp430x167.xu +lib/ldscripts/msp430x168.x +lib/ldscripts/msp430x168.xbn +lib/ldscripts/msp430x168.xn +lib/ldscripts/msp430x168.xr +lib/ldscripts/msp430x168.xu +lib/ldscripts/msp430x169.x +lib/ldscripts/msp430x169.xbn +lib/ldscripts/msp430x169.xn +lib/ldscripts/msp430x169.xr +lib/ldscripts/msp430x169.xu +lib/ldscripts/msp430x311.x +lib/ldscripts/msp430x311.xbn +lib/ldscripts/msp430x311.xn +lib/ldscripts/msp430x311.xr +lib/ldscripts/msp430x311.xu +lib/ldscripts/msp430x312.x +lib/ldscripts/msp430x312.xbn +lib/ldscripts/msp430x312.xn +lib/ldscripts/msp430x312.xr +lib/ldscripts/msp430x312.xu +lib/ldscripts/msp430x313.x +lib/ldscripts/msp430x313.xbn +lib/ldscripts/msp430x313.xn +lib/ldscripts/msp430x313.xr +lib/ldscripts/msp430x313.xu +lib/ldscripts/msp430x314.x +lib/ldscripts/msp430x314.xbn +lib/ldscripts/msp430x314.xn +lib/ldscripts/msp430x314.xr +lib/ldscripts/msp430x314.xu +lib/ldscripts/msp430x315.x +lib/ldscripts/msp430x315.xbn +lib/ldscripts/msp430x315.xn +lib/ldscripts/msp430x315.xr +lib/ldscripts/msp430x315.xu +lib/ldscripts/msp430x323.x +lib/ldscripts/msp430x323.xbn +lib/ldscripts/msp430x323.xn +lib/ldscripts/msp430x323.xr +lib/ldscripts/msp430x323.xu +lib/ldscripts/msp430x325.x +lib/ldscripts/msp430x325.xbn +lib/ldscripts/msp430x325.xn +lib/ldscripts/msp430x325.xr +lib/ldscripts/msp430x325.xu +lib/ldscripts/msp430x336.x +lib/ldscripts/msp430x336.xbn +lib/ldscripts/msp430x336.xn +lib/ldscripts/msp430x336.xr +lib/ldscripts/msp430x336.xu +lib/ldscripts/msp430x337.x +lib/ldscripts/msp430x337.xbn +lib/ldscripts/msp430x337.xn +lib/ldscripts/msp430x337.xr +lib/ldscripts/msp430x337.xu +lib/ldscripts/msp430x412.x +lib/ldscripts/msp430x412.xbn +lib/ldscripts/msp430x412.xn +lib/ldscripts/msp430x412.xr +lib/ldscripts/msp430x412.xu +lib/ldscripts/msp430x413.x +lib/ldscripts/msp430x413.xbn +lib/ldscripts/msp430x413.xn +lib/ldscripts/msp430x413.xr +lib/ldscripts/msp430x413.xu +lib/ldscripts/msp430x435.x +lib/ldscripts/msp430x435.xbn +lib/ldscripts/msp430x435.xn +lib/ldscripts/msp430x435.xr +lib/ldscripts/msp430x435.xu +lib/ldscripts/msp430x436.x +lib/ldscripts/msp430x436.xbn +lib/ldscripts/msp430x436.xn +lib/ldscripts/msp430x436.xr +lib/ldscripts/msp430x436.xu +lib/ldscripts/msp430x437.x +lib/ldscripts/msp430x437.xbn +lib/ldscripts/msp430x437.xn +lib/ldscripts/msp430x437.xr +lib/ldscripts/msp430x437.xu +lib/ldscripts/msp430x447.x +lib/ldscripts/msp430x447.xbn +lib/ldscripts/msp430x447.xn +lib/ldscripts/msp430x447.xr +lib/ldscripts/msp430x447.xu +lib/ldscripts/msp430x448.x +lib/ldscripts/msp430x448.xbn +lib/ldscripts/msp430x448.xn +lib/ldscripts/msp430x448.xr +lib/ldscripts/msp430x448.xu +lib/ldscripts/msp430x449.x +lib/ldscripts/msp430x449.xbn +lib/ldscripts/msp430x449.xn +lib/ldscripts/msp430x449.xr +lib/ldscripts/msp430x449.xu +lib/ldscripts/msp430xE423.x +lib/ldscripts/msp430xE423.xbn +lib/ldscripts/msp430xE423.xn +lib/ldscripts/msp430xE423.xr +lib/ldscripts/msp430xE423.xu +lib/ldscripts/msp430xE425.x +lib/ldscripts/msp430xE425.xbn +lib/ldscripts/msp430xE425.xn +lib/ldscripts/msp430xE425.xr +lib/ldscripts/msp430xE425.xu +lib/ldscripts/msp430xE427.x +lib/ldscripts/msp430xE427.xbn +lib/ldscripts/msp430xE427.xn +lib/ldscripts/msp430xE427.xr +lib/ldscripts/msp430xE427.xu +lib/ldscripts/msp430xW423.x +lib/ldscripts/msp430xW423.xbn +lib/ldscripts/msp430xW423.xn +lib/ldscripts/msp430xW423.xr +lib/ldscripts/msp430xW423.xu +lib/ldscripts/msp430xW425.x +lib/ldscripts/msp430xW425.xbn +lib/ldscripts/msp430xW425.xn +lib/ldscripts/msp430xW425.xr +lib/ldscripts/msp430xW425.xu +lib/ldscripts/msp430xW427.x +lib/ldscripts/msp430xW427.xbn +lib/ldscripts/msp430xW427.xn +lib/ldscripts/msp430xW427.xr +lib/ldscripts/msp430xW427.xu +lib/ldscripts/news.x +lib/ldscripts/news.xbn +lib/ldscripts/news.xn +lib/ldscripts/news.xr +lib/ldscripts/news.xu +lib/ldscripts/ns32knbsd.x +lib/ldscripts/ns32knbsd.xbn +lib/ldscripts/ns32knbsd.xn +lib/ldscripts/ns32knbsd.xr +lib/ldscripts/ns32knbsd.xu +lib/ldscripts/or32.x +lib/ldscripts/or32.xbn +lib/ldscripts/or32.xn +lib/ldscripts/or32.xr +lib/ldscripts/or32.xu +lib/ldscripts/or32elf.x +lib/ldscripts/or32elf.xbn +lib/ldscripts/or32elf.xc +lib/ldscripts/or32elf.xn +lib/ldscripts/or32elf.xr +lib/ldscripts/or32elf.xu +lib/ldscripts/pc532macha.x +lib/ldscripts/pc532macha.xbn +lib/ldscripts/pc532macha.xn +lib/ldscripts/pc532macha.xr +lib/ldscripts/pc532macha.xu +lib/ldscripts/pdp11.x +lib/ldscripts/pdp11.xbn +lib/ldscripts/pdp11.xn +lib/ldscripts/pdp11.xr +lib/ldscripts/pdp11.xu +lib/ldscripts/pjelf.x +lib/ldscripts/pjelf.xbn +lib/ldscripts/pjelf.xc +lib/ldscripts/pjelf.xn +lib/ldscripts/pjelf.xr +lib/ldscripts/pjelf.xu +lib/ldscripts/pjlelf.x +lib/ldscripts/pjlelf.xbn +lib/ldscripts/pjlelf.xc +lib/ldscripts/pjlelf.xn +lib/ldscripts/pjlelf.xr +lib/ldscripts/pjlelf.xu +lib/ldscripts/ppcmacos.x +lib/ldscripts/ppcmacos.xbn +lib/ldscripts/ppcmacos.xn +lib/ldscripts/ppcmacos.xr +lib/ldscripts/ppcmacos.xu +lib/ldscripts/ppcnw.x +lib/ldscripts/ppcnw.xbn +lib/ldscripts/ppcnw.xn +lib/ldscripts/ppcnw.xr +lib/ldscripts/ppcnw.xu +lib/ldscripts/ppcpe.x +lib/ldscripts/ppcpe.xbn +lib/ldscripts/ppcpe.xn +lib/ldscripts/ppcpe.xr +lib/ldscripts/ppcpe.xu +lib/ldscripts/riscix.x +lib/ldscripts/riscix.xbn +lib/ldscripts/riscix.xn +lib/ldscripts/riscix.xr +lib/ldscripts/riscix.xu +lib/ldscripts/sa29200.x +lib/ldscripts/sa29200.xbn +lib/ldscripts/sa29200.xn +lib/ldscripts/sa29200.xr +lib/ldscripts/sa29200.xu +lib/ldscripts/sh.x +lib/ldscripts/sh.xbn +lib/ldscripts/sh.xn +lib/ldscripts/sh.xr +lib/ldscripts/sh.xu +lib/ldscripts/shelf.x +lib/ldscripts/shelf.xbn +lib/ldscripts/shelf.xc +lib/ldscripts/shelf.xn +lib/ldscripts/shelf.xr +lib/ldscripts/shelf.xs +lib/ldscripts/shelf.xsc +lib/ldscripts/shelf.xu +lib/ldscripts/shelf32.x +lib/ldscripts/shelf32.xbn +lib/ldscripts/shelf32.xc +lib/ldscripts/shelf32.xn +lib/ldscripts/shelf32.xr +lib/ldscripts/shelf32.xs +lib/ldscripts/shelf32.xsc +lib/ldscripts/shelf32.xu +lib/ldscripts/shelf32_linux.x +lib/ldscripts/shelf32_linux.xbn +lib/ldscripts/shelf32_linux.xc +lib/ldscripts/shelf32_linux.xd +lib/ldscripts/shelf32_linux.xdc +lib/ldscripts/shelf32_linux.xn +lib/ldscripts/shelf32_linux.xr +lib/ldscripts/shelf32_linux.xs +lib/ldscripts/shelf32_linux.xsc +lib/ldscripts/shelf32_linux.xu +lib/ldscripts/shelf32_nbsd.x +lib/ldscripts/shelf32_nbsd.xbn +lib/ldscripts/shelf32_nbsd.xc +lib/ldscripts/shelf32_nbsd.xn +lib/ldscripts/shelf32_nbsd.xr +lib/ldscripts/shelf32_nbsd.xs +lib/ldscripts/shelf32_nbsd.xsc +lib/ldscripts/shelf32_nbsd.xu +lib/ldscripts/shelf64.x +lib/ldscripts/shelf64.xbn +lib/ldscripts/shelf64.xc +lib/ldscripts/shelf64.xn +lib/ldscripts/shelf64.xr +lib/ldscripts/shelf64.xs +lib/ldscripts/shelf64.xsc +lib/ldscripts/shelf64.xu +lib/ldscripts/shelf64_nbsd.x +lib/ldscripts/shelf64_nbsd.xbn +lib/ldscripts/shelf64_nbsd.xc +lib/ldscripts/shelf64_nbsd.xn +lib/ldscripts/shelf64_nbsd.xr +lib/ldscripts/shelf64_nbsd.xs +lib/ldscripts/shelf64_nbsd.xsc +lib/ldscripts/shelf64_nbsd.xu +lib/ldscripts/shelf_linux.x +lib/ldscripts/shelf_linux.xbn +lib/ldscripts/shelf_linux.xc +lib/ldscripts/shelf_linux.xd +lib/ldscripts/shelf_linux.xdc +lib/ldscripts/shelf_linux.xn +lib/ldscripts/shelf_linux.xr +lib/ldscripts/shelf_linux.xs +lib/ldscripts/shelf_linux.xsc +lib/ldscripts/shelf_linux.xu +lib/ldscripts/shelf_nbsd.x +lib/ldscripts/shelf_nbsd.xbn +lib/ldscripts/shelf_nbsd.xc +lib/ldscripts/shelf_nbsd.xn +lib/ldscripts/shelf_nbsd.xr +lib/ldscripts/shelf_nbsd.xs +lib/ldscripts/shelf_nbsd.xsc +lib/ldscripts/shelf_nbsd.xu +lib/ldscripts/shelf_nto.x +lib/ldscripts/shelf_nto.xbn +lib/ldscripts/shelf_nto.xc +lib/ldscripts/shelf_nto.xn +lib/ldscripts/shelf_nto.xr +lib/ldscripts/shelf_nto.xs +lib/ldscripts/shelf_nto.xsc +lib/ldscripts/shelf_nto.xu +lib/ldscripts/shl.x +lib/ldscripts/shl.xbn +lib/ldscripts/shl.xn +lib/ldscripts/shl.xr +lib/ldscripts/shl.xu +lib/ldscripts/shlelf.x +lib/ldscripts/shlelf.xbn +lib/ldscripts/shlelf.xc +lib/ldscripts/shlelf.xn +lib/ldscripts/shlelf.xr +lib/ldscripts/shlelf.xs +lib/ldscripts/shlelf.xsc +lib/ldscripts/shlelf.xu +lib/ldscripts/shlelf32.x +lib/ldscripts/shlelf32.xbn +lib/ldscripts/shlelf32.xc +lib/ldscripts/shlelf32.xn +lib/ldscripts/shlelf32.xr +lib/ldscripts/shlelf32.xs +lib/ldscripts/shlelf32.xsc +lib/ldscripts/shlelf32.xu +lib/ldscripts/shlelf32_linux.x +lib/ldscripts/shlelf32_linux.xbn +lib/ldscripts/shlelf32_linux.xc +lib/ldscripts/shlelf32_linux.xd +lib/ldscripts/shlelf32_linux.xdc +lib/ldscripts/shlelf32_linux.xn +lib/ldscripts/shlelf32_linux.xr +lib/ldscripts/shlelf32_linux.xs +lib/ldscripts/shlelf32_linux.xsc +lib/ldscripts/shlelf32_linux.xu +lib/ldscripts/shlelf32_nbsd.x +lib/ldscripts/shlelf32_nbsd.xbn +lib/ldscripts/shlelf32_nbsd.xc +lib/ldscripts/shlelf32_nbsd.xn +lib/ldscripts/shlelf32_nbsd.xr +lib/ldscripts/shlelf32_nbsd.xs +lib/ldscripts/shlelf32_nbsd.xsc +lib/ldscripts/shlelf32_nbsd.xu +lib/ldscripts/shlelf64.x +lib/ldscripts/shlelf64.xbn +lib/ldscripts/shlelf64.xc +lib/ldscripts/shlelf64.xn +lib/ldscripts/shlelf64.xr +lib/ldscripts/shlelf64.xs +lib/ldscripts/shlelf64.xsc +lib/ldscripts/shlelf64.xu +lib/ldscripts/shlelf64_nbsd.x +lib/ldscripts/shlelf64_nbsd.xbn +lib/ldscripts/shlelf64_nbsd.xc +lib/ldscripts/shlelf64_nbsd.xn +lib/ldscripts/shlelf64_nbsd.xr +lib/ldscripts/shlelf64_nbsd.xs +lib/ldscripts/shlelf64_nbsd.xsc +lib/ldscripts/shlelf64_nbsd.xu +lib/ldscripts/shlelf_linux.x +lib/ldscripts/shlelf_linux.xbn +lib/ldscripts/shlelf_linux.xc +lib/ldscripts/shlelf_linux.xd +lib/ldscripts/shlelf_linux.xdc +lib/ldscripts/shlelf_linux.xn +lib/ldscripts/shlelf_linux.xr +lib/ldscripts/shlelf_linux.xs +lib/ldscripts/shlelf_linux.xsc +lib/ldscripts/shlelf_linux.xu +lib/ldscripts/shlelf_nbsd.x +lib/ldscripts/shlelf_nbsd.xbn +lib/ldscripts/shlelf_nbsd.xc +lib/ldscripts/shlelf_nbsd.xn +lib/ldscripts/shlelf_nbsd.xr +lib/ldscripts/shlelf_nbsd.xs +lib/ldscripts/shlelf_nbsd.xsc +lib/ldscripts/shlelf_nbsd.xu +lib/ldscripts/shlelf_nto.x +lib/ldscripts/shlelf_nto.xbn +lib/ldscripts/shlelf_nto.xc +lib/ldscripts/shlelf_nto.xn +lib/ldscripts/shlelf_nto.xr +lib/ldscripts/shlelf_nto.xs +lib/ldscripts/shlelf_nto.xsc +lib/ldscripts/shlelf_nto.xu +lib/ldscripts/shpe.x +lib/ldscripts/shpe.xbn +lib/ldscripts/shpe.xn +lib/ldscripts/shpe.xr +lib/ldscripts/shpe.xu +lib/ldscripts/sparcaout.x +lib/ldscripts/sparcaout.xbn +lib/ldscripts/sparcaout.xn +lib/ldscripts/sparcaout.xr +lib/ldscripts/sparcaout.xu +lib/ldscripts/sparclinux.x +lib/ldscripts/sparclinux.xbn +lib/ldscripts/sparclinux.xn +lib/ldscripts/sparclinux.xr +lib/ldscripts/sparclinux.xu +lib/ldscripts/sparclynx.x +lib/ldscripts/sparclynx.xbn +lib/ldscripts/sparclynx.xn +lib/ldscripts/sparclynx.xr +lib/ldscripts/sparclynx.xu lib/ldscripts/sparcnbsd.x lib/ldscripts/sparcnbsd.xbn lib/ldscripts/sparcnbsd.xn lib/ldscripts/sparcnbsd.xr lib/ldscripts/sparcnbsd.xu +lib/ldscripts/st2000.x +lib/ldscripts/st2000.xbn +lib/ldscripts/st2000.xn +lib/ldscripts/st2000.xr +lib/ldscripts/st2000.xu lib/ldscripts/sun3.x lib/ldscripts/sun3.xbn lib/ldscripts/sun3.xn @@ -116,28 +1620,102 @@ lib/ldscripts/sun4.xbn lib/ldscripts/sun4.xn lib/ldscripts/sun4.xr lib/ldscripts/sun4.xu -lib/libbfd-2.9.1.so +lib/ldscripts/tic30aout.x +lib/ldscripts/tic30aout.xbn +lib/ldscripts/tic30aout.xn +lib/ldscripts/tic30aout.xr +lib/ldscripts/tic30aout.xu +lib/ldscripts/tic30coff.x +lib/ldscripts/tic30coff.xbn +lib/ldscripts/tic30coff.xn +lib/ldscripts/tic30coff.xr +lib/ldscripts/tic30coff.xu +lib/ldscripts/tic3xcoff.x +lib/ldscripts/tic3xcoff.xbn +lib/ldscripts/tic3xcoff.xn +lib/ldscripts/tic3xcoff.xr +lib/ldscripts/tic3xcoff.xu +lib/ldscripts/tic3xcoff_onchip.x +lib/ldscripts/tic3xcoff_onchip.xbn +lib/ldscripts/tic3xcoff_onchip.xn +lib/ldscripts/tic3xcoff_onchip.xr +lib/ldscripts/tic3xcoff_onchip.xu +lib/ldscripts/tic4xcoff.x +lib/ldscripts/tic4xcoff.xbn +lib/ldscripts/tic4xcoff.xn +lib/ldscripts/tic4xcoff.xr +lib/ldscripts/tic4xcoff.xu +lib/ldscripts/tic54xcoff.x +lib/ldscripts/tic54xcoff.xbn +lib/ldscripts/tic54xcoff.xn +lib/ldscripts/tic54xcoff.xr +lib/ldscripts/tic54xcoff.xu +lib/ldscripts/tic80coff.x +lib/ldscripts/tic80coff.xbn +lib/ldscripts/tic80coff.xn +lib/ldscripts/tic80coff.xr +lib/ldscripts/tic80coff.xu +lib/ldscripts/vanilla.x +lib/ldscripts/vanilla.xbn +lib/ldscripts/vanilla.xn +lib/ldscripts/vanilla.xr +lib/ldscripts/vanilla.xu +lib/ldscripts/vax.x +lib/ldscripts/vax.xbn +lib/ldscripts/vax.xn +lib/ldscripts/vax.xr +lib/ldscripts/vax.xu +lib/ldscripts/vaxnbsd.x +lib/ldscripts/vaxnbsd.xbn +lib/ldscripts/vaxnbsd.xn +lib/ldscripts/vaxnbsd.xr +lib/ldscripts/vaxnbsd.xu +lib/ldscripts/vsta.x +lib/ldscripts/vsta.xbn +lib/ldscripts/vsta.xn +lib/ldscripts/vsta.xr +lib/ldscripts/vsta.xu +lib/ldscripts/w65.x +lib/ldscripts/w65.xbn +lib/ldscripts/w65.xn +lib/ldscripts/w65.xr +lib/ldscripts/w65.xu +lib/ldscripts/z8001.x +lib/ldscripts/z8001.xbn +lib/ldscripts/z8001.xn +lib/ldscripts/z8001.xr +lib/ldscripts/z8001.xu +lib/ldscripts/z8002.x +lib/ldscripts/z8002.xbn +lib/ldscripts/z8002.xn +lib/ldscripts/z8002.xr +lib/ldscripts/z8002.xu lib/libbfd.a lib/libbfd.la lib/libiberty.a -lib/libopcodes-2.9.1.so lib/libopcodes.a lib/libopcodes.la libexec/binutils/addr2line libexec/binutils/ar +libexec/binutils/coffdump libexec/binutils/cross-env -libexec/binutils/dlltool +libexec/binutils/cxxfilt libexec/binutils/ld libexec/binutils/nlmconv libexec/binutils/nm libexec/binutils/objcopy libexec/binutils/objdump libexec/binutils/ranlib +libexec/binutils/readelf libexec/binutils/size +libexec/binutils/srconv libexec/binutils/strings libexec/binutils/strip +libexec/binutils/sysdump +libexec/binutils/sysinfo libexec/binutils/windres @dirrm libexec/binutils +@dirrm lib/ldscripts @exec ln -s %D/libexec/binutils/cross-env ${LOCALBASE}/bin/cross-env @unexec ${RM} ${LOCALBASE}/bin/cross-env @unexec ${RM} -f %D/lib/libbfd.so %D/lib/libopcodes.so 2> /dev/null || ${TRUE} diff --git a/cross/binutils/distinfo b/cross/binutils/distinfo index ed8c78c41e3..3c99a3e08c4 100644 --- a/cross/binutils/distinfo +++ b/cross/binutils/distinfo @@ -1,21 +1,5 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 09:36:23 skrll Exp $ +$NetBSD: distinfo,v 1.3 2004/07/09 20:43:48 kristerw Exp $ -SHA1 (binutils-2.9.1.tar.gz) = 9df3cdcd34f81118ee403f8794b277ad28a57e14 -Size (binutils-2.9.1.tar.gz) = 5694541 bytes -SHA1 (patch-aa) = 03d481416a6cd1ecca402d6ee8d236a37b1326b0 -SHA1 (patch-ab) = c5d33158dfeb46135e2288a1d9ec59e62a9a46ad -SHA1 (patch-ac) = 757023426ede33305b3b6d4ce148ec7de0fd8234 -SHA1 (patch-af) = bd5ee47fd4734c9f7dcdb7d53b6cac27c510529b -SHA1 (patch-ai) = 5317f31a87c25d55c7b4747e94af5f090e3037a1 -SHA1 (patch-aj) = d1fe1886b6d6d6fe7e3f85060f237d84a640e213 -SHA1 (patch-ak) = b0d8c958e04e31453c47e4b59bb4bc80b0d283ef -SHA1 (patch-al) = 8adfd5a5fddcd74ce39b7c682b1cdf0333b6923c -SHA1 (patch-am) = f39fcc54c7ef2ee69ceb796c92a25d7e5f36d2c6 -SHA1 (patch-an) = b35263d97e85ba25521d697e34f26f4fa607a17c -SHA1 (patch-archive) = cbdb51dc72870843bcf0c9b5e8a11421259dd813 -SHA1 (patch-armthirtytwo) = 177620bd2e259041a984e8a60df42b00212cc2b4 -SHA1 (patch-arrays) = 82ceaa4049c4e862d50988de2f25c8d31c9b64f4 -SHA1 (patch-mips) = 9480188e72b1eaf0064795cb4a718adcc306d091 -SHA1 (patch-msixtyeightk) = ddcc471e77306881c555d340d6a2ef5e874802d5 -SHA1 (patch-powerpc) = 7aa4f800f9f74ec7868a3d29aea7436f8e6b85a4 -SHA1 (patch-sh) = a6e5f4b4ac7298d90ab0d44276ecd9888464b786 +SHA1 (binutils-2.15.tar.gz) = 4caf693b8cbaf1118d2bfddb40a2fc91eaf51a6f +Size (binutils-2.15.tar.gz) = 15134701 bytes +SHA1 (patch-af) = de7ffe8ec327d133a195d1c72ef98fe62e2fd05b diff --git a/cross/binutils/files/exclude b/cross/binutils/files/exclude deleted file mode 100644 index 29c09bc1ff0..00000000000 --- a/cross/binutils/files/exclude +++ /dev/null @@ -1,3 +0,0 @@ -binutils-*/*/testsuite/* -binutils-*/etc/* -binutils-*/gas/* diff --git a/cross/binutils/patches/patch-aa b/cross/binutils/patches/patch-aa deleted file mode 100644 index 42765bf3c16..00000000000 --- a/cross/binutils/patches/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ -$NetBSD: patch-aa,v 1.1 1999/01/04 22:37:31 tv Exp $ - ---- ./bfd/elf64-alpha.c.orig Fri May 1 11:48:09 1998 -+++ ./bfd/elf64-alpha.c Tue Dec 29 15:31:36 1998 -@@ -1012,9 +1012,16 @@ - #define PLT_HEADER_WORD4 0x6b7b0000 /* jmp $27,($27) */ - - #define PLT_ENTRY_SIZE 12 -+#ifdef __NetBSD__ -+/* XXX. XXX. For NetBSD 1.3 compatibility - should be fixed better */ -+#define PLT_ENTRY_WORD1 0x279f0000 /* ldah $28, 0($31) */ -+#define PLT_ENTRY_WORD2 0x239c0000 /* lda $28, 0($28) */ -+#define PLT_ENTRY_WORD3 0xc3e00000 /* br $31, plt0 */ -+#else - #define PLT_ENTRY_WORD1 0xc3800000 /* br $28, plt0 */ - #define PLT_ENTRY_WORD2 0 - #define PLT_ENTRY_WORD3 0 -+#endif - - #define MAX_GOT_ENTRIES (64*1024 / 8) - -@@ -3118,9 +3125,23 @@ - { - unsigned insn1, insn2, insn3; - -+#ifdef __NetBSD__ -+/* XXX. XXX. For NetBSD 1.3 compatibility - should be fixed better */ -+ long hi, lo; -+ -+ /* decompose the reloc offset for the plt for ldah+lda */ -+ hi = plt_index * sizeof(Elf64_External_Rela); -+ lo = ((hi & 0xffff) ^ 0x8000) - 0x8000; -+ hi = (hi - lo) >> 16; -+ -+ insn1 = PLT_ENTRY_WORD1 | (hi & 0xffff); -+ insn2 = PLT_ENTRY_WORD2 | (lo & 0xffff); -+ insn3 = PLT_ENTRY_WORD3 | ((-(h->plt_offset + 12) >> 2) & 0x1fffff); -+#else - insn1 = PLT_ENTRY_WORD1 | ((-(h->plt_offset + 4) >> 2) & 0x1fffff); - insn2 = PLT_ENTRY_WORD2; - insn3 = PLT_ENTRY_WORD3; -+#endif - - bfd_put_32 (output_bfd, insn1, splt->contents + h->plt_offset); - bfd_put_32 (output_bfd, insn2, splt->contents + h->plt_offset + 4); diff --git a/cross/binutils/patches/patch-ab b/cross/binutils/patches/patch-ab deleted file mode 100644 index 049645c1c4c..00000000000 --- a/cross/binutils/patches/patch-ab +++ /dev/null @@ -1,37 +0,0 @@ -$NetBSD: patch-ab,v 1.1 1999/01/04 22:37:31 tv Exp $ - ---- ./ld/configure.host.orig Fri May 1 11:48:48 1998 -+++ ./ld/configure.host Wed Dec 22 09:52:16 1999 -@@ -16,12 +16,7 @@ - - case "${host}" in - --alpha*-*-linux-gnu*) -- HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`' -- HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`' -- ;; -- --alpha*-*-netbsd*) -+*-*-netbsd*) - # The new BSD `make' has a bug: it doesn't pass empty arguments in - # shell commands. So we need to make this value non-empty in order - # for the genscripts.sh call to work. There's nothing magic about -@@ -30,12 +25,17 @@ - HOSTING_CRT0=/usr/lib/crt0.o - ;; - -+alpha*-*-linux-gnu*) -+ HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`' -+ HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`' -+ ;; -+ - alpha*-*-*) - HOSTING_CRT0=/usr/ccs/lib/crt0.o - NATIVE_LIB_DIRS=/usr/ccs/lib - ;; - --i[3456]86-*-bsd* | i[3456]86-*-freebsd* | i[3456]86-*-netbsd*) -+i[3456]86-*-bsd* | i[3456]86-*-freebsd*) - # The new BSD `make' has a bug: it doesn't pass empty arguments in - # shell commands. So we need to make this value non-empty in order - # for the genscripts.sh call to work. There's nothing magic about diff --git a/cross/binutils/patches/patch-ac b/cross/binutils/patches/patch-ac deleted file mode 100644 index 39d6f9fb5b2..00000000000 --- a/cross/binutils/patches/patch-ac +++ /dev/null @@ -1,163 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2000/06/11 23:42:13 mycroft Exp $ - ---- bfd/elf32-mips.c.orig Fri May 1 11:48:09 1998 -+++ bfd/elf32-mips.c Sun Jun 11 19:33:36 2000 -@@ -155,6 +155,11 @@ - #define STUB_LI16 0x34180000 /* ori t8,zero,0 */ - #define MIPS_FUNCTION_STUB_SIZE (16) - -+#if 0 -+/* We no longer try to identify particular sections for the .dynsym -+ section. When we do, we wind up crashing if there are other random -+ sections with relocations. */ -+ - /* Names of sections which appear in the .dynsym section in an Irix 5 - executable. */ - -@@ -179,6 +184,8 @@ - - #define MIPS_TEXT_DYNSYM_SECNO (3) - -+#endif /* 0 */ -+ - /* The names of the runtime procedure table symbols used on Irix 5. */ - - static const char * const mips_elf_dynsym_rtproc_names[] = -@@ -2314,7 +2321,10 @@ - || strcmp (name, ".dynstr") == 0)) - { - hdr->sh_entsize = 0; -+#if 0 -+ /* This isn't how the Irix 6 linker behaves. */ - hdr->sh_info = SIZEOF_MIPS_DYNSYM_SECNAMES; -+#endif - } - else if (strcmp (name, ".got") == 0 - || strcmp (name, ".sdata") == 0 -@@ -2884,8 +2894,11 @@ - bfd_h_put_16 (abfd, in->pcreg, (bfd_byte *) ex->p_pcreg); - - bfd_h_put_32 (abfd, in->irpss, (bfd_byte *) ex->p_irpss); -+ bfd_h_put_32 (abfd, 0, (bfd_byte *) ex->p_reserved); - #if 0 /* FIXME */ - ecoff_put_off (abfd, in->exception_info, (bfd_byte *) ex->p_exception_info); -+#else -+ bfd_h_put_32 (abfd, 0, (bfd_byte *) ex->p_exception_info); - #endif - } - -@@ -3178,8 +3191,11 @@ - struct mips_elf_link_hash_table - { - struct elf_link_hash_table root; -+#if 0 -+ /* We no longer use this. */ - /* String section indices for the dynamic section symbols. */ - bfd_size_type dynsym_sec_strindex[SIZEOF_MIPS_DYNSYM_SECNAMES]; -+#endif - /* The number of .rtproc entries. */ - bfd_size_type procedure_count; - /* The size of the .compact_rel section (if SGI_COMPAT). */ -@@ -3264,7 +3280,6 @@ - bfd *abfd; - { - struct mips_elf_link_hash_table *ret; -- unsigned int i; - - ret = ((struct mips_elf_link_hash_table *) - bfd_alloc (abfd, sizeof (struct mips_elf_link_hash_table))); -@@ -3278,8 +3293,11 @@ - return NULL; - } - -+#if 0 -+ /* We no longer use this. */ - for (i = 0; i < SIZEOF_MIPS_DYNSYM_SECNAMES; i++) - ret->dynsym_sec_strindex[i] = (bfd_size_type) -1; -+#endif - ret->procedure_count = 0; - ret->compact_rel_size = 0; - ret->use_rld_obj_head = false; -@@ -6570,15 +6588,20 @@ - That means we must increment the dynamic symbol index of every - other dynamic symbol. */ - { -- const char * const *namep; - unsigned int c, i; -- bfd_size_type strindex; -- struct bfd_strtab_hash *dynstr; - struct mips_got_info *g; - - c = 0; - if (elf_hash_table (info)->dynamic_sections_created) - { -+#if 0 -+ /* We no longer try to restrict the set of sections which get -+ dynamic symbol table entries, since it fails if we have -+ other random sections which need dynamic relocations. */ -+ const char * const *namep; -+ bfd_size_type strindex; -+ struct bfd_strtab_hash *dynstr; -+ - if (SGI_COMPAT (output_bfd)) - { - c = SIZEOF_MIPS_DYNSYM_SECNAMES - 1; -@@ -6606,6 +6629,7 @@ - } - } - else -+#endif /* 0 */ - { - c = bfd_count_sections (output_bfd); - elf_link_hash_traverse (elf_hash_table (info), -@@ -6962,8 +6986,11 @@ - break; - - case DT_MIPS_UNREFEXTNO: -- /* XXX FIXME: */ -+#if 0 - dyn.d_un.d_val = SIZEOF_MIPS_DYNSYM_SECNAMES; -+#else -+ dyn.d_un.d_val = bfd_count_sections (output_bfd); -+#endif - bfd_elf32_swap_dyn_out (output_bfd, &dyn, dyncon); - break; - -@@ -7001,12 +7028,7 @@ - { - asection *sdynsym; - asection *s; -- unsigned int i; -- bfd_vma last; - Elf_Internal_Sym sym; -- long dindx; -- const char *name; -- const char * const * namep = mips_elf_dynsym_sec_names; - Elf32_compact_rel cpt; - - /* Set up the section symbols for the output sections. SGI sets -@@ -7015,6 +7037,16 @@ - sdynsym = bfd_get_section_by_name (dynobj, ".dynsym"); - if (sdynsym != NULL) - { -+#if 0 -+ const char *name; -+ const char * const * namep = mips_elf_dynsym_sec_names; -+ unsigned int i; -+ bfd_vma last; -+ long dindx; -+ -+ /* We no longer try to restrict the set of sections which get -+ dynamic symbol table entries, since it fails if we have -+ other random sections which need dynamic relocations. */ - if (SGI_COMPAT (output_bfd)) - { - sym.st_size = 0; -@@ -7059,6 +7091,7 @@ - SIZEOF_MIPS_DYNSYM_SECNAMES; - } - else -+#endif /* 0 */ - { - sym.st_size = 0; - sym.st_name = 0; diff --git a/cross/binutils/patches/patch-af b/cross/binutils/patches/patch-af index be7d76331fc..2195c29f813 100644 --- a/cross/binutils/patches/patch-af +++ b/cross/binutils/patches/patch-af @@ -1,8 +1,8 @@ -$NetBSD: patch-af,v 1.1 1999/01/04 22:37:32 tv Exp $ +$NetBSD: patch-af,v 1.2 2004/07/09 20:43:48 kristerw Exp $ ---- ld/Makefile.in.orig Thu Dec 31 15:03:33 1998 -+++ ld/Makefile.in Thu Dec 31 15:03:43 1998 -@@ -87,7 +87,7 @@ +--- ld/Makefile.in.orig Fri Jul 9 21:46:22 2004 ++++ ld/Makefile.in Fri Jul 9 21:46:44 2004 +@@ -128,7 +128,7 @@ # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers. diff --git a/cross/binutils/patches/patch-ai b/cross/binutils/patches/patch-ai deleted file mode 100644 index a8ba285bd0d..00000000000 --- a/cross/binutils/patches/patch-ai +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ai,v 1.1 1999/01/04 22:37:32 tv Exp $ - -XXX - this isn't quite right, but is necessary for now to make DJGPP work. - ---- ld/scripttempl/i386go32.sc.orig Sun Aug 2 15:02:47 1998 -+++ ld/scripttempl/i386go32.sc Sun Aug 2 15:02:59 1998 -@@ -27,8 +27,6 @@ - ${RELOCATING+ edata = . ; _edata = .}; - ${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});} - } -- ${CONSTRUCTING+${RELOCATING-.ctor : { *(.ctor) }}} -- ${CONSTRUCTING+${RELOCATING-.dtor : { *(.dtor) }}} - .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : - { - *(.bss) diff --git a/cross/binutils/patches/patch-aj b/cross/binutils/patches/patch-aj deleted file mode 100644 index dedd43edfe5..00000000000 --- a/cross/binutils/patches/patch-aj +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-aj,v 1.1 1999/01/04 22:37:32 tv Exp $ - ---- ld/emultempl/elf32.em.orig Fri May 1 11:48:55 1998 -+++ ld/emultempl/elf32.em Mon Jan 4 14:11:48 1999 -@@ -342,6 +342,9 @@ - fi - fi - cat >>e${EMULATION_NAME}.c <name, force)) -+ break; - } - - if (force < 2) diff --git a/cross/binutils/patches/patch-ak b/cross/binutils/patches/patch-ak deleted file mode 100644 index a918757f552..00000000000 --- a/cross/binutils/patches/patch-ak +++ /dev/null @@ -1,41 +0,0 @@ -$NetBSD: patch-ak,v 1.2 1999/01/06 17:02:39 tv Exp $ - ---- libiberty/strerror.c.orig Fri May 1 11:47:54 1998 -+++ libiberty/strerror.c Wed Jan 6 12:03:36 1999 -@@ -7,21 +7,12 @@ - - #include "config.h" - --#ifndef NEED_sys_errlist --/* Note that errno.h (not sure what OS) or stdio.h (BSD 4.4, at least) -- might declare sys_errlist in a way that the compiler might consider -- incompatible with our later declaration, perhaps by using const -- attributes. So we hide the declaration in errno.h (if any) using a -- macro. */ --#define sys_errlist sys_errlist__ --#endif -- - #include - #include - --#ifndef NEED_sys_errlist --#undef sys_errlist --#endif -+/* Bogus: we have these! */ -+#undef NEED_sys_errlist -+#undef NEED_sys_nerr - - /* Routines imported from standard C runtime libraries. */ - -@@ -459,11 +450,6 @@ - - static int sys_nerr; - static const char **sys_errlist; -- --#else -- --extern int sys_nerr; --extern char *sys_errlist[]; - - #endif - diff --git a/cross/binutils/patches/patch-al b/cross/binutils/patches/patch-al deleted file mode 100644 index 0b567191c3d..00000000000 --- a/cross/binutils/patches/patch-al +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-al,v 1.3 2000/06/11 23:42:13 mycroft Exp $ - ---- bfd/elflink.h.orig Fri May 1 11:48:10 1998 -+++ bfd/elflink.h Sun Jun 11 19:05:47 2000 -@@ -719,12 +719,13 @@ - } - - sz = bfd_section_size (abfd, s); -- msg = (char *) bfd_alloc (abfd, sz); -+ msg = (char *) bfd_alloc (abfd, sz + 1); - if (msg == NULL) - goto error_return; - - if (! bfd_get_section_contents (abfd, s, msg, (file_ptr) 0, sz)) - goto error_return; -+ msg[sz] = '\0'; - - if (! (_bfd_generic_link_add_one_symbol - (info, abfd, name, BSF_WARNING, s, (bfd_vma) 0, msg, -@@ -2726,11 +2727,13 @@ - We will build the contents of .dynsym and .hash when we build - the final symbol table, because until then we do not know the - correct value to give the symbols. We built the .dynstr -- section as we went along in elf_link_add_object_symbols. */ -+ section as we went along in elf_link_add_object_symbols. -+ FIXME: We use bfd_zalloc() here because there may be holes -+ where sections were deleted above. */ - s = bfd_get_section_by_name (dynobj, ".dynsym"); - BFD_ASSERT (s != NULL); - s->_raw_size = dynsymcount * sizeof (Elf_External_Sym); -- s->contents = (bfd_byte *) bfd_alloc (output_bfd, s->_raw_size); -+ s->contents = (bfd_byte *) bfd_zalloc (output_bfd, s->_raw_size); - if (s->contents == NULL && s->_raw_size != 0) - return false; - diff --git a/cross/binutils/patches/patch-am b/cross/binutils/patches/patch-am deleted file mode 100644 index 22f2910e2c4..00000000000 --- a/cross/binutils/patches/patch-am +++ /dev/null @@ -1,116 +0,0 @@ -$NetBSD: patch-am,v 1.1 2000/08/09 10:33:22 jun Exp $ -diff -cr ld.org/ld.h ld/ld.h -*** ld.org/ld.h Sat May 2 00:48:48 1998 ---- ld/ld.h Fri Aug 4 22:51:58 2000 -*************** -*** 117,122 **** ---- 117,125 ---- - /* If true, doing a dynamic link. */ - boolean dynamic_link; - -+ /* If true, do not use SEARCH_DIR directives from the linker script. */ -+ boolean no_std_path; -+ - /* If true, build constructors. */ - boolean build_constructors; - -Only in ld: ld.h.orig -diff -cr ld.org/ldgram.y ld/ldgram.y -*** ld.org/ldgram.y Sat May 2 00:48:49 1998 ---- ld/ldgram.y Fri Aug 4 22:52:00 2000 -*************** -*** 295,301 **** - | TARGET_K '(' NAME ')' - { lang_add_target($3); } - | SEARCH_DIR '(' filename ')' -! { ldfile_add_library_path ($3, false); } - | OUTPUT '(' filename ')' - { lang_add_output($3, 1); } - | OUTPUT_FORMAT '(' NAME ')' ---- 295,301 ---- - | TARGET_K '(' NAME ')' - { lang_add_target($3); } - | SEARCH_DIR '(' filename ')' -! { if (!config.no_std_path) ldfile_add_library_path ($3, false); } - | OUTPUT '(' filename ')' - { lang_add_output($3, 1); } - | OUTPUT_FORMAT '(' NAME ')' -Only in ld: ldgram.y.orig -diff -cr ld.org/ldmain.c ld/ldmain.c -*** ld.org/ldmain.c Sat May 2 00:48:49 1998 ---- ld/ldmain.c Fri Aug 4 22:52:02 2000 -*************** -*** 188,193 **** ---- 188,194 ---- - whole_archive = false; - config.build_constructors = true; - config.dynamic_link = false; -+ config.no_std_path = (getenv("LD_NOSTD_PATH") ? true : false); - command_line.force_common_definition = false; - command_line.interpreter = NULL; - command_line.rpath = NULL; -Only in ld: ldmain.c.orig -diff -cr ld.org/lexsup.c ld/lexsup.c -*** ld.org/lexsup.c Sat May 2 00:48:49 1998 ---- ld/lexsup.c Fri Aug 4 22:52:05 2000 -*************** -*** 111,116 **** ---- 111,117 ---- - #define OPTION_WHOLE_ARCHIVE (OPTION_SPLIT_BY_FILE + 1) - #define OPTION_WRAP (OPTION_WHOLE_ARCHIVE + 1) - #define OPTION_FORCE_EXE_SUFFIX (OPTION_WRAP + 1) -+ #define OPTION_NO_STD_PATH (OPTION_FORCE_EXE_SUFFIX + 16) - - /* The long options. This structure is used for both the option - parsing and the help text. */ -*************** -*** 266,271 **** ---- 267,274 ---- - '\0', NULL, "Create an output file even if errors occur", TWO_DASHES }, - { {"noinhibit_exec", no_argument, NULL, OPTION_NOINHIBIT_EXEC}, - '\0', NULL, NULL, NO_HELP }, -+ { {"nostdlib", no_argument, NULL, OPTION_NO_STD_PATH}, /* NetBSD. */ -+ '\0', NULL, "Do not use default library search path", ONE_DASH }, - { {"oformat", required_argument, NULL, OPTION_OFORMAT}, - '\0', "TARGET", "Specify target of output file", TWO_DASHES }, - { {"qmagic", no_argument, NULL, OPTION_IGNORE}, -*************** -*** 283,289 **** - '\0', "PATH", "Set link time shared library search path", ONE_DASH }, - { {"shared", no_argument, NULL, OPTION_SHARED}, - '\0', NULL, "Create a shared library", ONE_DASH }, -! { {"Bshareable", no_argument, NULL, OPTION_SHARED }, /* FreeBSD. */ - '\0', NULL, NULL, ONE_DASH }, - { {"sort-common", no_argument, NULL, OPTION_SORT_COMMON}, - '\0', NULL, "Sort common symbols by size", TWO_DASHES }, ---- 286,292 ---- - '\0', "PATH", "Set link time shared library search path", ONE_DASH }, - { {"shared", no_argument, NULL, OPTION_SHARED}, - '\0', NULL, "Create a shared library", ONE_DASH }, -! { {"Bshareable", no_argument, NULL, OPTION_SHARED }, /* FreeBSD, NetBSD. */ - '\0', NULL, NULL, ONE_DASH }, - { {"sort-common", no_argument, NULL, OPTION_SORT_COMMON}, - '\0', NULL, "Sort common symbols by size", TWO_DASHES }, -*************** -*** 327,332 **** ---- 330,337 ---- - TWO_DASHES }, - { {"whole-archive", no_argument, NULL, OPTION_WHOLE_ARCHIVE}, - '\0', NULL, "Include all objects from following archives", TWO_DASHES }, -+ { {"Bforcearchive", no_argument, NULL, OPTION_WHOLE_ARCHIVE }, /* NetBSD. */ -+ '\0', NULL, NULL, ONE_DASH }, - { {"wrap", required_argument, NULL, OPTION_WRAP}, - '\0', "SYMBOL", "Use wrapper functions for SYMBOL", TWO_DASHES } - }; -*************** -*** 580,585 **** ---- 585,593 ---- - break; - case OPTION_NO_KEEP_MEMORY: - link_info.keep_memory = false; -+ break; -+ case OPTION_NO_STD_PATH: -+ config.no_std_path = true; - break; - case OPTION_NO_WARN_MISMATCH: - command_line.warn_mismatch = false; diff --git a/cross/binutils/patches/patch-an b/cross/binutils/patches/patch-an deleted file mode 100644 index 0378de27b09..00000000000 --- a/cross/binutils/patches/patch-an +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-an,v 1.1 2001/01/24 11:18:18 tsutsui Exp $ - ---- ./bfd/elf.c.orig Sat May 2 00:48:08 1998 -+++ ./bfd/elf.c Sun Jan 24 05:56:12 2001 -@@ -2611,7 +2611,7 @@ - if ((abfd->flags & D_PAGED) != 0) - adjust = (sec->vma - voff) % bed->maxpagesize; - else -- adjust = (sec->vma - voff) % align; -+ adjust = (sec->vma - (p->p_paddr + p->p_memsz)) % align; - } - else - adjust = 0; diff --git a/cross/binutils/patches/patch-archive b/cross/binutils/patches/patch-archive deleted file mode 100644 index b3f9feaa4a9..00000000000 --- a/cross/binutils/patches/patch-archive +++ /dev/null @@ -1,155 +0,0 @@ -$NetBSD: patch-archive,v 1.1 1999/01/04 22:37:32 tv Exp $ - ---- ./bfd/archive.c.orig Fri May 1 11:48:01 1998 -+++ ./bfd/archive.c Mon Dec 28 17:43:17 1998 -@@ -595,7 +595,9 @@ - Note that last_file->origin can be odd in the case of - BSD-4.4-style element with a long odd size. */ - filestart = last_file->origin + size; -- filestart += filestart % 2; -+ if (!strncmp(arch_hdr (last_file)->ar_name, "#1/", 3)) -+ size += strlen(normalize(last_file, last_file->filename)); -+ filestart += size % 2; - } - - return _bfd_get_elt_at_filepos (archive, filestart); -@@ -1202,6 +1204,44 @@ - return _bfd_construct_extended_name_table (abfd, false, tabloc, tablen); - } - -+/* 4.4BSD: frob short names, but leave extended name until write time. */ -+ -+boolean -+_bfd_archive_bsd44_construct_extended_name_table (abfd, tabloc, tablen, name) -+ bfd *abfd; -+ char **tabloc; -+ bfd_size_type *tablen; -+ const char **name; -+{ -+ unsigned int maxname = abfd->xvec->ar_max_namelen; -+ bfd *current; -+ -+ for (current = abfd->archive_head; current != NULL; current = current->next) -+ { -+ const char *normal; -+ unsigned int thislen; -+ -+ normal = normalize (current, current->filename); -+ if (normal == NULL) -+ return false; -+ -+ thislen = strlen (normal); -+ if (((thislen > maxname) || (strchr(normal, ' ') != NULL)) -+ && ((bfd_get_file_flags (abfd) & BFD_TRADITIONAL_FORMAT) == 0)) -+ { -+ struct ar_hdr *hdr = arch_hdr (current); -+ sprintf ((hdr->ar_name), "#1/%-12ld", (long) thislen); -+ hdr->ar_name[15] = ' '; -+ sprintf ((hdr->ar_size), "%-9ld", (long) arelt_size(current) + thislen); -+ hdr->ar_size[9] = ' '; -+ } -+ } -+ -+ *name = *tabloc = NULL; -+ *tablen = 0; -+ return true; -+} -+ - /* Build an SVR4 style extended name table. */ - - boolean -@@ -1371,8 +1411,12 @@ - - /* Goddamned sprintf doesn't permit MAXIMUM field lengths */ - sprintf ((hdr->ar_date), "%-12ld", (long) status.st_mtime); -- sprintf ((hdr->ar_uid), "%ld", (long) status.st_uid); -- sprintf ((hdr->ar_gid), "%ld", (long) status.st_gid); -+ if (status.st_uid > 65535U) -+ fprintf (stderr, "%s: uid %ld truncated to 16 bits\n", filename, status.st_uid); -+ sprintf ((hdr->ar_uid), "%ld", (long) status.st_uid & 0xffffU); -+ if (status.st_gid > 65535U) -+ fprintf (stderr, "%s: gid %ld truncated to 16 bits\n", filename, status.st_gid); -+ sprintf ((hdr->ar_gid), "%ld", (long) status.st_gid & 0xffffU); - sprintf ((hdr->ar_mode), "%-8o", (unsigned int) status.st_mode); - sprintf ((hdr->ar_size), "%-10ld", (long) status.st_size); - /* Correct for a lossage in sprintf whereby it null-terminates. I cannot -@@ -1654,12 +1698,22 @@ - for (current = arch->archive_head; current; current = current->next) - { - char buffer[DEFAULT_BUFFERSIZE]; -- unsigned int remaining = arelt_size (current); -+ unsigned int saved_size = arelt_size (current); -+ unsigned int remaining = saved_size; - struct ar_hdr *hdr = arch_hdr (current); - - /* write ar header */ - if (bfd_write ((char *) hdr, 1, sizeof (*hdr), arch) != sizeof (*hdr)) - return false; -+ /* write filename if it is a 4.4BSD extended file, and add to size */ -+ if (!strncmp (hdr->ar_name, "#1/", 3)) -+ { -+ const char *normal = normalize (current, current->filename); -+ unsigned int thislen = strlen (normal); -+ if (bfd_write (normal, 1, thislen, arch) != thislen) -+ return false; -+ saved_size += thislen; -+ } - if (bfd_seek (current, (file_ptr) 0, SEEK_SET) != 0) - return false; - while (remaining) -@@ -1678,7 +1732,7 @@ - return false; - remaining -= amt; - } -- if ((arelt_size (current) % 2) == 1) -+ if ((saved_size % 2) == 1) - { - if (bfd_write ("\012", 1, 1, arch) != 1) - return false; -@@ -1914,8 +1968,11 @@ - { - do - { -- firstreal += arelt_size (current) + sizeof (struct ar_hdr); -- firstreal += firstreal % 2; -+ unsigned int size = arelt_size (current); -+ if (!strncmp(arch_hdr (current)->ar_name, "#1/", 3)) -+ size += strlen(normalize(current, current->filename)); -+ firstreal += size + sizeof (struct ar_hdr); -+ firstreal += size % 2; - current = current->next; - } - while (current != (bfd *) (map[count]).pos); ---- ./bfd/libbfd-in.h.orig Fri May 1 11:48:12 1998 -+++ ./bfd/libbfd-in.h Mon Dec 28 17:43:21 1998 -@@ -219,6 +219,8 @@ - _bfd_slurp_extended_name_table - extern boolean _bfd_archive_bsd_construct_extended_name_table - PARAMS ((bfd *, char **, bfd_size_type *, const char **)); -+extern boolean _bfd_archive_bsd44_construct_extended_name_table -+ PARAMS ((bfd *, char **, bfd_size_type *, const char **)); - #define _bfd_archive_bsd_truncate_arname bfd_bsd_truncate_arname - #define _bfd_archive_bsd_write_armap bsd_write_armap - #define _bfd_archive_bsd_read_ar_hdr _bfd_generic_read_ar_hdr ---- ./bfd/libbfd.h.orig Fri May 1 11:48:12 1998 -+++ ./bfd/libbfd.h Mon Dec 28 17:43:21 1998 -@@ -219,6 +219,8 @@ - _bfd_slurp_extended_name_table - extern boolean _bfd_archive_bsd_construct_extended_name_table - PARAMS ((bfd *, char **, bfd_size_type *, const char **)); -+extern boolean _bfd_archive_bsd44_construct_extended_name_table -+ PARAMS ((bfd *, char **, bfd_size_type *, const char **)); - #define _bfd_archive_bsd_truncate_arname bfd_bsd_truncate_arname - #define _bfd_archive_bsd_write_armap bsd_write_armap - #define _bfd_archive_bsd_read_ar_hdr _bfd_generic_read_ar_hdr ---- bfd/netbsd.h.orig Mon Jan 4 09:58:12 1999 -+++ bfd/netbsd.h Mon Jan 4 09:58:37 1999 -@@ -66,6 +66,8 @@ - #define MY_write_object_contents MY(write_object_contents) - static boolean MY(write_object_contents) PARAMS ((bfd *abfd)); - #define MY_text_includes_header 1 -+#define MY_construct_extended_name_table \ -+ _bfd_archive_bsd44_construct_extended_name_table - - #include "aout-target.h" - diff --git a/cross/binutils/patches/patch-armthirtytwo b/cross/binutils/patches/patch-armthirtytwo deleted file mode 100644 index 13b184372af..00000000000 --- a/cross/binutils/patches/patch-armthirtytwo +++ /dev/null @@ -1,748 +0,0 @@ -$NetBSD: patch-armthirtytwo,v 1.1 2001/04/05 15:27:25 wiz Exp $ - -diff -U2 -r -N ./bfd/Makefile.am ../binutils-2.9.1/bfd/Makefile.am ---- ./bfd/Makefile.am Sat May 2 00:47:58 1998 -+++ ../binutils-2.9.1/bfd/Makefile.am Sat Dec 4 02:21:59 1999 -@@ -106,4 +106,6 @@ - aout0.lo \ - aout32.lo \ -+ aoutarm32.lo \ -+ armnetbsd.lo \ - bout.lo \ - cf-i386lynx.lo \ -@@ -211,4 +213,6 @@ - aout0.c \ - aout32.c \ -+ aoutarm32.c \ -+ armnetbsd.c \ - bout.c \ - cf-i386lynx.c \ -@@ -659,4 +663,7 @@ - $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ - $(INCDIR)/aout/ar.h -+armnetbsd.lo: armnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ -+ aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ -+ $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h - bout.lo: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \ - $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h -diff -U2 -r -N ./bfd/Makefile.in ../binutils-2.9.1/bfd/Makefile.in ---- ./bfd/Makefile.in Sat May 2 00:47:59 1998 -+++ ../binutils-2.9.1/bfd/Makefile.in Sat Dec 4 02:21:59 1999 -@@ -195,4 +195,6 @@ - aout0.lo \ - aout32.lo \ -+ aoutarm32.lo \ -+ armnetbsd.lo \ - bout.lo \ - cf-i386lynx.lo \ -@@ -300,4 +302,6 @@ - aout0.c \ - aout32.c \ -+ aoutarm32.c \ -+ armnetbsd.c \ - bout.c \ - cf-i386lynx.c \ -@@ -1116,4 +1120,7 @@ - $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ - $(INCDIR)/aout/ar.h -+armnetbsd.lo: armnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ -+ aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ -+ $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h - bout.lo: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \ - $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h -diff -U2 -r -N ./bfd/aoutarm32.c ../binutils-2.9.1/bfd/aoutarm32.c ---- ./bfd/aoutarm32.c Thu Jan 1 09:00:00 1970 -+++ ../binutils-2.9.1/bfd/aoutarm32.c Sat Dec 4 02:21:59 1999 -@@ -0,0 +1,504 @@ -+/* BFD back-end for 32-bit a.out files. -+ Copyright (C) 1990, 91, 92, 93, 94 Free Software Foundation, Inc. -+ Written by Cygnus Support. -+ -+This file is part of BFD, the Binary File Descriptor library. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, write to the Free Software -+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -+ -+#define FPRINTF(x) -+ -+#ifndef FPRINTF -+#define FPRINTF(x) fprintf x -+#endif -+ -+#define N_HEADER_IN_TEXT(x) 1 -+ -+#include -+ -+#define ARCH_SIZE 32 -+ -+#define BYTES_IN_WORD 4 -+ -+#include "bfd.h" -+#include "aout/aout64.h" -+ -+#define MY(op) CAT(aoutarm_,op) -+#define NAME(x, y) CAT3(aoutarm,_32_,y) -+ -+#include "libaout.h" -+ -+static bfd_reloc_status_type -+MY(fix_pcrel_26_done) PARAMS ((bfd *, arelent *, asymbol *, PTR, -+ asection *, bfd *, char **)); -+ -+static bfd_reloc_status_type -+MY(fix_pcrel_26) PARAMS ((bfd *, arelent *, asymbol *, PTR, -+ asection *, bfd *, char **)); -+ -+#define MY_swap_std_reloc_in MY(swap_std_reloc_in) -+#define MY_swap_std_reloc_out MY(swap_std_reloc_out) -+ -+static void -+MY_swap_std_reloc_in PARAMS ((bfd *abfd, struct reloc_std_external *bytes, -+ arelent *cache_ptr, asymbol **symbols, -+ bfd_size_type symcount)); -+ -+static void -+MY_swap_std_reloc_out PARAMS ((bfd *abfd, arelent *g, -+ struct reloc_std_external *natptr)); -+ -+reloc_howto_type MY(howto_table)[] = -+{ -+ /* type rs size bsz pcrel bitpos ovrf sf name part_inpl readmask setmask -+ pcdone */ -+ HOWTO (0, 0, 0, 8, false, 0, complain_overflow_bitfield, 0, "8", true, -+ 0x000000ff, 0x000000ff, false), -+ HOWTO (1, 0, 1, 16, false, 0, complain_overflow_bitfield, 0, "16", true, -+ 0x0000ffff, 0x0000ffff, false), -+ HOWTO (2, 0, 2, 32, false, 0, complain_overflow_bitfield, 0, "32", true, -+ 0xffffffff, 0xffffffff, false), -+ HOWTO (3, 2, 2, 26, true, 0, complain_overflow_signed, MY(fix_pcrel_26), -+ "ARM26", true, 0x00ffffff, 0x00ffffff, true), -+ HOWTO (4, 0, 0, 8, true, 0, complain_overflow_signed, 0, "DISP8", true, -+ 0x000000ff, 0x000000ff, true), -+ HOWTO (5, 0, 1, 16, true, 0, complain_overflow_signed, 0, "DISP16", true, -+ 0x0000ffff, 0x0000ffff, true), -+ HOWTO (6, 0, 2, 32, true, 0, complain_overflow_signed, 0, "DISP32", true, -+ 0xffffffff, 0xffffffff, true), -+ HOWTO (7, 2, 2, 26, false, 0, complain_overflow_signed, -+ MY(fix_pcrel_26_done), "ARM26D", true, 0x0, 0x0, -+ false), -+ {-1}, -+ HOWTO (9, 0, -1, 16, false, 0, complain_overflow_bitfield, 0, "NEG16", true, -+ 0x0000ffff, 0x0000ffff, false), -+ HOWTO (10, 0, -2, 32, false, 0, complain_overflow_bitfield, 0, "NEG32", true, -+ 0xffffffff, 0xffffffff, false), -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+ -+ {-1}, -+ HOWTO (17, 0, 1, 16, false, 0, complain_overflow_bitfield, 0, "GOT12", true, -+ 0x00000fff, 0x00000fff, false), -+ HOWTO (18, 0, 2, 32, false, 0, complain_overflow_bitfield, 0, "GOT32", true, -+ 0xffffffff, 0xffffffff, false), -+ HOWTO (19, 0, 2, 26, true, 0, complain_overflow_bitfield, MY(fix_pcrel_26), "JMPSLOT", true, -+ 0x00ffffff, 0x00ffffff, true), -+ -+ {-1}, -+ {-1}, -+ HOWTO (22, 0, 2, 32, true, 0, complain_overflow_bitfield, 0, "GOTPC", true, -+ 0xffffffff, 0xffffffff, true), -+ {-1}, -+ -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+ {-1}, -+}; -+ -+#define RELOC_ARM_BITS_NEG_BIG ((unsigned int) 0x08) -+#define RELOC_ARM_BITS_NEG_LITTLE ((unsigned int) 0x10) -+#define RELOC_ARM_BITS_PIC_BIG ((unsigned int) 0x04) -+#define RELOC_ARM_BITS_PIC_LITTLE ((unsigned int) 0x20) -+ -+reloc_howto_type * -+MY(reloc_howto)(abfd, rel, r_index, r_extern, r_pcrel) -+ bfd *abfd; -+ struct reloc_std_external *rel; -+ int *r_index; -+ int *r_extern; -+ int *r_pcrel; -+{ -+ unsigned int r_length; -+ unsigned int r_pcrel_done; -+ unsigned int r_neg; -+ unsigned int r_pic; -+ int index; -+ -+FPRINTF((stderr, "%s:reloc_howto", __FILE__)); -+ -+ *r_pcrel = 0; -+ if (bfd_header_big_endian (abfd)) -+ { -+ *r_index = ((rel->r_index[0] << 16) -+ | (rel->r_index[1] << 8) -+ | rel->r_index[2]); -+ *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_BIG)); -+ r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_BIG)); -+ r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_BIG)); -+ r_pic = (0 != (rel->r_type[0] & RELOC_ARM_BITS_PIC_BIG)); -+ r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_BIG) -+ >> RELOC_STD_BITS_LENGTH_SH_BIG); -+ } -+ else -+ { -+ *r_index = ((rel->r_index[2] << 16) -+ | (rel->r_index[1] << 8) -+ | rel->r_index[0]); -+ *r_extern = (0 != (rel->r_type[0] & RELOC_STD_BITS_EXTERN_LITTLE)); -+ r_pcrel_done = (0 != (rel->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE)); -+ r_neg = (0 != (rel->r_type[0] & RELOC_ARM_BITS_NEG_LITTLE)); -+ r_pic = (0 != (rel->r_type[0] & RELOC_ARM_BITS_PIC_LITTLE)); -+ r_length = ((rel->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE) -+ >> RELOC_STD_BITS_LENGTH_SH_LITTLE); -+ } -+ index = r_length + 4 * r_pcrel_done + 8 * r_neg + 16 * r_pic; -+ if (index == 3) -+ *r_pcrel = 1; -+ if (index == 19) /* jmpslot */ -+ *r_pcrel = 1; -+FPRINTF((stderr, " index=%d name=%s\n", index, (MY(howto_table) + index)->name)); -+ return MY(howto_table) + index; -+} -+ -+#define MY_reloc_howto(BFD, REL, IN, EX, PC) \ -+ MY(reloc_howto) (BFD, REL, &IN, &EX, &PC) -+ -+void -+MY(put_reloc)(abfd, r_extern, r_index, value, howto, reloc) -+ bfd *abfd; -+ int r_extern; -+ int r_index; -+ long value; -+ reloc_howto_type *howto; -+ struct reloc_std_external *reloc; -+{ -+ unsigned int r_length; -+ int r_pcrel; -+ int r_neg; -+ int r_pic; -+ -+FPRINTF((stderr, "%s:put_reloc\n", __FILE__)); -+ -+ PUT_WORD (abfd, value, reloc->r_address); -+ r_length = howto->size ; /* Size as a power of two */ -+ -+ /* Special case for branch relocations. */ -+ if (howto->type == 3 || howto->type == 7) -+ r_length = 3; -+ if (howto->type == 19) -+ r_length = 3; -+ -+ r_pcrel = howto->type & 4; /* PC Relative done? */ -+ r_neg = howto->type & 8; /* Negative relocation */ -+ r_pic = howto->type & 16; /* PIC relocation */ -+ if (bfd_header_big_endian (abfd)) -+ { -+ reloc->r_index[0] = r_index >> 16; -+ reloc->r_index[1] = r_index >> 8; -+ reloc->r_index[2] = r_index; -+ reloc->r_type[0] = -+ ((r_extern ? RELOC_STD_BITS_EXTERN_BIG : 0) -+ | (r_pcrel ? RELOC_STD_BITS_PCREL_BIG : 0) -+ | (r_neg ? RELOC_ARM_BITS_NEG_BIG : 0) -+ | (r_pic ? RELOC_ARM_BITS_PIC_BIG : 0) -+ | (r_length << RELOC_STD_BITS_LENGTH_SH_BIG)); -+ } -+ else -+ { -+ reloc->r_index[2] = r_index >> 16; -+ reloc->r_index[1] = r_index >> 8; -+ reloc->r_index[0] = r_index; -+ reloc->r_type[0] = -+ ((r_extern ? RELOC_STD_BITS_EXTERN_LITTLE : 0) -+ | (r_pcrel ? RELOC_STD_BITS_PCREL_LITTLE : 0) -+ | (r_neg ? RELOC_ARM_BITS_NEG_LITTLE : 0) -+ | (r_pic ? RELOC_ARM_BITS_PIC_LITTLE : 0) -+ | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE)); -+ } -+} -+ -+#define MY_put_reloc(BFD, EXT, IDX, VAL, HOWTO, RELOC) \ -+ MY(put_reloc)(BFD, EXT, IDX, VAL, HOWTO, RELOC) -+ -+#include "aoutx.h" -+ -+reloc_howto_type * -+MY(bfd_reloc_type_lookup)(abfd,code) -+ bfd *abfd; -+ bfd_reloc_code_real_type code; -+{ -+FPRINTF((stderr, "%s:bfd_reloc_type_lookup code=%d\n", __FILE__, (int)code)); -+ -+#define ASTD(i,j) case i: FPRINTF((stderr, "i=%d j=%d\n", i,j)); return &MY(howto_table)[j] -+ if (code == BFD_RELOC_CTOR) -+ switch (bfd_get_arch_info (abfd)->bits_per_address) -+ { -+ case 32: -+ code = BFD_RELOC_32; -+ break; -+ default: return (CONST struct reloc_howto_struct *) 0; -+ } -+ -+ switch (code) -+ { -+ ASTD (BFD_RELOC_16, 1); -+ ASTD (BFD_RELOC_32, 2); -+ ASTD (BFD_RELOC_ARM_PCREL_BRANCH, 3); -+ ASTD (BFD_RELOC_8_PCREL, 4); -+ ASTD (BFD_RELOC_16_PCREL, 5); -+ ASTD (BFD_RELOC_32_PCREL, 6); -+ ASTD (BFD_RELOC_ARM_GOT12, 17); -+ ASTD (BFD_RELOC_ARM_GOT32, 18); -+ ASTD (BFD_RELOC_ARM_GOTPC, 22); -+ ASTD (BFD_RELOC_ARM_JMPSLOT, 19); -+ default: return (CONST struct reloc_howto_struct *) 0; -+ } -+} -+ -+static bfd_reloc_status_type -+MY(fix_pcrel_26) (abfd, reloc_entry, symbol, data, input_section, -+ output_bfd, error_message) -+ bfd *abfd; -+ arelent *reloc_entry; -+ asymbol *symbol; -+ PTR data; -+ asection *input_section; -+ bfd *output_bfd; -+ char **error_message; -+{ -+ bfd_vma relocation; -+ bfd_size_type addr = reloc_entry->address; -+ long target = bfd_get_32 (abfd, (bfd_byte *) data + addr); -+ bfd_reloc_status_type flag = bfd_reloc_ok; -+ -+FPRINTF((stderr, "%s:fix_pcrel_26\n", __FILE__)); -+FPRINTF((stderr, "reloc: target=%x sym->val=%x sym->vma=%x sym->off=%x\n", target, symbol->value, symbol->section->output_section->vma, symbol->section->output_offset)); -+FPRINTF((stderr, "reloc: addend=%x ins->vma=%x ins->off=%x addr=%x\n", reloc_entry->addend, input_section->output_section->vma, input_section->output_offset, addr)); -+ -+ /* If this is an undefined symbol, return error */ -+ if (symbol->section == &bfd_und_section -+ && (symbol->flags & BSF_WEAK) == 0) -+ return output_bfd ? bfd_reloc_ok : bfd_reloc_undefined; -+ -+ /* If the sections are different, and we are doing a partial relocation, -+ just ignore it for now. */ -+ if (symbol->section->name != input_section->name -+ && output_bfd != (bfd *)NULL) -+ return bfd_reloc_ok; -+ -+FPRINTF((stderr, "doing relocation\n")); -+ -+ relocation = (target & 0x00ffffff) << 2; -+ relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend */ -+ relocation += symbol->value; -+ relocation += symbol->section->output_section->vma; -+ relocation += symbol->section->output_offset; -+ relocation += reloc_entry->addend; -+ relocation -= input_section->output_section->vma; -+ relocation -= input_section->output_offset; -+ relocation -= addr; -+ if (relocation & 3) -+ return bfd_reloc_overflow; -+ -+ /* Check for overflow */ -+ if (relocation & 0x02000000) -+ { -+ if ((relocation & ~0x03ffffff) != ~0x03ffffff) -+ flag = bfd_reloc_overflow; -+ } -+ else if (relocation & ~0x03ffffff) -+ flag = bfd_reloc_overflow; -+ -+ target &= ~0x00ffffff; -+ target |= (relocation >> 2) & 0x00ffffff; -+ bfd_put_32 (abfd, target, (bfd_byte *) data + addr); -+ -+ /* Now the ARM magic... Change the reloc type so that it is marked as done. -+ Strictly this is only necessary if we are doing a partial relocation. */ -+ reloc_entry->howto = &MY(howto_table)[7]; -+ -+ return flag; -+} -+ -+static bfd_reloc_status_type -+MY(fix_pcrel_26_done) (abfd, reloc_entry, symbol, data, input_section, -+ output_bfd, error_message) -+ bfd *abfd; -+ arelent *reloc_entry; -+ asymbol *symbol; -+ PTR data; -+ asection *input_section; -+ bfd *output_bfd; -+ char **error_message; -+{ -+ bfd_size_type addr = reloc_entry->address; -+ long target = bfd_get_32 (abfd, (bfd_byte *) data + addr); -+ -+FPRINTF((stderr, "%s:fix_pcrel_26_done\n", __FILE__)); -+FPRINTF((stderr, "reloc: target=%x sym->val=%x sym->vma=%x sym->off=%x\n", target, symbol->value, symbol->section->output_section->vma, symbol->section->output_offset)); -+FPRINTF((stderr, "reloc: addend=%x ins->vma=%x ins->off=%x addr=%x\n", reloc_entry->addend, input_section->output_section->vma, input_section->output_offset, addr)); -+ return bfd_reloc_ok; -+} -+ -+static void -+MY_swap_std_reloc_in (abfd, bytes, cache_ptr, symbols, symcount) -+ bfd *abfd; -+ struct reloc_std_external *bytes; -+ arelent *cache_ptr; -+ asymbol **symbols; -+ bfd_size_type symcount; -+{ -+ int r_index; -+ int r_extern; -+ unsigned int r_length; -+ int r_pcrel; -+ struct aoutdata *su = &(abfd->tdata.aout_data->a); -+ -+ FPRINTF((stderr, "%s:swap_std_reloc_in\n", __FILE__)); -+ -+ cache_ptr->address = bfd_h_get_32 (abfd, bytes->r_address); -+ -+ cache_ptr->howto = MY_reloc_howto (abfd, bytes, r_index, r_extern, r_pcrel); -+ -+ FPRINTF((stderr, "%s:swap_std_reloc_in: type=%d name=%s\n", __FILE__, cache_ptr->howto->type, cache_ptr->howto->name)); -+ -+ MOVE_ADDRESS (0); -+} -+ -+void -+MY_swap_std_reloc_out (abfd, g, natptr) -+ bfd *abfd; -+ arelent *g; -+ struct reloc_std_external *natptr; -+{ -+ int r_index; -+ asymbol *sym = *(g->sym_ptr_ptr); -+ int r_extern; -+ int r_length; -+ int r_pcrel; -+ int r_neg = 0; /* Negative relocs use the BASEREL bit. */ -+ int r_pic = 0; -+ asection *output_section = sym->section->output_section; -+ -+ FPRINTF((stderr, "%s:swap_std_reloc_out type=%d name=%s: ga=%x na=%x", __FILE__, g->howto->type, g->howto->name, g->address, natptr->r_address)); -+ -+ PUT_WORD(abfd, g->address, natptr->r_address); -+ -+ r_length = g->howto->size ; /* Size as a power of two */ -+ if (r_length < 0) -+ { -+ r_length = -r_length; -+ r_neg = 1; -+ } -+ -+ r_pcrel = (int) g->howto->pc_relative; /* Relative to PC? */ -+ -+ /* For RISC iX, in pc-relative relocs the r_pcrel bit means that the -+ relocation has been done already (Only for the 26-bit one I think)???!!! -+ */ -+ -+ if (g->howto->type == 3) -+ { -+ r_length = 3; -+ r_pcrel = 0; -+ } -+ else if (g->howto->type == 7) -+ { -+ r_length = 3; -+ r_pcrel = 1; -+ } -+ -+ /* Are we base relative i.e. PIC */ -+ if (g->howto->type >= 16) -+ r_pic = 1; -+ -+ /* jmpslot (branch with pic set) - treat like a branch */ -+ if (g->howto->type == 19) { -+ r_length = 3; -+ r_pcrel = 0; -+ } -+#if 0 -+ /* For a standard reloc, the addend is in the object file. */ -+ r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma; -+#endif -+ -+ /* name was clobbered by aout_write_syms to be symbol index */ -+ -+ /* If this relocation is relative to a symbol then set the -+ r_index to the symbols index, and the r_extern bit. -+ -+ Absolute symbols can come in in two ways, either as an offset -+ from the abs section, or as a symbol which has an abs value. -+ check for that here -+ */ -+ -+ if (bfd_is_com_section (output_section) -+ || output_section == &bfd_abs_section -+ || output_section == &bfd_und_section) -+ { -+ if (bfd_abs_section.symbol == sym) -+ { -+ /* Whoops, looked like an abs symbol, but is really an offset -+ from the abs section */ -+ r_index = 0; -+ r_extern = 0; -+ } -+ else -+ { -+ /* Fill in symbol */ -+ r_extern = 1; -+ r_index = (*(g->sym_ptr_ptr))->KEEPIT; -+ } -+ } -+ else -+ { -+ /* Just an ordinary section */ -+ r_extern = 0; -+ r_index = output_section->target_index; -+ if (r_pic && g->howto->type == 18) { -+ r_index = (*(g->sym_ptr_ptr))->KEEPIT; -+/* r_extern = 1;*/ /*260697*/ -+ if (sym->flags & BSF_GLOBAL) -+ r_extern = 1; -+ FPRINTF((stderr, "*")); -+ } -+ } -+FPRINTF((stderr, " index=%d\n", r_index)); -+ /* now the fun stuff */ -+ if (bfd_header_big_endian (abfd)) -+ { -+ natptr->r_index[0] = r_index >> 16; -+ natptr->r_index[1] = r_index >> 8; -+ natptr->r_index[2] = r_index; -+ natptr->r_type[0] = -+ ( (r_extern ? RELOC_STD_BITS_EXTERN_BIG: 0) -+ | (r_pcrel ? RELOC_STD_BITS_PCREL_BIG: 0) -+ | (r_neg ? RELOC_ARM_BITS_NEG_BIG: 0) -+ | (r_pic ? RELOC_ARM_BITS_PIC_BIG: 0) -+ | (r_length << RELOC_STD_BITS_LENGTH_SH_BIG)); -+ } -+ else -+ { -+ natptr->r_index[2] = r_index >> 16; -+ natptr->r_index[1] = r_index >> 8; -+ natptr->r_index[0] = r_index; -+ natptr->r_type[0] = -+ ( (r_extern ? RELOC_STD_BITS_EXTERN_LITTLE: 0) -+ | (r_pcrel ? RELOC_STD_BITS_PCREL_LITTLE: 0) -+ | (r_neg ? RELOC_ARM_BITS_NEG_LITTLE: 0) -+ | (r_pic ? RELOC_ARM_BITS_PIC_LITTLE: 0) -+ | (r_length << RELOC_STD_BITS_LENGTH_SH_LITTLE)); -+ } -+} -+ -diff -U2 -r -N ./bfd/armnetbsd.c ../binutils-2.9.1/bfd/armnetbsd.c ---- ./bfd/armnetbsd.c Thu Jan 1 09:00:00 1970 -+++ ../binutils-2.9.1/bfd/armnetbsd.c Sat Dec 4 02:21:59 1999 -@@ -0,0 +1,47 @@ -+/* BFD back-end for NetBSD/ARM a.out-ish binaries. -+ Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc. -+ -+This file is part of BFD, the Binary File Descriptor library. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 2 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, write to the Free Software -+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -+ -+#define BYTES_IN_WORD 4 -+#undef TARGET_IS_BIG_ENDIAN_P -+ -+#define TARGET_PAGE_SIZE 4096 -+#define SEGMENT_SIZE TARGET_PAGE_SIZE -+ -+#define DEFAULT_ARCH bfd_arch_arm -+#define DEFAULT_MID M_ARM6_NETBSD -+/*#define MACHTYPE_OK(mtype) ((mtype) == M_ARM6_NETBSD)*/ -+ -+#define MY(OP) CAT(armnetbsd_,OP) -+/* This needs to start with a.out so GDB knows it is an a.out variant. */ -+#define TARGETNAME "a.out-arm-netbsd" -+ -+#define NAME(x,y) CAT3(aoutarm,_32_,y) -+ -+#define aoutarm_32_get_section_contents aout_32_get_section_contents -+ -+#define MY_bfd_reloc_type_lookup aoutarm_bfd_reloc_type_lookup -+ -+#include "bfd.h" /* To ensure following declaration is OK */ -+ -+CONST struct reloc_howto_struct * -+MY_bfd_reloc_type_lookup -+ PARAMS((bfd *abfd AND -+ bfd_reloc_code_real_type code)); -+ -+#include "netbsd.h" -diff -U2 -r -N ./bfd/bfd-in2.h ../binutils-2.9.1/bfd/bfd-in2.h ---- ./bfd/bfd-in2.h Sat May 2 00:48:01 1998 -+++ ../binutils-2.9.1/bfd/bfd-in2.h Sat Dec 4 02:21:59 1999 -@@ -1850,4 +1850,8 @@ - BFD_RELOC_ARM_THUMB_SHIFT, - BFD_RELOC_ARM_THUMB_OFFSET, -+ BFD_RELOC_ARM_GOTPC, -+ BFD_RELOC_ARM_GOT12, -+ BFD_RELOC_ARM_GOT32, -+ BFD_RELOC_ARM_JMPSLOT, - - /* Hitachi SH relocs. Not all of these appear in object files. */ -diff -U2 -r -N ./bfd/config.bfd ../binutils-2.9.1/bfd/config.bfd ---- ./bfd/config.bfd Sat Dec 4 02:20:13 1999 -+++ ../binutils-2.9.1/bfd/config.bfd Sat Dec 4 02:21:59 1999 -@@ -83,5 +83,8 @@ - targ_selvecs=bfd_elf32_bigarc_vec - ;; -- -+ arm-*-netbsd*) -+ targ_defvec=armnetbsd_vec -+ targ_underscore=yes -+ ;; - arm-*-riscix*) - targ_defvec=riscix_vec -diff -U2 -r -N ./bfd/configure ../binutils-2.9.1/bfd/configure ---- ./bfd/configure Sat Dec 4 02:20:12 1999 -+++ ../binutils-2.9.1/bfd/configure Sat Dec 4 02:21:59 1999 -@@ -2704,4 +2704,5 @@ - armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; - armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; -+ armnetbsd_vec) tb="$tb armnetbsd.lo aoutarm32.lo " ;; - armpe_little_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; - armpe_big_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; -diff -U2 -r -N ./bfd/configure.in ../binutils-2.9.1/bfd/configure.in ---- ./bfd/configure.in Sat May 2 00:48:05 1998 -+++ ../binutils-2.9.1/bfd/configure.in Sat Dec 4 02:21:59 1999 -@@ -388,4 +388,5 @@ - armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; - armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; -+ armnetbsd_vec) tb="$tb armnetbsd.lo aoutarm32.lo " ;; - armpe_little_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; - armpe_big_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; -diff -U2 -r -N ./bfd/libaout.h ../binutils-2.9.1/bfd/libaout.h ---- ./bfd/libaout.h Sat May 2 00:48:11 1998 -+++ ../binutils-2.9.1/bfd/libaout.h Sat Dec 4 02:21:59 1999 -@@ -233,4 +233,5 @@ - M_VAX_NETBSD = 140, /* NetBSD/vax binary */ - M_ALPHA_NETBSD = 141, /* NetBSD/alpha binary */ -+ M_ARM6_NETBSD = 143, /* NetBSD/arm32 binary */ - M_SPARCLET_1 = 147, /* 0x93, reserved */ - M_MIPS1 = 151, /* MIPS R2000/R3000 binary */ -diff -U2 -r -N ./bfd/reloc.c ../binutils-2.9.1/bfd/reloc.c ---- ./bfd/reloc.c Sat May 2 00:48:14 1998 -+++ ../binutils-2.9.1/bfd/reloc.c Sat Dec 4 02:21:59 1999 -@@ -2167,4 +2167,12 @@ - ENUMX - BFD_RELOC_ARM_THUMB_OFFSET -+ENUMX -+ BFD_RELOC_ARM_GOTPC -+ENUMX -+ BFD_RELOC_ARM_GOT12 -+ENUMX -+ BFD_RELOC_ARM_GOT32 -+ENUMX -+ BFD_RELOC_ARM_JMPSLOT - ENUMDOC - These relocs are only used within the ARM assembler. They are not -diff -U2 -r -N ./bfd/targets.c ../binutils-2.9.1/bfd/targets.c ---- ./bfd/targets.c Sat Dec 4 02:20:12 1999 -+++ ../binutils-2.9.1/bfd/targets.c Sat Dec 4 02:21:59 1999 -@@ -482,4 +482,5 @@ - extern const bfd_target armpei_little_vec; - extern const bfd_target armpei_big_vec; -+extern const bfd_target armnetbsd_vec; - extern const bfd_target b_out_vec_big_host; - extern const bfd_target b_out_vec_little_host; -@@ -737,4 +738,5 @@ - &armpei_little_vec, - &armpei_big_vec, -+ &armnetbsd_vec, - &icoff_big_vec, - &icoff_little_vec, -diff -U2 -r -N ./ld/Makefile.am ../binutils-2.9.1/ld/Makefile.am ---- ./ld/Makefile.am Sat May 2 00:48:47 1998 -+++ ../binutils-2.9.1/ld/Makefile.am Sat Dec 4 02:22:08 1999 -@@ -99,4 +99,5 @@ - earmaoutl.o \ - earmcoff.o \ -+ earmnbsd.o \ - earmpe.o \ - ecoff_sparc.o \ -@@ -254,4 +255,7 @@ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} - ${GENSCRIPTS} armcoff "$(tdir_armcoff)" -+earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" - earmpe.c: $(srcdir)/emulparams/armpe.sh \ - $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} -diff -U2 -r -N ./ld/Makefile.in ../binutils-2.9.1/ld/Makefile.in ---- ./ld/Makefile.in Sat Dec 4 02:20:12 1999 -+++ ../binutils-2.9.1/ld/Makefile.in Sat Dec 4 02:22:08 1999 -@@ -175,4 +175,5 @@ - earmaoutl.o \ - earmcoff.o \ -+ earmnbsd.o \ - earmpe.o \ - ecoff_sparc.o \ -@@ -764,4 +765,7 @@ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} - ${GENSCRIPTS} armcoff "$(tdir_armcoff)" -+earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" - earmpe.c: $(srcdir)/emulparams/armpe.sh \ - $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} -diff -U2 -r -N ./ld/configure.tgt ../binutils-2.9.1/ld/configure.tgt ---- ./ld/configure.tgt Sat May 2 00:48:48 1998 -+++ ../binutils-2.9.1/ld/configure.tgt Sat Dec 4 02:22:08 1999 -@@ -106,4 +106,5 @@ - armeb-*-aout) targ_emul=armaoutb ;; - arm-*-coff) targ_emul=armcoff ;; -+arm-*-netbsd*) targ_emul=armnbsd ;; - thumb-*-coff) targ_emul=armcoff ;; - thumb-*-pe) targ_emul=armpe ;; -diff -U2 -r -N ./ld/emulparams/armnbsd.sh ../binutils-2.9.1/ld/emulparams/armnbsd.sh ---- ./ld/emulparams/armnbsd.sh Thu Jan 1 09:00:00 1970 -+++ ../binutils-2.9.1/ld/emulparams/armnbsd.sh Sat Dec 4 02:22:08 1999 -@@ -0,0 +1,7 @@ -+SCRIPT_NAME=aout -+TEXT_START_ADDR=0x1020 -+OUTPUT_FORMAT="a.out-arm-netbsd" -+TARGET_PAGE_SIZE=0x1000 -+ARCH=arm -+EXECUTABLE_SYMBOLS='__DYNAMIC = 0;' -+NONPAGED_TEXT_START_ADDR=0x1000 diff --git a/cross/binutils/patches/patch-arrays b/cross/binutils/patches/patch-arrays deleted file mode 100644 index effd455631c..00000000000 --- a/cross/binutils/patches/patch-arrays +++ /dev/null @@ -1,82 +0,0 @@ -$NetBSD: patch-arrays,v 1.2 2001/01/24 12:13:27 wiz Exp $ ---- ./bfd/libbfd-in.h.orig Fri May 1 11:48:12 1998 -+++ ./bfd/libbfd-in.h Mon Dec 28 17:43:21 1998 -@@ -496,7 +498,7 @@ - - /* List of supported target vectors, and the default vector (if - bfd_default_vector[0] is NULL, there is no default). */ --extern const bfd_target * const bfd_target_vector[]; -+extern const bfd_target * const *bfd_target_vector; - extern const bfd_target *bfd_default_vector[]; - - /* Functions shared by the ECOFF and MIPS ELF backends, which have no ---- ./bfd/libbfd.h.orig Fri May 1 11:48:12 1998 -+++ ./bfd/libbfd.h Mon Dec 28 17:43:21 1998 -@@ -496,7 +498,7 @@ - - /* List of supported target vectors, and the default vector (if - bfd_default_vector[0] is NULL, there is no default). */ --extern const bfd_target * const bfd_target_vector[]; -+extern const bfd_target * const *bfd_target_vector; - extern const bfd_target *bfd_default_vector[]; - - /* Functions shared by the ECOFF and MIPS ELF backends, which have no ---- ./bfd/targets.c.orig Fri May 1 11:48:16 1998 -+++ ./bfd/targets.c Mon Dec 28 17:43:23 1998 -@@ -611,7 +612,7 @@ - extern const bfd_target trad_core_vec; - extern const bfd_target ptrace_core_vec; - --const bfd_target * const bfd_target_vector[] = { -+static const bfd_target * const _bfd_target_vector[] = { - - #ifdef SELECT_VECS - -@@ -841,6 +846,7 @@ - - NULL /* end of list marker */ - }; -+const bfd_target * const *bfd_target_vector = _bfd_target_vector; - - /* bfd_default_vector[0] contains either the address of the default vector, - if there is one, or zero if there isn't. */ ---- ./binutils/bucomm.c.orig Fri May 1 11:49:31 1998 -+++ ./binutils/bucomm.c Tue Dec 21 07:30:13 1999 -@@ -137,7 +137,7 @@ - const char *name; - FILE *f; - { -- extern bfd_target *bfd_target_vector[]; -+ extern bfd_target **bfd_target_vector; - int t; - - if (name == NULL) ---- ./binutils/objdump.c.orig Fri May 1 11:49:34 1998 -+++ ./binutils/objdump.c Tue Dec 21 07:30:13 1999 -@@ -2466,7 +2466,7 @@ - static void - display_target_list () - { -- extern bfd_target *bfd_target_vector[]; -+ extern bfd_target **bfd_target_vector; - char *dummy_name; - int t; - -@@ -2512,7 +2512,7 @@ - int first; - int last; - { -- extern bfd_target *bfd_target_vector[]; -+ extern bfd_target **bfd_target_vector; - int t, a; - char *dummy_name; - -@@ -2579,7 +2579,7 @@ - display_target_tables () - { - int t, columns; -- extern bfd_target *bfd_target_vector[]; -+ extern bfd_target **bfd_target_vector; - char *colum; - - columns = 0; diff --git a/cross/binutils/patches/patch-mips b/cross/binutils/patches/patch-mips deleted file mode 100644 index 96a1a7ff10b..00000000000 --- a/cross/binutils/patches/patch-mips +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-mips,v 1.3 2001/01/06 06:38:20 tsutsui Exp $ - ---- config.sub.orig Fri May 1 17:48:46 1998 -+++ config.sub Thu May 4 10:50:49 2000 -@@ -177,7 +177,7 @@ - | alpha | alphaev5 | alphaev56 | alphapca56 | alphaev6 \ - | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp11 \ -- | mips64 | mipsel | mips64el | mips64orion | mips64orionel \ -+ | mips64 | mipsel | mipseb | mips64el | mips64orion | mips64orionel \ - | mipstx39 | mipstx39el \ - | sparc | sparclet | sparclite | sparc64 | v850) - basic_machine=$basic_machine-unknown -@@ -230,7 +230,7 @@ - | alphaev6-* | we32k-* | cydra-* | ns16k-* | pn-* | np1-* \ - | xps100-* | clipper-* | orion-* \ - | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ -- | sparc64-* | mips64-* | mipsel-* \ -+ | sparc64-* | mips64-* | mipsel-* | mipseb-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mipstx39-* | mipstx39el-* \ - | f301-*) ---- ld/configure.tgt.orig Thu May 4 10:50:49 2000 -+++ ld/configure.tgt Thu May 4 10:50:49 2000 -@@ -148,7 +148,8 @@ - mips*el-*-ecoff*) targ_emul=mipsidtl ;; - mips*-*-ecoff*) targ_emul=mipsidt ;; - mips*-dec-bsd*) targ_emul=mipsbsd ;; --mips*-dec-netbsd*) targ_emul=elf32lmip ;; -+mips*el-*-netbsd* | mips-dec-netbsd*) targ_emul=elf32lmip ;; -+mips*eb-*-netbsd*) targ_emul=elf32bmip ;; - mips*-*-bsd*) targ_emul=mipsbig ;; - mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; - mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; diff --git a/cross/binutils/patches/patch-msixtyeightk b/cross/binutils/patches/patch-msixtyeightk deleted file mode 100644 index b7d973ff8c3..00000000000 --- a/cross/binutils/patches/patch-msixtyeightk +++ /dev/null @@ -1,72 +0,0 @@ -$NetBSD: patch-msixtyeightk,v 1.1 2001/04/05 15:27:25 wiz Exp $ - ---- ./ld/configure.tgt.orig Sat Dec 9 21:17:55 2000 -+++ ./ld/configure.tgt Sat Dec 9 21:25:20 2000 -@@ -134,6 +134,7 @@ - m68*-*-lynxos*) targ_emul=m68klynx ;; - m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; -+m68*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; - m68*-*-netbsd*) targ_emul=m68knbsd ;; - m68*-*-psos*) targ_emul=m68kpsos ;; - m68*-*-rtems*) targ_emul=m68kcoff ;; - hppa*-*-*elf*) targ_emul=hppaelf ;; ---- /dev/null Sat Dec 9 21:20:06 2000 -+++ ./ld/emulparams/m68kelfnbsd.sh Sat Dec 9 21:23:39 2000 -@@ -0,0 +1,12 @@ -+SCRIPT_NAME=elf -+OUTPUT_FORMAT="elf32-m68k" -+TEXT_START_ADDR=0x2000 -+TARGET_PAGE_SIZE=0x2000 -+MAXPAGESIZE=0x2000 -+NONPAGED_TEXT_START_ADDR=${TEXT_START_ADDR} -+ARCH=m68k -+MACHINE= -+NOP=0x4e75 -+TEMPLATE_NAME=elf32 -+GENERATE_SHLIB_SCRIPT=yes -+ELFSIZE=32 ---- ./ld/Makefile.in.orig Sat Dec 9 23:49:47 2000 -+++ ./ld/Makefile.in Sun Dec 10 00:40:28 2000 -@@ -225,6 +225,7 @@ - em68klinux.o \ - em68klynx.o \ - em68knbsd.o \ -+ em68kelfnbsd.o \ - em68kpsos.o \ - em88kbcs.o \ - emipsbig.o \ -@@ -932,6 +933,9 @@ - em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" -+em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ -+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" - em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ - $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} - ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" ---- ./bfd/config.bfd.orig Mon Jan 22 21:24:53 2001 -+++ ./bfd/config.bfd Mon Jan 22 21:27:35 2001 -@@ -324,14 +324,19 @@ - targ_defvec=m68klynx_coff_vec - targ_selvecs=m68klynx_aout_vec - ;; -- m68*-hp*-netbsd*) -+ m68*-*-netbsdelf*) -+ targ_defvec=bfd_elf32_m68k_vec -+ targ_selvecs="m68k4knetbsd_vec hp300bsd_vec bfd_elf32_m68k_vec sunos_big_vec" -+ targ_underscore=yes -+ ;; -+ m68*-hp*-netbsd*0.* | m68*-hp*-netbsd*1.[012]*) - targ_defvec=m68k4knetbsd_vec -- targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec" -+ targ_selvecs="m68knetbsd_vec hp300bsd_vec bfd_elf32_m68k_vec sunos_big_vec" - targ_underscore=yes - ;; - m68*-*-netbsd* | m68*-*-openbsd*) - targ_defvec=m68knetbsd_vec -- targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec" -+ targ_selvecs="m68k4knetbsd_vec hp300bsd_vec bfd_elf32_m68k_vec sunos_big_vec" - targ_underscore=yes - ;; - m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \ diff --git a/cross/binutils/patches/patch-powerpc b/cross/binutils/patches/patch-powerpc deleted file mode 100644 index e9b02fa1318..00000000000 --- a/cross/binutils/patches/patch-powerpc +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-powerpc,v 1.1 1999/01/06 01:20:27 tv Exp $ - ---- ./bfd/config.bfd.orig Fri May 1 11:48:05 1998 -+++ ./bfd/config.bfd Mon Dec 28 17:43:18 1998 -@@ -467,7 +471,7 @@ - powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \ - powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems*) - targ_defvec=bfd_elf32_powerpc_vec -- targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec ppcboot_vec" -+ targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec ppcboot_vec pmac_xcoff_vec" - ;; - powerpc-*-macos* | powerpc-*-mpw*) - targ_defvec=pmac_xcoff_vec diff --git a/cross/binutils/patches/patch-sh b/cross/binutils/patches/patch-sh deleted file mode 100644 index 705630fc0d9..00000000000 --- a/cross/binutils/patches/patch-sh +++ /dev/null @@ -1,410 +0,0 @@ -$NetBSD: patch-sh,v 1.1 2001/01/04 01:18:08 itojun Exp $ - -ftp://ftp.netbsd.org/pub/NetBSD/arch/sh3/crosskit/ - -diff -u -r -N -x *.orig -x CVS old/bfd/Makefile.am binutils-2.9.1/bfd/Makefile.am ---- bfd/Makefile.am Wed Jan 3 20:40:59 2001 -+++ bfd/Makefile.am Wed Jan 3 20:44:17 2001 -@@ -153,6 +153,7 @@ - elf-m10200.lo \ - elf-m10300.lo \ - elf32-ppc.lo \ -+ elf32-shunx.lo \ - elf32-sh.lo \ - elf32-sparc.lo \ - elf32-v850.lo \ -@@ -260,6 +261,7 @@ - elf-m10200.c \ - elf-m10300.c \ - elf32-ppc.c \ -+ elf32-shunx.c \ - elf32-sh.c \ - elf32-sparc.c \ - elf32-v850.c \ -@@ -797,6 +799,9 @@ - elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \ - $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - $(INCDIR)/elf/ppc.h elf32-target.h -+elf32-shunx.lo: elf32-shunx.c $(INCDIR)/bfdlink.h elf-bfd.h \ -+ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ -+ elf32-target.h - elf32-sh.lo: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \ - $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - elf32-target.h -diff -u -r -N -x *.orig -x CVS old/bfd/Makefile.in binutils-2.9.1/bfd/Makefile.in ---- bfd/Makefile.in Wed Jan 3 20:40:59 2001 -+++ bfd/Makefile.in Wed Jan 3 20:44:04 2001 -@@ -242,6 +242,7 @@ - elf-m10200.lo \ - elf-m10300.lo \ - elf32-ppc.lo \ -+ elf32-shunx.lo \ - elf32-sh.lo \ - elf32-sparc.lo \ - elf32-v850.lo \ -@@ -349,6 +350,7 @@ - elf-m10200.c \ - elf-m10300.c \ - elf32-ppc.c \ -+ elf32-shunx.c \ - elf32-sh.c \ - elf32-sparc.c \ - elf32-v850.c \ -@@ -1254,6 +1256,9 @@ - elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \ - $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - $(INCDIR)/elf/ppc.h elf32-target.h -+elf32-shunx.lo: elf32-shunx.c $(INCDIR)/bfdlink.h elf-bfd.h \ -+ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ -+ elf32-target.h - elf32-sh.lo: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \ - $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ - elf32-target.h -diff -u -r -N -x *.orig -x CVS old/bfd/config.bfd binutils-2.9.1/bfd/config.bfd ---- bfd/config.bfd Wed Jan 3 20:55:42 2001 -+++ bfd/config.bfd Wed Jan 3 20:46:00 2001 -@@ -40,6 +40,7 @@ - powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; - rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; - sparc*) targ_archs=bfd_sparc_arch ;; -+sh*) targ_archs=bfd_sh_arch ;; - v850*) targ_archs=bfd_v850_arch ;; - z8k*) targ_archs=bfd_z8k_arch ;; - *) targ_archs=bfd_${targ_cpu}_arch ;; -@@ -494,14 +495,34 @@ - targ_defvec=rs6000coff_vec - ;; - -+ sh-*-netbsdelf) -+ targ_defvec=bfd_elf32_shunx_vec -+ targ_selvecs="bfd_elf32_shlunx_vec shcoff_vec shlcoff_vec " -+ targ_underscore=yes -+ ;; -+ shel-*-netbsdelf) -+ targ_defvec=bfd_elf32_shlunx_vec -+ targ_selvecs="bfd_elf32_shunx_vec shcoff_vec shlcoff_vec " -+ targ_underscore=yes -+ ;; - sh-*-elf*) - targ_defvec=bfd_elf32_sh_vec -- targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec" -+ targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec " -+ targ_underscore=yes -+ ;; -+ sh-*-netbsdcoff) -+ targ_defvec=shcoff_vec -+ targ_selvecs="shlcoff_vec " -+ targ_underscore=yes -+ ;; -+ shel-*-netbsdcoff) -+ targ_defvec=shlcoff_vec -+ targ_selvecs="shcoff_vec " - targ_underscore=yes - ;; - sh-*-* | sh-*-rtems*) - targ_defvec=shcoff_vec -- targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec" -+ targ_selvecs="shlcoff_vec " - targ_underscore=yes - ;; - -diff -u -r -N -x *.orig -x CVS old/bfd/configure binutils-2.9.1/bfd/configure ---- bfd/configure Wed Jan 3 20:40:59 2001 -+++ bfd/configure Wed Jan 3 20:46:23 2001 -@@ -2738,6 +2738,8 @@ - bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; - bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; - bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; -+ bfd_elf32_shunx_vec) tb="$tb elf32-shunx.lo elf32.lo $elf coff-sh.lo" ;; -+ bfd_elf32_shlunx_vec) tb="$tb elf32-shunx.lo elf32.lo $elf coff-sh.lo" ;; - bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; - bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; - bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elf32.lo $elf" ;; -diff -u -r -N -x *.orig -x CVS old/bfd/configure.in binutils-2.9.1/bfd/configure.in ---- bfd/configure.in Wed Jan 3 20:40:59 2001 -+++ bfd/configure.in Wed Jan 3 20:46:30 2001 -@@ -423,6 +423,8 @@ - bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; - bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; - bfd_elf32_powerpcle_vec) tb="$tb elf32-ppc.lo elf32.lo $elf" ;; -+ bfd_elf32_shunx_vec) tb="$tb elf32-shunx.lo elf32.lo $elf coff-sh.lo" ;; -+ bfd_elf32_shlunx_vec) tb="$tb elf32-shunx.lo elf32.lo $elf coff-sh.lo" ;; - bfd_elf32_sh_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; - bfd_elf32_shl_vec) tb="$tb elf32-sh.lo elf32.lo $elf coff-sh.lo" ;; - bfd_elf32_sparc_vec) tb="$tb elf32-sparc.lo elf32.lo $elf" ;; -diff -u -r -N -x *.orig -x CVS old/bfd/elf32-sh.c binutils-2.9.1/bfd/elf32-sh.c ---- bfd/elf32-sh.c Sat May 2 00:48:09 1998 -+++ bfd/elf32-sh.c Wed Jan 3 20:47:15 2001 -@@ -1889,13 +1889,28 @@ - return NULL; - } - -+#ifndef TARGET_BIG_SYM - #define TARGET_BIG_SYM bfd_elf32_sh_vec -+#endif -+ -+#ifndef TARGET_BIG_NAME - #define TARGET_BIG_NAME "elf32-sh" -+#endif -+ -+#ifndef TARGET_LITTLE_SYM - #define TARGET_LITTLE_SYM bfd_elf32_shl_vec -+#endif -+ -+#ifndef TARGET_LITTLE_NAME - #define TARGET_LITTLE_NAME "elf32-shl" -+#endif -+ - #define ELF_ARCH bfd_arch_sh - #define ELF_MACHINE_CODE EM_SH -+ -+#ifndef ELF_MAXPAGESIZE - #define ELF_MAXPAGESIZE 0x1 -+#endif - - #define elf_symbol_leading_char '_' - -diff -u -r -N -x *.orig -x CVS old/bfd/elf32-shunx.c binutils-2.9.1/bfd/elf32-shunx.c ---- bfd/elf32-shunx.c Thu Jan 1 09:00:00 1970 -+++ bfd/elf32-shunx.c Wed Jan 3 20:47:30 2001 -@@ -0,0 +1,7 @@ -+#define TARGET_BIG_SYM bfd_elf32_shunx_vec -+#define TARGET_BIG_NAME "elf32-sh-unx" -+#define TARGET_LITTLE_SYM bfd_elf32_shlunx_vec -+#define TARGET_LITTLE_NAME "elf32-shl-unx" -+#define ELF_MAXPAGESIZE 0x1000 -+ -+#include "elf32-sh.c" -diff -u -r -N -x *.orig -x CVS old/bfd/targets.c binutils-2.9.1/bfd/targets.c ---- bfd/targets.c Wed Jan 3 20:40:59 2001 -+++ bfd/targets.c Wed Jan 3 20:47:40 2001 -@@ -504,6 +504,8 @@ - extern const bfd_target bfd_elf32_mn10300_vec; - extern const bfd_target bfd_elf32_powerpc_vec; - extern const bfd_target bfd_elf32_powerpcle_vec; -+extern const bfd_target bfd_elf32_shunx_vec; -+extern const bfd_target bfd_elf32_shlunx_vec; - extern const bfd_target bfd_elf32_sh_vec; - extern const bfd_target bfd_elf32_shl_vec; - extern const bfd_target bfd_elf32_sparc_vec; -diff -u -r -N -x *.orig -x CVS old/config.sub binutils-2.9.1/config.sub ---- config.sub Wed Jan 3 20:41:00 2001 -+++ config.sub Wed Jan 3 20:47:56 2001 -@@ -175,7 +175,7 @@ - | arme[lb] | pyramid | mn10200 | mn10300 \ - | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \ - | alpha | alphaev5 | alphaev56 | alphapca56 | alphaev6 \ -- | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \ -+ | we32k | ns16k | clipper | i370 | sh | shel | powerpc | powerpcle \ - | 1750a | dsp16xx | pdp11 \ - | mips64 | mipsel | mipseb | mips64el | mips64orion | mips64orionel \ - | mipstx39 | mipstx39el \ -@@ -229,7 +229,7 @@ - | alpha-* | alphaev5-* | alphaev56-* | alphapca56-* \ - | alphaev6-* | we32k-* | cydra-* | ns16k-* | pn-* | np1-* \ - | xps100-* | clipper-* | orion-* \ -- | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ -+ | sparclite-* | pdp11-* | sh-* | shel-* | powerpc-* | powerpcle-* \ - | sparc64-* | mips64-* | mipsel-* | mipseb-* \ - | mips64el-* | mips64orion-* | mips64orionel-* \ - | mipstx39-* | mipstx39el-* \ -diff -u -r -N -x *.orig -x CVS old/ld/Makefile.am binutils-2.9.1/ld/Makefile.am ---- ld/Makefile.am Wed Jan 3 20:40:59 2001 -+++ ld/Makefile.am Wed Jan 3 20:49:44 2001 -@@ -169,6 +169,10 @@ - eshelf.o \ - eshlelf.o \ - eshl.o \ -+ eshunx.o \ -+ eshlunx.o \ -+ eelf32shunx.o \ -+ eelf32shlunx.o \ - esparcaout.o \ - esparclinux.o \ - esparclynx.o \ -@@ -488,6 +492,18 @@ - eshl.c: $(srcdir)/emulparams/shl.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} - ${GENSCRIPTS} shl "$(tdir_shl)" -+eshunx.c: $(srcdir)/emulparams/shunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} shunx "$(tdir_shunx)" -+eshlunx.c: $(srcdir)/emulparams/shlunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} shlunx "$(tdir_shlunx)" -+eelf32shunx.c: $(srcdir)/emulparams/elf32shunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} elf32shunx "$(tdir_elf32shunx)" -+eelf32shlunx.c: $(srcdir)/emulparams/elf32shlunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} elf32shlunx "$(tdir_elf32shlunx)" - esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" -diff -u -r -N -x *.orig -x CVS old/ld/Makefile.in binutils-2.9.1/ld/Makefile.in ---- ld/Makefile.in Wed Jan 3 20:40:59 2001 -+++ ld/Makefile.in Wed Jan 3 20:49:38 2001 -@@ -245,6 +245,10 @@ - eshelf.o \ - eshlelf.o \ - eshl.o \ -+ eshunx.o \ -+ eshlunx.o \ -+ eelf32shunx.o \ -+ eelf32shlunx.o \ - esparcaout.o \ - esparclinux.o \ - esparclynx.o \ -@@ -998,6 +1002,18 @@ - eshl.c: $(srcdir)/emulparams/shl.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} - ${GENSCRIPTS} shl "$(tdir_shl)" -+eshunx.c: $(srcdir)/emulparams/shunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} shunx "$(tdir_shunx)" -+eshlunx.c: $(srcdir)/emulparams/shlunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} shlunx "$(tdir_shlunx)" -+eelf32shunx.c: $(srcdir)/emulparams/elf32shunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} elf32shunx "$(tdir_elf32shunx)" -+eelf32shlunx.c: $(srcdir)/emulparams/elf32shlunx.sh \ -+ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} -+ ${GENSCRIPTS} elf32shlunx "$(tdir_elf32shlunx)" - esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ - $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} - ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" -diff -u -r -N -x *.orig -x CVS old/ld/configure.tgt binutils-2.9.1/ld/configure.tgt ---- ld/configure.tgt Wed Jan 3 20:41:00 2001 -+++ ld/configure.tgt Wed Jan 3 20:51:01 2001 -@@ -114,8 +114,16 @@ - targ_extra_emuls="h8500s h8500b h8500m h8500c" - ;; - sh-*-elf*) targ_emul=shelf -- targ_extra_emuls="shlelf sh shl" -+ targ_extra_emuls="shlelf shunx shlunx" - ;; -+sh-*-netbsdelf) targ_emul=elf32shunx -+ targ_extra_emuls="elf32shlunx shunx shlunx" -+ ;; -+shel-*-netbsdelf) targ_emul=elf32shlunx -+ targ_extra_emuls="elf32shunx shunx shlunx" -+ ;; -+sh-*-netbsdcoff) targ_emul=shunx; targ_extra_emuls=shlunx ;; -+shel-*-netbsdcoff) targ_emul=shlunx; targ_extra_emuls=shunx ;; - sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;; - m68k-sony-*) targ_emul=news ;; - m68k-hp-bsd*) targ_emul=hp300bsd ;; -diff -u -r -N -x *.orig -x CVS old/ld/emulparams/elf32shlunx.sh binutils-2.9.1/ld/emulparams/elf32shlunx.sh ---- ld/emulparams/elf32shlunx.sh Thu Jan 1 09:00:00 1970 -+++ ld/emulparams/elf32shlunx.sh Wed Jan 3 20:51:16 2001 -@@ -0,0 +1,15 @@ -+SCRIPT_NAME=elf -+OUTPUT_FORMAT="elf32-shl-unx" -+TEXT_START_ADDR=0x1000 -+MAXPAGESIZE=0x1000 -+ARCH=sh -+MACHINE= -+TEMPLATE_NAME=elf32 -+GENERATE_SHLIB_SCRIPT=yes -+ -+# These are for compatibility with the COFF toolchain. -+ENTRY=start -+CTOR_START='___ctors = .;' -+CTOR_END='___ctors_end = .;' -+DTOR_START='___dtors = .;' -+DTOR_END='___dtors_end = .;' -diff -u -r -N -x *.orig -x CVS old/ld/emulparams/elf32shunx.sh binutils-2.9.1/ld/emulparams/elf32shunx.sh ---- ld/emulparams/elf32shunx.sh Thu Jan 1 09:00:00 1970 -+++ ld/emulparams/elf32shunx.sh Wed Jan 3 20:51:33 2001 -@@ -0,0 +1,15 @@ -+SCRIPT_NAME=elf -+OUTPUT_FORMAT="elf32-sh-unx" -+TEXT_START_ADDR=0x1000 -+MAXPAGESIZE=0x1000 -+ARCH=sh -+MACHINE= -+TEMPLATE_NAME=elf32 -+GENERATE_SHLIB_SCRIPT=yes -+ -+# These are for compatibility with the COFF toolchain. -+ENTRY=start -+CTOR_START='___ctors = .;' -+CTOR_END='___ctors_end = .;' -+DTOR_START='___dtors = .;' -+DTOR_END='___dtors_end = .;' -diff -u -r -N -x *.orig -x CVS old/ld/emulparams/shlunx.sh binutils-2.9.1/ld/emulparams/shlunx.sh ---- ld/emulparams/shlunx.sh Thu Jan 1 09:00:00 1970 -+++ ld/emulparams/shlunx.sh Wed Jan 3 20:51:54 2001 -@@ -0,0 +1,5 @@ -+SCRIPT_NAME=shunx -+OUTPUT_FORMAT="coff-shl" -+TEXT_START_ADDR=0x1000 -+TARGET_PAGE_SIZE=0x1000 -+ARCH=sh -diff -u -r -N -x *.orig -x CVS old/ld/emulparams/shunx.sh binutils-2.9.1/ld/emulparams/shunx.sh ---- ld/emulparams/shunx.sh Thu Jan 1 09:00:00 1970 -+++ ld/emulparams/shunx.sh Wed Jan 3 20:52:04 2001 -@@ -0,0 +1,5 @@ -+SCRIPT_NAME=shunx -+OUTPUT_FORMAT="coff-sh" -+TEXT_START_ADDR=0x1000 -+TARGET_PAGE_SIZE=0x1000 -+ARCH=sh -diff -u -r -N -x *.orig -x CVS old/ld/scripttempl/shunx.sc binutils-2.9.1/ld/scripttempl/shunx.sc ---- ld/scripttempl/shunx.sc Thu Jan 1 09:00:00 1970 -+++ ld/scripttempl/shunx.sc Wed Jan 3 20:52:24 2001 -@@ -0,0 +1,53 @@ -+TORS=".tors : -+ { -+ ___ctors = . ; -+ *(.ctors) -+ ___ctors_end = . ; -+ ___dtors = . ; -+ *(.dtors) -+ ___dtors_end = . ; -+ }" -+ -+ -+cat <