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
a7bda3d5
Commit
a7bda3d5
authored
21 years ago
by
Bob Wilson
Committed by
Bob Wilson
21 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
From-SVN: r69165
parent
a1188b98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
gcc/ChangeLog
+4
-0
gcc/config/xtensa/xtensa.h
+10
-0
No files found.
gcc/ChangeLog
View file @
a7bda3d5
2003-07-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.h (CRT_CALL_STATIC_FUNCTION): Define.
2003-07-09 Aldy Hernandez <aldyh@redhat.com>
PR/11144
...
...
This diff is collapsed.
Click to expand it.
gcc/config/xtensa/xtensa.h
View file @
a7bda3d5
...
...
@@ -1482,3 +1482,13 @@ typedef struct xtensa_args {
/* Exception handling TODO!! */
#define DWARF_UNWIND_INFO 0
/* Xtensa constant pool breaks the devices in crtstuff.c to control
section in where code resides. We have to write it as asm code. Use
a MOVI and let the assembler relax it -- for the .init and .fini
sections, the assembler knows to put the literal in the right
place. */
#define CRT_CALL_STATIC_FUNCTION(SECTION_OP, FUNC) \
asm (SECTION_OP "\n\
movi\ta8, " USER_LABEL_PREFIX #FUNC "\n\
callx8\ta8\n" \
TEXT_SECTION_ASM_OP);
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