Current version may allocate new PT_LOAD in this case, which wastes space in ELF image and breaks our product linking.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 489 | Discard sounds like this function discards (or remove) an existing section from an output section list, so it's a bit confusing. I'd name needsInterpSection. | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 489 | I can't decide in whether we need .interp section or not. I can only tell if we do not need it. So I renamed to ignoreInterpSection | |
Discard sounds like this function discards (or remove) an existing section from an output section list, so it's a bit confusing. I'd name needsInterpSection.