X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Fri, 1 Jun 2007 18:22:08 -0400 Message-Id: <200706012222.l51MM8hO030336@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <466093e1$0$77049$cc7c7865@news.luth.se> (message from Martin Str|mberg on 01 Jun 2007 21:47:13 GMT) Subject: Re: Loading text & data section into different segments References: <1179221506 DOT 644176 DOT 216690 AT e51g2000hsg DOT googlegroups DOT com> <466093e1$0$77049$cc7c7865 AT news DOT luth DOT se> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > The load addresses are physical load address (IIRC). You want VMA > (virtual memory address). Nothing the linker can do will change the fact that djgpp programs always have all the segments with a common base address. You can't have a djgpp program with non-overlapping CS and DS segments.