mirror of git://gcc.gnu.org/git/gcc.git
mf-runtime.c (__mf_fini): Set mudflap_mode to mode_nop in the statically linked case.
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. From-SVN: r85229
This commit is contained in:
parent
3fbd86b1a8
commit
6687a26359
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2004-07-27 Frank Ch. Eigler <fche@redhat.com>
|
||||||
|
|
||||||
* splay-tree.[ch]: Remove. Merge contents into ...
|
* splay-tree.[ch]: Remove. Merge contents into ...
|
||||||
|
|
|
||||||
|
|
@ -778,6 +778,12 @@ void __mf_fini ()
|
||||||
{
|
{
|
||||||
TRACE ("__mf_fini\n");
|
TRACE ("__mf_fini\n");
|
||||||
__mfu_report ();
|
__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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue