This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: Question about "gnu.linkonce.wi." sections


> #19 means that this is a reference to another compilation unit.  You
> are looking at an unlinked object file.  That means that there are
> unapplied relocations; take a look at the readelf -r output and you can
> work out which section the relocation at that offset is targetting.  If
> there's no relocation, it's the current section.

The output of the "readelf -r" is "There are no relocations in this file.".

If by "current section" you mean the ".debug_info" then there is no type
information at offset 0x19. The first compile unit starts at offset 0 and
the second at offset 0x53. There is nothing between them.

Ivan Pantushev

-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/


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