[Bug ld/24491] -z separate-code generates segment with both rodata and text

2024-02-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24491 --- Comment #4 from H.J. Lu --- The patch is simple. But we need to add -z noseparate-code to many tests. I won't pursuit it. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/24491] -z separate-code generates segment with both rodata and text

2024-02-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24491 --- Comment #3 from H.J. Lu --- (In reply to Alan Modra from comment #2) > What do you expect ld to do here? Warn perhaps? Your script puts the start > of .text at the end of .rodata and not on a page boundary. You're making a > demand page

[Bug ld/24491] -z separate-code generates segment with both rodata and text

2024-02-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24491 --- Comment #2 from Alan Modra --- What do you expect ld to do here? Warn perhaps? Your script puts the start of .text at the end of .rodata and not on a page boundary. You're making a demand paged binary. There isn't any point in trying t

[Bug ld/24491] -z separate-code generates segment with both rodata and text

2019-04-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24491 H.J. Lu changed: What|Removed |Added Summary|-z noseparate-code |-z separate-code generates