]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update Make const_1_mode print $1 in AT&T syntax
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Dec 2023 17:19:47 +0000 (09:19 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 13 Dec 2023 17:19:47 +0000 (09:19 -0800)
commit b70a487d5945b13e5ab503be4fc37b964819ec0e
Author: Cui, Lili <lili.cui@intel.com>
Date:   Wed Dec 13 06:07:36 2023 +0000

    Make const_1_mode print $1 in AT&T syntax

changes disassembler output from

d1 f8                   sar    %eax

to

d1 f8                   sar    $1,%eax

Adjust pe-x86-64-6.od accordingly.

* testsuite/ld-x86-64/pe-x86-64-6.od: Adjusted.

ld/testsuite/ld-x86-64/pe-x86-64-6.od

index cb452d83bd92adffc501a9e5c9da37a4e88f4ce8..5e926d1f22fb2237ce7b73fd61ac0e934a3d5d32 100644 (file)
@@ -42,7 +42,7 @@ Disassembly of section .text\$mn:
  +[a-f0-9]+:   2b 84 2b 48 30 00 00    sub    0x3048\(%rbx,%rbp,1\),%eax
  +[a-f0-9]+:   99                      cltd
  +[a-f0-9]+:   2b c2                   sub    %edx,%eax
- +[a-f0-9]+:   d1 f8                   sar    %eax
+ +[a-f0-9]+:   d1 f8                   sar    \$1,%eax
  +[a-f0-9]+:   48 63 d0                movslq %eax,%rdx
  +[a-f0-9]+:   48 03 d6                add    %rsi,%rdx
  +[a-f0-9]+:   48 ff c1                inc    %rcx