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
54190234
Commit
54190234
authored
Sep 10, 1994
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(HAS_INIT_SECTION): Define.
(LINK_SPEC): Add '-init __main'. From-SVN: r8066
parent
fe1e3bf4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
gcc/config/alpha/alpha.h
+5
-1
No files found.
gcc/config/alpha/alpha.h
View file @
54190234
...
@@ -51,7 +51,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -51,7 +51,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are optimizing,
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are optimizing,
-O1 if we are not. Pass -non_shared or -call_shared as appropriate. */
-O1 if we are not. Pass -non_shared or -call_shared as appropriate. */
#define LINK_SPEC \
#define LINK_SPEC \
"-G 8 %{O*:-O3} %{!O*:-O1} %{static:-non_shared} %{!static:-call_shared}"
"-G 8 %{O*:-O3} %{!O*:-O1} %{static:-non_shared} %{!static:-call_shared} \
-init __main"
#define STARTFILE_SPEC \
#define STARTFILE_SPEC \
"%{pg:mcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
"%{pg:mcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
...
@@ -2016,3 +2017,6 @@ do { \
...
@@ -2016,3 +2017,6 @@ do { \
/* The system headers under OSF/1 are C++-aware. */
/* The system headers under OSF/1 are C++-aware. */
#define NO_IMPLICIT_EXTERN_C
#define NO_IMPLICIT_EXTERN_C
/* The linker will stick __main into the .init section. */
#define HAS_INIT_SECTION
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