I have noticed that some libraries ship with assembly files using a .s
extension, and others ship assembly files with a .S
extension. GCC seems to handle these differently.
Is there any intended meaning behind these two different extensions?
The difference is that .S
(uppercase) files are first run through the C preprocessor and afterwards through the assembler, while .s
(lowercase) files do not contain any preprocessor directives and are fed directly to the assembler.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With