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

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 1 Jun 2007 18:36:07 -0400
Message-Id: <200706012236.l51Ma7gg030701@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <466099d0$0$77328$cc7c7865@news.luth.se> (message from Martin
Str|mberg on 01 Jun 2007 22:12:32 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> <200706012222 DOT l51MM8hO030336 AT envy DOT delorie DOT com> <466099d0$0$77328$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

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

Hmm... I didn't get that impression the first time around, but if so,
yeah, read the linker manual.  And don't use djgpp's linker - build a
cross-to-embedded toolchain, it will be happier :-)

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.

- Raw text -


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