Add initial support for TLS sections in PE format files.

This commit is contained in:
Nick Clifton 2003-11-10 17:04:55 +00:00
parent 100bcc3f4e
commit ca6dee30a3
4 changed files with 35 additions and 3 deletions

View file

@ -25,6 +25,10 @@ if test "${RELOCATING}"; then
SORT(*)(.idata$6)
SORT(*)(.idata$7)'
R_CRT='*(SORT(.CRT$*))'
R_TLS='
*(.tls)
*(.tls$)
*(SORT(.tls$*))'
R_RSRC='*(SORT(.rsrc$*))'
else
R_TEXT=
@ -129,6 +133,11 @@ SECTIONS
${R_CRT}
}
.tls ${RELOCATING+BLOCK(__section_alignment__)} :
{
${R_TLS}
}
.endjunk ${RELOCATING+BLOCK(__section_alignment__)} :
{
/* end is deprecated, don't use it */