delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/22/07:38:42

Xref: news2.mv.net comp.os.msdos.djgpp:4127
From: malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Changing link address
Date: Wed, 22 May 1996 07:45:46 GMT
Organization: Grafik Software
Lines: 17
Message-ID: <4nukdu$5l2@news.manawatu.gen.nz>
References: <4nnhcl$8bt AT zinc DOT compulink DOT co DOT uk>
Reply-To: malcolm AT manawatu DOT gen DOT nz
NNTP-Posting-Host: malcolm.manawatu.gen.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

John Burton <john AT bilton DOT compulink DOT co DOT uk> wrote:

>I have DJGPP 2.0 and I wish to be able to change the
>address at which the linker assumes the text and data
>segments will be loaded. For example to load the
>code at 0x80000000 and the data aligned at the
>following 4Kb page. 
>Is there any way to specify this with DJGPP tools?

Why? (If you don't mind me asking). This information can be found if
you look in the info files for ld under the SECTIONS linker script
command. You just need to modify (or use a modified) linker script.
The standard one is found in the lib directory.

Malcolm


- Raw text -


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