diff options
Diffstat (limited to 'libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S')
-rw-r--r-- | libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S b/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S new file mode 100644 index 000000000..2a9cb2407 --- /dev/null +++ b/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S @@ -0,0 +1,11 @@ +#include <shlib-compat.h> + +#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_15) + + compat_text_section +# define _mcount __compat_mcount +# include "ppc-mcount.S" +# undef _mcount + +compat_symbol (libc, __compat_mcount, _mcount, GLIBC_2_0) +#endif |