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]

Segmentation Fault with bfd_abs_section_ptr


Hi,
I'm trying to convert an elf32 version of binutils for
my cpu written first with binutils2.95... to an elf64
version with binutils-020317.
This compile but in as.c in perform_an_assembly_pass
at line 1048 "subseg_new (BFD_ABS_SECTION_NAME, 0);"
I got a segmentation fault.

If I do it by step into code I reach this : 
subsegs.c function subseg_get line 431 	
       secptr->output_section = secptr;

It appears that I go throw bfd_make_section_old_way of
section.c and exit at :
     if (strcmp (name, BFD_ABS_SECTION_NAME) == 0)
          return bfd_abs_section_ptr;
but bfd_abs_section_ptr->output_section is 0x0 where
as in the 32 bit version it's already equal to
bfd_abs_section_ptr...

So the problem might be in the instanciation of
bfd_abs_section_ptr that I can't found...
Can someone help me?
Thanks a lot
Pierre
 


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en franšais !
Yahoo! Mail : http://fr.mail.yahoo.com


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