aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined/undefined.exp
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-01-31 03:57:52 +0000
committerAlan Modra <amodra@gmail.com>2002-01-31 03:57:52 +0000
commitdbc37f892b730f7fb0177770be3e3eb67ad36149 (patch)
treeb53b8010f294a6de74b93fcd368b6931730ba7ca /ld/testsuite/ld-undefined/undefined.exp
parent1a70374818c962c98ac3e43f516887abc87fc6b6 (diff)
downloadfsf-binutils-gdb-dbc37f892b730f7fb0177770be3e3eb67ad36149.zip
fsf-binutils-gdb-dbc37f892b730f7fb0177770be3e3eb67ad36149.tar.gz
fsf-binutils-gdb-dbc37f892b730f7fb0177770be3e3eb67ad36149.tar.bz2
* ld-scripts/crossref.exp: Allow foo to have a leading dot.
* ld-scripts/cross1.t: Add .opd. * ld-undefined/undefined.exp: Allow leading dot on sym names. * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms.
Diffstat (limited to 'ld/testsuite/ld-undefined/undefined.exp')
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index e47a201..0829b01 100644
--- a/ld/testsuite/ld-undefined/undefined.exp
+++ b/ld/testsuite/ld-undefined/undefined.exp
@@ -61,7 +61,7 @@ proc checkund { string testname } {
}
}
-set mu "undefined reference to `this_function_is_not_defined'"
+set mu "undefined reference to `*this_function_is_not_defined'"
checkund $mu $testund
# ARM PE defaults to using stabs debugging, which we can't handle for
@@ -94,7 +94,7 @@ setup_xfail "sh-*-*"
# Just doesn't work for PA ELF. No clue why.
setup_xfail "hppa*-*-*elf*"
-set ml "undefined.c:9: undefined reference to `this_function_is_not_defined'"
+set ml "undefined.c:9: undefined reference to `*this_function_is_not_defined'"
# With targets that use elf/dwarf2, such as the arm-elf and thumb-elf
# toolchains, the code in bfd/elf.c:_bfd_elf_find_nearest_line() is called
# in order to locate the file name/line number where the undefined