This is the mail archive of the binutils@sourceware.org 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: reading elf file (avr target)


Hi Diz,

I'm trying to get the symbol table out of an object
file. I built libbfd from binutils 2.16.1 (tried 2.15
as well) using --enable-target=avr

Err did you mean "--enable-target=avr-elf" ?


file = bfd_openr(f, "binary");

Why are you using "binary" here ? Shouldn't it be "avr-elf" ?


Cheers
  Nick


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