aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-07-22 14:15:32 +0000
committerAlan Modra <amodra@gmail.com>2008-07-22 14:15:32 +0000
commit308cb401d61ed41e7aa5c7113feb7adde8dbdc36 (patch)
treee6fe7c8fa13a5276605271dac65412b28979f40e /ld/testsuite
parent39948a609d7a459fbf1872bcc3a656929f5b6798 (diff)
downloadgdb-308cb401d61ed41e7aa5c7113feb7adde8dbdc36.zip
gdb-308cb401d61ed41e7aa5c7113feb7adde8dbdc36.tar.gz
gdb-308cb401d61ed41e7aa5c7113feb7adde8dbdc36.tar.bz2
Update for elf_link_output_extsym change
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog8
-rw-r--r--ld/testsuite/ld-alpha/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-alpha/tlsbinr.rd4
-rw-r--r--ld/testsuite/ld-arm/mixed-app.sym4
-rw-r--r--ld/testsuite/ld-arm/use-thumb-lib.sym2
-rw-r--r--ld/testsuite/ld-cris/pv32-1.d4
6 files changed, 17 insertions, 9 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 2538dc4..6231d99 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2008-07-22 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-alpha/tlsbin.rd: Update.
+ * ld-alpha/tlsbinr.rd: Update.
+ * ld-arm/mixed-app.sym: Update.
+ * ld-arm/use-thumb-lib.sym: Update.
+ * ld-cris/pv32-1.d: Update.
+
2008-07-21 Nick Clifton <nickc@redhat.com>
* ld-scripts/include-sections.t: Discard all sections not
diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd
index a9a9d34..7641cce 100644
--- a/ld/testsuite/ld-alpha/tlsbin.rd
+++ b/ld/testsuite/ld-alpha/tlsbin.rd
@@ -58,7 +58,7 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +UND *
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2
-[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
+[0-9 ]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG1
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
@@ -109,7 +109,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5
-[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
+[0-9 ]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh8
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg1
diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd
index 1eaf7ba..8751428 100644
--- a/ld/testsuite/ld-alpha/tlsbinr.rd
+++ b/ld/testsuite/ld-alpha/tlsbinr.rd
@@ -53,7 +53,7 @@ Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
[0-9 ]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND
[0-9 ]+: 0+ +0 TLS +GLOBAL DEFAULT +UND sG2
-[0-9 ]+: 0+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
+[0-9 ]+: 0+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
[0-9 ]+: 0+ +0 TLS +GLOBAL DEFAULT +UND sG1
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
@@ -104,7 +104,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5
-[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
+[0-9 ]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh8
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg1
diff --git a/ld/testsuite/ld-arm/mixed-app.sym b/ld/testsuite/ld-arm/mixed-app.sym
index c63a343..a507681 100644
--- a/ld/testsuite/ld-arm/mixed-app.sym
+++ b/ld/testsuite/ld-arm/mixed-app.sym
@@ -6,12 +6,12 @@ Symbol table for image:
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end
.. ..: ........ 4 OBJECT GLOBAL DEFAULT 12 data_obj
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__
- .. ..: 0*[^0]*.* 20 FUNC GLOBAL DEFAULT UND lib_func1
+ .. ..: 0*[^0]*.* 0 FUNC GLOBAL DEFAULT UND lib_func1
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT 11 __data_start
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
.. ..: .......0 0 FUNC GLOBAL DEFAULT 8 app_func2
- .. ..: 0*[^0]*.* 2 FUNC GLOBAL DEFAULT UND lib_func2
+ .. ..: 0*[^0]*.* 0 FUNC GLOBAL DEFAULT UND lib_func2
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end
diff --git a/ld/testsuite/ld-arm/use-thumb-lib.sym b/ld/testsuite/ld-arm/use-thumb-lib.sym
index 6f845a1..eafbcf7 100644
--- a/ld/testsuite/ld-arm/use-thumb-lib.sym
+++ b/ld/testsuite/ld-arm/use-thumb-lib.sym
@@ -1,4 +1,4 @@
#...
- .. ..: 00000000 2 FUNC GLOBAL DEFAULT UND lib_func2
+ .. ..: 00000000 0 FUNC GLOBAL DEFAULT UND lib_func2
#pass
diff --git a/ld/testsuite/ld-cris/pv32-1.d b/ld/testsuite/ld-cris/pv32-1.d
index 2684c95..16113a2 100644
--- a/ld/testsuite/ld-cris/pv32-1.d
+++ b/ld/testsuite/ld-cris/pv32-1.d
@@ -8,10 +8,10 @@
.*: file format elf32-cris
DYNAMIC SYMBOL TABLE:
-0+8021e DF \*UND\* 0+2 expfn
+0+8021e DF \*UND\* 0+ expfn
0+82324 g DO \.bss 0+4 expobj
0+82324 g D \*ABS\* 0+ __bss_start
-0+80238 DF \*UND\* 0+8 dsofn3
+0+80238 DF \*UND\* 0+ dsofn3
0+82324 g D \*ABS\* 0+ _edata
0+82340 g D \*ABS\* 0+ _end
0+80264 g DF \.text 0+8 dsofn