mcgrathr added a comment. Isn't PROGBITS the default type anyway? The GNU behavior is not startswith(".text"); it's == ".text" || startswith(".text."). Exactly analogous to the .bss cases I reported earlier. Repository: rL LLVM https://reviews.llvm.org/D30229