diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-05-08 09:09:34 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-05-08 09:09:34 +0000 |
commit | c461a95732e4ab7fbdebf93794e35324e33614be (patch) | |
tree | e6b1da796ed97ba735a3ec9edcddbafbc7db9532 /gcc | |
parent | a9bcb3f0ef0c3d053edbe8e4cbbc8d6103bf30a3 (diff) | |
download | gcc-c461a95732e4ab7fbdebf93794e35324e33614be.zip gcc-c461a95732e4ab7fbdebf93794e35324e33614be.tar.gz gcc-c461a95732e4ab7fbdebf93794e35324e33614be.tar.bz2 |
* config/rs6000/rs6000.c (output_profile_hook): Fix thinko.
From-SVN: r173547
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9d01d0..30717f5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-05-08 Eric Botcazou <ebotcazou@adacore.com> + + * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. + 2011-05-08 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/invoke.texi (-fuse-linker-plugin): Improve grammar. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 4504ffe..ac25e29 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -22879,7 +22879,7 @@ output_profile_hook (int labelno ATTRIBUTE_UNUSED) rtx fun; ASM_GENERATE_INTERNAL_LABEL (buf, "LP", labelno); - label_name = (*targetm.strip_name_encoding) (ggc_strdup (buf)); + label_name = ggc_strdup ((*targetm.strip_name_encoding) (buf)); fun = gen_rtx_SYMBOL_REF (Pmode, label_name); emit_library_call (init_one_libfunc (RS6000_MCOUNT), |