• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1	.text
2	;; Put code near the top of the address space
3text:
4	.global i2
5i2:
6
7	add R5, R6, R7
8
9	.data
10	;; Note that the .org that follows is more or less equivalent
11	;; to a .space, since the amount specified will be treated like
12	;; padding to be added between the .data section in relocs1.s
13	;; and this one.
14	;; Note also that the two test variables (d2 & d3) are intentionally
15	;; roughly $100 apart, so that the FR9 relocation processing in
16	;; bfd/elf32-ip2k.c (ip2k_final_link_relocate) is tested a little more.
17	.org $e0
18	.global d2
19d2:	.byte 2
20	.space $100
21	.global d3
22d3:	.byte 3
23