From 73030ddb573ab756fc413ffc47b0bfa6ca1df055 Mon Sep 17 00:00:00 2001 From: sergei Date: Sat, 1 Dec 2012 15:04:23 +0000 Subject: [PATCH] + Support smart-linked .rdata section with external linker for Windows targets after r23025. git-svn-id: trunk@23084 - --- compiler/systems/t_win.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/systems/t_win.pas b/compiler/systems/t_win.pas index b43cd6442f..e341d0c891 100644 --- a/compiler/systems/t_win.pas +++ b/compiler/systems/t_win.pas @@ -1283,6 +1283,7 @@ implementation Add(' .rdata BLOCK(__section_alignment__) :'); Add(' {'); Add(' *(.rdata)'); + Add(' *(.rdata.*)'); add(' *(.rodata .rodata.* .gnu.linkonce.r.*)'); Add(' *(SORT(.rdata$*))'); Add(' *(.eh_frame)');