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
d6c46142
Commit
d6c46142
authored
28 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(override_options): Treat -o32 as -32 and -n64 same as -64.
From-SVN: r12299
parent
9d699bf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
gcc/config/mips/mips.c
+5
-3
No files found.
gcc/config/mips/mips.c
View file @
d6c46142
...
...
@@ -201,7 +201,7 @@ enum mips_abi_type mips_abi;
/* Strings to hold which cpu and instruction set architecture to use. */
char
*
mips_cpu_string
;
/* for -mcpu=<xxx> */
char
*
mips_isa_string
;
/* for -mips{1,2,3,4} */
char
*
mips_abi_string
;
/* for -mabi={
32,n32
,64} */
char
*
mips_abi_string
;
/* for -mabi={
o32,32,n32,n64
,64} */
/* If TRUE, we split addresses into their high and low parts in the RTL. */
int
mips_split_addresses
;
...
...
@@ -3300,11 +3300,13 @@ override_options ()
/* Get the ABI to use. Currently this code is only used for Irix 6. */
if
(
mips_abi_string
==
(
char
*
)
0
)
mips_abi
=
MIPS_ABI_DEFAULT
;
else
if
(
!
strcmp
(
mips_abi_string
,
"32"
))
else
if
(
!
strcmp
(
mips_abi_string
,
"32"
)
||
!
strcmp
(
mips_abi_string
,
"o32"
))
mips_abi
=
ABI_32
;
else
if
(
!
strcmp
(
mips_abi_string
,
"n32"
))
mips_abi
=
ABI_N32
;
else
if
(
!
strcmp
(
mips_abi_string
,
"64"
))
else
if
(
!
strcmp
(
mips_abi_string
,
"64"
)
||
!
strcmp
(
mips_abi_string
,
"n64"
))
mips_abi
=
ABI_64
;
else
error
(
"bad value (%s) for -mabi= switch"
,
mips_abi_string
);
...
...
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