Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 05:43:04 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204548 - head/gnu/usr.bin/binutils/ld
Message-ID:  <201003020543.o225h4bn034225@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Mar  2 05:43:04 2010
New Revision: 204548
URL: http://svn.freebsd.org/changeset/base/204548

Log:
  Add n32 ABI generators...
  
  Submitted by:	neel, jmallet

Added:
  head/gnu/usr.bin/binutils/ld/elf32btsmipn32_fbsd.sh
     - copied unchanged from r204272, head/gnu/usr.bin/binutils/ld/elf32btsmip_fbsd.sh
  head/gnu/usr.bin/binutils/ld/elf32ltsmipn32_fbsd.sh
     - copied unchanged from r204272, head/gnu/usr.bin/binutils/ld/elf32ltsmip_fbsd.sh
Modified:
  head/gnu/usr.bin/binutils/ld/Makefile.mips
  head/gnu/usr.bin/binutils/ld/genscripts.sh

Modified: head/gnu/usr.bin/binutils/ld/Makefile.mips
==============================================================================
--- head/gnu/usr.bin/binutils/ld/Makefile.mips	Tue Mar  2 05:40:01 2010	(r204547)
+++ head/gnu/usr.bin/binutils/ld/Makefile.mips	Tue Mar  2 05:43:04 2010	(r204548)
@@ -10,7 +10,8 @@ NATIVE_EMULATION=elf${_sz}btsmip_fbsd
 NATIVE_EMULATION=elf${_sz}ltsmip_fbsd
 .endif
 
-MIPS_ABIS=elf32btsmip_fbsd elf32ltsmip_fbsd elf64btsmip_fbsd elf64ltsmip_fbsd
+MIPS_ABIS=elf32btsmip_fbsd elf32ltsmip_fbsd elf64btsmip_fbsd elf64ltsmip_fbsd \
+    elf32btsmipn32_fbsd elf32ltsmipn32_fbsd
 .for abi in ${MIPS_ABIS}
 #.if (${abi} != ${NATIVE_EMULATION})
 EMS+= ${abi}

Copied: head/gnu/usr.bin/binutils/ld/elf32btsmipn32_fbsd.sh (from r204272, head/gnu/usr.bin/binutils/ld/elf32btsmip_fbsd.sh)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/gnu/usr.bin/binutils/ld/elf32btsmipn32_fbsd.sh	Tue Mar  2 05:43:04 2010	(r204548, copy of r204272, head/gnu/usr.bin/binutils/ld/elf32btsmip_fbsd.sh)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+. ${srcdir}/emulparams/elf32btsmip.sh
+. ${srcdir}/emulparams/elf_fbsd.sh
+GENERATE_PIE_SCRIPT=yes

Copied: head/gnu/usr.bin/binutils/ld/elf32ltsmipn32_fbsd.sh (from r204272, head/gnu/usr.bin/binutils/ld/elf32ltsmip_fbsd.sh)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/gnu/usr.bin/binutils/ld/elf32ltsmipn32_fbsd.sh	Tue Mar  2 05:43:04 2010	(r204548, copy of r204272, head/gnu/usr.bin/binutils/ld/elf32ltsmip_fbsd.sh)
@@ -0,0 +1,4 @@
+# $FreeBSD$
+. ${srcdir}/emulparams/elf32ltsmip.sh
+. ${srcdir}/emulparams/elf_fbsd.sh
+GENERATE_PIE_SCRIPT=yes

Modified: head/gnu/usr.bin/binutils/ld/genscripts.sh
==============================================================================
--- head/gnu/usr.bin/binutils/ld/genscripts.sh	Tue Mar  2 05:40:01 2010	(r204547)
+++ head/gnu/usr.bin/binutils/ld/genscripts.sh	Tue Mar  2 05:43:04 2010	(r204548)
@@ -50,6 +50,7 @@ fi
 if test -d ldscripts; then
   true
 else
+  rm -f ldscripts
   mkdir ldscripts
 fi
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003020543.o225h4bn034225>