Use functions to get relocation infomob
commitfe6453f8f08b5c21a339b3169a837772a9864d62
authorThomas Preud'homme <robotux@celest.fr>
Sat, 10 Dec 2016 17:22:08 +0000 (10 17:22 +0000)
committerThomas Preud'homme <robotux@celest.fr>
Sat, 10 Dec 2016 18:14:10 +0000 (10 18:14 +0000)
tree8f8efde2a3e1c6e3c8f7099a4c22d47e0f98c3f3
parentd31226c8738d948e2bb4133b56597fff25169e43
Use functions to get relocation info

MSVC does not support array designator so cannot compile source using
relocs_info. This commit replace the relocs_info array into a set of
functions, each returning the value given by a given field of the struct
reloc_info.
arm-link.c
arm64-link.c
c67-link.c
i386-link.c
tcc.h
tccelf.c
x86_64-link.c