edk2-stable202005
tagged this
02 Jun 07:05
Gary reports the GCC 10 will emit calls to atomics intrinsics routines unless -mno-outline-atomics is specified. This means GCC-10 introduces new intrinsics, and even though it would be possible to work around this by specifying the command line option, this would require a new GCC10 toolchain profile to be created, which we prefer to avoid. So instead, add the new intrinsics to our library so they are provided when necessary. Signed-off-by: Ard Biesheuvel <[email protected]> Tested-by: Gary Lin <[email protected]> Acked-by: Laszlo Ersek <[email protected]> Reviewed-by: Leif Lindholm <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]>