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
59313e4e
Commit
59313e4e
authored
30 years ago
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -mno-traceback option; eliminate nop after call on V.4/eabi
From-SVN: r9176
parent
d7757a12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
16 deletions
+26
-16
gcc/config/rs6000/rs6000.md
+18
-14
gcc/config/rs6000/sysv4.h
+8
-2
No files found.
gcc/config/rs6000/rs6000.md
View file @
59313e4e
...
...
@@ -4909,16 +4909,18 @@
""
"
*
{
if (GET_CODE (operands
[
0
]
) == REG)
{
#ifndef USING_SVR4_H
return
\"
{brl|blrl}
\;
{l|lwz} 2,20(1)
\"
;
#else
return
\"
{brl|blrl}
\"
;
#endif
}
if (GET_CODE (operands
[
1
]
) == REG)
return
\"
{brl|blrl}
\;
{l|lwz} 2,20(1)
\"
;
return
\"
bl %z0
\;
%.
\"
;
#else
if (GET_CODE (operands
[
1
]
) == REG)
return
\"
{brl|blrl}
\"
;
return
\"
bl %z0
\"
;
#endif
}"
[
(set_attr "length" "8")
]
)
...
...
@@ -4938,16 +4940,18 @@
""
"
*
{
if (GET_CODE (operands
[
1
]
) == REG)
{
#ifndef USING_SVR4_H
return
\"
{brl|blrl}
\;
{l|lwz} 2,20(1)
\"
;
#else
return
\"
{brl|blrl}
\"
;
#endif
}
if (GET_CODE (operands
[
1
]
) == REG)
return
\"
{brl|blrl}
\;
{l|lwz} 2,20(1)
\"
;
return
\"
bl %z1
\;
%.
\"
;
#else
if (GET_CODE (operands
[
1
]
) == REG)
return
\"
{brl|blrl}
\"
;
return
\"
bl %z1
\"
;
#endif
}"
[
(set_attr "length" "8")
]
)
...
...
This diff is collapsed.
Click to expand it.
gcc/config/rs6000/sysv4.h
View file @
59313e4e
...
...
@@ -24,11 +24,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define MASK_NO_BITFIELD_TYPE 0x40000000
/* Set PCC_BITFIELD_TYPE_MATTERS to 0 */
#define MASK_STRICT_ALIGN 0x20000000
/* Set STRICT_ALIGNMENT to 1. */
#define MASK_RELOCATABLE 0x10000000
/* GOT pointers are PC relative */
#define MASK_NO_TRACEBACK 0x08000000
/* eliminate traceback words */
#define TARGET_NO_BITFIELD_TYPE (target_flags & MASK_NO_BITFIELD_TYPE)
#define TARGET_BITFIELD_TYPE (! TARGET_NO_BITFIELD_TYPE)
#define TARGET_STRICT_ALIGN (target_flags & MASK_STRICT_ALIGN)
#define TARGET_RELOCATABLE (target_flags & MASK_RELOCATABLE)
#define TARGET_NO_TRACEBACK (target_flags & MASK_NO_TRACEBACK)
#define TARGET_TRACEBACK (! TARGET_NO_TRACEBACK)
#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
...
...
@@ -37,7 +40,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
{ "strict-align", MASK_STRICT_ALIGN }, \
{ "no-strict-align", -MASK_STRICT_ALIGN }, \
{ "relocatable", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC }, \
{ "no-relocatable", -MASK_RELOCATABLE },
{ "no-relocatable", -MASK_RELOCATABLE }, \
{ "traceback", -MASK_NO_TRACEBACK }, \
{ "no-traceback", MASK_NO_TRACEBACK },
#include "rs6000/powerpc.h"
...
...
@@ -214,7 +219,8 @@ extern int rs6000_pic_labelno;
putc (',', FILE); \
fprintf (FILE, TYPE_OPERAND_FMT, "function"); \
putc ('\n', FILE); \
svr4_traceback (FILE, NAME, DECL); \
if (TARGET_TRACEBACK) \
svr4_traceback (FILE, NAME, DECL); \
ASM_DECLARE_RESULT (FILE, DECL_RESULT (DECL)); \
ASM_OUTPUT_LABEL(FILE, NAME); \
} while (0)
...
...
This diff is collapsed.
Click to expand it.
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