aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr27016a.d
blob: af92521ab15d950e2fc6986bf1c61c9bb72666c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#source: pr27016a.s
#source: pr27016b.s
#as: --64 -mx86-used-note=no -mrelax-relocations=no
#ld: -m elf_x86_64 -z max-page-size=0x200000 -z noseparate-code -e main
#objdump: -dw

.*: +file format .*


Disassembly of section .text:

0+4000e8 <main>:
 +[a-f0-9]+:	55                   	push   %rbp
 +[a-f0-9]+:	48 89 e5             	mov    %rsp,%rbp
 +[a-f0-9]+:	4c 8d 1d 39 3f 00 00 	lea    0x3f39\(%rip\),%r11        # 40402c <thesym>
 +[a-f0-9]+:	41 8b 03             	mov    \(%r11\),%eax
 +[a-f0-9]+:	8d 50 01             	lea    0x1\(%rax\),%edx
 +[a-f0-9]+:	4c 8d 1d 2c 3f 00 00 	lea    0x3f2c\(%rip\),%r11        # 40402c <thesym>
 +[a-f0-9]+:	41 89 13             	mov    %edx,\(%r11\)
 +[a-f0-9]+:	b8 00 00 00 00       	mov    \$0x0,%eax
 +[a-f0-9]+:	5d                   	pop    %rbp
 +[a-f0-9]+:	c3                   	ret
#pass