* testsuite/Makefile.am (justsyms_2r.o): Add dependency on

justsyms.t.
	* testsuite/Makefile.in: Rebuild.

	* testsuite/script_test_2a.cc (script_test_string_a): Make 8 bytes
	long.
	* testsuite/script_test_2.cc (main): Adjust test.
This commit is contained in:
Ian Lance Taylor
2008-04-11 20:44:52 +00:00
parent 706e1f5e80
commit 83bfb6b776
6 changed files with 36 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ main(int, char**)
// Next the string from script_test_2a.o, after the subalign.
for (int i = 16 + 7; i < 48; ++i)
assert(start_test_area_1[i] == 0);
assert(strcmp(start_test_area_1 + 48, "test a") == 0);
assert(strcmp(start_test_area_1 + 48, "test aa") == 0);
// Move four bytes forward to start_data.
assert(reinterpret_cast<uintptr_t>(start_test_area_1 + 48 + 8 + 4)