summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>2013-05-23 14:47:15 +0100
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>2013-05-23 14:47:15 +0100
commit1fd885a5b33498895fc492e8dc6e22970b787a3e (patch)
treedbfd37952c3de1b3cec1bfcd1cd97875f446e3b7
parent13e23af76e64efc055103344bd56d553ceee8512 (diff)
downloadglibc-1fd885a5b33498895fc492e8dc6e22970b787a3e.tar.gz
glibc-1fd885a5b33498895fc492e8dc6e22970b787a3e.tar.xz
glibc-1fd885a5b33498895fc492e8dc6e22970b787a3e.zip
[AArch64] Use generic "mcount" routine for profiling.
-rw-r--r--ports/ChangeLog.aarch644
-rw-r--r--ports/sysdeps/aarch64/machine-gmon.h25
2 files changed, 4 insertions, 25 deletions
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 46eff319f2..aec768e795 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,3 +1,7 @@
+2013-05-23  Venkataranmanan Kumar <venkataramanan.kumar@linaro.org>
+
+	* sysdeps/aarch64/machine-gmon.h: Remove.
+
 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/aarch64/libm-test-ulps: Update test names.
diff --git a/ports/sysdeps/aarch64/machine-gmon.h b/ports/sysdeps/aarch64/machine-gmon.h
deleted file mode 100644
index c52a1a404d..0000000000
--- a/ports/sysdeps/aarch64/machine-gmon.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright (C) 2011-2013 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
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library.  If not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#define _MCOUNT_DECL(from, self) \
- void __mcount_internal (u_long from, u_long self)
-
-/* Call __mcount_internal with our the return PC for our caller, and
-   the return PC our caller will return to.  Empty since we use an
-   assembly stub instead. */
-#define MCOUNT