blob: 15193c10a651c3c2154d8c659da0ef337f24b4d1 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 4c6fd8f5eb9bc7c0d02f1a98ad86e395d4d2ab3b Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:07:33 +0000
4Subject: [PATCH 03/15] configure: widen the regexp for SH architectures
5
6gprof needs to know about uclibc
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure | 2 +-
13 gprof/configure | 5 +++++
14 2 files changed, 6 insertions(+), 1 deletion(-)
15
16diff --git a/configure b/configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017index 08dd35c3ea..815e74ddb7 100755
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018--- a/configure
19+++ b/configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020@@ -3855,7 +3855,7 @@ case "${target}" in
Brad Bishop316dfdd2018-06-25 12:45:53 -040021 nvptx*-*-*)
22 noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023 ;;
24- sh-*-*)
25+ sh*-*-* | sh64-*-*)
26 case "${target}" in
27 sh*-*-elf)
28 ;;
29diff --git a/gprof/configure b/gprof/configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080030index 447cea7884..a730e20509 100755
Brad Bishopd7bf8c12018-02-25 22:55:05 -050031--- a/gprof/configure
32+++ b/gprof/configure
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080033@@ -6162,6 +6162,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050034 lt_cv_deplibs_check_method=pass_all
35 ;;
36
37+linux-uclibc*)
38+ lt_cv_deplibs_check_method=pass_all
39+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
40+ ;;
41+
42 netbsd*)
43 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
44 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
45--
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800462.18.0
Brad Bishopd7bf8c12018-02-25 22:55:05 -050047