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
b877b5ab
Commit
b877b5ab
authored
May 31, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ASM_SPEC): Don't pass -k when -pg or -p given.
(OVERRIDE_OPTIONS): Warn when disabling -fpic. From-SVN: r7405
parent
6ba29526
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
gcc/config/sparc/sparc.h
+15
-6
No files found.
gcc/config/sparc/sparc.h
View file @
b877b5ab
...
@@ -30,7 +30,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -30,7 +30,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Special flags to the Sun-4 assembler when using pipe for input. */
/* Special flags to the Sun-4 assembler when using pipe for input. */
#define ASM_SPEC " %| %{
fpic:-k} %{fPIC:-k
}"
#define ASM_SPEC " %| %{
!pg:%{!p:%{fpic:-k} %{fPIC:-k}}
}"
/* Define macros to distinguish architectures. */
/* Define macros to distinguish architectures. */
#define CPP_SPEC "%{msparclite:-D__sparclite__} %{mf930:-D__sparclite__} \
#define CPP_SPEC "%{msparclite:-D__sparclite__} %{mf930:-D__sparclite__} \
...
@@ -56,11 +56,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -56,11 +56,20 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
the frame pointer (because the return address will get smashed). */
the frame pointer (because the return address will get smashed). */
#define OVERRIDE_OPTIONS \
#define OVERRIDE_OPTIONS \
{ \
{ \
if (profile_flag || profile_block_flag) \
if (profile_flag || profile_block_flag) \
flag_omit_frame_pointer = 0, flag_pic = 0; \
{ \
SUBTARGET_OVERRIDE_OPTIONS \
if (flag_pic) \
}
{ \
char *pic_string = (flag_pic == 1) ? "-fpic" : "-fPIC"; \
warning ("%s and profiling conflict: disabling %s", pic_string,\
pic_string); \
flag_pic = 0; \
} \
flag_omit_frame_pointer = 0; \
} \
SUBTARGET_OVERRIDE_OPTIONS \
}
/* This is meant to be redefined in the host dependent files */
/* This is meant to be redefined in the host dependent files */
#define SUBTARGET_OVERRIDE_OPTIONS
#define SUBTARGET_OVERRIDE_OPTIONS
...
...
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