aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-s12z/relative-linking.d
blob: 286fe5281ad70db6f7a88ffb9178af1e978dde79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#source: relative-linking.s
#ld: --no-relax --defsym here=0xfe0020 --defsym=foo=0xfe0008  --defsym=bar=0xfe0010 --defsym=wiz=0xfe0040
#objdump: -d -r

tmpdir/dump:     file format elf32-s12z


Disassembly of section .text:

00fe0000 <here>:
  fe0000:	20 80 08    	bra foo
  fe0003:	02 b0 bc 80 	brclr.b d0, #3, bar
  fe0007:	0d 
  fe0008:	0b 85 80 38 	dbne d1, wiz