profanOS icon indicating copy to clipboard operation
profanOS copied to clipboard

Tools: linker warnings on hosts with newer ld builds when linking user programs

Open Garnek0 opened this issue 8 months ago • 0 comments

Description

Happens because ld throws every section in one PT_LOAD segment and makes it RWX. This bug can be fixed by fixing the tools/link_elf.ld linker script, but the logical fix can't really be applied in our circumstances due to OSdev freakiness so somebody will have to thinker with this.

Steps to reproduce

Run make clean && make run. If ld is up to date, you should get the warnings.

Screenshots

N/A

Environment

N/A

Garnek0 avatar Apr 22 '25 09:04 Garnek0