* elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_needed
[binutils.git] / ld / testsuite / ld-sh / sh64 / sh64-2.s
blob8ca24c022debeff295c1c88dd435e29224580654
1 ! Test that all common kinds of relocs get right for simple cases.
2 ! Main part.
3 .text
4 .global start
5 .mode SHmedia
6 start:
7 movi foo,r33
8 movi bar,r21
9 pt/l bar,tr3
10 movi foobar,r43
11 movi baz2,r53
12 movi foobar2,r4
13 pta xyzzy,tr5
14 pt/u plugh,tr1
16 .data
17 .global foobar
18 foobar: .long baz
19 foobar2:
20 .long bar
22 .section .text.other,"ax"
23 .global xyzzy
24 xyzzy:
25 nop
26 plugh:
27 nop