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
e80142a0
Commit
e80142a0
authored
Jun 28, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(FUNCTION_PROFILER): _mcount has non-standard linkage.
From-SVN: r12365
parent
89b7c471
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
gcc/config/alpha/linux.h
+4
-8
No files found.
gcc/config/alpha/linux.h
View file @
e80142a0
...
@@ -57,11 +57,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -57,11 +57,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef FUNCTION_PROFILER
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
#define FUNCTION_PROFILER(FILE, LABELNO) \
do { \
fputs ("\tjsr $28,_mcount\n", (FILE))
fputs ("\tlda $27,_mcount\n", (FILE)); \
fputs ("\tjsr $26,($27),_mcount\n", (FILE)); \
fputs ("\tldgp $29,0($26)\n", (FILE)); \
} while (0);
/* Generate calls to memcpy, etc., not bcopy, etc. */
/* Generate calls to memcpy, etc., not bcopy, etc. */
#define TARGET_MEM_FUNCTIONS
#define TARGET_MEM_FUNCTIONS
...
@@ -77,9 +73,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -77,9 +73,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
This differs from the standard version in that:
This differs from the standard version in that:
We do not initialize the "hint" field because it
is not the case
We do not initialize the "hint" field because it
only has an 8k
that the target is in range of something on the stack. We save
range and so the target is in range of something on the stack.
a bogus branch-prediction cache line load by not setting "hint"
.
Omitting the hint saves a bogus branch-prediction cache line load
.
Linux always has an executable stack -- no need for a system call.
Linux always has an executable stack -- no need for a system call.
*/
*/
...
...
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