Date: Mon, 14 Mar 2011 22:51:51 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/gnu/usr.bin/binutils/ld Makefile.amd64 src/gnu/usr.bin/cc/cc_tools Makefile Message-ID: <201103142252.p2EMq8Wh015703@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103142252.p2EMq8Wh015703>
