Always descend into output section statements in lang_do_assignments
[deliverable/binutils-gdb.git] / ld / testplug2.c
index 5e346436833f9734304698508da04ddae3fa7884..5dc4e78b8fa06671423dea85aa6884a65b173eb8 100644 (file)
@@ -602,7 +602,7 @@ onall_symbols_read (void)
 #define EXPECTED_VIEW "/* The first line of this file must match the expectation of"
 #define EXPECTED_VIEW_LENGTH (sizeof (EXPECTED_VIEW) - 1)
       if (file.filesize != SIZE_OF_FUNC_C
-         || SIZE_OF_FUNC_C < sizeof EXPECTED_VIEW_LENGTH
+         || SIZE_OF_FUNC_C < EXPECTED_VIEW_LENGTH
          || memcmp (view, EXPECTED_VIEW, EXPECTED_VIEW_LENGTH) != 0)
        {
          char result[EXPECTED_VIEW_LENGTH + 1];
This page took 0.023458 seconds and 4 git commands to generate.