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
675f0e7c
Commit
675f0e7c
authored
Oct 03, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comments and formatting related to RETURN_ADDR_RTX.
From-SVN: r10429
parent
15448afc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
gcc/config/alpha/alpha.h
+13
-5
No files found.
gcc/config/alpha/alpha.h
View file @
675f0e7c
...
...
@@ -1088,13 +1088,21 @@ __enable_execute_stack (addr) \
if (mprotect (page, end - page, 7) < 0) \
perror ("mprotect of trampoline code"); \
}
#define RETURN_ADDR_RTX(count, frame) \
((count == 0 && alpha_sa_size () == 0 && 0
/* not right. */
) \
/* A C expression whose value is RTL representing the value of the return
address for the frame COUNT steps up from the current frame.
FRAMEADDR is the frame pointer of the COUNT frame, or the frame pointer of
the COUNT-1 frame if RETURN_ADDR_IN_PREVIOUS_FRAME} is defined.
This definition for Alpha is broken, but is put in at the request of
Mike Stump. */
#define RETURN_ADDR_RTX(COUNT, FRAME) \
((COUNT == 0 && alpha_sa_size () == 0 && 0
/* not right. */
) \
? gen_rtx (REG, Pmode, 26) \
: gen_rtx (MEM, Pmode, \
memory_address (Pmode, frame
)))
/* Addressing modes, and classification of registers for them. */
memory_address (Pmode, FRAME
)))
/* Addressing modes, and classification of registers for them. */
/* #define HAVE_POST_INCREMENT */
...
...
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