packages: binutils/binutils.spec, binutils/binutils-i586_nop.patch (NEW)=?UTF-8?Q?=20?=-=?UTF-8?Q?=20?=...
jajcus
jajcus at pld-linux.org
Thu Feb 9 11:34:17 CET 2012
Author: jajcus Date: Thu Feb 9 10:34:17 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- -i586_nop.patch: fix linking for older x86 processors (disable use of multi
byte NOP on those archs)
- Release: 2
---- Files affected:
packages/binutils:
binutils.spec (1.354 -> 1.355) , binutils-i586_nop.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/binutils/binutils.spec
diff -u packages/binutils/binutils.spec:1.354 packages/binutils/binutils.spec:1.355
--- packages/binutils/binutils.spec:1.354 Wed Feb 1 07:07:20 2012
+++ packages/binutils/binutils.spec Thu Feb 9 11:34:12 2012
@@ -18,7 +18,7 @@
Summary(uk.UTF-8): Набір інструментів GNU для побудови виконуваних програм
Name: binutils
Version: 2.22.52.0.1
-Release: 1
+Release: 2
Epoch: 3
License: GPL v3+
Group: Development/Tools
@@ -37,6 +37,7 @@
Patch7: %{name}-libtool-m.patch
Patch8: %{name}-build-id.patch
Patch9: %{name}-tooldir.patch
+Patch10: %{name}-i586_nop.patch
URL: http://sources.redhat.com/binutils/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
@@ -158,6 +159,9 @@
%patch7 -p1
%patch8 -p0
%patch9 -p1
+%ifarch i386 i486 i586
+%patch10 -p1
+%endif
# file contains hacks for ac 2.59 only
%{__rm} config/override.m4
@@ -356,6 +360,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.355 2012/02/09 10:34:12 jajcus
+- -i586_nop.patch: fix linking for older x86 processors (disable use of multi
+ byte NOP on those archs)
+- Release: 2
+
Revision 1.354 2012/02/01 06:07:20 arekm
- up to 2.22.52.0.1
================================================================
Index: packages/binutils/binutils-i586_nop.patch
diff -u /dev/null packages/binutils/binutils-i586_nop.patch:1.1
--- /dev/null Thu Feb 9 11:34:17 2012
+++ packages/binutils/binutils-i586_nop.patch Thu Feb 9 11:34:12 2012
@@ -0,0 +1,33 @@
+diff -dur binutils-2.22.52.0.1.orig/bfd/cpu-i386.c binutils-2.22.52.0.1/bfd/cpu-i386.c
+--- binutils-2.22.52.0.1.orig/bfd/cpu-i386.c 2012-02-01 00:46:04.000000000 +0100
++++ binutils-2.22.52.0.1/bfd/cpu-i386.c 2012-02-09 10:14:16.627045230 +0100
+@@ -52,28 +52,7 @@
+ static const char nop_1[] = { 0x90 };
+ /* nopw */
+ static const char nop_2[] = { 0x66, 0x90 };
+- /* nopl (%[re]ax) */
+- static const char nop_3[] = { 0x0f, 0x1f, 0x00 };
+- /* nopl 0(%[re]ax) */
+- static const char nop_4[] = { 0x0f, 0x1f, 0x40, 0x00 };
+- /* nopl 0(%[re]ax,%[re]ax,1) */
+- static const char nop_5[] = { 0x0f, 0x1f, 0x44, 0x00, 0x00 };
+- /* nopw 0(%[re]ax,%[re]ax,1) */
+- static const char nop_6[] = { 0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00 };
+- /* nopl 0L(%[re]ax) */
+- static const char nop_7[] = { 0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00 };
+- /* nopl 0L(%[re]ax,%[re]ax,1) */
+- static const char nop_8[] =
+- { 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00};
+- /* nopw 0L(%[re]ax,%[re]ax,1) */
+- static const char nop_9[] =
+- { 0x66, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00 };
+- /* nopw %cs:0L(%[re]ax,%[re]ax,1) */
+- static const char nop_10[] =
+- { 0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00 };
+- static const char *const nops[] =
+- { nop_1, nop_2, nop_3, nop_4, nop_5,
+- nop_6, nop_7, nop_8, nop_9, nop_10 };
++ static const char *const nops[] = { nop_1, nop_2 };
+
+ void *fill = bfd_malloc (count);
+ if (fill == NULL)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/binutils/binutils.spec?r1=1.354&r2=1.355&f=u
More information about the pld-cvs-commit
mailing list