u-boot/lib
Ilias Apalodimas 3f8d13044b efi_loader: access __efi_runtime_rel_start/stop without &
A symbol defined in a linker script (e.g. __efi_runtime_rel_start = .;)
is only a symbol, not a variable and should not be dereferenced.
The common practice is either define it as
extern uint32_t __efi_runtime_rel_start or
extern char __efi_runtime_rel_start[] and access it as
&__efi_runtime_rel_start or __efi_runtime_rel_start respectively.

So let's access it properly since we define it as an array

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-04-08 13:05:50 +02:00
..
acpi acpi: rename aslc_id, aslc_revision 2024-03-27 09:15:39 +01:00
aes lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
at91 lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
blake2 lib: add BLAKE2 hash support 2022-01-18 08:31:02 -05:00
bzip2 lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crypt lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crypto lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
dhry lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ecdsa Check curve_name for null to avoid crash 2024-03-07 07:41:41 -05:00
efi efi: Avoid using dm_scan_other() 2024-01-13 18:17:46 +01:00
efi_driver efi_driver: provide SBI based runtime system reset 2024-02-28 14:38:47 +01:00
efi_loader efi_loader: access __efi_runtime_rel_start/stop without & 2024-04-08 13:05:50 +02:00
efi_selftest efi_loader: fix append write behavior to non-existent variable 2024-04-08 13:01:13 +02:00
fwu_updates fwu: fix fwu_get_image_index interface 2024-01-13 18:17:47 +01:00
libavb global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
libfdt fdt_region: move fdt_region.c to common/ from lib/libfdt/ 2020-04-26 14:23:55 -06:00
lzma lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lzo lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
optee lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rsa lib: rsa: Allow legacy URI specification without "pkcs11:" 2024-01-18 17:50:27 -05:00
zlib global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
zstd lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
.gitignore lib: ignore oid_registry_data.c file 2020-01-22 17:47:57 -05:00
abuf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
addr_map.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
aes.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
asm-offsets.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
asn1_decoder.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
bch.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
binman.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
bitrev.c lib: bitrev: Sync with Linux kernel v4.17 2018-09-18 00:01:18 -06:00
charset.c lib/charset: Map Unicode code points to CP437 code points 1-31 2024-03-21 06:56:13 +01:00
circbuf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc7.c lib: add crc7 from Linux 2011-01-18 23:38:08 +01:00
crc8.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc16-ccitt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc16.c crc16: Move standard CRC-16 implementation from ubifs to lib 2022-04-21 14:32:40 -04:00
crc32.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc32c.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ctype.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
date.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
display_options.c display_options: Clean up headers 2023-12-21 08:54:37 -05:00
div64.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
elf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
errno_str.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
errno.c sandbox: errno: avoid conflict with libc's errno 2021-05-24 14:21:30 -04:00
fdt-libcrypto.c lib/rsa: Make fdt_add_bignum() available outside of RSA code 2021-04-14 15:06:08 -04:00
fdtdec_common.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdtdec_test.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdtdec.c fdt: Allow the devicetree to come from a bloblist 2024-01-07 13:45:07 -07:00
getopt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
gunzip.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
gzip.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hang.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hash-checksum.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hashtable.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hexdump.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
image-sparse.c lib: sparse: Fix error checking for write_sparse_chunk_raw 2024-02-09 09:42:04 +01:00
initcall.c initcall: break loop immediately on failure 2024-03-13 18:47:11 -04:00
Kconfig Prepare v2024.01-rc5 2023-12-18 09:55:32 -05:00
ldiv.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linux_compat.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
linux_string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
list_sort.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lmb.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lz4_wrapper.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lz4.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
Makefile fs: ext4: Fix building ext4 in SPL if write is enabled 2023-10-17 20:50:52 -04:00
md5.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
membuff.c lib: membuff: fix readline not returning line in case of overflow 2024-01-09 14:58:33 +01:00
net_utils.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
of_live.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
oid_registry.c lib: add oid registry utility 2019-12-06 16:44:20 -05:00
panic.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
physmem.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
qsort.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rand.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rational.c lib: rational: copy the rational fraction lib routines from Linux 2021-06-11 16:34:52 +05:30
rbtree.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rc4.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rtc-lib.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
semihosting.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
sha1.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
sha256.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
sha512.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
slre.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
smbios-parser.c smbios: correctly name Structure Table Maximum Size field 2024-02-02 19:57:45 +01:00
smbios.c smbios: fill wake-up type 2024-03-27 09:23:30 +01:00
sscanf.c xen: Code style conformity 2020-08-24 14:11:31 -04:00
string.c Revert "lib: string: Fix strlcpy return value", fix callers 2023-08-08 17:05:43 -04:00
strto.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tables_csum.c lib: make table_compute_checksum() arguments const 2024-01-09 10:08:52 +01:00
time.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tiny-printf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm_api.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-common.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-utils.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-v1.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-v2.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
trace.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
uuid.c lib: support SMBIOS3 table in uuid_guid_get_str() 2024-01-26 14:17:55 +01:00
vsprintf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
xxhash.c lib: Add xxhash support 2019-05-05 08:48:50 -04:00