Index: gas/testsuite/gas/tic6x/pcr-relocs.s
===================================================================
RCS file: gas/testsuite/gas/tic6x/pcr-relocs.s
diff -N gas/testsuite/gas/tic6x/pcr-relocs.s
*** /dev/null	1 Jan 1970 00:00:00 -0000
--- gas/testsuite/gas/tic6x/pcr-relocs.s	19 May 2011 12:15:46 -0000
***************
*** 0 ****
--- 1,25 ----
+ 	.text
+ 	.align 5
+ L0:
+ 	ldw .d1t1	*a0,a1
+ 	ldw .d1t1	*a0,a1
+ 	ldw .d1t1	*a0,a1
+ L1:
+ 	MVC .s2    PCE1, b0
+ 	ldw .d1t1	*a0,a2
+ 	mvk .s2		$PCR_OFFSET (S0,L1), b2
+ 	mvkh .s2	$PCR_OFFSET (S0,L1), b2
+ 	mvk .s2		$PCR_OFFSET (S0,L2), b2
+ 	mvkh .s2	$PCR_OFFSET (S0,L2), b2
+ 	mvkl .s2	$PCR_OFFSET (S1,L1), b2
+ 	mvkh .s2	$PCR_OFFSET (S1,L1), b2
+ 	mvkl .s2	$PCR_OFFSET (S1,L2), b2
+ 	mvkh .s2	$PCR_OFFSET (S1,L2), b2
+ 
+ S0:
+ 	ldw .d1t1	*a0,a1
+ L2:
+ 	MVC .s2    PCE1, b0
+ 
+ S1:
+ 	ldw .d1t1	*a0,a1
Index: ld/testsuite/ld-tic6x/pcr-reloc.d
===================================================================
RCS file: ld/testsuite/ld-tic6x/pcr-reloc.d
diff -N ld/testsuite/ld-tic6x/pcr-reloc.d
*** /dev/null	1 Jan 1970 00:00:00 -0000
--- ld/testsuite/ld-tic6x/pcr-reloc.d	19 May 2011 12:15:46 -0000
***************
*** 0 ****
--- 1,39 ----
+ #name: C6X PCR relocations
+ #as: -mlittle-endian
+ #ld: -melf32_tic6x_le -Tgeneric.ld
+ #source: pcr-reloc.s
+ #objdump: -dr
+ 
+ .*: *file format elf32-tic6x-le
+ 
+ 
+ Disassembly of section \.text:
+ 
+ 10000000 <[^>]*>:
+ 10000000:[ \t]+00800264[ \t]+ldw \.D1T1 \*\+a0\(0\),a1
+ 10000004:[ \t]+00800264[ \t]+ldw \.D1T1 \*\+a0\(0\),a1
+ 10000008:[ \t]+00800264[ \t]+ldw \.D1T1 \*\+a0\(0\),a1
+ 
+ 1000000c <[^>]*>:
+ 1000000c:[ \t]+004003e2[ \t]+mvc \.S2 pce1,b0
+ 10000010:[ \t]+01000264[ \t]+ldw \.D1T1 \*\+a0\(0\),a2
+ 10000014:[ \t]+01001a2a[ \t]+mvk \.S2 52,b2
+ 10000018:[ \t]+0100006a[ \t]+mvkh \.S2 0,b2
+ 1000001c:[ \t]+01000a2a[ \t]+mvk \.S2 20,b2
+ 10000020:[ \t]+0100006a[ \t]+mvkh \.S2 0,b2
+ 10000024:[ \t]+01001e2a[ \t]+mvk \.S2 60,b2
+ 10000028:[ \t]+0100006a[ \t]+mvkh \.S2 0,b2
+ 1000002c:[ \t]+01000e2a[ \t]+mvk \.S2 28,b2
+ 10000030:[ \t]+0100006a[ \t]+mvkh \.S2 0,b2
+ 
+ 10000034 <[^>]*>:
+ 10000034:[ \t]+00800264[ \t]+ldw \.D1T1 \*\+a0\(0\),a1
+ 
+ 10000038 <[^>]*>:
+ 10000038:[ \t]+004003e2[ \t]+mvc \.S2 pce1,b0
+ 
+ 1000003c <[^>]*>:
+ 1000003c:[ \t]+00800264[ \t]+ldw \.D1T1 \*\+a0\(0\),a1
+ 10000040:[ \t]+017ff02a[ \t]+mvk \.S2 -32,b2
+ 10000044:[ \t]+017fffea[ \t]+mvkh \.S2 4294901760,b2
+ [ \t]*\.\.\.
\ No newline at end of file
Index: ld/testsuite/ld-tic6x/pcr-reloc.s
===================================================================
RCS file: ld/testsuite/ld-tic6x/pcr-reloc.s
diff -N ld/testsuite/ld-tic6x/pcr-reloc.s
*** /dev/null	1 Jan 1970 00:00:00 -0000
--- ld/testsuite/ld-tic6x/pcr-reloc.s	19 May 2011 12:15:46 -0000
***************
*** 0 ****
--- 1,28 ----
+ 	.text
+ 	.align 5
+ _start:
+ L0:
+ 	ldw .d1t1	*a0,a1
+ 	ldw .d1t1	*a0,a1
+ 	ldw .d1t1	*a0,a1
+ L1:
+ 	MVC .s2    PCE1, b0
+ 	ldw .d1t1	*a0,a2
+ 	mvk .s2		$PCR_OFFSET (S0,L1), b2
+ 	mvkh .s2	$PCR_OFFSET (S0,L1), b2
+ 	mvk .s2		$PCR_OFFSET (S0,L2), b2
+ 	mvkh .s2	$PCR_OFFSET (S0,L2), b2
+ 	mvk .s2		$PCR_OFFSET (S1,L1), b2
+ 	mvkh .s2	$PCR_OFFSET (S1,L1), b2
+ 	mvk .s2		$PCR_OFFSET (S1,L2), b2
+ 	mvkh .s2	$PCR_OFFSET (S1,L2), b2
+ 
+ S0:
+ 	ldw .d1t1	*a0,a1
+ L2:
+ 	MVC .s2    PCE1, b0
+ 
+ S1:
+ 	ldw .d1t1	*a0,a1
+ 	mvkl .s2	$PCR_OFFSET (L0,L2), b2
+ 	mvkh .s2	$PCR_OFFSET (L0,L2), b2
