diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-05-01 17:10:10 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2012-07-06 23:43:56 +0200 |
commit | 261f485936b283f4327fc1f2fc8fd1705d805c12 (patch) | |
tree | a21e7557201769629cb26e3bbb8069e53fed81d4 /sysdeps/powerpc/powerpc32/ppc-mcount.S | |
parent | 9ad63c23eabdec1b625b1217b6635f34268ca342 (diff) | |
download | glibc-261f485936b283f4327fc1f2fc8fd1705d805c12.tar.gz glibc-261f485936b283f4327fc1f2fc8fd1705d805c12.tar.xz glibc-261f485936b283f4327fc1f2fc8fd1705d805c12.zip |
Fix missing _mcount@GLIBC_2.0 on powerpc32
Diffstat (limited to 'sysdeps/powerpc/powerpc32/ppc-mcount.S')
-rw-r--r-- | sysdeps/powerpc/powerpc32/ppc-mcount.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc32/ppc-mcount.S b/sysdeps/powerpc/powerpc32/ppc-mcount.S index 9a3c041dd6..911638b5b9 100644 --- a/sysdeps/powerpc/powerpc32/ppc-mcount.S +++ b/sysdeps/powerpc/powerpc32/ppc-mcount.S @@ -1,5 +1,5 @@ /* PowerPC-specific implementation of profiling support. - Copyright (C) 1997, 1999, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -57,7 +57,11 @@ ENTRY(_mcount) stw r4, 44(r1) cfi_offset (lr, -4) stw r5, 8(r1) +#ifndef SHARED bl JUMPTARGET(__mcount_internal) +#else + bl __mcount_internal@local +#endif /* Restore the registers... */ lwz r6, 8(r1) lwz r0, 44(r1) |