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
aaba3304
Commit
aaba3304
authored
Jul 16, 2012
by
Kirill Yukhin
Committed by
Kirill Yukhin
Jul 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert r189513.
From-SVN: r189538
parent
6d8b8153
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
gcc/ChangeLog
+13
-0
gcc/config/i386/i386.md
+4
-4
No files found.
gcc/ChangeLog
View file @
aaba3304
2012-07-16 Kirill Yukhin <kirill.yukhin@intel.com>
Revert
2012-07-16 Sergey Melnikov <sergey.melnikov@intel.com>
* config/i386/i386.md (stack_protect_set): Disable the pattern
for Android since Android libc (bionic) does not provide random
value for stack protection guard at gs:0x14. Guard value
will be provided from external symbol (default implementation).
(stack_protect_set_<mode>): Likewise.
(stack_protect_test): Likewise.
(stack_protect_test_<mode>): Likewise.
2012-07-16 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/53959
...
...
gcc/config/i386/i386.md
View file @
aaba3304
...
...
@@ -17708,7 +17708,7 @@
(define_expand "stack_protect_set"
[
(match_operand 0 "memory_operand")
(match_operand 1 "memory_operand")]
"
!OPTION_BIONIC
"
""
{
rtx (
*
insn)(rtx, rtx);
...
...
@@ -17733,7 +17733,7 @@
UNSPEC_SP_SET))
(set (match_scratch:PTR 2 "=&r") (const_int 0))
(clobber (reg:CC FLAGS_REG))]
"
!OPTION_BIONIC
"
""
"mov{
<imodesuffix>
}
\t
{%1, %2|%2, %1}
\;
mov{
<imodesuffix>
}
\t
{%2, %0|%0, %2}
\;
xor{l}
\t
%k2, %k2"
[
(set_attr "type" "multi")
]
)
...
...
@@ -17751,7 +17751,7 @@
[
(match_operand 0 "memory_operand")
(match_operand 1 "memory_operand")
(match_operand 2)]
"
!OPTION_BIONIC
"
""
{
rtx flags = gen_rtx_REG (CCZmode, FLAGS_REG);
...
...
@@ -17781,7 +17781,7 @@
(match_operand:PTR 2 "memory_operand" "m")]
UNSPEC_SP_TEST))
(clobber (match_scratch:PTR 3 "=&r"))]
"
!OPTION_BIONIC
"
""
"mov{
<imodesuffix>
}
\t
{%1, %3|%3, %1}
\;
xor{
<imodesuffix>
}
\t
{%2, %3|%3, %2}"
[
(set_attr "type" "multi")
]
)
...
...
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