1 #name: good .bss / .struct data allocation directives 2 #as: --defsym okay=1 3 #warning: Warning: zero assumed 4 #readelf: -sSW 5 #target: i?86-*-* x86_64-*-* ia64-*-* arm-*-* aarch64-*-* 6 7 There are [1-9][0-9]* section headers, starting at offset 0x[0-9a-f]*: 8 9 Section Headers: 10 #... 11 *\[ [1-9]\] *\.bss +NOBITS +0*0 +0[0-9a-f]* 0*(28|40) +0*0 +WA +0 +0 +32 12 *\[ [1-9]\] *\.bss\.local +NOBITS +0*0 +0[0-9a-f]* 0*(28|40) +0*0 +WA +0 +0 +32 13 *\[ [1-9]\] *\.private +NOBITS +0*0 +0[0-9a-f]* 0*(28|40) +0*0 +WA +0 +0 +32 14 #... 15 Symbol table '\.symtab' contains [1-9][0-9]* entries: 16 #... 17 *[0-9]*: 0*28 *0 NOTYPE *LOCAL *DEFAULT *[1-9] endof_bss 18 #... 19 *[0-9]*: 0*28 *0 NOTYPE *LOCAL *DEFAULT *[1-9] endof_bss_local 20 #... 21 *[0-9]*: 0*28 *0 NOTYPE *LOCAL *DEFAULT *[1-9] endof_private 22 #... 23 *[0-9]*: 0*27 *0 NOTYPE *LOCAL *DEFAULT *ABS endof_struct 24 #pass 25