diff options
author | Doug Kwan <dougkwan@google.com> | 2010-02-27 00:46:00 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2010-02-27 00:46:00 +0000 |
commit | c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed (patch) | |
tree | 11eb409a9ff2c71fa52707514b323a5aee4045b8 /gold/testsuite | |
parent | 2fd9ae7a1d02f2c5660a36a870285ce5b85fdc7a (diff) | |
download | binutils-c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed.zip binutils-c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed.tar.gz binutils-c3e4ae2903ff58e2a9f4efc9d0d5159839c1c1ed.tar.bz2 |
2010-02-26 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::Relocate::reloc_is_non_pic): Treat
R_ARM_PREL31 and R_ARM_SBREL31 as position independent.
* testsuite/debug_msg.sh: Avoid matching source line number for
use of global variable undef_int.
Diffstat (limited to 'gold/testsuite')
-rwxr-xr-x | gold/testsuite/debug_msg.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/testsuite/debug_msg.sh b/gold/testsuite/debug_msg.sh index 9a92482..750261e 100755 --- a/gold/testsuite/debug_msg.sh +++ b/gold/testsuite/debug_msg.sh @@ -66,10 +66,10 @@ check debug_msg.err "debug_msg.o: in function Base::virtfn():.*/debug_msg.cc:50: check debug_msg.err "debug_msg.o: in function Derived::virtfn():.*/debug_msg.cc:55: error: undefined reference to 'undef_fn2()'" check debug_msg.err "debug_msg.o: in function int testfn<int>(int):.*/debug_msg.cc:43: error: undefined reference to 'undef_fn1()'" check debug_msg.err "debug_msg.o: in function int testfn<int>(int):.*/debug_msg.cc:44: error: undefined reference to 'undef_fn2()'" -check debug_msg.err "debug_msg.o: in function int testfn<int>(int):.*/debug_msg.cc:45: error: undefined reference to 'undef_int'" +check debug_msg.err "debug_msg.o: in function int testfn<int>(int):.*/debug_msg.cc:.*: error: undefined reference to 'undef_int'" check debug_msg.err "debug_msg.o: in function int testfn<double>(double):.*/debug_msg.cc:43: error: undefined reference to 'undef_fn1()'" check debug_msg.err "debug_msg.o: in function int testfn<double>(double):.*/debug_msg.cc:44: error: undefined reference to 'undef_fn2()'" -check debug_msg.err "debug_msg.o: in function int testfn<double>(double):.*/debug_msg.cc:45: error: undefined reference to 'undef_int'" +check debug_msg.err "debug_msg.o: in function int testfn<double>(double):.*/debug_msg.cc:.*: error: undefined reference to 'undef_int'" # Check we detected the ODR (One Definition Rule) violation. check debug_msg.err ": symbol 'Ordering::operator()(int, int)' defined in multiple places (possible ODR violation):" |