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: elf_backend_emit_relocs problems (bug?)


On Tue, Jan 21, 2003 at 12:41:38AM +0100, Fabio Alemagna wrote:
> #0  elf_link_input_bfd (finfo=0xbffff360, input_bfd=0x80d1bd0)
>     at ../../binutils/bfd/elflink.h:6899
> 6899                      *rel_hash = NULL;

You'll need to investigate why the elf_section_data for your output
section isn't being set up correctly.

> the 'print' command in gdb says that doesn't know anything about rel_hash
> (don't ask me why), so I put a printf() right before that line and it
> showed that rel_hash is a NULL pointer.

Don't use -O2 when compiling.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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