ld/testsuite/
* ld-elf/elf.exp (stack exec, stack size): Run for any GNU target. * ld-elf/maxpage3c.d: Run for any x86 GNU target. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage5.d: Likewise. * ld-i386/export-class.exp: Likewise.
This commit is contained in:
parent
c9b6281a36
commit
9cc420b64c
@ -1,3 +1,11 @@
|
|||||||
|
2012-12-15 Thomas Schwinge <thomas@codesourcery.com>
|
||||||
|
|
||||||
|
* ld-elf/elf.exp (stack exec, stack size): Run for any GNU target.
|
||||||
|
* ld-elf/maxpage3c.d: Run for any x86 GNU target.
|
||||||
|
* ld-elf/maxpage4.d: Likewise.
|
||||||
|
* ld-elf/maxpage5.d: Likewise.
|
||||||
|
* ld-i386/export-class.exp: Likewise.
|
||||||
|
|
||||||
2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
|
2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||||
|
|
||||||
* ld-elf/indirect.exp: Disable if -shared is not supported.
|
* ld-elf/indirect.exp: Disable if -shared is not supported.
|
||||||
|
@ -126,7 +126,8 @@ if { [check_gc_sections_available] && ![istarget "v850-*-*"] } {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if { [istarget *-*-*linux*] } {
|
if { [istarget *-*-linux*]
|
||||||
|
|| [istarget *-*-gnu*] } {
|
||||||
run_ld_link_tests {
|
run_ld_link_tests {
|
||||||
{"stack exec" "-z execstack" "" {stack.s}
|
{"stack exec" "-z execstack" "" {stack.s}
|
||||||
{{readelf {-Wl} stack-exec.rd}} "stack-exec.exe"}
|
{{readelf {-Wl} stack-exec.rd}} "stack-exec.exe"}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#as: --32
|
#as: --32
|
||||||
#ld: -m elf_i386 -z max-page-size=0x10000000 -T maxpage3.t
|
#ld: -m elf_i386 -z max-page-size=0x10000000 -T maxpage3.t
|
||||||
#readelf: -lS --wide
|
#readelf: -lS --wide
|
||||||
#target: x86_64-*-linux* i?86-*-linux-gnu
|
#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
|
||||||
|
|
||||||
#...
|
#...
|
||||||
\[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.*
|
\[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t]+0*10000000[ \t]+[ \t0-9a-f]+WA?.*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#as: --32
|
#as: --32
|
||||||
#ld: -z max-page-size=0x200000 -T maxpage4.t
|
#ld: -z max-page-size=0x200000 -T maxpage4.t
|
||||||
#readelf: -l --wide
|
#readelf: -l --wide
|
||||||
#target: x86_64-*-linux* i?86-*-linux-gnu
|
#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
|
||||||
|
|
||||||
#...
|
#...
|
||||||
LOAD+.*0x200000
|
LOAD+.*0x200000
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#ld: -z max-page-size=0x200000 -T maxpage5.t
|
#ld: -z max-page-size=0x200000 -T maxpage5.t
|
||||||
#objcopy_linked_file: -R .foo
|
#objcopy_linked_file: -R .foo
|
||||||
#readelf: -l --wide
|
#readelf: -l --wide
|
||||||
#target: x86_64-*-linux* i?86-*-linux-gnu
|
#target: x86_64-*-linux* i?86-*-linux-gnu i?86-*-gnu*
|
||||||
|
|
||||||
#...
|
#...
|
||||||
Program Headers:
|
Program Headers:
|
||||||
|
@ -29,9 +29,8 @@ if { ![is_elf_format] } {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
# Exclude non-Linux targets; feel free to include your favorite one
|
if { !([istarget i?86-*-linux*]
|
||||||
# if you like.
|
|| [istarget i?86-*-gnu*]) } {
|
||||||
if { ![istarget i?86-*-linux*] } {
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user