Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/link: dynamic symbols in 386 ELF have a zero size #15593

4a6f656c opened this issue May 7, 2016 · 1 comment


None yet
2 participants
Copy link

commented May 7, 2016

When generating 386 ELF, the Go linker emits dynamic symbols that have a size of zero, even though the symbol in the symbol table has the correct size:

$ objdump -t ./go | grep __progname
086755a0 g O .noptrbss 00000004 __progname
$ objdump -T ./go | grep __progname
086755a0 g DO .text 00000000 __progname

This can cause potential issues (or at least warnings) with dynamic linking.


This comment has been minimized.

Copy link

commented May 7, 2016

CL mentions this issue.

@gopherbot gopherbot closed this in 0b6e5e3 May 8, 2016

@golang golang locked and limited conversation to collaborators May 8, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.