rpms/binutils/devel binutils-2.17.50.0.3-bz3171.patch, NONE, 1.1 binutils.spec, 1.101, 1.102

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Sep 12 10:44:58 UTC 2006


Author: jakub

Update of /cvs/dist/rpms/binutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27532

Modified Files:
	binutils.spec 
Added Files:
	binutils-2.17.50.0.3-bz3171.patch 
Log Message:
2.17.50.0.3-5

binutils-2.17.50.0.3-bz3171.patch:
 coffcode.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE binutils-2.17.50.0.3-bz3171.patch ---
2006-09-05  Bibo Mao  <bibo.mao at intel.com>

	PR binutils/3171
	* coffcode.h (coff_write_object_contents): Set the optional
	header magic number to PE32PMAGIC instead of ZMAGIC for ia64.

--- bfd/coffcode.h	9 May 2006 11:47:47 -0000	1.132
+++ bfd/coffcode.h	5 Sep 2006 18:56:50 -0000	1.133
@@ -3869,7 +3869,7 @@ coff_write_object_contents (bfd * abfd)
 
 #if defined(IA64)
 #define __A_MAGIC_SET__
-    internal_a.magic = ZMAGIC;
+    internal_a.magic = PE32PMAGIC;
 #endif /* IA64 */
 
 #if defined(SPARC)


Index: binutils.spec
===================================================================
RCS file: /cvs/dist/rpms/binutils/devel/binutils.spec,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- binutils.spec	5 Sep 2006 15:25:41 -0000	1.101
+++ binutils.spec	12 Sep 2006 10:44:56 -0000	1.102
@@ -1,7 +1,7 @@
 Summary: A GNU collection of binary utilities.
 Name: binutils
 Version: 2.17.50.0.3
-Release: 4
+Release: 5
 License: GPL
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -17,6 +17,7 @@
 Patch9: binutils-2.17.50.0.3-power6-insns.patch
 Patch10: binutils-2.17.50.0.3-opcodes-intl.patch
 Patch11: binutils-2.17.50.0.3-x86-noautoarch-rh200330.patch
+Patch12: binutils-2.17.50.0.3-bz3171.patch
 
 Buildroot: %{_tmppath}/binutils-root
 BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
@@ -69,6 +70,7 @@
 %patch9 -p0 -b .power6-insns~
 %patch10 -p0 -b .opcodes-intl~
 %patch11 -p0 -b .x86-noautoarch~
+%patch12 -p0 -b .bz3171~
 
 # On ppc64 we might use 64K pages
 sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
@@ -88,7 +90,7 @@
 %ifarch ia64
 CARGS=--enable-targets=i386-linux
 %endif
-CFLAGS="${CFLAGS:-%optflags}" ../configure \
+CC="gcc -L`pwd`/bfd/.libs/" CFLAGS="${CFLAGS:-%optflags}" ../configure \
   %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} \
   --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
   --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} \
@@ -194,6 +196,9 @@
 %{_infodir}/bfd*info*
 
 %changelog
+* Tue Sep 12 2006 Jakub Jelinek <jakub at redhat.com> 2.17.50.0.3-5
+- fix efi-app-ia64 magic number (#206002, BZ#3171)
+
 * Tue Sep  5 2006 Jakub Jelinek <jakub at redhat.com> 2.17.50.0.3-4
 - link libopcodes*.so against libbfd*.so (#202327)
 - split *.a and header files into binutils-devel




More information about the fedora-cvs-commits mailing list