https://sourceware.org/bugzilla/show_bug.cgi?id=27412
--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ca1289b9f3b6c9854386d1373918978412a59f94 commit ca1289b9f3b6c9854386d1373918978412a59f94 Author: H.J. Lu <hjl.to...@gmail.com> Date: Tue Feb 16 04:55:42 2021 -0800 gas: Allow SHF_GNU_RETAIN on all sections Since SHF_GNU_RETAIN is allowed on all sections, strip SHF_GNU_RETAIN when checking incorrect section attributes. PR gas/27412 * config/obj-elf.c (obj_elf_change_section): Strip SHF_GNU_RETAIN when checking incorrect section attributes. * testsuite/gas/elf/elf.exp: Run section28 and section29. * testsuite/gas/elf/section28.d: New file. * testsuite/gas/elf/section28.s: Likewise. * testsuite/gas/elf/section29.d: Likewise. * testsuite/gas/elf/section29.s: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.