diff options
author | Andrew Pinski <apinski@apple.com> | 2004-09-10 17:26:54 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-09-10 10:26:54 -0700 |
commit | 76f60aa59ce0edd9aabdbe63e5ec039ffc937c54 (patch) | |
tree | c7c829896e71e90e4b581457fc0c822857375d2f | |
parent | e30b0ae2fa5e74b14017fe2af9b7f7743281fe37 (diff) | |
download | gcc-76f60aa59ce0edd9aabdbe63e5ec039ffc937c54.zip gcc-76f60aa59ce0edd9aabdbe63e5ec039ffc937c54.tar.gz gcc-76f60aa59ce0edd9aabdbe63e5ec039ffc937c54.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/darwin.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6d96d3..43c8f68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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> Revert diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index cd1d47b..429bddb 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 |