aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/java/sql
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2025-12-08 17:47:56 +0100
committerEric Botcazou <ebotcazou@adacore.com>2025-12-08 17:50:45 +0100
commit3777a0b41f9fdcbb5fde4bdfce06031805cebc33 (patch)
tree856e6337b8b7089e521a9323c61d870de02cfc1f /libjava/classpath/java/sql
parent76fc22a292ad652338be21b7ff4a767ddb3d7015 (diff)
downloadgcc-3777a0b41f9fdcbb5fde4bdfce06031805cebc33.zip
gcc-3777a0b41f9fdcbb5fde4bdfce06031805cebc33.tar.gz
gcc-3777a0b41f9fdcbb5fde4bdfce06031805cebc33.tar.bz2
MinGW: Fix native TLS bug with -fdata-sections
The problem comes from a quirk of the GNU PE-COFF linker, which wants to make sure that .tls$ZZZ is laid out last among the TLS sections, but first globs all .tls$* sections together. The solution matches Clang's output. gcc/ PR target/80881 * config/mingw/winnt.cc (mingw_pe_unique_section): Put two dollar signs for TLS sections after the prefix. (mingw_pe_asm_named_section): Deal with all TLS sections uniformly. gcc/testsuite/ * gcc.dg/tls/data-sections-1.c: New test.
Diffstat (limited to 'libjava/classpath/java/sql')
0 files changed, 0 insertions, 0 deletions