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:
@@ -101,6 +101,7 @@ typedef struct
|
||||
debug_info;
|
||||
|
||||
extern dwarf_vma (*byte_get) (unsigned char *, int);
|
||||
extern dwarf_vma byte_get_signed (unsigned char *, int);
|
||||
extern dwarf_vma byte_get_little_endian (unsigned char *, int);
|
||||
extern dwarf_vma byte_get_big_endian (unsigned char *, int);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user