From owner-cvs-src-old@FreeBSD.ORG Mon Mar 14 22:52:08 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32BE10656E4 for ; Mon, 14 Mar 2011 22:52:08 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D0CF18FC17 for ; Mon, 14 Mar 2011 22:52:08 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p2EMq8EL015704 for ; Mon, 14 Mar 2011 22:52:08 GMT (envelope-from dim@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p2EMq8Wh015703 for cvs-src-old@freebsd.org; Mon, 14 Mar 2011 22:52:08 GMT (envelope-from dim@repoman.freebsd.org) Message-Id: <201103142252.p2EMq8Wh015703@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dim@repoman.freebsd.org using -f From: Dimitry Andric Date: Mon, 14 Mar 2011 22:51:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/gnu/usr.bin/binutils/ld Makefile.amd64 src/gnu/usr.bin/cc/cc_tools Makefile X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 22:52:09 -0000 dim 2011-03-14 22:51:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) gnu/usr.bin/binutils/ld Makefile.amd64 gnu/usr.bin/cc/cc_tools Makefile Log: SVN rev 219648 on 2011-03-14 22:51:51Z by dim Partially MFC r209867 and r215439, to provide rudimentary support for linking i386 (32 bit) executables on amd64, using gcc's -m32 option. r209867 introduces the needed multilib options to gcc's multilib.h, but was originally intended just for powerpc64. r215439 teaches the linker to search in /usr/lib32 for elf_i386_fbsd output, and amends r209867 to apply to amd64 too. NOTE: this MFC does NOT provide full support for compiling and linking all existing 32 bit programs on amd64, since /usr/include/machine still contains amd64-specific headers. Though simple "Hello World" type programs work, anything relying on machine-specific types might fail in various interesting ways. You have been warned. :) MFC r209867: Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 MFC r215439: Let gcc and ld know where to find 32 bit libraries on amd64. Reviewed by: arch@ Approved by: kib (mentor) Revision Changes Path 1.8.10.2 +1 -1 src/gnu/usr.bin/binutils/ld/Makefile.amd64 1.91.2.2 +11 -1 src/gnu/usr.bin/cc/cc_tools/Makefile