From 308cb401d61ed41e7aa5c7113feb7adde8dbdc36 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 22 Jul 2008 14:15:32 +0000 Subject: [PATCH] Update for elf_link_output_extsym change --- ld/testsuite/ChangeLog | 8 ++++++++ ld/testsuite/ld-alpha/tlsbin.rd | 4 ++-- ld/testsuite/ld-alpha/tlsbinr.rd | 4 ++-- ld/testsuite/ld-arm/mixed-app.sym | 4 ++-- ld/testsuite/ld-arm/use-thumb-lib.sym | 2 +- ld/testsuite/ld-cris/pv32-1.d | 4 ++-- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2538dc49415..6231d99b1ac 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2008-07-22 Alan Modra + + * 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 * 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 a9a9d34f88a..7641ccee949 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 1eaf7ba9e41..8751428b96a 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 c63a3438269..a5076815d88 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 6f845a17e92..eafbcf7ff27 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 2684c952bb0..16113a23f36 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 -- 2.30.2