forked from Imagelibrary/binutils-gdb
Use BYTE_GET_SIGNED on r_addend.
2010-10-08 H.J. Lu <hongjiu.lu@intel.com> * dwarf.c (byte_get_signed): Make it extern. * dwarf.h (byte_get_signed): New. * readelf.c (BYTE_GET_SIGNED): New. (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend. (dump_relocations): Properly dump r_addend.
This commit is contained in:
@@ -163,7 +163,7 @@ byte_get_big_endian (unsigned char *field, int size)
|
||||
}
|
||||
}
|
||||
|
||||
static dwarf_vma
|
||||
dwarf_vma
|
||||
byte_get_signed (unsigned char *field, int size)
|
||||
{
|
||||
dwarf_vma x = byte_get (field, size);
|
||||
|
||||
Reference in New Issue
Block a user