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
6979fa58
Commit
6979fa58
authored
Apr 01, 2011
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Apr 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.
From-SVN: r171814
parent
d428585c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/go.test/go-test.exp
+30
-0
No files found.
gcc/testsuite/ChangeLog
View file @
6979fa58
2011-03-31 Ian Lance Taylor <iant@google.com>
* go.test/go-test.exp (go-set-goarch): Recognize MIPS ABIs.
2011-03-31 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt16.adb: New test.
...
...
gcc/testsuite/go.test/go-test.exp
View file @
6979fa58
...
...
@@ -137,6 +137,36 @@ proc go-set-goarch { } {
set goarch "amd64"
}
}
"mips-*-*" {
if [check_no_compiler_messages mipso32 assembly {
#if _MIPS_SIM != _ABIO32
#error FOO
#endif
}] {
set goarch "mipso32"
} elseif [check_no_compiler_messages mipsn32 assembly {
#if _MIPS_SIM != _ABIN32
#error FOO
#endif
}] {
set goarch "mipsn32"
} elseif [check_no_compiler_messages mipsn64 assembly {
#if _MIPS_SIM != _ABI64
#error FOO
#endif
}] {
set goarch "mipsn64"
} elseif [check_no_compiler_messages mipso64 assembly {
#if _MIPS_SIM != _ABIO64
#error FOO
#endif
}] {
set goarch "mipso64"
} else {
perror "$target_triplet: unrecognized MIPS ABI"
return ""
}
}
"sparc*-*-*" {
if [check_effective_target_ilp32] {
set goarch "sparc"
...
...
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