ld/testsuite/

2012-12-13  Yufeng Zhang  <yufeng.zhang@arm.com>

	* ld-elf/indirect.exp: Disable if -shared is not supported.
	* lib/ld-lib.exp (check_shared_lib_support): Add aarch64*-*-elf and
	arm*-*-elf to the exclude list.
This commit is contained in:
Yufeng Zhang 2012-12-14 11:58:59 +00:00
parent 6fdff2c5e5
commit 83a2341852
3 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
* ld-elf/indirect.exp: Disable if -shared is not supported.
* lib/ld-lib.exp (check_shared_lib_support): Add aarch64*-*-elf and
arm*-*-elf to the exclude list.
2012-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14956

View File

@ -26,6 +26,12 @@ if ![is_elf_format] {
return
}
# Skip target where -shared is not supported
if ![check_shared_lib_support] {
return
}
# Check if compiler works
if { [which $CC] == 0 } {
return

View File

@ -1555,7 +1555,9 @@ proc check_gc_sections_available { } {
# Only used and accurate for ELF targets at the moment
proc check_shared_lib_support { } {
if {![istarget arc-*-*]
if {![istarget aarch64*-*-elf]
&& ![istarget arc-*-*]
&& ![istarget arm*-*-elf]
&& ![istarget avr-*-*]
&& ![istarget cr16-*-*]
&& ![istarget cris*-*-*]