summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-msp430-elf/valid-map-foo.s
blob: 329613965cef899170bcb21b22d7ba98bbf8424e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
	.file	"foo.c"
.text
	.section	.text.foo1,"ax",@progbits
	.balign 2
	.global	foo1
	.type	foo1, @function
foo1:
; start of function
; framesize_regs:     0
; framesize_locals:   0
; framesize_outgoing: 0
; framesize:          0
; elim ap -> fp       2
; elim fp -> sp       0
; saved regs:(none)
	; start of prologue
	; end of prologue
	NOP
.L2:
	MOV.W	&a, R12
	CMP.W	#0, R12 { JNE	.L2
	MOV.B	#0, R12
	; start of epilogue
	RET
	.size	foo1, .-foo1
	.ident	"GCC: (jozef) 7.3.2"