diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2021-03-11 11:41:24 -0500 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2021-03-11 16:57:24 -0500 |
commit | 26ed5a28b18ad080e51e6b61f5f60d67b66fd5f3 (patch) | |
tree | ab6a6446ec82563c42ec69cad070a80e2e4638db /gcc/ada/gcc-interface/utils.c | |
parent | 5f27a9f90d4eadadf937f1a5d0bfccf39261f330 (diff) | |
download | gcc-26ed5a28b18ad080e51e6b61f5f60d67b66fd5f3.zip gcc-26ed5a28b18ad080e51e6b61f5f60d67b66fd5f3.tar.gz gcc-26ed5a28b18ad080e51e6b61f5f60d67b66fd5f3.tar.bz2 |
aix: Use lcomm for TLS static data.
GCC on AIX generates thread local uninitialized data in the common section,
which could conflict with another module.
This patch changes the code generation to place static uninitialized
thread local data into the local common section specified with .lcomm.
This change also removes the need to create a file-local name for the TBSS
data.
gcc/ChangeLog:
2021-03-11 David Edelsohn <dje.gcc@gmail.com>
PR target/99094
* config/rs6000/rs6000.c (rs6000_xcoff_file_start): Don't create
xcoff_tbss_section_name.
* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Use .lcomm.
* xcoffout.c (xcoff_tbss_section_name): Delete.
* xcoffout.h (xcoff_tbss_section_name): Delete.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions