From: H.J. Lu Date: Wed, 13 Dec 2023 17:19:47 +0000 (-0800) Subject: Update Make const_1_mode print $1 in AT&T syntax X-Git-Tag: binutils-2_42~608 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4;p=thirdparty%2Fbinutils-gdb.git Update Make const_1_mode print $1 in AT&T syntax commit b70a487d5945b13e5ab503be4fc37b964819ec0e Author: Cui, Lili 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. --- diff --git a/ld/testsuite/ld-x86-64/pe-x86-64-6.od b/ld/testsuite/ld-x86-64/pe-x86-64-6.od index cb452d83bd9..5e926d1f22f 100644 --- a/ld/testsuite/ld-x86-64/pe-x86-64-6.od +++ b/ld/testsuite/ld-x86-64/pe-x86-64-6.od @@ -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