{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/15485","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/15485/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/15485/comments","events_url":"https://api.github.com/repos/golang/go/issues/15485/events","html_url":"https://github.com/golang/go/issues/15485","id":151777662,"number":15485,"title":"cmd/link: should pass -Wl,-z,relro when linking with -buildmode=pie","user":{"login":"mwhudson","id":672022,"avatar_url":"https://avatars.githubusercontent.com/u/672022?v=3","gravatar_id":"","url":"https://api.github.com/users/mwhudson","html_url":"https://github.com/mwhudson","followers_url":"https://api.github.com/users/mwhudson/followers","following_url":"https://api.github.com/users/mwhudson/following{/other_user}","gists_url":"https://api.github.com/users/mwhudson/gists{/gist_id}","starred_url":"https://api.github.com/users/mwhudson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwhudson/subscriptions","organizations_url":"https://api.github.com/users/mwhudson/orgs","repos_url":"https://api.github.com/users/mwhudson/repos","events_url":"https://api.github.com/users/mwhudson/events{/privacy}","received_events_url":"https://api.github.com/users/mwhudson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-29T01:29:43Z","updated_at":"2016-04-29T01:29:43Z","closed_at":null,"body":"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.\r\n\r\n@crawshaw ?"}}