arm-trusted-firmware/include
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
..
bl1 Fix MISRA rule 8.4 Part 1 2018-02-28 17:19:55 +00:00
bl2 Fix MISRA rule 8.5 in common code 2018-04-13 14:01:56 +01:00
bl2u Fix MISRA rule 8.4 in common code 2018-02-28 17:18:46 +00:00
bl31 Fix MISRA defects in BL31 common code 2018-08-30 09:22:33 +01:00
bl32 Remove deprecated early platform setup interfaces 2018-09-28 15:31:53 +01:00
common PIE: Use PC relative adrp/adr for symbol reference 2018-10-29 09:54:31 +00:00
drivers tzc: Fix MISRA defects 2018-10-23 12:12:03 +01:00
dt-bindings stm32mp1: Add device tree files 2018-07-24 17:18:35 +02:00
lib PIE: Use PC relative adrp/adr for symbol reference 2018-10-29 09:54:31 +00:00
plat Convert arm_setup_page_tables into a generic helper 2018-10-26 14:55:30 +01:00
services libc: Fix all includes in codebase 2018-08-22 10:26:05 +01:00
tools_share Make TF UUID RFC 4122 compliant 2018-06-14 14:41:00 +01:00