Skip to content

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

@Garnek0

Description

@Garnek0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildBuild improvements

    Projects

    Status

    Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions