Allows user to specify flags for each program header
Details
Diff Detail
Event Timeline
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 662 | Set Flags to PF_R by default. Then you should be able to remove HasFlags member. | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 662 | 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 | ||
|---|---|---|
| 662 | I see. Then how about setting to -1 if a flag is absent? | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 384 | Is this correct ? | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 384 | That's definitely a bug. Thanks, George! | |
| ELF/LinkerScript.cpp | ||
|---|---|---|
| 384 | Please update testcase to catch this then. | |
Is this correct ?