[binutils-gdb] Update Make const_1_mode print $1 in AT&T syntax
H.J. Lu
hjl@sourceware.org
Wed Dec 13 17:21:43 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4
commit 63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Dec 13 09:19:47 2023 -0800
Update Make const_1_mode print $1 in AT&T syntax
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.
Diff:
---
ld/testsuite/ld-x86-64/pe-x86-64-6.od | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the Binutils-cvs
mailing list