On Thu, Nov 19, 2020 at 09:51:41AM +0000, Richard Sandiford wrote: > > I think we shouldn't do this except when targetting the (buggy) llvm > > assembler. > > Specifying section flags just on first .section directive and not others > > is correct, there is no point repeating that and GNU as (but I think many > > other assemblers) has been supporting it that way forever. > > But are there any negative effects with specifying the flags multiple > times for GNU as? If not, then it seems simpler to generate the form > that “all” assemblers accept.
It makes the assembler files unnecessarily larger and harder to read. Jakub