https://sourceware.org/bugzilla/show_bug.cgi?id=24373
--- Comment #11 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Kyrylo Tkachov <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e72ff251801b05ec10bed36130647985658d7c3 commit 6e72ff251801b05ec10bed36130647985658d7c3 Author: Kyrylo Tkachov <[email protected]> Date: Wed Aug 5 15:11:46 2026 +0200 aarch64: ERRAT_NONE is not zero, so test against it erratum_84319_opts starts at ERRAT_NONE = (1 << 0), so a plain boolean test on fix_erratum_843419 is true even when no erratum workaround was asked for. Every other use in the file tests against ERRAT_NONE or masks with ERRAT_ADR / ERRAT_ADRP. Two do not. The bare test dates from the conversion of fix_erratum_843419 from an int to an enum for PR ld/24373. Having the workaround on by default all the time is, of course, undesirable as it costs link-time and is not what the user has asked by default. Tested on aarch64-none-linux-gnu. bfd/ * elfnn-aarch64.c (elfNN_aarch64_write_section): Test fix_erratum_843419 against ERRAT_NONE. (elfNN_aarch64_late_size_sections): Likewise. Signed-off-by: Kyrylo Tkachov <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
