forked from Imagelibrary/binutils-gdb
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user