[Bug ld/31445] -Trodata should throw a warning

2024-03-03 Thread sweeten.jacob at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31445 --- Comment #4 from Jacob Sweeten --- (In reply to Andreas Schwab from comment #3) > It is a valid option. In which way does it not work? If you see my StackOverflow question, you will see a demonstration of how using -Trodata had no effect

[Bug ld/31445] -Trodata should throw a warning

2024-03-02 Thread sweeten.jacob at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31445 --- Comment #2 from Jacob Sweeten --- (In reply to Andreas Schwab from comment #1) > -Trodata is an abbreviation for -Trodata-segment. The problem is that it doesn't work, and a user on StackOverflow informed me that it's not a valid option.

[Bug ld/31445] -Trodata should throw a warning

2024-03-02 Thread sweeten.jacob at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31445 Jacob Sweeten changed: What|Removed |Added CC||sweeten.jacob at gmail dot com

[Bug ld/31445] New: -Trodata should throw a warning

2024-03-02 Thread sweeten.jacob at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: sweeten.jacob at gmail dot com Target Milestone: --- Recently, I was trying to set the offset of the .rodata segment for building a kernel. Since you can use -Ttext and -Tdata to set the offsets of those segments, I assumed I could