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/ld: implement -X flag for extern string definitions #2676

Closed
rsc opened this issue Jan 10, 2012 · 4 comments
Closed

cmd/ld: implement -X flag for extern string definitions #2676

rsc opened this issue Jan 10, 2012 · 4 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Jan 10, 2012

For use in 'stamping' binaries, the plan is to make it possible to say

package p
var Str string

and then link with -X p.Str hello to set p.Str to hello in the linker.
For now I have stubbed out -X so that command lines will parse 
(but have no effect).
@rsc
Copy link
Contributor Author

rsc commented Jan 10, 2012

Comment 1:

Labels changed: added priority-go1, removed priority-triage.

@robpike
Copy link
Contributor

robpike commented Jan 13, 2012

Comment 2:

Owner changed to builder@golang.org.

@rsc
Copy link
Contributor Author

rsc commented Jan 24, 2012

Comment 3:

Owner changed to @rsc.

@rsc
Copy link
Contributor Author

rsc commented Feb 8, 2012

Comment 4:

changeset:   12126:915676d75024
user:        Russ Cox <rsc@golang.org>
date:        Tue Feb 07 16:46:33 2012 -0500
summary:     5l, 6l, 8l: implement -X flag

Status changed to Fixed.

@rsc rsc added fixed labels Feb 8, 2012
@rsc rsc self-assigned this Feb 8, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants