[11/13] ld/sh: Update tests for _edata, __bss_start, and _end changes

Message ID 20180601184357.10746-12-hjl.tools@gmail.com
State New
Headers show
Series
  • Define _edata, __bss_start, and _end only for executables
Related show

Commit Message

H.J. Lu June 1, 2018, 6:43 p.m.
Since _edata, __bss_start, and _end are no longer defined in shared
libraries, adjust linker tests for address changes.

	PR ld/23161
	* testsuite/ld-sh/tlsbin-2.d: Updated.
	* testsuite/ld-sh/tlspic-2.d: Likewise.
---
 ld/testsuite/ld-sh/tlsbin-2.d | 2 --
 ld/testsuite/ld-sh/tlspic-2.d | 2 --
 2 files changed, 4 deletions(-)

-- 
2.17.0

Patch

diff --git a/ld/testsuite/ld-sh/tlsbin-2.d b/ld/testsuite/ld-sh/tlsbin-2.d
index 7943149cba..ea3c18280a 100644
--- a/ld/testsuite/ld-sh/tlsbin-2.d
+++ b/ld/testsuite/ld-sh/tlsbin-2.d
@@ -72,6 +72,4 @@  Symbol table '\.dynsym' contains [0-9]+ entries:
 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
 #...
 .* TLS +GLOBAL +DEFAULT +UND sG1
-#...
-
 #pass
diff --git a/ld/testsuite/ld-sh/tlspic-2.d b/ld/testsuite/ld-sh/tlspic-2.d
index fb334ec987..d4df16b0b6 100644
--- a/ld/testsuite/ld-sh/tlspic-2.d
+++ b/ld/testsuite/ld-sh/tlspic-2.d
@@ -72,6 +72,4 @@  Symbol table '\.dynsym' contains [0-9]+ entries:
 .* FUNC +GLOBAL +DEFAULT +7 fn1
 #...
 .* TLS +GLOBAL +DEFAULT +8 sg2
-#...
-
 #pass