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
81d41e74
Commit
81d41e74
authored
Aug 06, 2002
by
Neil Booth
Committed by
Neil Booth
Aug 06, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* function.c (TRAMPOLINE_ALIGNMENT): Always defined.
From-SVN: r56078
parent
58551c23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
gcc/ChangeLog
+4
-0
gcc/function.c
+1
-6
No files found.
gcc/ChangeLog
View file @
81d41e74
2002-08-06 Neil Booth <neil@daikokuya.co.uk>
* function.c (TRAMPOLINE_ALIGNMENT): Always defined.
2002-08-06 Neil Booth <neil@daikokuya.co.uk>
* cppinit.c (struct lang_flags): Rename trigraphs std.
(set_lang): Update.
* cpplib.h (struct cpp_options): New member std.
...
...
gcc/function.c
View file @
81d41e74
...
...
@@ -5697,12 +5697,8 @@ trampoline_address (function)
#else
/* If rounding needed, allocate extra space
to ensure we have TRAMPOLINE_SIZE bytes left after rounding up. */
#ifdef TRAMPOLINE_ALIGNMENT
#define TRAMPOLINE_REAL_SIZE \
(TRAMPOLINE_SIZE + (TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT) - 1)
#else
#define TRAMPOLINE_REAL_SIZE (TRAMPOLINE_SIZE)
#endif
tramp
=
assign_stack_local_1
(
BLKmode
,
TRAMPOLINE_REAL_SIZE
,
0
,
fp
?
fp
:
cfun
);
#endif
...
...
@@ -5737,7 +5733,6 @@ static rtx
round_trampoline_addr
(
tramp
)
rtx
tramp
;
{
#ifdef TRAMPOLINE_ALIGNMENT
/* Round address up to desired boundary. */
rtx
temp
=
gen_reg_rtx
(
Pmode
);
rtx
addend
=
GEN_INT
(
TRAMPOLINE_ALIGNMENT
/
BITS_PER_UNIT
-
1
);
...
...
@@ -5747,7 +5742,7 @@ round_trampoline_addr (tramp)
temp
,
0
,
OPTAB_LIB_WIDEN
);
tramp
=
expand_simple_binop
(
Pmode
,
AND
,
temp
,
mask
,
temp
,
0
,
OPTAB_LIB_WIDEN
);
#endif
return
tramp
;
}
...
...
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