aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/i386-cygwin-img-ld.sc4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/i386-cygwin-img-ld.sc b/conf/i386-cygwin-img-ld.sc
index 3ac26fcce..578da91b0 100644
--- a/conf/i386-cygwin-img-ld.sc
+++ b/conf/i386-cygwin-img-ld.sc
@@ -14,6 +14,8 @@ SECTIONS
{
__data_start__ = . ;
*(.data)
+ /* Do not discard this section. */
+ . = . ;
__data_end__ = . ;
__rdata_start__ = . ;
*(.rdata)
@@ -34,6 +36,8 @@ SECTIONS
.edata :
{
*(.edata)
+ /* Do not discard this section. */
+ . = . ;
end = . ;
_end = . ;
__end = . ;