* mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in
the statically linked case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85229
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-07-27 Ulrich Weigand <weigand@informatik.uni-erlangen.de>
+
+ * mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in
+ the statically linked case.
+
2004-07-27 Frank Ch. Eigler <fche@redhat.com>
* splay-tree.[ch]: Remove. Merge contents into ...
2004-07-27 Frank Ch. Eigler <fche@redhat.com>
* splay-tree.[ch]: Remove. Merge contents into ...
{
TRACE ("__mf_fini\n");
__mfu_report ();
{
TRACE ("__mf_fini\n");
__mfu_report ();
+
+#ifndef PIC
+/* Since we didn't populate the tree for allocations in constructors
+ before __mf_init, we cannot check destructors after __mf_fini. */
+ __mf_opts.mudflap_mode = mode_nop;
+#endif