We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2cf0bd commit 910204cCopy full SHA for 910204c
lld/ELF/Writer.cpp
@@ -398,13 +398,12 @@ template <class ELFT> void elf::createSyntheticSections() {
398
}
399
part.ehFrame = std::make_unique<EhFrameSection>();
400
add(*part.ehFrame);
401
- }
402
403
- if (config->emachine == EM_ARM && !config->relocatable) {
404
- // The ARMExidxsyntheticsection replaces all the individual .ARM.exidx
405
- // InputSections.
406
- part.armExidx = std::make_unique<ARMExidxSyntheticSection>();
407
- add(*part.armExidx);
+ if (config->emachine == EM_ARM) {
+ // This section replaces all the individual .ARM.exidx InputSections.
+ part.armExidx = std::make_unique<ARMExidxSyntheticSection>();
+ add(*part.armExidx);
+ }
408
409
410
if (!config->packageMetadata.empty()) {
0 commit comments