if { [check_compiler_available] } {
ld_compile "$CC $CFLAGS $cflags -O0" $srcdir/$subdir/pr19161-1.c tmpdir/pr19161-1.o
ld_compile "$CC $CFLAGS $cflags -O0" $srcdir/$subdir/pr19161-2.c tmpdir/pr19161-2.o
+ set saved_LDFLAGS "$LDFLAGS"
+ if [istarget hppa*-*-linux*] {
+ set LDFLAGS "$LDFLAGS --defsym '\$\$dyncall=0'"
+ }
run_dump_test "pr19161"
+ set LDFLAGS "$saved_LDFLAGS"
}
if { [is_elf_format] && [check_shared_lib_support] \