aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.cc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-12-10 09:24:53 +0100
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2025-12-10 09:24:53 +0100
commit203d4dd09ba83121e447ce93ba98175b68d955f6 (patch)
tree2174cdc78ffed4a1c300f3219c3b6eafe587555a /libcpp/files.cc
parent89889bff20f43c30b4711ba6cb492620e5ec3349 (diff)
downloadgcc-203d4dd09ba83121e447ce93ba98175b68d955f6.zip
gcc-203d4dd09ba83121e447ce93ba98175b68d955f6.tar.gz
gcc-203d4dd09ba83121e447ce93ba98175b68d955f6.tar.bz2
libsanitizer: Restore local sanitizer_redefine_builtins.h patch
The recent libsanitizer update broke the Solaris/SPARC build with the native assembler: many files don't compile any longer like /usr/bin/as: "/var/tmp//ccYsT60a.s", line 5: error: unknown opcode ".set" /usr/bin/as: "/var/tmp//ccYsT60a.s", line 5: error: statement syntax /usr/bin/as: "/var/tmp//ccYsT60a.s", line 6: error: unknown opcode ".set" /usr/bin/as: "/var/tmp//ccYsT60a.s", line 6: error: statement syntax /usr/bin/as: "/var/tmp//ccYsT60a.s", line 7: error: unknown opcode ".set" /usr/bin/as: "/var/tmp//ccYsT60a.s", line 7: error: statement syntax This happens because sanitizer_common/sanitizer_redefine_builtins.h lost a local patch that guards use of .set in asm by HAVE_AS_SYM_ASSIGN. This patch restores that patch. Although the Darwin assembler accepts .set (thus HAVE_AS_SYM_ASSIGN is defined), the __APPLE__ guard is kept to guard against the link failures that prompted its upstreadm addition in LLVM commit commit cfdbbb8fcc62f75dcf0b251dfab63353f3921227 Author: Dan Blackwell <dan_blackwell@apple.com> Date: Fri Aug 15 09:13:26 2025 +0100 [sanitizer_common] Disable sanitizer_redefine_builtins on Apple platforms (#153381) even though they didn't happen in the GCC build. It also keeps the _AIX guard due to LLVM commit commit d7c6cad744bc7ed28535dc6f75629902eda559ea Author: Jake Egan <Jake.egan@ibm.com> Date: Wed Jun 11 20:22:15 2025 -0400 [sanitizer_common] Implement interception on AIX (#138606) Bootstrapped without regressions on sparc-sun-solaris2.11 with gas and as, i386-pc-solaris2.11, x86_64-pc-linux-gnu, and x86_64-apple-darwin25.1.0.
Diffstat (limited to 'libcpp/files.cc')
0 files changed, 0 insertions, 0 deletions