Skip to content

cmd/link: should pass -Wl,-z,relro when linking with -buildmode=pie #15485

@mwhudson

Description

@mwhudson

By my reading of the code, we currently do all the prep in the linker to work with -zrelro when linking with -buildmode=pie, but we don't actually pass it to the linker.

@crawshaw ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions