If I have a Elf64_Rela and I call ELF64_R_SYM on its r_info field,
what is the meaning of the number that I get back?  I'm getting
numbers too large to be an index into a symbol table.

Daniel

      Elf64_Rela const rela = ...;
      // from elftoolchain/common/elfdefinitions.h:
      // typedef struct {
      //   Elf64_Addr   r_offset;    /* location to apply relocation to */
      //   Elf64_Xword  r_info;      /* type+section for relocation */
      //   Elf64_Sxword r_addend;    /* constant addend */
      // } Elf64_Rela;
      int const sym = ELF64_R_SYM(rela.r_info);

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Elftoolchain-developers mailing list
Elftoolchain-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers

Reply via email to