Global tbss symbols weren't correctly handled and were generating
a symbol with XTY_SD instead of XTY_CM as expected.
gas/
* config/tc-ppc.c (ppc_frog_symbol): Generate a XTY_CM when
a symbol has a storage class of XMC_UL.
a->x_csect.x_scnlen.l = (S_GET_VALUE (symbol_get_tc (sym)->next)
- S_GET_VALUE (sym));
}
- if (symbol_get_tc (sym)->symbol_class == XMC_BS)
+ if (symbol_get_tc (sym)->symbol_class == XMC_BS
+ || symbol_get_tc (sym)->symbol_class == XMC_UL)
a->x_csect.x_smtyp = (symbol_get_tc (sym)->align << 3) | XTY_CM;
else
a->x_csect.x_smtyp = (symbol_get_tc (sym)->align << 3) | XTY_SD;