www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/09/14/00:47:45

From: Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se>
Message-Id: <200009140446.GAA28575@lws256.lu.erisoft.se>
Subject: Re: (fwd) startup-code
To: djgpp-workers AT delorie DOT com
Date: Thu, 14 Sep 2000 06:46:39 +0200 (MET DST)
In-Reply-To: <200009131748.NAA14069@envy.delorie.com> from "DJ Delorie" at Sep 13, 2000 01:48:21 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> 'end' is a special symbol the linker inserts at the very end of your
> program.  Avoid using it as a global.

So the use in dpmiexcp.c is correct? Wouldn't it be better if the
symbol was named "_end" or "__end"? Is it possible to change?

> "ld --verbose | grep end" will show you where it comes from.

Alas the program gcc uses is collect2 not ld, and the output from
collect2 --verbose does not contain any symbol end.


Right,

						MartinS

- Raw text -


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