Commit 76f60aa5 by Andrew Pinski Committed by Andrew Pinski

darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of…

darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of making the string ourselves.

2004-09-10  Andrew Pinski  <apinski@apple.com>

        * config/darwin.c (machopic_mcount_stub_name): Call
        machopic_indirection_name instead of making the string
        ourselves.

From-SVN: r87309
parent e30b0ae2
2004-09-10 Andrew Pinski <apinski@apple.com>
* config/darwin.c (machopic_mcount_stub_name): Call
machopic_indirection_name instead of making the string
ourselves.
2004-09-10 Diego Novillo <dnovillo@redhat.com> 2004-09-10 Diego Novillo <dnovillo@redhat.com>
Revert Revert
......
...@@ -361,7 +361,8 @@ machopic_indirection_name (rtx sym_ref, bool stub_p) ...@@ -361,7 +361,8 @@ machopic_indirection_name (rtx sym_ref, bool stub_p)
const char* const char*
machopic_mcount_stub_name (void) 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 /* If NAME is the name of a stub or a non-lazy pointer , mark the stub
......
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