From: <kai...@us...> - 2010-05-28 22:03:57
|
Revision: 972 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=972&view=rev Author: kaiwang27 Date: 2010-05-28 22:03:50 +0000 (Fri, 28 May 2010) Log Message: ----------- * Add function _dwarf_get_reloc_size() which returns the size of the storage unit to be relocated, based on architecture and relocation type. * When applying RELA addend to relocatable objects, the size of the storage unit to apply is not neccessarily the address size of the target architecture. Instead, we should call _dwarf_get_reloc_size() to get the correct size. Modified Paths: -------------- trunk/libdwarf/_libdwarf.h trunk/libdwarf/libdwarf_elf_init.c trunk/libdwarf/libdwarf_reloc.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |