)]}' { "commit": "a67ac7648cd814ed8f8d4ece1b265c6d48c6dc81", "tree": "ac95fa6660508dc0128fc15c6332f9dada3fb371", "parents": [ "663461b9144e21b3fb0de92c886b63254964429a" ], "author": { "name": "Andre Przywara", "email": "andre.przywara@arm.com", "time": "Thu Nov 04 13:47:17 2021 +0000" }, "committer": { "name": "Andre Przywara", "email": "andre.przywara@arm.com", "time": "Thu Nov 04 15:58:34 2021 +0000" }, "message": "fix(arm_fpga): avoid re-linking from executable ELF file\n\nWhen we build the convenience firmware package file for the Arm FPGA\nboards (bl31.axf), we combine trampolines, the DTB and the actual BL31\ncode into one ELF file, which is more a \"container with load addresses\"\nthan an actual executable. So far ld was fine with us using bl31.elf as\nan input file, but binutils 2.35 changed that and complains about\ntaking an *executable* ELF file as in *input* to the linker:\n-----------------\naarch64-none-elf-ld.bfd: cannot use executable file \u0027build/arm_fpga/debug/./bl31/bl31.elf\u0027 as input to a link\n-----------------\n\nFortunately we don\u0027t need the actual BL31 ELF file for *that* part of\nthe linking, so can use the just created bl31.bin binary version of it.\nActually that shrinks the file, as we needlessly included the .BSS\nsection in the final file before.\n\nUsing the binary works with both older and newer toolchains versions, so\nlet\u0027s do this unconditionally.\n\nChange-Id: Ib7e697f8363499123f7cb860f118f182d0830768\nSigned-off-by: Andre Przywara \u003candre.przywara@arm.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "b4bc7d884a6bfe64f7719dc632aa8b608160483d", "old_mode": 33188, "old_path": "plat/arm/board/arm_fpga/build_axf.ld.S", "new_id": "d8254e5b2cc23f5dca2e00f229b47441bb7dba3e", "new_mode": 33188, "new_path": "plat/arm/board/arm_fpga/build_axf.ld.S" } ] }