Skip to content

mold should not add .interp when -shared is used #1572

@agrieve

Description

@agrieve

This doesn't break anything, but I noticed this as a difference between lld and mold. It seems mold adds an .interp section to .so files (at least for my tests in chrome). I've verified that no input .o files contain the section, and that we pass -shared. AI suggested adding --no-dynamic-linker, but that didn't make it go away either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions