2017-04-10 11:32:00 +00:00
|
|
|
#source: pr20253-1.s
|
|
|
|
#as: --64
|
2022-10-27 18:45:45 +00:00
|
|
|
#ld: -pie -melf_x86_64 --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code $NO_DT_RELR_LDFLAGS
|
2017-04-10 11:32:00 +00:00
|
|
|
#objdump: -dw
|
|
|
|
|
|
|
|
.*: +file format .*
|
|
|
|
|
|
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
|
|
|
|
0+1c8 <foo>:
|
2022-10-27 18:45:45 +00:00
|
|
|
+[a-f0-9]+: c3 ret
|
2017-04-10 11:32:00 +00:00
|
|
|
|
|
|
|
0+1c9 <bar>:
|
2022-10-27 18:45:45 +00:00
|
|
|
+[a-f0-9]+: c3 ret
|
2017-04-10 11:32:00 +00:00
|
|
|
|
|
|
|
0+1ca <_start>:
|
2022-10-27 18:45:45 +00:00
|
|
|
+[a-f0-9]+: ff 15 28 01 20 00 call \*0x200128\(%rip\) # 2002f8 <_DYNAMIC\+0x100>
|
|
|
|
+[a-f0-9]+: ff 25 2a 01 20 00 jmp \*0x20012a\(%rip\) # 200300 <_DYNAMIC\+0x108>
|
|
|
|
+[a-f0-9]+: 48 c7 05 1f 01 20 00 00 00 00 00 movq \$0x0,0x20011f\(%rip\) # 200300 <_DYNAMIC\+0x108>
|
|
|
|
+[a-f0-9]+: 48 83 3d 0f 01 20 00 00 cmpq \$0x0,0x20010f\(%rip\) # 2002f8 <_DYNAMIC\+0x100>
|
|
|
|
+[a-f0-9]+: 48 3b 0d 08 01 20 00 cmp 0x200108\(%rip\),%rcx # 2002f8 <_DYNAMIC\+0x100>
|
|
|
|
+[a-f0-9]+: 48 3b 0d 09 01 20 00 cmp 0x200109\(%rip\),%rcx # 200300 <_DYNAMIC\+0x108>
|
2017-04-10 11:32:00 +00:00
|
|
|
#pass
|