summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-m68k/tls-main-1.s
blob: 75fb6d6c4a646ebf8b592e69e7a5e04514e6a540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#NO_APP
	.text
	.align	2
	.globl	main
	.type	main, @function
	.globl	_start
	.type	_start, @function
main:
_start:
	link.w %fp,#0
	move.l %a5,-(%sp)
	move.l #_GLOBAL_OFFSET_TABLE_@GOTPC, %a5
	lea (-6, %pc, %a5), %a5
	move.l x@TLSIE(%a5),%a0
	move.l -4(%fp),%a5
	unlk %fp
	rts
	.size	main, .-main
	.section	.note.GNU-stack,"",@progbits