aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-aarch64/gc-got-relocs.d10
-rw-r--r--ld/testsuite/ld-aarch64/gc-tls-relocs.d10
-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
-rw-r--r--ld/testsuite/ld-mmix/bpo-10.d1
8 files changed, 44 insertions, 89 deletions
diff --git a/ld/testsuite/ld-aarch64/gc-got-relocs.d b/ld/testsuite/ld-aarch64/gc-got-relocs.d
index bb98241..6525d10 100644
--- a/ld/testsuite/ld-aarch64/gc-got-relocs.d
+++ b/ld/testsuite/ld-aarch64/gc-got-relocs.d
@@ -6,24 +6,18 @@
#objdump: -s -t -d
# Executable with got related relocs against global sysmbol gced.
-# After gc-section removal we are cheking that symbol does not exit
-# got section is empty and text section contains only start function.
+# After gc-section removal we are cheking that symbol and got section
+# do not exist and text section contains only start function.
.*: file format elf64-(little|big)aarch64
SYMBOL TABLE:
0+8000 l d \.text 0+ \.text
-0+9000 l d \.got 0+ \.got
0+0000 l df \*ABS\* 0+ .*
-0+0000 l df \*ABS\* 0+
-0+9000 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+8000 g \.text 0+ _start
Contents of section .text:
8000 1f2003d5 .*
-Contents of section .got:
- 9000 0+ 0+ 0+ 0+ .*
- 9010 0+ 0+ 0+ 0+ .*
Disassembly of section .text:
diff --git a/ld/testsuite/ld-aarch64/gc-tls-relocs.d b/ld/testsuite/ld-aarch64/gc-tls-relocs.d
index 480d869..38637dc 100644
--- a/ld/testsuite/ld-aarch64/gc-tls-relocs.d
+++ b/ld/testsuite/ld-aarch64/gc-tls-relocs.d
@@ -7,24 +7,18 @@
#objdump: -s -t -d
# Executable with tls related relocs against global and local symbol gced.
-# After gc-section removal we are cheking that symbols does not exit
-# got section is empty and text section contains only start function.
+# After gc-section removal we are cheking that symbols and got section do
+# not exist and text section contains only start function.
.*: file format elf64-(little|big)aarch64
SYMBOL TABLE:
0+8000 l d \.text 0+ \.text
-0+9000 l d \.got 0+ \.got
0+0000 l df \*ABS\* 0+ .*
-0+0000 l df \*ABS\* 0+
-0+9000 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+8000 g \.text 0+ _start
Contents of section .text:
8000 1f2003d5 .*
-Contents of section .got:
- 9000 0+ 0+ 0+ 0+ .*
- 9010 0+ 0+ 0+ 0+ .*
Disassembly of section .text:
diff --git a/ld/testsuite/ld-cris/tls-gc-68.d b/ld/testsuite/ld-cris/tls-gc-68.d
index b7fc374..c1a7d25 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 c4c51b7..ef02437 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 6ab8f24..74d0d13 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 c2d5df4..f377dc2 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 f4916d3..a5bd7ff 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+ .*
diff --git a/ld/testsuite/ld-mmix/bpo-10.d b/ld/testsuite/ld-mmix/bpo-10.d
index 6f49287..06c2656 100644
--- a/ld/testsuite/ld-mmix/bpo-10.d
+++ b/ld/testsuite/ld-mmix/bpo-10.d
@@ -11,7 +11,6 @@
SYMBOL TABLE:
0+ l d \.init 0+ (|\.init)
-0+7f8 l +d \.MMIX.reg_contents 0+ (|\.MMIX\.reg_contents)
0+ l df \*ABS\* 0+ .*
0+ l \.init 0+ _start
2000000000000000 g \.init 0+ __bss_start