[Glibc-bsd-commits] r1430 - trunk/web/patches
Petr Salinger
ps-guest at costa.debian.org
Mon Apr 10 14:39:42 UTC 2006
Author: ps-guest
Date: 2006-04-10 14:39:42 +0000 (Mon, 10 Apr 2006)
New Revision: 1430
Added:
trunk/web/patches/binutils_amd64.diff
Log:
[amd64] biarch enabled binutils patch
Added: trunk/web/patches/binutils_amd64.diff
===================================================================
--- trunk/web/patches/binutils_amd64.diff 2006-04-10 08:54:16 UTC (rev 1429)
+++ trunk/web/patches/binutils_amd64.diff 2006-04-10 14:39:42 UTC (rev 1430)
@@ -0,0 +1,31 @@
+
+- biarch enabled binutils for kfreebsd-amd64
+- hack elfosabi - same as in binutils_elfosabi.diff
+
+
+--- binutils-2.16.1cvs20060117/debian/rules 2006-04-10 16:10:19.000000000 +0200
++++ binutils-2.16.1cvs20060117/debian/rules 2006-04-10 15:40:43.000000000 +0200
+@@ -69,6 +69,9 @@
+ ifeq ($(DEB_HOST_ARCH),i386)
+ CONFARGS += --enable-targets=x86_64-linux-gnu
+ endif
++ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
++ CONFARGS += --enable-targets=i486-kfreebsd-gnu x86_64-kfreebsd-gnu
++endif
+ ifeq ($(DEB_HOST_ARCH),mips)
+ CONFARGS += --enable-targets=mips64-linux-gnu
+ endif
+
+only in patch2:
+unchanged:
+--- binutils-2.16.1cvs20060117.orig/bfd/elf.c
++++ binutils-2.16.1cvs20060117/bfd/elf.c
+@@ -4802,6 +4802,8 @@
+ bfd_big_endian (abfd) ? ELFDATA2MSB : ELFDATA2LSB;
+ i_ehdrp->e_ident[EI_VERSION] = bed->s->ev_current;
+
++ i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
++
+ if ((abfd->flags & DYNAMIC) != 0)
+ i_ehdrp->e_type = ET_DYN;
+ else if ((abfd->flags & EXEC_P) != 0)
More information about the Glibc-bsd-commits
mailing list