[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/binutils/devel binutils-2.17.50.0.3-x86-noautoarch-rh200330.patch, NONE, 1.1 binutils.spec, 1.98, 1.99



Author: aoliva

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

Modified Files:
	binutils.spec 
Added Files:
	binutils-2.17.50.0.3-x86-noautoarch-rh200330.patch 
Log Message:
* Fri Jul 28 2006 Alexandre Oliva <aoliva redhat com> 2.17.50.0.3-2
- do not infer x86 arch implicitly based on instruction in the input
(#200330)


binutils-2.17.50.0.3-x86-noautoarch-rh200330.patch:
 config/tc-i386.c                  |    3 -
 testsuite/gas/i386/nops-2-i386.d  |   58 ++++++++++++++++++++++++--------------
 testsuite/gas/i386/nops-2-merom.d |   52 ++++++++++++++++++++++++----------
 testsuite/gas/i386/nops-2.d       |   58 ++++++++++++++++++++++++--------------
 4 files changed, 111 insertions(+), 60 deletions(-)

--- NEW FILE binutils-2.17.50.0.3-x86-noautoarch-rh200330.patch ---
http://sourceware.org/ml/binutils/2006-07/msg00360.html

gas/

2006-07-28  H.J. Lu  <hongjiu lu intel com>

	* config/tc-i386.c (md_assemble): Don't update
	cpu_arch_isa_flags.

gas/testsuite/

2006-07-28  H.J. Lu  <hongjiu lu intel com>

	* gas/i386/nops-2-i386.d: Updated.
	* gas/i386/nops-2-merom.d: Likewise.
	* gas/i386/nops-2.d: Likewise.

--- gas/config/tc-i386.c.nops	2006-07-28 13:58:01.000000000 -0700
+++ gas/config/tc-i386.c	2006-07-28 14:54:08.000000000 -0700
@@ -1945,9 +1945,6 @@ md_assemble (line)
   if (i.rex != 0)
     add_prefix (REX_OPCODE | i.rex);
 
-  /* Record what ISA we have generated so far.  */
-  cpu_arch_isa_flags |= i.tm.cpu_flags;
-
   /* We are ready to output the insn.  */
   output_insn ();
 }
--- gas/testsuite/gas/i386/nops-2-i386.d.nops	2006-06-23 14:47:36.000000000 -0700
+++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disassembly of section .text:
 [	 ]*52:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*53:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*54:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*55:[	 ]+0f 1f 44 00 00[	 ]+nopl[ 	]+0x0\(%eax,%eax,1\)
-[	 ]*5a:[	 ]+66 0f 1f 44 00 00[	 ]+nopw[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*55:[	 ]+8d 74 26 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
+[	 ]*59:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+60 <nop10>:
 [	 ]*60:[	 ]+90[	 ]+nop[ 	]*
@@ -54,7 +66,8 @@ Disassembly of section .text:
 [	 ]*63:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*64:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*65:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*66:[	 ]+66 2e 0f 1f 84 00 00 00 00 00[	 ]+nopw[ 	]+%cs:0x0\(%eax,%eax,1\)
+[	 ]*66:[	 ]+8d 76 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
+[	 ]*69:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+70 <nop9>:
 [	 ]*70:[	 ]+90[	 ]+nop[ 	]*
@@ -64,7 +77,8 @@ Disassembly of section .text:
 [	 ]*74:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*75:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*76:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*77:[	 ]+66 0f 1f 84 00 00 00 00 00[	 ]+nopw[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*77:[	 ]+89 f6[	 ]+mov[ 	]+%esi,%esi
+[	 ]*79:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+80 <nop8>:
 [	 ]*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[ 	]*
-[	 ]*bb:[	 ]+0f 1f 44 00 00[	 ]+nopl[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*bb:[	 ]+90[	 ]+nop[ 	]*
+[	 ]*bc:[	 ]+8d 74 26 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+c0 <nop4>:
 [	 ]*c0:[	 ]+90[	 ]+nop[ 	]*
@@ -129,7 +145,7 @@ Disassembly of section .text:
 [	 ]*c9:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ca:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*cb:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*cc:[	 ]+0f 1f 40 00[	 ]+nopl[ 	]+0x0\(%eax\)
+[	 ]*cc:[	 ]+8d 74 26 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+d0 <nop3>:
 [	 ]*d0:[	 ]+90[	 ]+nop[ 	]*
@@ -145,7 +161,7 @@ Disassembly of section .text:
 [	 ]*da:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*db:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*dc:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*dd:[	 ]+0f 1f 00[	 ]+nopl[ 	]+\(%eax\)
+[	 ]*dd:[	 ]+8d 76 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+e0 <nop2>:
 [	 ]*e0:[	 ]+90[	 ]+nop[ 	]*
@@ -162,5 +178,5 @@ Disassembly of section .text:
 [	 ]*eb:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ec:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ed:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*ee:[	 ]+66 90[	 ]+xchg[ 	]+%ax,%ax
+[	 ]*ee:[	 ]+66 90[ 	]+xchg[ 	]+%ax,%ax
 #pass
--- gas/testsuite/gas/i386/nops-2-merom.d.nops	2006-06-23 14:47:36.000000000 -0700
+++ gas/testsuite/gas/i386/nops-2-merom.d	2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 	]+0x0\(%esi\),%esi
+[	 ]*59:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+60 <nop10>:
 [	 ]*60:[	 ]+90[	 ]+nop[ 	]*
@@ -48,7 +66,8 @@ Disassembly of section .text:
 [	 ]*63:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*64:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*65:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*66:[	 ]+66 2e 0f 1f 84 00 00 00 00 00[	 ]+nopw[ 	]+%cs:0x0\(%eax,%eax,1\)
+[	 ]*66:[	 ]+8d 76 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
+[	 ]*69:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+70 <nop9>:
 [	 ]*70:[	 ]+90[	 ]+nop[ 	]*
@@ -58,7 +77,8 @@ Disassembly of section .text:
 [	 ]*74:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*75:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*76:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*77:[	 ]+66 0f 1f 84 00 00 00 00 00[	 ]+nopw[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*77:[	 ]+89 f6[	 ]+mov[ 	]+%esi,%esi
+[	 ]*79:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+80 <nop8>:
 [	 ]*80:[	 ]+90[	 ]+nop[ 	]*
@@ -69,7 +89,8 @@ Disassembly of section .text:
 [	 ]*85:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*86:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*87:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*88:[	 ]+0f 1f 84 00 00 00 00 00[	 ]+nopl[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*88:[	 ]+90[	 ]+nop[ 	]*
+[	 ]*89:[	 ]+8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
 [	 ]*ca:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*cb:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*cc:[	 ]+0f 1f 40 00[	 ]+nopl[ 	]+0x0\(%eax\)
+[	 ]*cc:[	 ]+8d 74 26 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+d0 <nop3>:
 [	 ]*d0:[	 ]+90[	 ]+nop[ 	]*
@@ -139,7 +161,7 @@ Disassembly of section .text:
 [	 ]*da:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*db:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*dc:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*dd:[	 ]+0f 1f 00[	 ]+nopl[ 	]+\(%eax\)
+[	 ]*dd:[	 ]+8d 76 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+e0 <nop2>:
 [	 ]*e0:[	 ]+90[	 ]+nop[ 	]*
@@ -156,5 +178,5 @@ Disassembly of section .text:
 [	 ]*eb:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ec:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ed:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*ee:[	 ]+66 90[	 ]+xchg[ 	]+%ax,%ax
+[	 ]*ee:[	 ]+66 90[ 	]+xchg[ 	]+%ax,%ax
 #pass
--- gas/testsuite/gas/i386/nops-2.d.nops	2006-06-23 14:47:36.000000000 -0700
+++ gas/testsuite/gas/i386/nops-2.d	2006-07-28 15:37:28.000000000 -0700
@@ -8,34 +8,46 @@ Disassembly of section .text:
 
 0+ <nop>:
 [	 ]*0:[	 ]+0f 44 c0[	 ]+cmove[ 	]+%eax,%eax
-[	 ]*3:[	 ]+66 0f 1f 44 00 00[	 ]+nopw[ 	]+0x0\(%eax,%eax,1\)
-[	 ]*9:[	 ]+0f 1f 80 00 00 00 00[	 ]+nopl[ 	]+0x0\(%eax\)
+[	 ]*3:[	 ]+8d b6 00 00 00 00[	 ]+lea[ 	]+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]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+60 <nop10>:
 [	 ]*60:[	 ]+90[	 ]+nop[ 	]*
@@ -53,7 +65,8 @@ Disassembly of section .text:
 [	 ]*63:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*64:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*65:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*66:[	 ]+66 2e 0f 1f 84 00 00 00 00 00[	 ]+nopw[ 	]+%cs:0x0\(%eax,%eax,1\)
+[	 ]*66:[	 ]+8d 76 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
+[	 ]*69:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+70 <nop9>:
 [	 ]*70:[	 ]+90[	 ]+nop[ 	]*
@@ -63,7 +76,8 @@ Disassembly of section .text:
 [	 ]*74:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*75:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*76:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*77:[	 ]+66 0f 1f 84 00 00 00 00 00[	 ]+nopw[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*77:[	 ]+89 f6[	 ]+mov[ 	]+%esi,%esi
+[	 ]*79:[	 ]+8d bc 27 00 00 00 00[	 ]+lea[ 	]+0x0\(%edi\),%edi
 
 0+80 <nop8>:
 [	 ]*80:[	 ]+90[	 ]+nop[ 	]*
@@ -74,7 +88,8 @@ Disassembly of section .text:
 [	 ]*85:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*86:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*87:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*88:[	 ]+0f 1f 84 00 00 00 00 00[	 ]+nopl[ 	]+0x0\(%eax,%eax,1\)
+[	 ]*88:[	 ]+90[	 ]+nop[ 	]*
+[	 ]*89:[	 ]+8d b4 26 00 00 00 00[	 ]+lea[ 	]+0x0\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*
 [	 ]*cb:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*cc:[	 ]+0f 1f 40 00[	 ]+nopl[ 	]+0x0\(%eax\)
+[	 ]*cc:[	 ]+8d 74 26 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+d0 <nop3>:
 [	 ]*d0:[	 ]+90[	 ]+nop[ 	]*
@@ -144,7 +160,7 @@ Disassembly of section .text:
 [	 ]*da:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*db:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*dc:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*dd:[	 ]+0f 1f 00[	 ]+nopl[ 	]+\(%eax\)
+[	 ]*dd:[	 ]+8d 76 00[	 ]+lea[ 	]+0x0\(%esi\),%esi
 
 0+e0 <nop2>:
 [	 ]*e0:[	 ]+90[	 ]+nop[ 	]*
@@ -161,5 +177,5 @@ Disassembly of section .text:
 [	 ]*eb:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ec:[	 ]+90[	 ]+nop[ 	]*
 [	 ]*ed:[	 ]+90[	 ]+nop[ 	]*
-[	 ]*ee:[	 ]+66 90[	 ]+xchg[ 	]+%ax,%ax
+[	 ]*ee:[	 ]+66 90[ 	]+xchg[ 	]+%ax,%ax
 #pass


Index: binutils.spec
===================================================================
RCS file: /cvs/dist/rpms/binutils/devel/binutils.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- binutils.spec	17 Jul 2006 16:08:31 -0000	1.98
+++ binutils.spec	28 Jul 2006 23:28:26 -0000	1.99
@@ -1,7 +1,7 @@
 Summary: A GNU collection of binary utilities.
 Name: binutils
 Version: 2.17.50.0.3
-Release: 1
+Release: 2
 License: GPL
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -16,6 +16,7 @@
 Patch8: binutils-2.17.50.0.3-kept-section.patch
 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
 
 Buildroot: %{_tmppath}/binutils-root
 BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
@@ -55,6 +56,8 @@
 %patch8 -p0 -b .kept-section~
 %patch9 -p0 -b .power6-insns~
 %patch10 -p0 -b .opcodes-intl~
+%patch11 -p0 -b .x86-noautoarch~
+
 # libtool sucks
 perl -pi -e 'm/LIBADD/ && s/(\.\.\/bfd\/libbfd.la)/-L\.\.\/bfd\/\.libs \1/' opcodes/Makefile.{am,in}
 # LTP sucks
@@ -166,6 +169,10 @@
 %{_infodir}/*info*
 
 %changelog
+* Fri Jul 28 2006 Alexandre Oliva <aoliva redhat com> 2.17.50.0.3-2
+- do not infer x86 arch implicitly based on instruction in the input
+(#200330)
+
 * Mon Jul 17 2006 Jakub Jelinek <jakub redhat com> 2.17.50.0.3-1
 - update to 2.17.50.0.3
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]