diff options
author | Nick Clifton <nickc@redhat.com> | 2003-11-10 17:04:55 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-11-10 17:04:55 +0000 |
commit | ca6dee30a352a58b5764e3c299e93d34f9e08bad (patch) | |
tree | 45e6dd6f323bd1c70970ecad802d36fddc612c63 /ld | |
parent | 100bcc3f4efba15caf81be6f8da4d0b6309a3334 (diff) | |
download | gdb-ca6dee30a352a58b5764e3c299e93d34f9e08bad.zip gdb-ca6dee30a352a58b5764e3c299e93d34f9e08bad.tar.gz gdb-ca6dee30a352a58b5764e3c299e93d34f9e08bad.tar.bz2 |
Add initial support for TLS sections in PE format files.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/pe.sc | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index edcd312..d0d747f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au> + + * scripttempl/pe.sc: Add support for TLS sections. + 2003-11-09 Alan Modra <amodra@bigpond.net.au> * configure.host (HOSTING_LIBS): Group libgcc and libc with diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 2fd27f9..da09eb4 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -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 */ |