I notice if I use .s suffix for my file , the “ bare “ framework calls .as as the assembler , whereas if I use .S it calls the gcc compiler in assembler mode .
That’s fine
But the standard bare framework always appends the gcc compiler build options to the .as assembler , while this works for the .S , it falls over for .s. Because As does not handle the gcc command line flags.
You’d think someone at this stage would have tested that