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
ffbc65c3
Commit
ffbc65c3
authored
Jun 07, 2003
by
Alan Modra
Committed by
Alan Modra
Jun 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
From-SVN: r67578
parent
8a5db2b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
gcc/ChangeLog
+4
-0
gcc/config/rs6000/linux64.h
+12
-0
No files found.
gcc/ChangeLog
View file @
ffbc65c3
2003-06-07 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
2003-06-06 James E Wilson <wilson@tuliptree.org>
PR inline-asm/10890
...
...
gcc/config/rs6000/linux64.h
View file @
ffbc65c3
...
...
@@ -363,6 +363,18 @@
#undef RS6000_MCOUNT
#define RS6000_MCOUNT "_mcount"
#ifdef __powerpc64__
/* _init and _fini functions are built from bits spread across many
object files, each potentially with a different TOC pointer. For
that reason, place a nop after the call so that the linker can
restore the TOC pointer if a TOC adjusting call stub is needed. */
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
asm (SECTION_OP "\n" \
" bl ." #FUNC "\n" \
" nop\n" \
" .previous");
#endif
/* FP save and restore routines. */
#undef SAVE_FP_PREFIX
#define SAVE_FP_PREFIX (TARGET_64BIT ? "._savef" : "_savefpr_")
...
...
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