This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,i386] Add -momit-lock-prefix option.


On Tue, Aug 12, 2014 at 3:46 PM, Alan Modra <amodra@gmail.com> wrote:
> On Wed, Aug 06, 2014 at 08:34:07AM -0700, H.J. Lu wrote:
>> On Wed, Aug 6, 2014 at 7:54 AM, Ilya Tocar <tocarip.intel@gmail.com> wrote:
>> > Hi,
>> >
>> > Some processors (e. g. current revision of Intel Quark) fail on
>> > lock prefix. As a workaround for them this patch introduces new
>> > -momit-lock-prefix option, which makes gas ignore lock prefix.
>> > Ok for trunk?
>>
>> I checked it for you with some cosmetic changes.
>
> i386-darwin  +FAIL: i386  omit lock = yes
> i386-darwin  +FAIL: i386  omit lock = no
> i586-coff  +FAIL: i386  omit lock = yes
> i586-coff  +FAIL: i386  omit lock = no
> i686-pe  +FAIL: i386  omit lock = yes
> i686-pe  +FAIL: i386  omit lock = no
> x86_64-mingw32  +FAIL: i386  omit lock = yes
> x86_64-mingw32  +FAIL: i386  omit lock = no
>

I checked in this patch to remove type directive.


-- 
H.J.
---
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 44e3c34..8bf2121 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+ * gas/i386/omit-lock.s: Remove type directive.
+
 2014-08-06  Ilya Tocar  <ilya.tocar@intel.com>

  * gas/i386/i386.exp: Run new tests.
diff --git a/gas/testsuite/gas/i386/omit-lock.s
b/gas/testsuite/gas/i386/omit-lock.s
index b267ebe..248a9be 100644
--- a/gas/testsuite/gas/i386/omit-lock.s
+++ b/gas/testsuite/gas/i386/omit-lock.s
@@ -1,6 +1,5 @@
-        .code32
+ .text
 .globl main
-        .type   main, @function
 main:
  lock
         lock addl $0x1,(%eax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]