arm-trusted-firmware/plat
Andre Przywara a67ac7648c fix(arm_fpga): avoid re-linking from executable ELF file
When we build the convenience firmware package file for the Arm FPGA
boards (bl31.axf), we combine trampolines, the DTB and the actual BL31
code into one ELF file, which is more a "container with load addresses"
than an actual executable. So far ld was fine with us using bl31.elf as
an input file, but binutils 2.35 changed that and complains about
taking an *executable* ELF file as in *input* to the linker:
-----------------
aarch64-none-elf-ld.bfd: cannot use executable file 'build/arm_fpga/debug/./bl31/bl31.elf' as input to a link
-----------------

Fortunately we don't need the actual BL31 ELF file for *that* part of
the linking, so can use the just created bl31.bin binary version of it.
Actually that shrinks the file, as we needlessly included the .BSS
section in the final file before.

Using the binary works with both older and newer toolchains versions, so
let's do this unconditionally.

Change-Id: Ib7e697f8363499123f7cb860f118f182d0830768
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-11-04 15:58:34 +00:00
..
allwinner feat(plat/allwinner): add R329 support 2021-08-25 02:11:59 +08:00
amlogic Plat AXG: Fix PLAT_MAX_PWR_LVL value 2020-12-29 13:52:11 +00:00
arm fix(arm_fpga): avoid re-linking from executable ELF file 2021-11-04 15:58:34 +00:00
brcm Merge "driver: brcm: add USB driver" into integration 2021-04-12 16:44:11 +02:00
common refactor(measured_boot): remove passing of BL2 hash via device tree 2021-10-12 17:53:47 +01:00
hisilicon plat/hisilicon: do not keep mmc_device_info in stack 2021-04-08 08:44:57 +02:00
imx fix(plat/imx/imx8m/imx8mm): fix FTBFS on SPD=opteed 2021-10-15 14:03:12 +02:00
intel/soc plat/intel: do not keep mmc_device_info in stack 2021-04-08 08:44:57 +02:00
layerscape Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
marvell build(plat/marvell): do not print comments on stdout 2021-10-19 16:10:29 +02:00
mediatek feat(plat/mdeiatek/mt8195): remove adsp event from wakeup source 2021-10-14 19:25:28 +08:00
nvidia/tegra build(fdt-wrappers): introduce FDT wrappers makefile 2021-10-26 12:14:28 +01:00
nxp feat(nxp/common/ocram): add driver for OCRAM initialization 2021-10-09 10:57:54 +02:00
qemu build(fdt-wrappers): introduce FDT wrappers makefile 2021-10-26 12:14:28 +01:00
qti feat(plat/qti/sc7280): add support for pmk7325 2021-10-12 23:51:59 +02:00
renesas feat(plat/rcar): change process for Suspend To RAM 2021-10-16 17:41:50 +02:00
rockchip fix(rk3399/suspend): correct LPDDR4 resume sequence 2021-07-19 23:06:33 +02:00
rpi fix(rpi4): drop /memreserve/ region 2021-08-16 17:29:59 +01:00
socionext fix(plat/synquacer): update scmi power domain off handling 2021-09-14 11:24:30 +09:00
st feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target 2021-10-29 16:44:03 +02:00
ti/k3 plat: ti: k3: board: Let explicitly map our SEC_SRAM_BASE to 0x0 2021-03-26 02:25:44 -05:00
xilinx feat(plat/xilinx/zynqmp): add support for runtime feature config 2021-08-18 22:27:05 -07:00