delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/09/29/13:16:33

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200009291716.TAA23977@father.ludd.luth.se>
Subject: Re: (fwd) startup-code
In-Reply-To: <Pine.SUN.3.91.1000926161513.13268U@is> from Eli Zaretskii at "Sep 26, 2000 04:18:19 pm"
To: djgpp-workers AT delorie DOT com
Date: Fri, 29 Sep 2000 19:16:25 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
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

According to Eli Zaretskii:
> > I'm seeing the problem from the perspective that we pollute the
> > namespace, which means the problem isn't completely fixed until we
> > don't do that anymore.
> 
> We don't have to solve everything in one go.  One step at a time is 
> okay.

Next step:
Index: src/libc/crt0/mcount.c
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/crt0/mcount.c,v
retrieving revision 1.3
diff -p -u -r1.3 mcount.c
--- mcount.c    1997/11/02 15:18:44     1.3
+++ mcount.c    2000/09/29 17:06:15
@@ -39,7 +39,7 @@ static int mcount_skip = 1;
 static int histlen;
 static MTAB *mtab=0;

-extern int etext;
+extern int etext __asm__("etext");

 /* called by functions.  Use the pointer it provides to cache
 ** the last used MTABE, so that repeated calls to/from the same


Should I write a wc204.txi entry or is this a minor bug that don't
need one?


Right,

						MartinS

- Raw text -


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