From: Andrew Pinski Date: Fri, 10 Sep 2004 17:26:54 +0000 (+0000) Subject: darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of makin... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76f60aa59ce0edd9aabdbe63e5ec039ffc937c54;p=gcc.git darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of making the string ourselves. 2004-09-10 Andrew Pinski * config/darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of making the string ourselves. From-SVN: r87309 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6d96d37967..43c8f688998 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-09-10 Andrew Pinski + + * config/darwin.c (machopic_mcount_stub_name): Call + machopic_indirection_name instead of making the string + ourselves. + 2004-09-10 Diego Novillo Revert diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index cd1d47b66bd..429bddb8fe5 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -361,7 +361,8 @@ machopic_indirection_name (rtx sym_ref, bool stub_p) const char* machopic_mcount_stub_name (void) { - return "&L*mcount$stub"; + rtx symbol = gen_rtx_SYMBOL_REF (Pmode, "*mcount"); + return machopic_indirection_name (symbol, /*stub_p=*/true); } /* If NAME is the name of a stub or a non-lazy pointer , mark the stub