diff options
Diffstat (limited to 'ld/scripttempl/pe.sc')
-rw-r--r-- | ld/scripttempl/pe.sc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 5de44e5..3ca86d4 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -1,7 +1,7 @@ # Linker script for PE. # # Copyright (C) 2014-2017 Free Software Foundation, Inc. -# +# # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are preserved. @@ -21,13 +21,13 @@ if test "${RELOCATING}"; then R_TEXT='*(SORT(.text$*))' if test "x$LD_FLAG" = "xauto_import" ; then R_DATA='*(SORT(.data$*)) - *(.rdata) + *(.rdata) *(SORT(.rdata$*))' R_RDATA='' else R_DATA='*(SORT(.data$*))' R_RDATA='*(.rdata) - *(SORT(.rdata$*))' + *(SORT(.rdata$*))' fi R_IDATA234=' KEEP (SORT(*)(.idata$2)) @@ -197,7 +197,7 @@ SECTIONS ${R_IDATA67} } .CRT ${RELOCATING+BLOCK(__section_alignment__)} : - { + { ${RELOCATING+___crt_xc_start__ = . ;} ${R_CRT_XC} ${RELOCATING+___crt_xc_end__ = . ;} @@ -220,7 +220,7 @@ SECTIONS be at the beginning of the section to enable SECREL32 relocations with TLS data. */ .tls ${RELOCATING+BLOCK(__section_alignment__)} : - { + { ${RELOCATING+___tls_start__ = . ;} ${R_TLS} ${RELOCATING+___tls_end__ = . ;} |