symtab: fix getting CRC in relocatable modules

In ELF with ET_REL type symbol value holds not absolute but relative to
section value. This patch applies adjustment to the address, used in CRC
value extraction.

	* src/abg-elf-helpers.cc (get_crc_for_symbol): Rename
	crc_symbol_value to crc_symbol_address and adjust it for
	relocatable ELF types.

Change-Id: Iff28e7eaf2a1c95630116ad5fdf83ea007aeeba5
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
1 file changed