Summary: | Too many PT_LOAD segments with -z separate-code | ||
---|---|---|---|
Product: | binutils | Reporter: | Jakub Jelinek <jakub> |
Component: | ld | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | amodra, sam |
Priority: | P2 | ||
Version: | 2.31 | ||
Target Milestone: | --- | ||
See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=1623218 | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Jakub Jelinek
2018-09-24 13:29:41 UTC
I agree that moving read-only (and relro) sections is a good idea, but it may not work for targets that have limited addressing and use offsets from a register to access .got, .got.plt, .plt and .sdata. Any target that uses the same register to access sections on both sides of DATA_SEGMENT_RELRO_END will likely not be able to tolerate moving read-only sections. |