diff options
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |