[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r21323 - in /fsf/glibc-2_16-branch/libc: ./ sysdeps/powerpc/powerpc32/
- To: commits@xxxxxxxxxx
- Subject: [Commits] r21323 - in /fsf/glibc-2_16-branch/libc: ./ sysdeps/powerpc/powerpc32/
- From: eglibc@xxxxxxxxxx
- Date: Wed, 24 Oct 2012 00:02:29 -0000
Author: eglibc
Date: Wed Oct 24 00:02:28 2012
New Revision: 21323
Log:
Import glibc-2.16 for 2012-10-24
Added:
fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S
Modified:
fsf/glibc-2_16-branch/libc/ChangeLog
fsf/glibc-2_16-branch/libc/NEWS
fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/Makefile
fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/ppc-mcount.S
Modified: fsf/glibc-2_16-branch/libc/ChangeLog
==============================================================================
--- fsf/glibc-2_16-branch/libc/ChangeLog (original)
+++ fsf/glibc-2_16-branch/libc/ChangeLog Wed Oct 24 00:02:28 2012
@@ -15,6 +15,15 @@
[BZ #6530]
* stdio-common/vfprintf.c (process_string_arg): Revert
2000-07-22 change.
+
+2012-07-06 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
+
+ [BZ #14042]
+ * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
+ for call to __mcount_internal.
+ * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
+ (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
+ * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2011-09-28 Jonathan Nieder <jrnieder@xxxxxxxxx>
Modified: fsf/glibc-2_16-branch/libc/NEWS
==============================================================================
--- fsf/glibc-2_16-branch/libc/NEWS (original)
+++ fsf/glibc-2_16-branch/libc/NEWS Wed Oct 24 00:02:28 2012
@@ -9,7 +9,7 @@
* The following bugs are resolved with this release:
- 6530, 14195, 14459, 14476, 14562, 14621, 14648
+ 6530, 14195, 14459, 14476, 14562, 14621, 14648, 14756
Version 2.16
Modified: fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/Makefile
==============================================================================
--- fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/Makefile (original)
+++ fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/Makefile Wed Oct 24 00:02:28 2012
@@ -6,8 +6,9 @@
endif
ifeq ($(subdir),gmon)
-sysdep_routines += ppc-mcount
+sysdep_routines += ppc-mcount compat-ppc-mcount
static-only-routines += ppc-mcount
+shared-only-routines += compat-ppc-mcount
endif
ifeq ($(subdir),misc)
Added: fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S
==============================================================================
--- fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S (added)
+++ fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/compat-ppc-mcount.S Wed Oct 24 00:02:28 2012
@@ -1,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
Modified: fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/ppc-mcount.S
==============================================================================
--- fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/ppc-mcount.S (original)
+++ fsf/glibc-2_16-branch/libc/sysdeps/powerpc/powerpc32/ppc-mcount.S Wed Oct 24 00:02:28 2012
@@ -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 @@
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)
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits