delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/06/01/18:30:36

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <466099d0$0$77328$cc7c7865@news.luth.se>
From: Martin Str|mberg <ams AT brother DOT ludd DOT ltu DOT se>
Subject: Re: Loading text & data section into different segments
Newsgroups: comp.os.msdos.djgpp
References: <1179221506 DOT 644176 DOT 216690 AT e51g2000hsg DOT googlegroups DOT com> <466093e1$0$77049$cc7c7865 AT news DOT luth DOT se> <200706012222 DOT l51MM8hO030336 AT envy DOT delorie DOT com>
User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.9 (sun4u))
Date: 01 Jun 2007 22:12:32 GMT
Lines: 16
NNTP-Posting-Host: brother.ludd.ltu.se
X-Trace: 1180735952 news.luth.se 77328 130.240.16.78
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJ Delorie <dj AT delorie DOT com> wrote:
> 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.

Obviously he was making a non-DJGPP-program (like a home made
kernel). Otherwise he wouldn't be playing around with the load
addresses.

If you're making a DJGPP program, you do not mess with a linker script
of your own design.


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019