X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <4660a305$0$77053$cc7c7865@news.luth.se> From: Martin Str|mberg 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> <466099d0$0$77328$cc7c7865 AT news DOT luth DOT se> <200706012236 DOT l51Ma7gg030701 AT envy DOT delorie DOT com> User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (SunOS/5.9 (sun4u)) Date: 01 Jun 2007 22:51:49 GMT Lines: 19 NNTP-Posting-Host: brother.ludd.ltu.se X-Trace: 1180738309 news.luth.se 77053 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 wrote: > Actually, current linkers might complain about overlapping sections > anyway, since they don't understand the concept of "segments" like the > CS/DS stuff. I wouldn't be surprized if there were hidden gotchas > too. All version of ld I've been subjected to, when giving them conflicting LMSa, have either (usually) silently disregarded them and just moved the following section's LMA to whereever follows or (thank you - preferred) complained. Obviously if you give them overlapping LMAs they should COMPLAIN as that operation is not physically possible. At least this is what I've gotten to understand with regard to LMAs. Right, MartinS