aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr26263.d
blob: cdc43f231bdd8fe628f61f6690d5b2aeb16ee908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#as: --64
#ld: -m elf_x86_64 -shared
#objdump: -dw

.*: +file format .*


Disassembly of section .text:

0+[a-f0-9]+ <printk>:
 +[a-f0-9]+:	c3                   	ret    

Disassembly of section .init.text:

0+[a-f0-9]+ <foo>:
 +[a-f0-9]+:	e8 ([0-9a-f]{2} ){4}      	call   [a-f0-9]+ <printk>
 +[a-f0-9]+:	e8 ([0-9a-f]{2} ){4}      	call   [a-f0-9]+ <printk>
#pass