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
0122a613
Commit
0122a613
authored
Apr 09, 1999
by
Nick Clifton
Committed by
Nick Clifton
Apr 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent warning about redefinition of SUBTARGET_CPU_DEFAULT
From-SVN: r26314
parent
b17e2870
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
gcc/ChangeLog
+5
-0
gcc/config/arm/unknown-elf.h
+8
-1
No files found.
gcc/ChangeLog
View file @
0122a613
Fri
Apr
9
13
:
04
:
52
1999
Nick
Clifton
<
nickc
@cygnus
.
com
>
*
config
/
arm
/
unknown
-
elf
.
h
(
SUBTARGET_CPU_DEFAULT
)
:
Only
define
if
not
already
specified
.
Fri
Apr
9
11
:
18
:
55
1999
Jason
Merrill
<
jason
@yorick
.
cygnus
.
com
>
*
c
-
common
.
c
(
decl_attributes
,
A_INIT_PRIORITY
)
:
Allow
arrays
...
...
gcc/config/arm/unknown-elf.h
View file @
0122a613
...
...
@@ -33,7 +33,9 @@ Boston, MA 02111-1307, USA. */
#define HAVE_ATEXIT
/* Default to using APCS-32 and software floating point. */
#ifndef TARGET_DEFAULT
#define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32)
#endif
/* Now we define the strings used to build the spec file. */
#define STARTFILE_SPEC "crtbegin%O%s crt0%O%s"
...
...
@@ -157,8 +159,13 @@ do { \
DECL_SECTION_NAME (DECL) = build_string (len, string); \
} while (0)
#ifndef CPP_APCS_PC_DEFAULT_SPEC
#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
#endif
#ifndef SUBTARGET_CPU_DEFAULT
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm7tdmi
#endif
/* Now get the routine arm-elf definitions. */
#include "arm/elf.h"
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