This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed: TLS offset adjustment


Offsets for TLS model 2 for programs start at the negative
program TLS block size, not at 0.  I had a hunch I had it wrong
this way, but I wanted to confirm it and the supposed correction
with at least one running program before making the change.
Still, until I've run the whole glibc test-suite on a target I
can't say for sure that this is all that is needed, but it
certainly works better this way. :)  (A simulator trace does
confirm that it's the right offset, not just what happens to
work, but it's still just one initial-exec program.)

Committed.

bfd:
	* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
	<case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
	the program, the known offset starts at the negative size of the
	TLS section.
	<case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
	Similar.

ld/testsuite:
	* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
	ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
	ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
	ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
	ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
	ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
	ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
	ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
	ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
	ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
	relocation value now offset by negative program TLS block size.
	* ld-cris/tls-le-12s.d: Ditto.  Move 128-byte tls-data to last.
	Adjust accordingly.
	* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
	always-negative relocation.
	* ld-cris/tls-tprelm.s: Move filler data to after symbol for
	tested relocation.
	* ld-cris/tls-ok-36.d: Adjust accordingly.

Index: ld-cris/tls-e-20.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-e-20.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-e-20.d
--- ld-cris/tls-e-20.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-e-20.d	7 Jan 2009 03:20:45 -0000
@@ -53,7 +53,7 @@ Contents of section \.tdata:
  820b0 28000000 29000000 2a000000           .*
 Contents of section \.got:
  820bc 00000000 00000000 00000000 01000000  .*
- 820cc 00000000 00000000 01000000 00000000  .*
+ 820cc 00000000 f4ffffff 01000000 f4ffffff  .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-e-20a.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-e-20a.d,v
retrieving revision 1.2
diff -p -u -r1.2 tls-e-20a.d
--- ld-cris/tls-e-20a.d	15 Dec 2008 01:30:57 -0000	1.2
+++ ld-cris/tls-e-20a.d	7 Jan 2009 03:20:45 -0000
@@ -75,7 +75,7 @@ Contents of section \.tdata:
  8215c 28000000 29000000 2a000000           .*
 Contents of section \.got:
  82168 00000000 00000000 00000000 01000000  .*
- 82178 00000000 80000000 01000000 80000000  .*
+ 82178 00000000 f4ffffff 01000000 f4ffffff  .*
  82188 b4210800 ac210800 bc210800 b8210800  .*
  82198 a4210800 b0210800 a8210800           .*
 Contents of section \.data:
Index: ld-cris/tls-e-21.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-e-21.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-e-21.d
--- ld-cris/tls-e-21.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-e-21.d	7 Jan 2009 03:20:45 -0000
@@ -27,7 +27,7 @@ Contents of section \.tdata:
 #...
 Contents of section \.got:
  82124 00000000 00000000 00000000 01000000  .*
- 82134 80000000                             .*
+ 82134 fcffffff                             .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-e-23.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-e-23.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-e-23.d
--- ld-cris/tls-e-23.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-e-23.d	7 Jan 2009 03:20:45 -0000
@@ -26,7 +26,7 @@ Contents of section \.text:
 Contents of section \.tdata:
 #...
 Contents of section \.got:
- 82124 00000000 00000000 00000000 80000000  .*
+ 82124 00000000 00000000 00000000 fcffffff  .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-e-66.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-e-66.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-e-66.d
--- ld-cris/tls-e-66.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-e-66.d	7 Jan 2009 03:20:45 -0000
@@ -33,5 +33,5 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn12>:
-   80098:	5fac 0000           	movu\.w 0x0,\$r10
+   80098:	7fac fcff           	movs\.w -4,\$r10
 #...
Index: ld-cris/tls-gd-3.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-gd-3.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-gd-3.d
--- ld-cris/tls-gd-3.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-gd-3.d	7 Jan 2009 03:20:45 -0000
@@ -27,7 +27,7 @@ Contents of section \.tdata:
 #...
 Contents of section \.got:
  82124 00000000 00000000 00000000 01000000  .*
- 82134 80000000                             .*
+ 82134 fcffffff                             .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-gd-3h.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-gd-3h.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-gd-3h.d
--- ld-cris/tls-gd-3h.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-gd-3h.d	7 Jan 2009 03:20:45 -0000
@@ -27,7 +27,7 @@ Contents of section \.tdata:
 #...
 Contents of section \.got:
  82124 00000000 00000000 00000000 01000000  .*
- 82134 80000000                             .*
+ 82134 fcffffff                             .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-global-74.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-global-74.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-global-74.d
--- ld-cris/tls-global-74.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-global-74.d	7 Jan 2009 03:20:45 -0000
@@ -24,5 +24,5 @@ Contents of section .text:
  800a4 0+ 5fae1000 5fae0c00        .*
 #...
 Contents of section \.got:
- 820b4 0+ 0+ 0+ 0+  .*
- 820c4 010+ 0+              .*
+ 820b4 0+ 0+ 0+ fcffffff  .*
+ 820c4 010+ fcffffff  .*
Index: ld-cris/tls-ie-8e1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-ie-8e1.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-ie-8e1.d
--- ld-cris/tls-ie-8e1.d	20 Dec 2008 00:30:39 -0000	1.1
+++ ld-cris/tls-ie-8e1.d	7 Jan 2009 03:20:45 -0000
@@ -30,7 +30,7 @@ Contents of section .text:
  80094 41b20000 6fae3021 08000000           .*
 #...
 Contents of section .got:
- 82124 00000000 00000000 00000000 80000000  .*
+ 82124 00000000 00000000 00000000 fcffffff  .*
 
 Disassembly of section .text:
 
Index: ld-cris/tls-ldgde-14.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-ldgde-14.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-ldgde-14.d
--- ld-cris/tls-ldgde-14.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-ldgde-14.d	7 Jan 2009 03:20:45 -0000
@@ -42,8 +42,8 @@ Contents of section \.tdata:
 #...
 Contents of section \.got:
  82138 00000000 00000000 00000000 01000000  .*
- 82148 00000000 01000000 80000000 01000000  .*
- 82158 84000000                             .*
+ 82148 00000000 01000000 f0ffffff 01000000  .*
+ 82158 f4ffffff                             .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-ldgde-15.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-ldgde-15.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-ldgde-15.d
--- ld-cris/tls-ldgde-15.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-ldgde-15.d	7 Jan 2009 03:20:45 -0000
@@ -42,8 +42,8 @@ Contents of section \.tdata:
 #...
 Contents of section \.got:
  82144 00000000 00000000 00000000 01000000  .*
- 82154 00000000 01000000 80000000 01000000  .*
- 82164 84000000                             .*
+ 82154 00000000 01000000 f0ffffff 01000000  .*
+ 82164 f4ffffff                             .*
 
 Disassembly of section \.text:
 
Index: ld-cris/tls-le-12.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-le-12.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-le-12.d
--- ld-cris/tls-le-12.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-le-12.d	7 Jan 2009 03:20:45 -0000
@@ -34,5 +34,5 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn12>:
-   80098:	6fae 8000 0000      	move\.d 80 <z>,\$r10
+   80098:	6fae fcff ffff      	move\.d 0xfffffffc,\$r10
 #...
Index: ld-cris/tls-le-12s.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-le-12s.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-le-12s.d
--- ld-cris/tls-le-12s.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-le-12s.d	7 Jan 2009 03:20:45 -0000
@@ -1,7 +1,7 @@
 #source: start1.s
-#source: tls128.s
 #source: tls-le-12s.s
 #source: tls-z.s
+#source: tls128.s
 #as: --no-underscore --em=criself -I$srcdir/$subdir
 #ld: -m crislinux
 #objdump: -d -s -t -r -p -h
@@ -21,7 +21,7 @@ private flags = 0:
                   CONTENTS.*
 SYMBOL TABLE:
 #...
-0+80 g       \.tdata	0+4 z
+0+ g       \.tdata	0+4 z
 #...
 Contents of section \.text:
 #...
@@ -34,5 +34,5 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn12>:
-   80098:	5fac 8000           	movu\.w 0x80,\$r10
+   80098:	7fac 7cff           	movs\.w -132,\$r10
 #...
Index: ld-cris/tls-le-12s.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-le-12s.s,v
retrieving revision 1.1
diff -p -u -r1.1 tls-le-12s.s
--- ld-cris/tls-le-12s.s	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-le-12s.s	7 Jan 2009 03:20:45 -0000
@@ -3,6 +3,6 @@
 	.type	tlsfn12,@function
 	.p2align 1
 tlsfn12:
-	movu.w z:TPOFF16,$r10
+	movs.w z:TPOFF16,$r10
 .Lfe12:
 	.size	tlsfn12,.Lfe12-tlsfn12
Index: ld-cris/tls-le-13.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-le-13.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-le-13.d
--- ld-cris/tls-le-13.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-le-13.d	7 Jan 2009 03:20:45 -0000
@@ -36,6 +36,6 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn13>:
-   80098:	6fae 8000 0000      	move\.d 80 <x1>,\$r10
-   8009e:	6fae 8400 0000      	move\.d 84 <x2>,\$r10
+   80098:	6fae f8ff ffff      	move\.d 0xfffffff8,\$r10
+   8009e:	6fae fcff ffff      	move\.d 0xfffffffc,\$r10
 #...
Index: ld-cris/tls-le-13s.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-le-13s.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-le-13s.d
--- ld-cris/tls-le-13s.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-le-13s.d	7 Jan 2009 03:20:45 -0000
@@ -36,5 +36,5 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn13>:
-   80098:	5fae 8000           	move\.w 0x80,\$r10
-   8009c:	5fae 8400           	move\.w 0x84,\$r10
+   80098:	5fae f8ff           	move\.w 0xfff8,\$r10
+   8009c:	5fae fcff           	move\.w 0xfffc,\$r10
Index: ld-cris/tls-legd-16.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-legd-16.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-legd-16.d
--- ld-cris/tls-legd-16.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-legd-16.d	7 Jan 2009 03:20:45 -0000
@@ -39,7 +39,7 @@ Contents of section \.text:
 #...
 Contents of section \.got:
  82144 0+ 0+ 0+ 010+  .*
- 82154 80+ 010+ 840+           .*
+ 82154 f0ffffff 010+ f4ffffff  .*
 
 Disassembly of section \.text:
 
@@ -47,8 +47,8 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn13>:
-   80098:	6fae 8800 0000      	move.d 88 <x1>,\$r10
-   8009e:	6fae 8c00 0000      	move.d 8c <x2>,\$r10
+   80098:	6fae f8ff ffff      	move.d 0xfffffff8,\$r10
+   8009e:	6fae fcff ffff      	move.d 0xfffffffc,\$r10
 
 000800a4 <tlsfn>:
    800a4:	6fae 5021 0800      	move.d 82150 <_GLOBAL_OFFSET_TABLE_\+0xc>,\$r10
Index: ld-cris/tls-legd-17.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-legd-17.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-legd-17.d
--- ld-cris/tls-legd-17.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-legd-17.d	7 Jan 2009 03:20:45 -0000
@@ -39,7 +39,7 @@ Contents of section \.text:
 #...
 Contents of section \.got:
  8213c 0+ 0+ 0+ 010+  .*
- 8214c 80+ 010+ 840+           .*
+ 8214c f0ffffff 010+ f4ffffff  .*
 
 Disassembly of section \.text:
 
@@ -47,8 +47,8 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn13>:
-   80098:	5fae 8800           	move.w 0x88,\$r10
-   8009c:	5fae 8c00           	move.w 0x8c,\$r10
+   80098:	5fae f8ff           	move.w 0xfff8,\$r10
+   8009c:	5fae fcff           	move.w 0xfffc,\$r10
 
 000800a0 <tlsdsofn2>:
    800a0:	6fae 0c00 0000      	move.d c <tls128\+0xc>,\$r10
Index: ld-cris/tls-legdx-16.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-legdx-16.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-legdx-16.d
--- ld-cris/tls-legdx-16.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-legdx-16.d	7 Jan 2009 03:20:45 -0000
@@ -44,7 +44,7 @@ OFFSET   TYPE              VALUE 
 Contents of section .interp:
 #...
 Contents of section \.text:
- 801dc 41b20000 6fae8000 00006fae 84000000  .*
+ 801dc 41b20000 6faef8ff ffff6fae fcffffff  .*
  801ec 6fae1023 08000000 6fae1823 08000000  .*
 #...
 Contents of section \.got:
Index: ld-cris/tls-legdx-17.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-legdx-17.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-legdx-17.d
--- ld-cris/tls-legdx-17.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-legdx-17.d	7 Jan 2009 03:20:45 -0000
@@ -46,7 +46,7 @@ OFFSET   TYPE              VALUE 
 Contents of section .interp:
 #...
 Contents of section \.text:
- 801dc 41b20000 5fae8000 5fae8400 6fae0c00  .*
+ 801dc 41b20000 5faef8ff 5faefcff 6fae0c00  .*
  801ec 00000000 5fae1400                    .*
 #...
 Contents of section \.got:
Index: ld-cris/tls-leie-18.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-leie-18.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-leie-18.d
--- ld-cris/tls-leie-18.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-leie-18.d	7 Jan 2009 03:20:45 -0000
@@ -30,8 +30,8 @@ SYMBOL TABLE:
 Contents of section \.text:
 #...
 Contents of section \.got:
- 82130 0+ 0+ 0+ 840+  .*
- 82140 80+                             ....            
+ 82130 0+ 0+ 0+ fcffffff  .*
+ 82140 f8ffffff  .*
 
 Disassembly of section \.text:
 
@@ -39,8 +39,8 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn13>:
-   80098:	5fae 8000           	move.w 0x80,\$r10
-   8009c:	5fae 8400           	move.w 0x84,\$r10
+   80098:	5fae f8ff           	move.w 0xfff8,\$r10
+   8009c:	5fae fcff           	move.w 0xfffc,\$r10
 
 000800a0 <tlsdsofn9>:
    800a0:	5fae 1000           	move.w 0x10,\$r10
Index: ld-cris/tls-leie-19.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-leie-19.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-leie-19.d
--- ld-cris/tls-leie-19.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-leie-19.d	7 Jan 2009 03:20:45 -0000
@@ -37,8 +37,8 @@ SYMBOL TABLE:
 Contents of section \.text:
 #...
 Contents of section \.got:
- 82144 0+ 0+ 0+ 840+  .*
- 82154 80+                             .*
+ 82144 0+ 0+ 0+ f4ffffff  .*
+ 82154 f0ffffff  .*
 
 Disassembly of section \.text:
 
@@ -46,11 +46,11 @@ Disassembly of section \.text:
    80094:	41b2                	moveq 1,\$r11
 #...
 00080098 <tlsfn19>:
-   80098:	6fae 8800 0000      	move.d 88 <x>,\$r10
+   80098:	6fae f8ff ffff      	move.d 0xfffffff8,\$r10
 #...
 
 000800a0 <tlsfn12>:
-   800a0:	6fae 8c00 0000      	move.d 8c <z>,\$r10
+   800a0:	6fae fcff ffff      	move.d 0xfffffffc,\$r10
 #...
 
 000800a8 <tlsdsofn>:
Index: ld-cris/tls-local-57.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-local-57.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-local-57.d
--- ld-cris/tls-local-57.d	25 Nov 2008 04:10:47 -0000	1.1
+++ ld-cris/tls-local-57.d	7 Jan 2009 03:20:45 -0000
@@ -20,4 +20,4 @@ Contents of section .text:
 #...
 Contents of section \.got:
  82124 0+ 0+ 0+ 010+  .*
- 82134 040+                             .*
+ 82134 80ffffff  .*
Index: ld-cris/tls-local-58.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-local-58.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-local-58.d
--- ld-cris/tls-local-58.d	25 Nov 2008 04:10:48 -0000	1.1
+++ ld-cris/tls-local-58.d	7 Jan 2009 03:20:45 -0000
@@ -21,4 +21,4 @@ Contents of section .text:
 #...
 Contents of section \.got:
  82128 0+ 0+ 0+ 010+  .*
- 82138 040+                             .*
+ 82138 80ffffff  .*
Index: ld-cris/tls-local-59.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-local-59.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-local-59.d
--- ld-cris/tls-local-59.d	25 Nov 2008 04:10:48 -0000	1.1
+++ ld-cris/tls-local-59.d	7 Jan 2009 03:20:45 -0000
@@ -21,5 +21,5 @@ Contents of section .text:
  800a4 5fae1000 5fae0c00                    .*
 #...
 Contents of section \.got:
- 82130 0+ 0+ 0+ 040+  .*
- 82140 010+ 040+              .*
+ 82130 0+ 0+ 0+ 80ffffff  .*
+ 82140 010+ 80ffffff  .*
Index: ld-cris/tls-ok-36.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-ok-36.d,v
retrieving revision 1.1
diff -p -u -r1.1 tls-ok-36.d
--- ld-cris/tls-ok-36.d	25 Nov 2008 04:10:48 -0000	1.1
+++ ld-cris/tls-ok-36.d	7 Jan 2009 03:20:45 -0000
@@ -9,7 +9,7 @@
 .*:     file format elf32-cris
 
 Contents of section \.text:
- 80094 41b20000 5faeff7f                   .*
+ 80094 41b20000 5fae0080                   .*
 Contents of section \.tdata:
  8209c 2a2a2a2a 2a2a2a2a 2a2a2a2a 2a2a2a2a .*
 #...
Index: ld-cris/tls-tprelm.s
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-cris/tls-tprelm.s,v
retrieving revision 1.1
diff -p -u -r1.1 tls-tprelm.s
--- ld-cris/tls-tprelm.s	25 Nov 2008 04:10:48 -0000	1.1
+++ ld-cris/tls-tprelm.s	7 Jan 2009 03:20:45 -0000
@@ -12,15 +12,15 @@ tlsfntprelm:
 .Lfe:
 	.size	tlsfntprelm,.Lfe-tlsfntprelm
 
-	.globl z
 	.section	.tdata,"awT",@progbits
 	.p2align 2
-	.type	z,@object
-	.size	z,r
-z:
-	.fill	r,1,42
-
 	.type	x,@object
 	.size	x,1
 x:
 	.byte 42
+
+	.globl z
+	.type	z,@object
+	.size	z,r
+z:
+	.fill	r,1,42

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]