[Patch] Windows TLS enhancements

nick clifton nickc@redhat.com
Tue Aug 7 13:47:00 GMT 2012


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.



More information about the Binutils mailing list