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

Issue 10151020: llvm: stubbed st_size does matter for copy-relocs/bss (Closed)

Created:
8 years, 8 months ago by jvoung - send to chromium...
Modified:
8 years, 8 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

llvm: stubbed st_size does matter for copy-relocs/bss Handle a few more cases that were not handled before and issue a (DEBUG) warning if there is any unknown case. This may help fix references to stderr, optarg, etc., when we turn off PIC for the dynamic executable and turn on metadata for the final link. Without the size, gold will avoid putting things in BSS w/ copy relocs, and attempt to add a TEXTREL, which I think isn't supported by NaCl. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2370 TEST= run_gettimeofday_test

Patch Set 1 #

Total comments: 5

Patch Set 2 : change to assert #

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -7 lines) Patch
M llvm/tools/llc/StubMaker.cpp View 1 2 2 chunks +47 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jvoung - send to chromium...
8 years, 8 months ago (2012-04-25 17:36:58 UTC) #1
robertm
http://codereview.chromium.org/10151020/diff/1/llvm/tools/llc/StubMaker.cpp File llvm/tools/llc/StubMaker.cpp (right): http://codereview.chromium.org/10151020/diff/1/llvm/tools/llc/StubMaker.cpp#newcode132 llvm/tools/llc/StubMaker.cpp:132: DEBUG({ would it be better to assert for now? ...
8 years, 8 months ago (2012-04-25 17:42:07 UTC) #2
jvoung - send to chromium...
http://codereview.chromium.org/10151020/diff/1/llvm/tools/llc/StubMaker.cpp File llvm/tools/llc/StubMaker.cpp (right): http://codereview.chromium.org/10151020/diff/1/llvm/tools/llc/StubMaker.cpp#newcode132 llvm/tools/llc/StubMaker.cpp:132: DEBUG({ On 2012/04/25 17:42:07, robertm wrote: > would it ...
8 years, 8 months ago (2012-04-25 18:20:51 UTC) #3
jvoung - send to chromium...
http://codereview.chromium.org/10151020/diff/1/llvm/tools/llc/StubMaker.cpp File llvm/tools/llc/StubMaker.cpp (right): http://codereview.chromium.org/10151020/diff/1/llvm/tools/llc/StubMaker.cpp#newcode132 llvm/tools/llc/StubMaker.cpp:132: DEBUG({ On 2012/04/25 18:20:51, jvoung wrote: > On 2012/04/25 ...
8 years, 8 months ago (2012-04-25 18:22:19 UTC) #4
robertm
8 years, 8 months ago (2012-04-25 18:40:20 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698