[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/25789] New: [as] duplicate jmp when .nops and jmp are used toge
From: |
i at maskray dot me |
Subject: |
[Bug gas/25789] New: [as] duplicate jmp when .nops and jmp are used together |
Date: |
Mon, 06 Apr 2020 00:38:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25789
Bug ID: 25789
Summary: [as] duplicate jmp when .nops and jmp are used
together
Product: binutils
Version: 2.35 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
foo:
ret
.nops 88
jmp foo
=>
0000000000000000 <foo>:
0: c3 ret
1: eb 56 jmp 59 <foo+0x59>
3: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
e: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
19: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
24: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
2f: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
3a: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
45: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
50: 66 0f 1f 84 00 00 00 00 00 nop WORD PTR [rax+rax*1+0x0]
59: eb a5 jmp 0 <foo>
----------
jmp foo
.nops 128
foo:
ret
=>
0000000000000000 <foo-0x85>:
0: e9 80 00 00 00 jmp 85 <foo>
5: eb 7e jmp 85 <foo>
7: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
12: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
1d: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
28: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
33: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
3e: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
49: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
54: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
5f: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
6a: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
75: 66 66 2e 0f 1f 84 00 00 00 00 00 data16 nop WORD PTR
cs:[rax+rax*1+0x0]
80: 0f 1f 44 00 00 nop DWORD PTR [rax+rax*1+0x0]
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/25789] New: [as] duplicate jmp when .nops and jmp are used together,
i at maskray dot me <=