summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cris')
-rw-r--r--ld/testsuite/ld-cris/tls-gc-68.d22
-rw-r--r--ld/testsuite/ld-cris/tls-gc-69.d22
-rw-r--r--ld/testsuite/ld-cris/tls-gc-70.d23
-rw-r--r--ld/testsuite/ld-cris/tls-gc-75.d22
-rw-r--r--ld/testsuite/ld-cris/tls-gc-79.d23
5 files changed, 40 insertions, 72 deletions
diff --git a/ld/testsuite/ld-cris/tls-gc-68.d b/ld/testsuite/ld-cris/tls-gc-68.d
index b7fc3743a57..c1a7d25c803 100644
--- a/ld/testsuite/ld-cris/tls-gc-68.d
+++ b/ld/testsuite/ld-cris/tls-gc-68.d
@@ -7,27 +7,21 @@
# An executable with a R_CRIS_32_GOT_GD and a R_CRIS_16_GOT_GD against
# the same local symbol, gc:ed. Check that we have nothing left but
-# the start symbol and its code. Can't get rid of the GOT just yet.
+# the start symbol and its code.
.*: file format elf32-cris
Program Header:
LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
- filesz 0x0+78 memsz 0x0+78 flags r-x
- LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
- filesz 0x0+c memsz 0x0+c flags rw-
+ filesz 0x0+58 memsz 0x0+58 flags r-x
private flags = 0:
SYMBOL TABLE:
-0+80074 l d \.text 0+ \.text
-0+82078 l d \.got 0+ \.got
-0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
-0+80074 g \.text 0+ _start
-0+82084 g \.got 0+ __bss_start
-0+82084 g \.got 0+ _edata
-0+820a0 g \.got 0+ _end
+0+80054 l d \.text 0+ \.text
+0+80054 g \.text 0+ _start
+0+82058 g \.text 0+ __bss_start
+0+82058 g \.text 0+ _edata
+0+82060 g \.text 0+ _end
Contents of section \.text:
- 80074 41b20+ .*
-Contents of section \.got:
- 82078 0+ 0+ 0+ .*
+ 80054 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-69.d b/ld/testsuite/ld-cris/tls-gc-69.d
index c4c51b7128f..ef02437a7d6 100644
--- a/ld/testsuite/ld-cris/tls-gc-69.d
+++ b/ld/testsuite/ld-cris/tls-gc-69.d
@@ -8,27 +8,21 @@
# An executable with a R_CRIS_32_GOT_GD, a R_CRIS_16_GOT_GD, a
# R_CRIS_32_GOT_TPREL and a R_CRIS_16_GOT_TPREL against the same local
# symbol, gc:ed. Check that we have nothing left but the start symbol
-# and its code. Can't get rid of the GOT just yet.
+# and its code.
.*: file format elf32-cris
Program Header:
LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
- filesz 0x0+78 memsz 0x0+78 flags r-x
- LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
- filesz 0x0+c memsz 0x0+c flags rw-
+ filesz 0x0+58 memsz 0x0+58 flags r-x
private flags = 0:
SYMBOL TABLE:
-0+80074 l d \.text 0+ \.text
-0+82078 l d \.got 0+ \.got
-0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
-0+80074 g \.text 0+ _start
-0+82084 g \.got 0+ __bss_start
-0+82084 g \.got 0+ _edata
-0+820a0 g \.got 0+ _end
+0+80054 l d \.text 0+ \.text
+0+80054 g \.text 0+ _start
+0+82058 g \.text 0+ __bss_start
+0+82058 g \.text 0+ _edata
+0+82060 g \.text 0+ _end
Contents of section .text:
- 80074 41b20+ .*
-Contents of section .got:
- 82078 0+ 0+ 0+ .*
+ 80054 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-70.d b/ld/testsuite/ld-cris/tls-gc-70.d
index 6ab8f24231c..74d0d1373f4 100644
--- a/ld/testsuite/ld-cris/tls-gc-70.d
+++ b/ld/testsuite/ld-cris/tls-gc-70.d
@@ -7,28 +7,21 @@
#objdump: -s -t -r -p
# An executable with a single R_CRIS_32_GD, with gc. Check that we
-# have nothing left but the start symbol and its code. Can't get rid
-# of the GOT just yet.
+# have nothing left but the start symbol and its code.
.*: file format elf32-cris
Program Header:
LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
- filesz 0x0+78 memsz 0x0+78 flags r-x
- LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
- filesz 0x0+c memsz 0x0+c flags rw-
+ filesz 0x0+58 memsz 0x0+58 flags r-x
private flags = 0:
SYMBOL TABLE:
-0+80074 l d \.text 0+ \.text
-0+82078 l d \.got 0+ \.got
-0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
-0+80074 g \.text 0+ _start
-0+82084 g \.got 0+ __bss_start
-0+82084 g \.got 0+ _edata
-0+820a0 g \.got 0+ _end
+0+80054 l d \.text 0+ \.text
+0+80054 g \.text 0+ _start
+0+82058 g \.text 0+ __bss_start
+0+82058 g \.text 0+ _edata
+0+82060 g \.text 0+ _end
Contents of section \.text:
- 80074 41b20+ .*
-Contents of section \.got:
- 82078 0+ 0+ 0+ .*
+ 80054 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-75.d b/ld/testsuite/ld-cris/tls-gc-75.d
index c2d5df47309..f377dc263e7 100644
--- a/ld/testsuite/ld-cris/tls-gc-75.d
+++ b/ld/testsuite/ld-cris/tls-gc-75.d
@@ -10,27 +10,21 @@
# An executable with a R_CRIS_32_GOT_GD, a R_CRIS_16_GOT_GD, a
# R_CRIS_32_GOT_TPREL and a R_CRIS_16_GOT_TPREL against the same
-# symbol, gc:ed. Check that we have proper NPTL/TLS markings and GOT.
+# symbol, gc:ed. Check that we have proper NPTL/TLS markings.
.*: file format elf32-cris
Program Header:
LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
- filesz 0x0+78 memsz 0x0+78 flags r-x
- LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
- filesz 0x0+c memsz 0x0+c flags rw-
+ filesz 0x0+58 memsz 0x0+58 flags r-x
private flags = 0:
SYMBOL TABLE:
-0+80074 l d \.text 0+ \.text
-0+82078 l d \.got 0+ \.got
-0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
-0+80074 g \.text 0+ _start
-0+82084 g \.got 0+ __bss_start
-0+82084 g \.got 0+ _edata
-0+820a0 g \.got 0+ _end
+0+80054 l d \.text 0+ \.text
+0+80054 g \.text 0+ _start
+0+82058 g \.text 0+ __bss_start
+0+82058 g \.text 0+ _edata
+0+82060 g \.text 0+ _end
Contents of section \.text:
- 80074 41b20+ .*
-Contents of section \.got:
- 82078 0+ 0+ 0+ .*
+ 80054 41b20+ .*
diff --git a/ld/testsuite/ld-cris/tls-gc-79.d b/ld/testsuite/ld-cris/tls-gc-79.d
index f4916d3f356..a5bd7ffe37d 100644
--- a/ld/testsuite/ld-cris/tls-gc-79.d
+++ b/ld/testsuite/ld-cris/tls-gc-79.d
@@ -7,28 +7,21 @@
#objdump: -s -t -r -p
# An executable with a single R_CRIS_32_IE, with gc. Check that we
-# have nothing left but the start symbol and its code. Can't get rid
-# of the GOT just yet.
+# have nothing left but the start symbol and its code.
.*: file format elf32-cris
Program Header:
LOAD off 0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
- filesz 0x0+78 memsz 0x0+78 flags r-x
- LOAD off 0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
- filesz 0x0+c memsz 0x0+c flags rw-
+ filesz 0x0+58 memsz 0x0+58 flags r-x
private flags = 0:
SYMBOL TABLE:
-0+80074 l d \.text 0+ \.text
-0+82078 l d \.got 0+ \.got
-0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
-0+80074 g \.text 0+ _start
-0+82084 g \.got 0+ __bss_start
-0+82084 g \.got 0+ _edata
-0+820a0 g \.got 0+ _end
+0+80054 l d \.text 0+ \.text
+0+80054 g \.text 0+ _start
+0+82058 g \.text 0+ __bss_start
+0+82058 g \.text 0+ _edata
+0+82060 g \.text 0+ _end
Contents of section \.text:
- 80074 41b20+ .*
-Contents of section \.got:
- 82078 0+ 0+ 0+ .*
+ 80054 41b20+ .*