This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make debug info section relative on IA64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]