From owner-svn-src-projects@FreeBSD.ORG Mon Dec 6 16:47:19 2010 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D06471065694; Mon, 6 Dec 2010 16:47:19 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay010.isp.belgacom.be (mailrelay010.isp.belgacom.be [195.238.6.177]) by mx1.freebsd.org (Postfix) with ESMTP id 348B18FC33; Mon, 6 Dec 2010 16:47:18 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAOOZ/Exbsc6j/2dsb2JhbACjOHK9ZIVJBIl9 Received: from 163.206-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.206.163]) by relay.skynet.be with ESMTP; 06 Dec 2010 17:18:17 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id oB6GIFoZ004224; Mon, 6 Dec 2010 17:18:16 +0100 (CET) (envelope-from tijl@coosemans.org) From: Tijl Coosemans To: Dimitry Andric Date: Mon, 6 Dec 2010 17:18:06 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.2; i386; ; ) References: <201012052024.oB5KOMUF007051@svn.freebsd.org> In-Reply-To: <201012052024.oB5KOMUF007051@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2421429.0QgHX6hdXy"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201012061718.13823.tijl@coosemans.org> Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r216200 - in projects/binutils-2.17: contrib/binutils/bfd contrib/binutils/gas/config contrib/binutils/ld/emulparams gnu/usr.bin/binutils/libbfd sys/boot/ia64/efi sys/boot/ia64/ski sys/... X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 16:47:20 -0000 --nextPart2421429.0QgHX6hdXy Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Sunday 05 December 2010 21:24:22 Dimitry Andric wrote: > Author: dim > Date: Sun Dec 5 20:24:22 2010 > New Revision: 216200 > URL: http://svn.freebsd.org/changeset/base/216200 >=20 > Log: > For ia64, add a proper 'elf64-ia64-freebsd' output format to BFD, so the > ELF branding for FreeBSD is done in the same way as amd64, i386 and > sparc. Something similar should probably also be done for arm, mips and > powerpc. >=20 > Modified: > projects/binutils-2.17/contrib/binutils/bfd/elfxx-ia64.c > projects/binutils-2.17/contrib/binutils/bfd/targets.c > projects/binutils-2.17/contrib/binutils/gas/config/tc-ia64.c > projects/binutils-2.17/contrib/binutils/ld/emulparams/elf64_ia64_fbsd.sh > projects/binutils-2.17/gnu/usr.bin/binutils/libbfd/Makefile.ia64 > projects/binutils-2.17/sys/boot/ia64/efi/ldscript.ia64 > projects/binutils-2.17/sys/boot/ia64/ski/ldscript.ia64 > projects/binutils-2.17/sys/conf/ldscript.ia64 >=20 > Modified: projects/binutils-2.17/contrib/binutils/bfd/elfxx-ia64.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- projects/binutils-2.17/contrib/binutils/bfd/elfxx-ia64.c Sun Dec 5 1= 6:09:03 2010 (r216199) > +++ projects/binutils-2.17/contrib/binutils/bfd/elfxx-ia64.c Sun Dec 5 2= 0:24:22 2010 (r216200) > @@ -5909,6 +5909,26 @@ elfNN_hpux_backend_symbol_processing (bf > =20 > #include "elfNN-target.h" > =20 > +/* FreeBSD support. */ > + > +#undef TARGET_LITTLE_SYM > +#define TARGET_LITTLE_SYM bfd_elfNN_ia64_freebsd_vec > +#undef TARGET_LITTLE_NAME > +#define TARGET_LITTLE_NAME "elfNN-ia64-freebsd" > +#undef TARGET_BIG_SYM > +#undef TARGET_BIG_NAME > + > +#undef ELF_OSABI > +#define ELF_OSABI ELFOSABI_FREEBSD Does this change fix the problem described here? http://lists.freebsd.org/pipermail/freebsd-ia64/2010-November/002773.html About elf64-ia64-freebsd, I'm not sure it is needed. FreeBSD 4.0 and older used non-standard ELF branding and that format got the name elf32-i386-freebsd (and elf64-alpha-freebsd). Later versions of FreeBSD use the standard method, but keep calling it elf32-i386-freebsd. Rather than copying this practise to other architectures, maybe binutils should be fixed for i386. It isn't used on amd64 and sparc64 either as far as I can tell. --nextPart2421429.0QgHX6hdXy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iF4EABEIAAYFAkz9DMUACgkQfoCS2CCgtisMdgD/Y64VpPSBkDqWLDAnHy8zvVLj O8MG6k7+tFp88h0w954A/0/hcYpEuQUiwpoZMgYz9qt0BkP4BXIppQucbncAwmoi =uXqi -----END PGP SIGNATURE----- --nextPart2421429.0QgHX6hdXy--