arm-trusted-firmware/lib
Alexei Fedorov db9736e3d8 AArch64: Fix assertions in processing dynamic relocations
This patch provides the following changes in fixup_gdt_reloc()
function:
- Fixes assertions in processing dynamic relocations, when
relocation entries not matching R_AARCH64_RELATIVE type are found.
Linker might generate entries of relocation type R_AARCH64_NONE
(code 0), which should be ignored to make the code boot. Similar
issue was fixed in OP-TEE (see optee_os/ldelf/ta_elf_rel.c
commit 7a4dc765c133125428136a496a7644c6fec9b3c2)
- Fixes bug when "b.ge" (signed greater than or equal) condition
codes were used instead of "b.hs" (greater than or equal) for
comparison of absolute addresses.
- Adds optimisation which skips fixing Global Object Table (GOT)
entries when offset value is 0.

Change-Id: I35e34e055b7476843903859be947b883a1feb1b5
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
2021-01-06 10:59:22 +00:00
..
aarch32 TF-A Aarch32: optimise memcpy4() 2020-07-23 18:35:49 +01:00
aarch64 AArch64: Fix assertions in processing dynamic relocations 2021-01-06 10:59:22 +00:00
bl_aux_params Introduce lightweight BL platform parameter library 2019-07-18 16:42:40 -07:00
compiler-rt compiler_rt: Import popcountdi2.c and popcountsi2.c files 2020-01-20 11:32:59 +01:00
coreboot Update in coreboot_get_memory_type API to include size as well 2020-10-16 02:23:35 +05:30
cpus Workaround for Cortex A76 erratum 1946160 2020-12-18 17:41:23 +00:00
debugfs cert_create: add Platform owned secure partitions support 2020-08-12 14:30:18 +01:00
el3_runtime Aarch64: Add support for FEAT_MTE3 2020-12-02 13:53:03 +00:00
extensions Add support for FEAT_MTPMU for Armv8.6 2020-12-11 12:49:20 +00:00
fconf lib: fconf: Implement a parser to populate CoT 2020-09-15 16:13:26 +01:00
libc Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
libfdt libfdt: Upgrade libfdt source files 2020-10-02 12:15:48 +00:00
locks locks: bakery: use is_dcache_enabled() helper 2020-04-07 09:33:13 +02:00
optee Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci PSCI: fix limit of 256 CPUs caused by cast to unsigned char 2020-12-22 07:39:51 +00:00
romlib Use abspath to dereference $BUILD_BASE 2020-08-04 18:02:02 +01:00
semihosting MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
xlat_tables Aarch32 xlat_tables lib: Fix MISRA-2012 defects 2020-07-29 12:48:34 +00:00
xlat_tables_v2 Increase type widths to satisfy width requirements 2020-10-12 10:55:03 -05:00
zlib Sanitise includes across codebase 2019-01-04 10:43:17 +00:00