arm-trusted-firmware/include/common
Soby Mathew f1722b693d PIE: Use PC relative adrp/adr for symbol reference
This patch fixes up the AArch64 assembly code to use
adrp/adr instructions instead of ldr instruction for
reference to symbols. This allows these assembly
sequences to be Position Independant. Note that the
the reference to sizes have been replaced with
calculation of size at runtime. This is because size
is a constant value and does not depend on execution
address and using PC relative instructions for loading
them makes them relative to execution address. Also
we cannot use `ldr` instruction to load size as it
generates a dynamic relocation entry which must *not*
be fixed up and it is difficult for a dynamic loader
to differentiate which entries need to be skipped.

Change-Id: I8bf4ed5c58a9703629e5498a27624500ef40a836
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
2018-10-29 09:54:31 +00:00
..
aarch32 Multi-console: Deprecate the `finish_console_register` macro 2018-10-19 17:34:52 +01:00
aarch64 PIE: Use PC relative adrp/adr for symbol reference 2018-10-29 09:54:31 +00:00
tbbr Add new defines for STM32MP1 platform 2018-10-15 09:36:21 +02:00
asm_macros_common.S Remove .func and .endfunc assembler directives 2018-07-11 09:22:56 +01:00
bl_common.h Convert arm_setup_page_tables into a generic helper 2018-10-26 14:55:30 +01:00
debug.h Reorder log level macro definitions for clarity 2018-10-10 12:11:32 +01:00
desc_image_load.h Remove build option LOAD_IMAGE_V2 2018-09-28 15:31:52 +01:00
ep_info.h libc: Fix all includes in codebase 2018-08-22 10:26:05 +01:00
fdt_wrappers.h Remove some MISRA defects in common code 2018-10-04 15:43:52 +01:00
image_decompress.h image_decompress: add APIs for decompressing images 2018-02-02 00:19:08 +09:00
interrupt_props.h plat/arm: Fix misra warnings in platform code 2018-10-11 17:01:07 +01:00
param_header.h Fix MISRA defects in some common headers 2018-08-30 09:22:33 +01:00
romlib.h Add support for romlib in the build system 2018-08-03 11:31:42 +01:00
runtime_svc.h Fix misra warnings in SMC and power mgmt code 2018-10-09 12:23:55 +01:00