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
97adc6ed
Commit
97adc6ed
authored
Dec 13, 1996
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check CONSTANT_POOL_BEFORE_FUNCTION to control placement of constant
pool From-SVN: r13304
parent
2922fe9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
gcc/varasm.c
+13
-0
No files found.
gcc/varasm.c
View file @
97adc6ed
...
...
@@ -899,6 +899,16 @@ assemble_gc_entry (name)
#endif
}
/* CONSTANT_POOL_BEFORE_FUNCTION may be defined as an expression with
a non-zero value if the constant pool should be output before the
start of the function, or a zero value if the pool should output
after the end of the function. The default is to put it before the
start. */
#ifndef CONSTANT_POOL_BEFORE_FUNCTION
#define CONSTANT_POOL_BEFORE_FUNCTION 1
#endif
/* Output assembler code for the constant pool of a function and associated
with defining the name of the function. DECL describes the function.
NAME is the function's name. For the constant pool, we use the current
...
...
@@ -915,6 +925,7 @@ assemble_start_function (decl, fnname)
app_disable
();
if
(
CONSTANT_POOL_BEFORE_FUNCTION
)
output_constant_pool
(
fnname
,
decl
);
#ifdef ASM_OUTPUT_SECTION_NAME
...
...
@@ -1012,6 +1023,8 @@ assemble_end_function (decl, fnname)
#ifdef ASM_DECLARE_FUNCTION_SIZE
ASM_DECLARE_FUNCTION_SIZE
(
asm_out_file
,
fnname
,
decl
);
#endif
if
(
!
CONSTANT_POOL_BEFORE_FUNCTION
)
output_constant_pool
(
fnname
,
decl
);
}
/* Assemble code to leave SIZE bytes of zeros. */
...
...
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