Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 2880018: [gcc] Misc cleanup. (Closed)

Created:
10 years, 5 months ago by eaeltsin
Modified:
9 years, 7 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
ssh://git@chromiumos-git/nacl-toolchain.git
Visibility:
Public.

Description

[gcc] Misc cleanup. - Use TARGET_NACL instead of flag_control_integrity; - Kill getenv calls used for debugging nacl-specific code; - Remove few debug printings;

Patch Set 1 #

Patch Set 2 : ready for code review #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -83 lines) Patch
M gcc/gcc/cfgrtl.c View 1 chunk +0 lines, -3 lines 2 comments Download
M gcc/gcc/config/i386/i386.c View 5 chunks +18 lines, -21 lines 0 comments Download
M gcc/gcc/config/i386/i386.md View 56 chunks +58 lines, -58 lines 2 comments Download
M gcc/gcc/varasm.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
eaeltsin
10 years, 5 months ago (2010-07-05 13:26:41 UTC) #1
Mark Seaborn
All the NACL_TARGET changes look good to me -- that code I'm somewhat familiar with. ...
10 years, 5 months ago (2010-07-05 16:27:36 UTC) #2
Mark Seaborn
On 2010/07/05 16:27:36, Mark Seaborn wrote: > http://codereview.chromium.org/2880018/diff/2001/3001#oldcode1072 > gcc/gcc/cfgrtl.c:1072: if ((e->flags & EDGE_FALLTHRU) == ...
10 years, 5 months ago (2010-07-05 16:30:15 UTC) #3
eaeltsin
http://codereview.chromium.org/2880018/diff/2001/3001 File gcc/gcc/cfgrtl.c (left): http://codereview.chromium.org/2880018/diff/2001/3001#oldcode1072 gcc/gcc/cfgrtl.c:1072: if ((e->flags & EDGE_FALLTHRU) == 0) { The if ...
10 years, 5 months ago (2010-07-05 16:31:21 UTC) #4
pasko-google - do not use
1. there is still flag_control_integrity remaining in gcc/opts.c and in gcc/config/nacl.opt 2. there is a ...
10 years, 5 months ago (2010-07-05 19:21:32 UTC) #5
eaeltsin
10 years, 5 months ago (2010-07-06 08:43:51 UTC) #6
The idea was not to get rid of the flag_control_integrity flag completely. Of
course it is still mentioned in command line processing stuff...

http://codereview.chromium.org/2880018/diff/2001/3003
File gcc/gcc/config/i386/i386.md (right):

http://codereview.chromium.org/2880018/diff/2001/3003#newcode9826
gcc/gcc/config/i386/i386.md:9826: [(call (mem:QI (unspec [(match_operand:DI 0
"register_operand" "r")] UNSPEC_NACLCALL))
There are many.
However, I'm going to revise these instructions anyway.

On 2010/07/05 19:21:32, pasko wrote:
> I am curious, is it a style violation to hae a >80 chars line in a machine
> description file?

Powered by Google App Engine
This is Rietveld 408576698