gas: correctly output XCOFF tbss symbols with XTY_CM type.
authorClément Chigot <clement.chigot@atos.net>
Fri, 30 Jul 2021 13:58:40 +0000 (15:58 +0200)
committerClément Chigot <clement.chigot@atos.net>
Wed, 4 Aug 2021 06:54:59 +0000 (08:54 +0200)
commita83ef1c760b4146d49d0f5729989e300ed4261fa
tree78eff92323b5f92a93e49f4e88c0b9308c072166
parent934cb8492f1745c2883ba6be885e8729f92a258f
gas: correctly output XCOFF tbss symbols with XTY_CM type.

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.
gas/config/tc-ppc.c