{"action":"closed","issue":{"url":"https://api.github.com/repos/genodelabs/genode/issues/1347","labels_url":"https://api.github.com/repos/genodelabs/genode/issues/1347/labels{/name}","comments_url":"https://api.github.com/repos/genodelabs/genode/issues/1347/comments","events_url":"https://api.github.com/repos/genodelabs/genode/issues/1347/events","html_url":"https://github.com/genodelabs/genode/issues/1347","id":53672698,"number":1347,"title":"x86: Move crt0 to .text.crt0 section","user":{"login":"nfeske","id":1268399,"avatar_url":"https://avatars.githubusercontent.com/u/1268399?v=3","gravatar_id":"","url":"https://api.github.com/users/nfeske","html_url":"https://github.com/nfeske","followers_url":"https://api.github.com/users/nfeske/followers","following_url":"https://api.github.com/users/nfeske/following{/other_user}","gists_url":"https://api.github.com/users/nfeske/gists{/gist_id}","starred_url":"https://api.github.com/users/nfeske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfeske/subscriptions","organizations_url":"https://api.github.com/users/nfeske/orgs","repos_url":"https://api.github.com/users/nfeske/repos","events_url":"https://api.github.com/users/nfeske/events{/privacy}","received_events_url":"https://api.github.com/users/nfeske/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/genodelabs/genode/labels/cleanup","name":"cleanup","color":"1b7921"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-07T19:40:50Z","updated_at":"2015-01-08T10:50:34Z","closed_at":"2015-01-08T10:50:34Z","body":"On ARM, the crt0 code is located in the dedicated \".text.crt0\" section. This way, ELF entrypoint always points to the very beginning of the text segment. This is useful when converting an ELF image a raw binary (which can then be started by meremly jumping to the start of the image).\r\n\r\nEven though this mechanism is not used on x86, I would like to see this aspect of the ELF layout unified between the architectures so that the entrypoint points always to the beginnging of the text segment on all architectures."}}