as: Order default sections in expected order - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 49a15e6576f3227a8a94eca8a5e1a5fe60d2f86f
 (DIR) parent 4c8a466ddf23cf1db739c35b6cef305f053c83cb
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Fri, 22 Mar 2024 03:18:41 +0100
       
       as: Order default sections in expected order
       
       Even when it is not actually required, the normal thing is to have text,
       data and bss in this specific order, and it makes easier to compare the
       results withs other assemblers.
       
       Diffstat:
         M src/cmd/as/symbol.c                 |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/as/symbol.c b/src/cmd/as/symbol.c
       @@ -380,9 +380,9 @@ ibinfmt(void)
                        exit(EXIT_FAILURE);
                }
        
       -        sbss = defsec(".bss", "rwc");
       -        sdata = defsec(".data", "rwcl");
                stext = defsec(".text", "rxcl");
       +        sdata = defsec(".data", "rwcl");
       +        sbss = defsec(".bss", "rwc");
        }
        
        void