This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] Windows TLS enhancements
- From: nick clifton <nickc at redhat dot com>
- To: Daniel Green <venix1 at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 07 Aug 2012 14:40:32 +0100
- Subject: Re: [Patch] Windows TLS enhancements
- References: <4F145DC7.70603@gmail.com>
Hi Daniel,
secrel32.patch:
Allows use of secrel32 as an operand in gas. Such as "movl
$symbol@secrel32, %eax"
pe_tls.patch:
Convention requires that the symbols defining the start and end of
the TLS section be within .tls$AAA and .tls$ZZZ. The changes here
ensure those sections appear at the start and end of the TLS section.
Approved and applied.
Note - I extended the gas/testsuite/gas/i386/secrel.[sd] testcase to
include a check that the syntax is parsed correctly.
Cheers
Nick
gas/ChangeLog
2012-08-07 Daniel Green <venix1@gmail.com>
* config/tc-i386.c (lex_got): Provide implementation for PE
format.
ld/ChangeLog
2012-08-07 Daniel Green <venix1@gmail.com>
* scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.
* scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ.