Skip to content

cmd/link/internal/ld/elf: does not write dynamically imported syms correctly #14

@binarycrusader

Description

@binarycrusader

Even on x86, Go's internal linker does not write .dynsym / .symtab entries as expected.

In particular, functions imported from libraries such as libc.so (e.g. via loadcgo) when written to .dynsym / .symtab are listed as OBJT (STT_OBJECT) instead of as FUNC (STT_FUNC).

Unknown what effect this is having at this time.

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