SuccessChanges

Summary

  1. [gn build] Port 160ff83765a (details)
  2. [CMake] Default ENABLE_X86_RELAX_RELOCATIONS to ON (details)
Commit 5a4cd55e5d1452db7043ef9e9f1211172a6a10e1 by llvmgnsyncbot
[gn build] Port 160ff83765a
The file was modifiedllvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn (diff)
Commit c41a18cf61790fc898dcda1055c3efbf442c14c0 by i
[CMake] Default ENABLE_X86_RELAX_RELOCATIONS to ON

This makes clang default to -Wa,-mrelax-relocations=yes, which enables
R_386_GOT32X (GNU as enables it regardless of -mrelax-relocations=) and
R_X86_64_[REX_]GOTPCRELX in MC. The produced object files require GNU ld>=2.26
to link. binutils 2.26 is considered a very old release today.
The file was modifiedllvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn (diff)
The file was modifiedclang/CMakeLists.txt (diff)