set opts(xfail) ""
set opts(target) ""
set opts(notarget) ""
- set opts(dynamic) ""
# Clear any machine specific options specified in a previous test case
if [info exists opts(sim,$mach)] {
}
}
- if { $opt_name == "dynamic" \
- && [info exists board_info([target_info name],ldflags)] } {
- # Weed out -static from ldflags, but keep the original in
- # $orig_ldflags.
- set orig_ldflags $board_info([target_info name],ldflags)
- set ldflags " $orig_ldflags "
- regsub -all " -static " $ldflags " " ldflags
- set board_info([target_info name],ldflags) $ldflags
- }
-
foreach m $opt_machs {
set opts($opt_name,$m) $opt_val
}
ld.so.cache (having no absolute path specified for the executable
falls back on loading through the same mechanisms as a DSO).
#notarget: *-*-elf
-#dynamic:
#sim: --sysroot=@exedir@ @exedir@/lib/ld.so.1 --library-path /
*/
#include "hello.c"