aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-csky/data.d
blob: f1dd470094ead65f8b346887330977aa180cd528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#name: GB(r28) relative .data section references
#source: data.s
#source: data_section.s
#ld: -e __start
#objdump: -dr

.*:     file format .*


Disassembly of section .text:

[0-9a-f]+ <__start>:
\s*[0-9a-f]+:	cd400004 	lrs.b      	r10, \[0x4\]	// the offset is based on .data
\s*[0-9a-f]+:	cd440002 	lrs.h      	r10, \[0x2\]	// the offset is based on .data
\s*[0-9a-f]+:	cd480001 	lrs.w      	r10, \[0x1\]	// the offset is based on .data
\s*[0-9a-f]+:	cd700004 	srs.b      	r11, \[0x4\]	// the offset is based on .data
\s*[0-9a-f]+:	cd740002 	srs.h      	r11, \[0x2\]	// the offset is based on .data
\s*[0-9a-f]+:	cd780001 	srs.w      	r11, \[0x1\]	// the offset is based on .data