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
e2bf4cfc
Commit
e2bf4cfc
authored
Jul 21, 1993
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not turn on -mhalf-pic if ELF.
From-SVN: r4946
parent
fe2db4fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
19 deletions
+29
-19
gcc/config/i386/osfelf.h
+7
-8
gcc/config/i386/osfrose.h
+22
-11
No files found.
gcc/config/i386/osfelf.h
View file @
e2bf4cfc
...
...
@@ -39,14 +39,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define CC1_SPEC "\
%{!melf: %{!mrose: %{!mno-elf: -melf }}} \
%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
%{pic-none: -mno-half-pic} \
%{fpic: -mno-half-pic} \
%{fPIC: -mno-half-pic} \
%{pic-lib: -mhalf-pic} \
%{pic-extern: -mhalf-pic} \
%{pic-calls: -mhalf-pic} \
%{pic-names*: -mhalf-pic} \
%{!pic-*: %{!fpic: %{!fPIC: -mhalf-pic}}}"
%{pic-none: -mno-half-pic} \
%{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \
%{!pic-none: \
%{!mno-elf: %{!mrose: -mno-half-pic}} \
%{fpic: -mno-half-pic} \
%{fPIC: -mno-half-pic} \
%{!fpic: %{!fPIC: %{mrose: -mhalf-pic} %{mno-elf: -mhalf-pic}}}}"
#undef ASM_SPEC
#define ASM_SPEC "%{v*: -v}"
...
...
gcc/config/i386/osfrose.h
View file @
e2bf4cfc
...
...
@@ -82,19 +82,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{.m: -D__LANGUAGE_OBJECTIVE_C} \
%{!.S: -D__LANGUAGE_C %{!ansi:-DLANGUAGE_C}}"
/* Turn on -
m
pic-extern by default. */
/* Turn on -pic-extern by default. */
#undef CC1_SPEC
#define CC1_SPEC "\
%{!melf: %{!mrose: %{!mno-elf: -mrose }}} \
%{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
%{pic-none: -mno-half-pic} \
%{fpic: -mno-half-pic} \
%{fPIC: -mno-half-pic} \
%{pic-lib: -mhalf-pic} \
%{pic-extern: -mhalf-pic} \
%{pic-calls: -mhalf-pic} \
%{pic-names*: -mhalf-pic} \
%{!pic-*: %{!fpic: %{!fPIC: -mhalf-pic}}}"
%{pic-none: -mno-half-pic} \
%{pic-extern: } %{pic-lib: } %{pic-calls: } %{pic-names*: } \
%{!pic-none: \
%{melf: -mno-half-pic} \
%{mno-rose: %{!melf: -mno-half-pic}} \
%{!melf: %{!mno-rose: %{!fPIC: %{!fpic: -mhalf-pic}}}}}"
#undef ASM_SPEC
#define ASM_SPEC "%{v*: -v}"
...
...
@@ -451,8 +449,21 @@ do \
\
if (TARGET_IDENT) \
{ \
fprintf ((STREAM), "\t%s\t\"GCC: (GNU) %s -O%d", \
IDENT_ASM_OP, version_string, optimize); \
char *fstart = main_input_filename; \
char *fname; \
\
if (!fstart) \
fstart = "<no file>"; \
\
fname = fstart + strlen (fstart) - 1; \
while (fname > fstart && *fname != '/') \
fname--; \
\
if (*fname == '/') \
fname++; \
\
fprintf ((STREAM), "\t%s\t\"GCC: (GNU) %s %s -O%d", \
IDENT_ASM_OP, version_string, fname, optimize); \
\
if (write_symbols == PREFERRED_DEBUGGING_TYPE) \
fprintf ((STREAM), " -g%d", (int)debug_info_level); \
...
...
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