diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-10 17:26:54 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-10 17:26:54 +0000 |
commit | 620dd87af85d87853cc1199b7cc6d1e08cf72076 (patch) | |
tree | c7c829896e71e90e4b581457fc0c822857375d2f /gcc/config/darwin.c | |
parent | 263cbdb8f01c5ffbaee35d0ada4d8c9931897cf4 (diff) | |
download | gcc-620dd87af85d87853cc1199b7cc6d1e08cf72076.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87309 138bc75d-0d04-0410-961f-82ee72b054a4
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 |