Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
93bf5390
Commit
93bf5390
authored
Nov 13, 2012
by
Richard Henderson
Committed by
Richard Henderson
Nov 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move libsanitizer configure logic to subdirectory
From-SVN: r193487
parent
beb42d20
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
72 additions
and
18 deletions
+72
-18
ChangeLog
+5
-0
configure
+19
-9
configure.ac
+16
-9
libsanitizer/ChangeLog.asan
+4
-0
libsanitizer/configure.tgt
+28
-0
No files found.
ChangeLog
View file @
93bf5390
2012-11-13 Richard Henderson <rth@redhat.com>
* configure.ac: Move libsanitizer logic to subdirectory.
* configure: Regenerate.
2012-11-13 Dodji Seketeli <dodji@redhat.com>
2012-11-13 Dodji Seketeli <dodji@redhat.com>
* configure.ac: Enable libsanitizer just on x86 linux for now.
* configure.ac: Enable libsanitizer just on x86 linux for now.
...
...
configure
View file @
93bf5390
...
@@ -3196,6 +3196,25 @@ $as_echo "yes" >&6; }
...
@@ -3196,6 +3196,25 @@ $as_echo "yes" >&6; }
fi
fi
fi
fi
# Disable libsanitizer on unsupported systems.
if
test
-d
${
srcdir
}
/libsanitizer
;
then
if
test
x
$enable_libsanitizer
=
x
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for libsanitizer support"
>
&5
$as_echo_n
"checking for libsanitizer support... "
>
&6
;
}
if
(
srcdir
=
${
srcdir
}
/libsanitizer
;
\
.
${
srcdir
}
/configure.tgt
;
\
test
-n
"
$UNSUPPORTED
"
)
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
noconfigdirs
=
"
$noconfigdirs
target-libsanitizer"
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
fi
fi
fi
# Disable libquadmath for some systems.
# Disable libquadmath for some systems.
case
"
${
target
}
"
in
case
"
${
target
}
"
in
avr-
*
-
*
)
avr-
*
-
*
)
...
@@ -3208,15 +3227,6 @@ case "${target}" in
...
@@ -3208,15 +3227,6 @@ case "${target}" in
;;
;;
esac
esac
# Disable libsanitizer on all systems but x86 linux for now.
case
"
${
target
}
"
in
x86_64-
*
-linux-
*
|
i?86-
*
-linux-
*
)
;;
*
)
noconfigdirs
=
"
$noconfigdirs
target-libsanitizer"
;;
esac
# Disable libssp for some systems.
# Disable libssp for some systems.
case
"
${
target
}
"
in
case
"
${
target
}
"
in
avr-
*
-
*
)
avr-
*
-
*
)
...
...
configure.ac
View file @
93bf5390
...
@@ -538,6 +538,22 @@ if test -d ${srcdir}/libitm; then
...
@@ -538,6 +538,22 @@ if test -d ${srcdir}/libitm; then
fi
fi
fi
fi
# Disable libsanitizer on unsupported systems.
if test -d ${srcdir}/libsanitizer; then
if test x$enable_libsanitizer = x; then
AC_MSG_CHECKING([for libsanitizer support])
if (srcdir=${srcdir}/libsanitizer; \
. ${srcdir}/configure.tgt; \
test -n "$UNSUPPORTED")
then
AC_MSG_RESULT([no])
noconfigdirs="$noconfigdirs target-libsanitizer"
else
AC_MSG_RESULT([yes])
fi
fi
fi
# Disable libquadmath for some systems.
# Disable libquadmath for some systems.
case "${target}" in
case "${target}" in
avr-*-*)
avr-*-*)
...
@@ -550,15 +566,6 @@ case "${target}" in
...
@@ -550,15 +566,6 @@ case "${target}" in
;;
;;
esac
esac
# Disable libsanitizer on all systems but x86 linux for now.
case "${target}" in
x86_64-*-linux-* | i?86-*-linux-*)
;;
*)
noconfigdirs="$noconfigdirs target-libsanitizer"
;;
esac
# Disable libssp for some systems.
# Disable libssp for some systems.
case "${target}" in
case "${target}" in
avr-*-*)
avr-*-*)
...
...
libsanitizer/ChangeLog.asan
View file @
93bf5390
2012-11-13 Richard Henderson <rth@redhat.com>
* configure.tgt: New file.
2012-11-12 David S. Miller <davem@davemloft.net>
2012-11-12 David S. Miller <davem@davemloft.net>
* asan/asan_linux.cc (GetPcSpBp): Add sparc support.
* asan/asan_linux.cc (GetPcSpBp): Add sparc support.
...
...
libsanitizer/configure.tgt
0 → 100644
View file @
93bf5390
# -*- shell-script -*-
# Copyright (C) 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not see <http://www.gnu.org/licenses/>.
# This is the target specific configuration file. This is invoked by the
# autoconf generated configure script. Putting it in a separate shell file
# lets us skip running autoconf when modifying target specific information.
# Filter out unsupported systems.
case "${target}" in
x86_64-*-linux* | i?86-*-linux*)
;;
*)
UNSUPPORTED=1
;;
esac
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment