public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ELF backend
@ 2009-03-11  8:21 Alexander Sviridenko
  2009-03-11  9:07 ` Nick Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Sviridenko @ 2009-03-11  8:21 UTC (permalink / raw)
  To: binutils

Hi,

I write ELF support for my target but none of backend functions is not
called (elf_backend_object_p, elf_backend_relocate_section, ...). What
could be the problem?

Thanks.

-Alexander

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ELF backend
  2009-03-11  8:21 ELF backend Alexander Sviridenko
@ 2009-03-11  9:07 ` Nick Clifton
       [not found]   ` <a3981d4f0903110406y35bdfb30l35092ffc3c14d376@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2009-03-11  9:07 UTC (permalink / raw)
  To: Alexander Sviridenko; +Cc: binutils

Hi Alexander,

> I write ELF support for my target but none of backend functions is not
> called (elf_backend_object_p, elf_backend_relocate_section, ...). What
> could be the problem?

Most likely problem - you are not #include'ing elf32-target.h (or 
elf64-target.h if yours is a 64-bit target) *after* defining the elf 
backend functions.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ELF backend
       [not found]   ` <a3981d4f0903110406y35bdfb30l35092ffc3c14d376@mail.gmail.com>
@ 2009-03-11 13:23     ` Alexander Sviridenko
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Sviridenko @ 2009-03-11 13:23 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

Maybe I have such problems with ELF since I have 64-bit length
instructions but use elf32?

-Alexander

On Wed, Mar 11, 2009 at 1:06 PM, Alexander Sviridenko <mail@d2rk.com> wrote:
> Hi Nick,
>
> I have 64-bit length instructions.
>
>> Most likely problem - you are not #include'ing elf32-target.h (or elf64-target.h if yours is a 64-bit target)
>> *after* defining the elf backend functions.
>
> No, the elf32-target.h file has been included.
>
> Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-11 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-11  8:21 ELF backend Alexander Sviridenko
2009-03-11  9:07 ` Nick Clifton
     [not found]   ` <a3981d4f0903110406y35bdfb30l35092ffc3c14d376@mail.gmail.com>
2009-03-11 13:23     ` Alexander Sviridenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).