File: big-endian-thumb-fixup.s

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,496,180 kB
  • sloc: cpp: 5,593,972; ansic: 986,872; asm: 585,869; python: 184,223; objc: 72,530; lisp: 31,119; f90: 27,793; javascript: 9,780; pascal: 9,762; sh: 9,482; perl: 7,468; ml: 5,432; awk: 3,523; makefile: 2,538; xml: 953; cs: 573; fortran: 567
file content (64 lines) | stat: -rw-r--r-- 1,451 bytes parent folder | download | duplicates (27)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// RUN: llvm-mc -triple=armeb-eabi -mattr v7,vfp2 -filetype=obj < %s | llvm-objdump -s - | FileCheck %s

	.syntax unified
	.text
	.align	2
	.code 16
	.thumb_func

@ARM::fixup_arm_thumb_bl
.section s_thumb_bl,"ax",%progbits
// CHECK-LABEL: Contents of section s_thumb_bl
// CHECK: 0000 f000f801
 	bl thumb_bl_label
	nop
thumb_bl_label:

@ARM::fixup_arm_thumb_blx
// CHECK-LABEL: Contents of section s_thumb_bl
// CHECK: 0000 f000e802
.section s_thumb_blx,"ax",%progbits
 	blx thumb_blx_label+8
thumb_blx_label:

@ARM::fixup_arm_thumb_br
.section s_thumb_br,"ax",%progbits
// CHECK-LABEL: Contents of section s_thumb_br
// CHECK: 0000 e000bf00
 	b thumb_br_label
	nop
thumb_br_label:

@ARM::fixup_arm_thumb_bcc
.section s_thumb_bcc,"ax",%progbits
// CHECK-LABEL: Contents of section s_thumb_bcc
// CHECK: 0000 d000bf00
 	beq thumb_bcc_label
	nop
thumb_bcc_label:

@ARM::fixup_arm_thumb_cb
.section s_thumb_cb,"ax",%progbits
// CHECK-LABEL: Contents of section s_thumb_cb
// CHECK: 0000 b100bf00
 	cbz r0, thumb_cb_label
	nop
thumb_cb_label:

@ARM::fixup_arm_thumb_cp
.section s_thumb_cp,"ax",%progbits
// CHECK-LABEL: Contents of section s_thumb_cp
// CHECK: 0000 4801bf00
 	ldr r0, =thumb_cp_label
	nop
	nop
thumb_cp_label:

@ARM::fixup_arm_thumb_adr_pcrel_10
.section s_thumb_adr_pcrel_10,"ax",%progbits
// CHECK-LABEL: Contents of section s_thumb_adr_pcrel_10
// CHECK: 0000 a000bf00
	adr r0, thumb_adr_pcrel_10_label
	nop
thumb_adr_pcrel_10_label: