delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/01/14/17:58:42

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199801142256.AA235658603@typhoon.rose.hp.com>
Subject: -g problem
To: djgpp-workers AT delorie DOT com
Date: Wed, 14 Jan 1998 14:56:43 PST
Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com

Could somebody compile the following code with and without the 
-g option and see if bombs out when -g is specified.  On my compiler
no -g, or -gstabs work, but -g gives a duplicate symbol error
from the assembler.  It appears that the debug info has the wrong labels.
I sent a message off to egcs but forget to copy dj-workers.  
BTW - Kenner released 2.8.0 for those who have been waiting...

Andy

/* Provide functions that some versions of the linker use to default
   the start address if -e symbol is not used, to avoid the warning
   message saying the start address is defaulted.  */
extern void start() __asm__("start");
extern void _start() __asm__("_start");
extern void __start() __asm__("__start");

void start() {}
void _start() {}
void __start() {}

- Raw text -


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