Subject: Re: Status of ELF for sh3?
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-sh3
Date: 01/26/2001 20:25:28
On Sat, Jan 27, 2001 at 01:15:44PM +0900, itojun@iijlab.net wrote:

 > >: What's the status of switing to ELF for the NetBSD sh3 ports?
 > >
 > >Part of the problem is that currently, sh3 ELF is using symbols *WITHOUT*
 > >underscores.  Unless it's explicitly contradicted in the Super-H supplement
 > >to the ELF ABI, this needs to be changed (and "damn other vendors"--this is
 > >the MI ELF *standard*).
 > 
 > 	if my understanding is correct,
 > 	- some of Hitachi ICE and other debugging tools are using symbols
 > 	  without underscores
 > 	- gcc/binutils is synchronized to the above
 > 	so if we add underscores, we cannot use those debugging tools.
 > 	msaitoh should have more details...

Uh, let's be clear -- ELF does NOT have leading underscores on C symbols
on just about every platform.  So, if it already does not have underscores,
then we're okay!  It's if it DOES use underscores when we have the problem.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>