delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/18/08:01:20

Date: Fri, 18 Mar 94 13:32:19 +0100
From: san AT sics DOT se
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: ld -A not supported anymore?

In previous releases the linker/loader supported the option -A
<symbolfile>. The 1.11-ld does not. My application make use of this
option. Can the same functionality be achieved in some other way? Why
was the option removed?


     -A name
          Incremental loading: linking is to be done in a  manner
          so  that  the  resulting  object  may  be  read into an
          already executing program. name is the name of  a  file
          whose  symbol  table  is  taken  as a basis on which to
          define additional symbols.  Only newly linked  material
          is  entered  into  the text and data portions of a.out,
          but the new  symbol  table  will  reflect  all  symbols
          defined  before  and  after  the incremental load. This
          argument must appear before any other  object  file  in
          the  argument  list.  One or both of the -T options may
          be used as well, and will be taken  to  mean  that  the
          newly linked segment will commence at the corresponding
          addresses (which must be a multiple of the page  size).
          The default value is the old value of _end.

Stefan Andersson
SICS, PO Box 1263, S-164 28 KISTA, SWEDEN       Internet: san AT sics DOT se
Tel: +46 8 752 15 61  Ttx: 812 6154 7039 SICS S  Fax: +46 8 751 72 30

- Raw text -


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