This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Make debug info section relative on IA64
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: binutils at sources dot redhat dot com, davidm at hpl dot hp dot com
- Date: Thu, 27 Feb 2003 16:27:04 -0500
- Subject: Re: [PATCH] Make debug info section relative on IA64
- References: <200302272111.NAA23312@hpsje.cup.hp.com>
On Thu, Feb 27, 2003 at 01:11:06PM -0800, Steve Ellcey wrote:
> This is a change to make debug sections relative on IA64. The person
> who made this change isn't around anymore but here is her description of
> the problem that this patch fixes, if this looks good could someone
> check it in for me?
> ! (!strcmp(S_GET_NAME(exp->X_add_symbol),".debug_abbrev") ||
> ! !strcmp(S_GET_NAME(exp->X_add_symbol),".debug_line") ||
> ! !strcmp(S_GET_NAME(exp->X_add_symbol),".debug_info")))
Just one comment: it should probably be strncmp against ".debug_",
given that I believe the ELF specs say something similar.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer