Allows user to specify flags for each program header
Details
Diff Detail
Event Timeline
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 620 | Set Flags to PF_R by default. Then you should be able to remove HasFlags member. | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 620 | I have small concern about such change. Currently if we don't set PHDR flags in script then flags are OR-combined from member section flags. If we set flags in script then I guess we can't change them while assigning sections to segment, can we? | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 620 | I see. Then how about setting to -1 if a flag is absent? | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 341–342 | Is this correct ? | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 341–342 | That's definitely a bug. Thanks, George! | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 341–342 | Please update testcase to catch this then. | |
Is this correct ?