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
966f8bfd
Commit
966f8bfd
authored
Jan 04, 2000
by
Joel Sherrill
Committed by
Nick Clifton
Jan 04, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied Joel Sherrill's patch to add v850-rtems target
From-SVN: r31216
parent
f22a97d2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
0 deletions
+66
-0
gcc/ChangeLog
+6
-0
gcc/config/v850/rtems.h
+38
-0
gcc/configure
+11
-0
gcc/configure.in
+11
-0
No files found.
gcc/ChangeLog
View file @
966f8bfd
2000
-
01
-
04
Joel
Sherrill
<
joel
@OARcorp
.
com
>
*
configure
.
in
(
v850
*-*-
rtems
*
)
:
New
target
.
*
configure
:
Regenerate
.
*
config
/
v850
/
rtems
.
h
:
New
file
.
2000
-
01
-
04
Mumit
Khan
<
khan
@xraylith
.
wisc
.
edu
>
2000
-
01
-
04
Mumit
Khan
<
khan
@xraylith
.
wisc
.
edu
>
*
gthr
-
win32
.
h
(
__gthread_active_p
)
:
Support
Mingw
MT
runtime
.
*
gthr
-
win32
.
h
(
__gthread_active_p
)
:
Support
Mingw
MT
runtime
.
...
...
gcc/config/v850/rtems.h
0 → 100644
View file @
966f8bfd
/* Definitions for rtems targeting a v850 using elf
Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
Contributed by Joel Sherrill (joel@OARcorp.com).
This file is part of GNU CC.
GNU CC 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, or (at your option)
any later version.
GNU CC 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 GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include "v850/v850.h"
/* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__v851__ -D__v850 -Drtems \
-Asystem(rtems) -Acpu(v850) -Amachine(v850)"
/* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS
#define TARGET_MEM_FUNCTIONS
#endif
/* Get machine-independent configuration parameters for RTEMS. */
#include <rtems.h>
/* end of v850/rtems.h */
gcc/configure
View file @
966f8bfd
...
@@ -6159,6 +6159,17 @@ for machine in $build $host $target; do
...
@@ -6159,6 +6159,17 @@ for machine in $build $host $target; do
# cpu_type=gmicro
# cpu_type=gmicro
# use_collect2=yes
# use_collect2=yes
# ;;
# ;;
v850-
*
-rtems
*
)
cpu_type
=
v850
tm_file
=
"v850/rtems.h"
xm_file
=
"v850/xm-v850.h"
tmake_file
=
"v850/t-v850 t-rtems"
if
test
x
$stabs
=
xyes
then
tm_file
=
"
${
tm_file
}
dbx.h"
fi
use_collect2
=
no
;;
v850-
*
-
*
)
v850-
*
-
*
)
target_cpu_default
=
"TARGET_CPU_generic"
target_cpu_default
=
"TARGET_CPU_generic"
cpu_type
=
v850
cpu_type
=
v850
...
...
gcc/configure.in
View file @
966f8bfd
...
@@ -3497,6 +3497,17 @@ changequote([,])dnl
...
@@ -3497,6 +3497,17 @@ changequote([,])dnl
# cpu_type=gmicro
# cpu_type=gmicro
# use_collect2=yes
# use_collect2=yes
# ;;
# ;;
v850-*-rtems*)
cpu_type=v850
tm_file="v850/rtems.h"
xm_file="v850/xm-v850.h"
tmake_file="v850/t-v850 t-rtems"
if test x$stabs = xyes
then
tm_file="${tm_file} dbx.h"
fi
use_collect2=no
;;
v850-*-*)
v850-*-*)
target_cpu_default="TARGET_CPU_generic"
target_cpu_default="TARGET_CPU_generic"
cpu_type=v850
cpu_type=v850
...
...
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