Allow to get sym attr and fail if no entry
commit2c38800bbe0544830863247a23594e37c531be8d
authorThomas Preud'homme <robotux@celest.fr>
Sat, 12 Nov 2016 15:16:07 +0000 (12 23:16 +0800)
committerThomas Preud'homme <robotux@celest.fr>
Sat, 3 Dec 2016 17:26:51 +0000 (3 17:26 +0000)
tree100cb2b7e4e6ac44c7aedc4ce5091238b183414c
parenta11b0a67e368f86751431f827db3ca85682b9864
Allow to get sym attr and fail if no entry

Change alloc_sym_attr into get_sym_attr and add a parameter to control
whether to allocate a new symattr structure or return NULL if symbol is
not found;
tcc.h
tccelf.c