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

Issue 3467009: [binutils] Prevent ld from rewriting tls access sequences with calls (Closed)

Created:
10 years, 3 months ago by eaeltsin
Modified:
9 years, 7 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

[binutils] Prevent ld from rewriting tls access sequences with calls NaCl assembler inserts nops in front of a call for proper bundling. When linker tries to rewrite a code sequence that consists of something followed by a call, it complains about these nops. At the moment, simply disable rewriting these sequences. BUG=http://code.google.com/p/nativeclient/issues/detail?id=237 TEST=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M binutils/bfd/elf32-i386.c View 1 chunk +8 lines, -0 lines 0 comments Download
M binutils/bfd/elf64-x86-64.c View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
eaeltsin
10 years, 3 months ago (2010-09-22 11:20:26 UTC) #1
pasko-google - do not use
LGTM
10 years, 3 months ago (2010-09-22 11:34:42 UTC) #2
khim
LGTM
10 years, 3 months ago (2010-09-22 14:42:32 UTC) #3
Mark Seaborn
10 years, 3 months ago (2010-09-23 14:28:10 UTC) #4
It's good to see that the binutils TLS code has got simpler since I looked at
this last year.  The changes I did were:
http://repo.or.cz/w/nacl-binutils.git/commit/ba2e8b1cc17f361cf04040eeb37749c2...
http://repo.or.cz/w/nacl-binutils.git/commit/64abae7eed86ba85081eeec454cc1f5b...

Mark

Powered by Google App Engine
This is Rietveld 408576698