aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-12-13 09:19:47 -0800
committerH.J. Lu <hjl.tools@gmail.com>2023-12-13 09:19:47 -0800
commit63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4 (patch)
tree6801dea08efadef06eaa2f85051c9094a9701c45 /ld
parent14a2449eee4654bee0686020e6eeb4e4f2a8f9ca (diff)
downloadgdb-63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4.zip
gdb-63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4.tar.gz
gdb-63fc64a8d0ea8cb0bce0137db68503a75a6ecfe4.tar.bz2
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-x86-64/pe-x86-64-6.od2
1 files changed, 1 insertions, 1 deletions
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 cb452d8..5e926d1 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