{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/10560","labels_url":"https://api.github.com/repos/golang/go/issues/10560/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/10560/comments","events_url":"https://api.github.com/repos/golang/go/issues/10560/events","html_url":"https://github.com/golang/go/issues/10560","id":70332862,"number":10560,"title":"cmd/7l, runtime: properly handle TLS on linux/arm64","user":{"login":"minux","id":135652,"avatar_url":"https://avatars.githubusercontent.com/u/135652?v=3","gravatar_id":"","url":"https://api.github.com/users/minux","html_url":"https://github.com/minux","followers_url":"https://api.github.com/users/minux/followers","following_url":"https://api.github.com/users/minux/following{/other_user}","gists_url":"https://api.github.com/users/minux/gists{/gist_id}","starred_url":"https://api.github.com/users/minux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minux/subscriptions","organizations_url":"https://api.github.com/users/minux/orgs","repos_url":"https://api.github.com/users/minux/repos","events_url":"https://api.github.com/users/minux/events{/privacy}","received_events_url":"https://api.github.com/users/minux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T07:18:37Z","updated_at":"2015-04-23T07:18:37Z","closed_at":null,"body":"Right now the tls offset for g is hardcoded to be 0x10 in the\r\nruntime. This works as long as Go program is the only thing\r\nthat uses TLS.\r\n\r\nWe should clean it up and use proper TLS relocations for\r\nthat.\r\n\r\nAlso, we should also investigate removing all the special\r\ncase in cmd/internal/obj/arm and linkers for runtime.tlsg for\r\nARM by introducing a unified framework for dealing with\r\nruntime.tlsg (runtime.tls_g on arm64).\r\n\r\nSee also #10557."}}