# Expect script for .eh_frame entries to a removed section.
-# Copyright 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2008-2020 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
set build_tests_ld [list \
[list "Build eh-group1.o" \
- "-r" "$as_options" \
+ "-r" "" "$as_options" \
{eh-group1.s eh-group2.s} {} "eh-group.o"] \
]
run_ld_link_tests $build_tests_ld
set testname "Link eh-group.o to eh-group"
-if [ld_simple_link $ld "tmpdir/eh-group" "-e _start tmpdir/eh-group.o"] {
+if [ld_link $ld "tmpdir/eh-group" "-e _start tmpdir/eh-group.o"] {
pass $testname
} else {
fail $testname