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
8a18e16f
Commit
8a18e16f
authored
Apr 16, 1993
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't put relocatable items into .rdata.
Allow iris to have it's version of the trampoline code. From-SVN: r4161
parent
3ca25f3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
gcc/config/mips/mips.h
+13
-2
No files found.
gcc/config/mips/mips.h
View file @
8a18e16f
...
...
@@ -645,7 +645,7 @@ while (0)
/* Print subsidiary information on the compiler version in use. */
#define MIPS_VERSION "[AL 1.1, MM 3
8
]"
#define MIPS_VERSION "[AL 1.1, MM 3
9
]"
#ifndef MACHINE_TYPE
#define MACHINE_TYPE "BSD Mips"
...
...
@@ -1968,6 +1968,7 @@ typedef struct mips_args {
RTX for the static chain value that should be passed to the
function when it is called. */
#ifndef INITIALIZE_TRAMPOLINE
#define INITIALIZE_TRAMPOLINE(ADDR, FUNC, CHAIN) \
{ \
rtx addr = ADDR; \
...
...
@@ -1978,10 +1979,12 @@ typedef struct mips_args {
emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "__enable_execute_stack"), \
0, VOIDmode, 1, addr, Pmode); \
}
#endif
/* INITIALIZE_TRAMPOLINE */
/* Attempt to turn on access permissions for the stack. */
#ifndef TRANSFER_FROM_TRAMPOLINE
#define TRANSFER_FROM_TRAMPOLINE \
\
void \
...
...
@@ -2002,6 +2005,7 @@ __enable_execute_stack (addr) \
perror ("cacheflush of trampoline code"); \
*/
\
}
#endif
/* TRANSFER_FROM_TRAMPOLINE */
/* Addressing modes, and classification of registers for them. */
...
...
@@ -3431,11 +3435,15 @@ rdata_section () \
rdata_section (); \
} \
#define SELECT_SECTION(DECL,RELOC) \
#define SELECT_SECTION(DECL,
RELOC) \
{ \
if (int_size_in_bytes (TREE_TYPE (DECL)) <= mips_section_threshold \
&& mips_section_threshold > 0) \
sdata_section (); \
\
else if (RELOC) \
data_section (); \
\
else if (TREE_CODE (DECL) == STRING_CST) \
{ \
if (flag_writable_strings) \
...
...
@@ -3443,10 +3451,13 @@ rdata_section () \
else \
rdata_section (); \
} \
\
else if (TREE_CODE (DECL) != VAR_DECL) \
rdata_section (); \
\
else if (!TREE_READONLY (DECL)) \
data_section (); \
\
else \
rdata_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