aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/justsyms_1.cc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2008-04-11 18:49:40 +0000
committerDavid S. Miller <davem@redhat.com>2008-04-11 18:49:40 +0000
commit7c98e6bbc9817ad159b84603c66e1ab7df1e8309 (patch)
tree6e54f8ed70ff953977954f87e4f18891ebc2b66e /gold/testsuite/justsyms_1.cc
parent24f4d50fc1884b1e3ae516de97d51fe1cfd1fb64 (diff)
downloadgdb-7c98e6bbc9817ad159b84603c66e1ab7df1e8309.zip
gdb-7c98e6bbc9817ad159b84603c66e1ab7df1e8309.tar.gz
gdb-7c98e6bbc9817ad159b84603c66e1ab7df1e8309.tar.bz2
* testsuite/justsyms.t: Start at 0x100.
* testsuite/justsyms_1.cc: Adjust justsyms_string assertion. * script_test_2b.cc (script_test_string_b): Make 8 bytes long. * script_test_2.cc: Adjust string and section length checks.
Diffstat (limited to 'gold/testsuite/justsyms_1.cc')
-rw-r--r--gold/testsuite/justsyms_1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/testsuite/justsyms_1.cc b/gold/testsuite/justsyms_1.cc
index 599d8c9..50716b0 100644
--- a/gold/testsuite/justsyms_1.cc
+++ b/gold/testsuite/justsyms_1.cc
@@ -44,7 +44,7 @@ main(int, char**)
{
// The linker script should arrange for this symbol to be exactly at
// address 0x10000.
- assert(reinterpret_cast<uintptr_t>(justsyms_string) == 0x10000);
+ assert(reinterpret_cast<uintptr_t>(justsyms_string) == 0x100);
// However, since the file was linked with --just-symbols, we should
// not be able to actually access the symbol.