aix: revert TLS common change
commit5f7c2d20b5bd33d7afacb56e18111edb3256c903
authorDavid Edelsohn <dje.gcc@gmail.com>
Thu, 8 Apr 2021 01:34:02 +0000 (7 21:34 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Thu, 8 Apr 2021 21:40:23 +0000 (8 17:40 -0400)
tree1a97142946c9e9c88f59a376ff921bf21737362d
parentb5242b284549cc7994a8dc073f9e1479ee0ae915
aix: revert TLS common change

GCC uses TLS common for both public common / BSS and local common / BSS.
This patch reverts to use .comm directive to allocate TLS
common / BSS.  This also changes the priority of section selection
to use BSS before data section.

gcc/ChangeLog:

* config/rs6000/rs6000.c (rs6000_xcoff_select_section): Select
TLS BSS before TLS data.
* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Use .comm.

gcc/testsuite/ChangeLog:

* g++.dg/gomp/tls-5.C: Expect tbss failure on AIX.
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/xcoff.h
gcc/testsuite/g++.dg/gomp/tls-5.C