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
e3029773
Commit
e3029773
authored
Sep 25, 2003
by
Nathanael Nerode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config.gcc (widely ported systems section): Reindent and clean up.
From-SVN: r71756
parent
b597bfd8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
24 deletions
+30
-24
gcc/ChangeLog
+2
-0
gcc/config.gcc
+28
-24
No files found.
gcc/ChangeLog
View file @
e3029773
2003-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* config.gcc (widely ported systems section): Reindent and clean up.
* config.gcc: Remove some unnecessary uses of 'x' in case statements.
Actually allow ep9312 as an arm --with-arch setting.
...
...
gcc/config.gcc
View file @
e3029773
...
...
@@ -327,18 +327,15 @@ esac
# Common parts for widely ported systems.
case ${target} in
*-*-linux*)
case ${target} in
*-*-linux*libc1* | *-*-linux*aout*)
*-*-linux*libc1* | *-*-linux*aout*)
# Avoid the generic linux case.
;;
*)
*-*-linux
*)
extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
gas=yes gnu_ld=yes
case x${enable_threads} in
x | xyes | xposix) thread_file='posix'
;;
esac
;;
gas=yes
gnu_ld=yes
case ${enable_threads} in
"" | yes | posix) thread_file='posix' ;;
esac
;;
*-*-gnu*)
...
...
@@ -348,8 +345,8 @@ case ${target} in
tm_file="${cpu_type}/gnu.h"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
# GNU tools are the only tools.
gnu_ld=yes
gas=yes
gnu_ld=yes
# These details are the same as for Linux.
# But here we need a little extra magic.
tmake_file="t-slibgcc-elf-ver t-linux t-gnu"
...
...
@@ -364,10 +361,12 @@ case ${target} in
;;
*-*-openbsd*)
tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
if test x$enable_threads = xyes; then
case ${enable_threads} in
yes)
thread_file='posix'
tmake_file="${tmake_file} t-openbsd-thread"
fi
;;
esac
;;
*-*-netbsd*)
tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"
...
...
@@ -376,8 +375,8 @@ case ${target} in
# NetBSD 2.0 and later get POSIX threads enabled by default.
# Allow them to be explicitly enabled on any other version.
case x
${enable_threads} in
x
)
case
${enable_threads} in
""
)
case ${target} in
*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
thread_file='posix'
...
...
@@ -385,7 +384,7 @@ case ${target} in
;;
esac
;;
xyes | x
posix)
yes |
posix)
thread_file='posix'
tm_defines="${tm_defines} NETBSD_ENABLE_PTHREADS"
;;
...
...
@@ -444,19 +443,25 @@ case ${target} in
*) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
esac
tmake_file="t-slibgcc-elf-ver t-freebsd"
case x${enable_threads} in
xno) fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h";;
x | xyes | xpthreads | xposix)
case ${enable_threads} in
no)
fbsd_tm_file="${fbsd_tm_file} freebsd-nthr.h"
;;
"" | yes | pthreads | posix)
thread_file='posix'
tmake_file="${tmake_file} t-freebsd-thread"
# Before 5.0, FreeBSD can't bind shared libraries to -lc
# when "optionally" threaded via weak pthread_* checks.
case ${target} in
*-*-freebsd[34] | *-*-freebsd[34].*)
tmake_file="${tmake_file} t-slibgcc-nolc-override";;
tmake_file="${tmake_file} t-slibgcc-nolc-override"
;;
esac
;;
*) echo 'Unknown thread configuration for FreeBSD'; exit 1;;
*)
echo 'Unknown thread configuration for FreeBSD'
exit 1
;;
esac
fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
;;
...
...
@@ -469,9 +474,8 @@ case ${target} in
cxx_target_objs="darwin-c.o"
extra_parts="crt2.o"
extra_objs="darwin.o"
case x${enable_threads} in
x | xyes | xposix) thread_file='posix'
;;
case ${enable_threads} in
"" | yes | posix) thread_file='posix' ;;
esac
;;
*-*-vxworks*)
...
...
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