Commit 77e86c91 by David Edelsohn Committed by David Edelsohn

collect2.c (main): Add -fno-profile-arcs -fno-test-coverage…

collect2.c (main): Add -fno-profile-arcs -fno-test-coverage -fno-branch-probabilities to arguments...

        * collect2.c (main): Add -fno-profile-arcs -fno-test-coverage
        -fno-branch-probabilities to arguments when compiling ctors and
        dtors.

From-SVN: r74746
parent f84241ba
2003-12-17 David Edelsohn <edelsohn@gnu.org>
* collect2.c (main): Add -fno-profile-arcs -fno-test-coverage
-fno-branch-probabilities to arguments when compiling ctors and
dtors.
2003-12-17 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.
......
......@@ -884,8 +884,9 @@ main (int argc, char **argv)
}
obstack_free (&temporary_obstack, temporary_firstobj);
/* -fno-exceptions -w */
num_c_args += 2;
/* -fno-profile-arcs -fno-test-coverage -fno-branch-probabilities
-fno-exceptions -w */
num_c_args += 5;
c_ptr = (const char **) (c_argv = xcalloc (sizeof (char *), num_c_args));
......@@ -1046,6 +1047,9 @@ main (int argc, char **argv)
}
}
obstack_free (&temporary_obstack, temporary_firstobj);
*c_ptr++ = "-fno-profile-arcs";
*c_ptr++ = "-fno-test-coverage";
*c_ptr++ = "-fno-branch-probabilities";
*c_ptr++ = "-fno-exceptions";
*c_ptr++ = "-w";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment