2014-09-12 22:14:23 +00:00
|
|
|
#source: lea1.s
|
|
|
|
#as: --x32
|
|
|
|
#ld: -Bsymbolic -shared -melf32_x86_64
|
|
|
|
#objdump: -dw
|
|
|
|
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
|
|
|
#...
|
2017-04-10 11:32:00 +00:00
|
|
|
[a-f0-9]+ <_start>:
|
|
|
|
[ ]*[a-f0-9]+: 8d 05 ([0-9a-f]{2} ){4} * lea -0x[a-f0-9]+\(%rip\),%eax # [a-f0-9]+ <foo>
|
|
|
|
[ ]*[a-f0-9]+: 44 8d 1d ([0-9a-f]{2} ){4} * lea 0x[a-f0-9]+\(%rip\),%r11d # [a-f0-9]+ <bar>
|
2014-09-12 22:14:23 +00:00
|
|
|
[ ]*[a-f0-9]+: 48 8d 05 ([0-9a-f]{2} ){4} * lea -0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <foo>
|
2017-04-10 11:32:00 +00:00
|
|
|
[ ]*[a-f0-9]+: 4c 8d 1d ([0-9a-f]{2} ){4} * lea 0x[a-f0-9]+\(%rip\),%r11 # [a-f0-9]+ <bar>
|
|
|
|
[ ]*[a-f0-9]+: 48 8d 05 ([0-9a-f]{2} ){4} * lea 0x[a-f0-9]+\(%rip\),%rax # [a-f0-9]+ <__start_my_section>
|
2017-10-07 00:16:47 +00:00
|
|
|
[ ]*[a-f0-9]+: 4c 8d 1d ([0-9a-f]{2} ){4} * lea 0x[a-f0-9]+\(%rip\),%r11 # [a-f0-9]+ <.*>
|
2014-09-12 22:14:23 +00:00
|
|
|
#pass
|