{"push_id":3160580414,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"41203b9ab5d48e029f24e17e9a865e54b7e1643d","before":"559a07d84e5af3db09ae91844e4cb924b8f60668","commits":[{"sha":"41203b9ab5d48e029f24e17e9a865e54b7e1643d","author":{"name":"Ard Biesheuvel","email":"66d3c5fdaeea7ff1f996ad04f2c45e08ab38e2f5@linaro.org"},"message":"BaseTools/tools_def ARM: use softfloat target for CLANG3x\n\nThe 'arm-linux-gnueabihf' target triplet we use for CLANG35 and\nCLANG38 specifies a hardfloat target, and so the binaries that are\nemitted are annotated as using VFP registers for passing floating\npoint arguments, even though no VFP is used anywhere in the code.\n\nThis works fine as long as we don't try to link against code\nthat uses software floating point, but combining object files\nwith different floating point calling conventions is not permitted.\n\nSo switch to the softfloat arm-linux-gnueabi triplet instead.\nThis affects both the name Clang uses when invoking the linker,\nand the arguments it passes to it, and we are mostly interested\nin the latter (since any version of GNU ld.bfd will do the right\nthing as long as it targets EABI ARM)\n\nFor native builds, this change has no effect, since the unprefixed\nsystem linker will take priority, and so Clang will pass the right\narguments to whichever linker happens to be the system linker.\n\nFor cross builds, the fact that Clang composes the name of the\nlinker by prefixing '-ld' with the target triplet implies that\nusers will have to switch to a version of binutils that targets\narm-linux-gnueabi rather than arm-linux-gnueabihf. Note that the\nGCCx toolchain targets can use either when building for ARM so this\ndoes not create a need to install two versions of the ARM cross\ntoolchain. Also, note that all ARM toolchains in the GCC family\nare already documented as requiring a toolchain that targets\narm-linux-gnueabi and not arm-linux-gnueabihf.\n\nContributed-under: TianoCore Contribution Agreement 1.1\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nReviewed-by: Liming Gao <liming.gao@intel.com>\nReviewed-by: Leif Lindholm <leif.lindholm@linaro.org>","distinct":true,"url":"https://api.github.com/repos/lokeshbv/edk2/commits/41203b9ab5d48e029f24e17e9a865e54b7e1643d"}]}
{"actor":{"display_login":"pull"}}