commit | 5cc3bc8fc735b83e1c49d80ce4eb516a1d33d88a | [log] [tgz] |
---|---|---|
author | Joel Hutton <Joel.Hutton@Arm.com> | Wed Mar 21 11:40:57 2018 +0000 |
committer | Joel Hutton <Joel.Hutton@Arm.com> | Tue Mar 27 13:20:27 2018 +0100 |
tree | d9cbd296c7fa0205323ebb5da1ab466b3227f5d5 | |
parent | 388cf1e7efdefabb8bcf4f30a2aa22758b009947 [diff] |
Clean usage of void pointers to access symbols Void pointers have been used to access linker symbols, by declaring an extern pointer, then taking the address of it. This limits symbols values to aligned pointer values. To remove this restriction an IMPORT_SYM macro has been introduced, which declares it as a char pointer and casts it to the required type. Change-Id: I89877fc3b13ed311817bb8ba79d4872b89bfd3b0 Signed-off-by: Joel Hutton <Joel.Hutton@Arm.com>