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
5d7a9c0a
Commit
5d7a9c0a
authored
24 years ago
by
Nick Clifton
Committed by
Nick Clifton
24 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove definition of __arm__ from CPP_PREDEFINES
From-SVN: r35270
parent
421173e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
27 deletions
+29
-27
gcc/ChangeLog
+3
-0
gcc/config/arm/vxarm.h
+26
-27
No files found.
gcc/ChangeLog
View file @
5d7a9c0a
2000-07-26 Nick Clifton <nickc@cygnus.com>
* config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
__arm__. Allow it to be defined by CPP_ISA_SPEC in arm.h
* dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
...
...
This diff is collapsed.
Click to expand it.
gcc/config/arm/vxarm.h
View file @
5d7a9c0a
/* Definitions of target machine for GNU compiler,
for ARM with targetting the VXWorks run time environment.
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999
, 2000
Free Software Foundation, Inc.
Contributed by: Mike Stump <mrs@wrs.com>
...
...
@@ -26,47 +26,46 @@ Boston, MA 02111-1307, USA. */
#include "arm/coff.h"
#undef SUBTARGET_CPP_SPEC
#define SUBTARGET_CPP_SPEC
\
"%{march=arm710:-DCPU=ARM710A}
\
%{march=arm7tdmi:-DCPU=ARM7TDMI}
\
%{march=arm810:-DCPU=ARM810}
\
%{march=strongarm110:-DCPU=ARMSA110}
\
%{!march=*:
\
%{mcpu=arm710:-DCPU=ARM710A}
\
%{mcpu=arm7tdmi:-DCPU=ARM7TDMI}
\
%{mcpu=arm810:-DCPU=ARM810}
\
%{mcpu=strongarm110:-DCPU=ARMSA110}}
\
%{!mcpu*:%{!march=*:-DCPU=ARM710A}}
\
#define SUBTARGET_CPP_SPEC
\
"%{march=arm710:-DCPU=ARM710A}
\
%{march=arm7tdmi:-DCPU=ARM7TDMI}
\
%{march=arm810:-DCPU=ARM810}
\
%{march=strongarm110:-DCPU=ARMSA110}
\
%{!march=*:
\
%{mcpu=arm710:-DCPU=ARM710A}
\
%{mcpu=arm7tdmi:-DCPU=ARM7TDMI}
\
%{mcpu=arm810:-DCPU=ARM810}
\
%{mcpu=strongarm110:-DCPU=ARMSA110}}
\
%{!mcpu*:%{!march=*:-DCPU=ARM710A}}
\
"
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__vxworks -
D__arm__ -
Acpu(arm) -Amachine(arm)"
#define CPP_PREDEFINES "-D__vxworks -Acpu(arm) -Amachine(arm)"
/* VxWorks does all the library stuff itself. */
#undef LIB_SPEC
#define LIB_SPEC ""
#define LIB_SPEC
""
/* VxWorks uses object files, not loadable images. make linker just
combine objects. */
#undef LINK_SPEC
#define LINK_SPEC "-r"
#define LINK_SPEC
"-r"
/* VxWorks provides the functionality of crt0.o and friends itself. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC ""
#define STARTFILE_SPEC
""
#undef ENDFILE_SPEC
#define ENDFILE_SPEC ""
#define ENDFILE_SPEC
""
#undef TARGET_VERSION
#define TARGET_VERSION
fputs (" (ARM/VxWorks)", stderr);
#define TARGET_VERSION
fputs (" (ARM/VxWorks)", stderr);
#undef ASM_FILE_START
#define ASM_FILE_START(STREAM) \
do \
{ \
fprintf (STREAM, "%s Generated by gcc %s for ARM/VxWorks\n", \
ASM_COMMENT_START, version_string); \
} while (0)
#define ASM_FILE_START(STREAM) \
do \
{ \
fprintf (STREAM, "%s Generated by gcc %s for ARM/VxWorks\n", \
ASM_COMMENT_START, version_string); \
} \
while (0)
This diff is collapsed.
Click to expand it.
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