This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Segmentation Fault with bfd_abs_section_ptr
- From: Pierre Mallard <pierremallard at yahoo dot fr>
- To: binutils at sources dot redhat dot com
- Cc: amodra at bigpond dot net dot au
- Date: Tue, 9 Jul 2002 17:05:54 +0200 (CEST)
- Subject: 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