From c9e5b12473b6d1cfffb78c500b3cd91416d47f84 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 15 Feb 2009 10:54:52 +0000 Subject: [i386] Add explicit flags and type on all .section declarations Try to avoid future problems caused by implicit section flags and/or type information by instituting a policy that all .section declarations must explicitly state the flags and type. Most of this change was achieved using perl -pi \ -e 's/".text"$/".text", "ax", \@progbits/ ; ' \ -e 's/".text16"$/".text16", "ax", \@progbits/ ; ' \ -e 's/".text16.null"$/".text16.null", "ax", \@progbits/ ; ' \ -e 's/".text16.data"$/".text16.data", "aw", \@progbits/ ; ' \ -e 's/".data"$/".data", "aw", \@progbits/ ; ' \ -e 's/".data16"$/".data16", "aw", \@progbits/ ; ' \ -e 's/".bss"$/".bss", "aw", \@nobits/ ; ' \ -e 's/".bss16"$/".bss16", "aw", \@nobits/ ; ' \ -e 's/".prefix"$/".prefix", "ax", \@progbits/ ; ' \ -e 's/".prefix.lib"$/".prefix.lib", "awx", \@progbits/ ; ' \ -e 's/".prefix.data"$/".prefix.data", "aw", \@progbits/ ; ' \ -e 's/".weak"$/".weak", "a", \@nobits/ ; ' \ `git grep -l '\.section'` --- src/image/embed.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/image') diff --git a/src/image/embed.S b/src/image/embed.S index 4541bfdc2..ef7d693bc 100644 --- a/src/image/embed.S +++ b/src/image/embed.S @@ -1,4 +1,4 @@ - .section ".data", "aw" + .section ".data", "aw", @progbits .balign 4 .globl _embedded_image_start _embedded_image_start: -- cgit v1.2.3-55-g7522