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
be3a1d46
Commit
be3a1d46
authored
Jun 02, 2002
by
Neil Booth
Committed by
Neil Booth
Jun 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/dsp16xx/dsp16xx.h: Update to new CPP macros.
From-SVN: r54181
parent
ceeedfc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
6 deletions
+25
-6
gcc/ChangeLog
+4
-0
gcc/config/dsp16xx/dsp16xx.h
+21
-6
No files found.
gcc/ChangeLog
View file @
be3a1d46
2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
* config/dsp16xx/dsp16xx.h: Update to new CPP macros.
2002-06-02 Neil Booth <neil@daikokuya.demon.co.uk>
* c-common.c (c_common_init): Override cpplib's default
* c-common.c (c_common_init): Override cpplib's default
warn_long_long setting.
warn_long_long setting.
* c-lex.c (lex_number): Replace with interpret_integer,
* c-lex.c (lex_number): Replace with interpret_integer,
...
...
gcc/config/dsp16xx/dsp16xx.h
View file @
be3a1d46
...
@@ -71,13 +71,9 @@ extern struct rtx_def *dsp16xx_lshrhi3_libcall;
...
@@ -71,13 +71,9 @@ extern struct rtx_def *dsp16xx_lshrhi3_libcall;
(!strcmp (STR, "ifile") ? 1 : \
(!strcmp (STR, "ifile") ? 1 : \
0)
0)
#ifdef CC1_SPEC
#undef CC1_SPEC
#undef CC1_SPEC
#endif
#define CC1_SPEC "%{!O*:-O}"
#define CC1_SPEC "%{!O*:-O}"
#define CPP_SPEC "%{!O*:-D__OPTIMIZE__}"
/* Define this as a spec to call the AT&T assembler */
/* Define this as a spec to call the AT&T assembler */
#define CROSS_ASM_SPEC "%{!S:as1600 %a %i\n }"
#define CROSS_ASM_SPEC "%{!S:as1600 %a %i\n }"
...
@@ -138,10 +134,29 @@ extern struct rtx_def *dsp16xx_lshrhi3_libcall;
...
@@ -138,10 +134,29 @@ extern struct rtx_def *dsp16xx_lshrhi3_libcall;
}
}
/* Names to predefine in the preprocessor for this target machine. */
/* Names to predefine in the preprocessor for this target machine. */
#define TARGET_CPU_CPP_BUILTINS() \
do \
{ \
builtin_define_std ("dsp1600"); \
builtin_define_std ("DSP1600"); \
} \
while (0)
#ifdef __MSDOS__
#ifdef __MSDOS__
#define CPP_PREDEFINES "-Ddsp1600 -DDSP1600 -DMSDOS"
# define TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_define_std ("MSDOS"); \
} \
while (0)
#else
#else
#define CPP_PREDEFINES "-Ddsp1600 -DDSP1600 -Ddsp1610 -DDSP1610"
# define TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_define_std ("dsp1610"); \
builtin_define_std ("DSP1610"); \
} \
while (0)
#endif
#endif
/* Run-time compilation parameters selecting different hardware subsets. */
/* Run-time compilation parameters selecting different hardware subsets. */
...
...
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