We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d61ec commit 87fc9a4Copy full SHA for 87fc9a4
lib/MC/MCObjectFileInfo.cpp
@@ -478,12 +478,10 @@ void MCObjectFileInfo::initELFMCObjectFileInfo(Triple T) {
478
#ifndef LIBUPC_LINK_SCRIPT
479
UPCSection =
480
Ctx->getELFSection("upc_shared", ELF::SHT_NOBITS,
481
- ELF::SHF_WRITE |ELF::SHF_ALLOC,
482
- SectionKind::getReadOnly());
+ ELF::SHF_WRITE |ELF::SHF_ALLOC);
483
UPCPgmSection =
484
Ctx->getELFSection("upc_pgm_info", ELF::SHT_PROGBITS,
485
- ELF::SHF_ALLOC,
486
- SectionKind::getDataRel());
+ ELF::SHF_ALLOC);
487
#endif
488
489
// Exception Handling Sections.
0 commit comments