]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
PRU Binutils port
authorDimitar Dimitrov <dimitar@dinux.eu>
Fri, 30 Dec 2016 10:39:47 +0000 (12:39 +0200)
committerAlan Modra <amodra@gmail.com>
Sat, 31 Dec 2016 01:33:22 +0000 (12:03 +1030)
commit2b100bb5cf206f9254453a00e4b48e32d3584625
tree287f659d12bf178ae4073ff245fde16271bee4d9
parent111468496477e97c9414d2d54f97bfdaa380f794
PRU Binutils port

* readelf.c (guess_is_rela): Add EM_TI_PRU.
(dump_relocations): Invoke elf_pru_reloc_type.
(get_machine_name): Handle EM_TI_PRU.
(is_32bit_abs_reloc): Handle R_PRU_BFD_RELOC_32.
(is_16bit_abs_reloc): Handle R_PRU_BFD_RELOC_16.
(is_none_reloc): Handle PRU_NONE and PRU_DIFF variants.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
binutils/ChangeLog
binutils/readelf.c