{"action":"closed","number":255,"pull_request":{"url":"https://api.github.com/repos/smealum/ctrulib/pulls/255","id":56988417,"html_url":"https://github.com/smealum/ctrulib/pull/255","diff_url":"https://github.com/smealum/ctrulib/pull/255.diff","patch_url":"https://github.com/smealum/ctrulib/pull/255.patch","issue_url":"https://api.github.com/repos/smealum/ctrulib/issues/255","number":255,"state":"closed","locked":false,"title":"Added ld flags for link time optimizations and separating data sections","user":{"login":"yifanlu","id":149999,"avatar_url":"https://avatars.githubusercontent.com/u/149999?v=3","gravatar_id":"","url":"https://api.github.com/users/yifanlu","html_url":"https://github.com/yifanlu","followers_url":"https://api.github.com/users/yifanlu/followers","following_url":"https://api.github.com/users/yifanlu/following{/other_user}","gists_url":"https://api.github.com/users/yifanlu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifanlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifanlu/subscriptions","organizations_url":"https://api.github.com/users/yifanlu/orgs","repos_url":"https://api.github.com/users/yifanlu/repos","events_url":"https://api.github.com/users/yifanlu/events{/privacy}","received_events_url":"https://api.github.com/users/yifanlu/received_events","type":"User","site_admin":false},"body":"For anyone who has size constraints on their output binaries, adding these made my executable 28KB -> 26KB. Not a lot, but it helps. -fdata-sections currently does not do anything, but it doesn't hurt to have the option there.","created_at":"2016-01-23T22:25:37Z","updated_at":"2016-01-24T00:28:44Z","closed_at":"2016-01-24T00:28:44Z","merged_at":null,"merge_commit_sha":"e043bf043ba524183af98b904b7e656d7ee36225","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smealum/ctrulib/pulls/255/commits","review_comments_url":"https://api.github.com/repos/smealum/ctrulib/pulls/255/comments","review_comment_url":"https://api.github.com/repos/smealum/ctrulib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smealum/ctrulib/issues/255/comments","statuses_url":"https://api.github.com/repos/smealum/ctrulib/statuses/a4f750f5f590cf919f2646a4e94e77ce01766de7","head":{"label":"yifanlu:smaller-code-size","ref":"smaller-code-size","sha":"a4f750f5f590cf919f2646a4e94e77ce01766de7","user":{"login":"yifanlu","id":149999,"avatar_url":"https://avatars.githubusercontent.com/u/149999?v=3","gravatar_id":"","url":"https://api.github.com/users/yifanlu","html_url":"https://github.com/yifanlu","followers_url":"https://api.github.com/users/yifanlu/followers","following_url":"https://api.github.com/users/yifanlu/following{/other_user}","gists_url":"https://api.github.com/users/yifanlu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifanlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifanlu/subscriptions","organizations_url":"https://api.github.com/users/yifanlu/orgs","repos_url":"https://api.github.com/users/yifanlu/repos","events_url":"https://api.github.com/users/yifanlu/events{/privacy}","received_events_url":"https://api.github.com/users/yifanlu/received_events","type":"User","site_admin":false},"repo":{"id":50214865,"name":"ctrulib","full_name":"yifanlu/ctrulib","owner":{"login":"yifanlu","id":149999,"avatar_url":"https://avatars.githubusercontent.com/u/149999?v=3","gravatar_id":"","url":"https://api.github.com/users/yifanlu","html_url":"https://github.com/yifanlu","followers_url":"https://api.github.com/users/yifanlu/followers","following_url":"https://api.github.com/users/yifanlu/following{/other_user}","gists_url":"https://api.github.com/users/yifanlu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifanlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifanlu/subscriptions","organizations_url":"https://api.github.com/users/yifanlu/orgs","repos_url":"https://api.github.com/users/yifanlu/repos","events_url":"https://api.github.com/users/yifanlu/events{/privacy}","received_events_url":"https://api.github.com/users/yifanlu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yifanlu/ctrulib","description":"C library for writing user mode arm11 code for the 3DS (CTR)","fork":true,"url":"https://api.github.com/repos/yifanlu/ctrulib","forks_url":"https://api.github.com/repos/yifanlu/ctrulib/forks","keys_url":"https://api.github.com/repos/yifanlu/ctrulib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yifanlu/ctrulib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yifanlu/ctrulib/teams","hooks_url":"https://api.github.com/repos/yifanlu/ctrulib/hooks","issue_events_url":"https://api.github.com/repos/yifanlu/ctrulib/issues/events{/number}","events_url":"https://api.github.com/repos/yifanlu/ctrulib/events","assignees_url":"https://api.github.com/repos/yifanlu/ctrulib/assignees{/user}","branches_url":"https://api.github.com/repos/yifanlu/ctrulib/branches{/branch}","tags_url":"https://api.github.com/repos/yifanlu/ctrulib/tags","blobs_url":"https://api.github.com/repos/yifanlu/ctrulib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yifanlu/ctrulib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yifanlu/ctrulib/git/refs{/sha}","trees_url":"https://api.github.com/repos/yifanlu/ctrulib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yifanlu/ctrulib/statuses/{sha}","languages_url":"https://api.github.com/repos/yifanlu/ctrulib/languages","stargazers_url":"https://api.github.com/repos/yifanlu/ctrulib/stargazers","contributors_url":"https://api.github.com/repos/yifanlu/ctrulib/contributors","subscribers_url":"https://api.github.com/repos/yifanlu/ctrulib/subscribers","subscription_url":"https://api.github.com/repos/yifanlu/ctrulib/subscription","commits_url":"https://api.github.com/repos/yifanlu/ctrulib/commits{/sha}","git_commits_url":"https://api.github.com/repos/yifanlu/ctrulib/git/commits{/sha}","comments_url":"https://api.github.com/repos/yifanlu/ctrulib/comments{/number}","issue_comment_url":"https://api.github.com/repos/yifanlu/ctrulib/issues/comments{/number}","contents_url":"https://api.github.com/repos/yifanlu/ctrulib/contents/{+path}","compare_url":"https://api.github.com/repos/yifanlu/ctrulib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yifanlu/ctrulib/merges","archive_url":"https://api.github.com/repos/yifanlu/ctrulib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yifanlu/ctrulib/downloads","issues_url":"https://api.github.com/repos/yifanlu/ctrulib/issues{/number}","pulls_url":"https://api.github.com/repos/yifanlu/ctrulib/pulls{/number}","milestones_url":"https://api.github.com/repos/yifanlu/ctrulib/milestones{/number}","notifications_url":"https://api.github.com/repos/yifanlu/ctrulib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yifanlu/ctrulib/labels{/name}","releases_url":"https://api.github.com/repos/yifanlu/ctrulib/releases{/id}","deployments_url":"https://api.github.com/repos/yifanlu/ctrulib/deployments","created_at":"2016-01-22T23:54:03Z","updated_at":"2016-01-22T23:54:04Z","pushed_at":"2016-01-23T22:33:13Z","git_url":"git://github.com/yifanlu/ctrulib.git","ssh_url":"git@github.com:yifanlu/ctrulib.git","clone_url":"https://github.com/yifanlu/ctrulib.git","svn_url":"https://github.com/yifanlu/ctrulib","homepage":"","size":6836,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"smealum:master","ref":"master","sha":"b364790a9ac3041b76cace3c4a5ae691bb20fc87","user":{"login":"smealum","id":6338016,"avatar_url":"https://avatars.githubusercontent.com/u/6338016?v=3","gravatar_id":"","url":"https://api.github.com/users/smealum","html_url":"https://github.com/smealum","followers_url":"https://api.github.com/users/smealum/followers","following_url":"https://api.github.com/users/smealum/following{/other_user}","gists_url":"https://api.github.com/users/smealum/gists{/gist_id}","starred_url":"https://api.github.com/users/smealum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smealum/subscriptions","organizations_url":"https://api.github.com/users/smealum/orgs","repos_url":"https://api.github.com/users/smealum/repos","events_url":"https://api.github.com/users/smealum/events{/privacy}","received_events_url":"https://api.github.com/users/smealum/received_events","type":"User","site_admin":false},"repo":{"id":16035058,"name":"ctrulib","full_name":"smealum/ctrulib","owner":{"login":"smealum","id":6338016,"avatar_url":"https://avatars.githubusercontent.com/u/6338016?v=3","gravatar_id":"","url":"https://api.github.com/users/smealum","html_url":"https://github.com/smealum","followers_url":"https://api.github.com/users/smealum/followers","following_url":"https://api.github.com/users/smealum/following{/other_user}","gists_url":"https://api.github.com/users/smealum/gists{/gist_id}","starred_url":"https://api.github.com/users/smealum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smealum/subscriptions","organizations_url":"https://api.github.com/users/smealum/orgs","repos_url":"https://api.github.com/users/smealum/repos","events_url":"https://api.github.com/users/smealum/events{/privacy}","received_events_url":"https://api.github.com/users/smealum/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smealum/ctrulib","description":"C library for writing user mode arm11 code for the 3DS (CTR)","fork":false,"url":"https://api.github.com/repos/smealum/ctrulib","forks_url":"https://api.github.com/repos/smealum/ctrulib/forks","keys_url":"https://api.github.com/repos/smealum/ctrulib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smealum/ctrulib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smealum/ctrulib/teams","hooks_url":"https://api.github.com/repos/smealum/ctrulib/hooks","issue_events_url":"https://api.github.com/repos/smealum/ctrulib/issues/events{/number}","events_url":"https://api.github.com/repos/smealum/ctrulib/events","assignees_url":"https://api.github.com/repos/smealum/ctrulib/assignees{/user}","branches_url":"https://api.github.com/repos/smealum/ctrulib/branches{/branch}","tags_url":"https://api.github.com/repos/smealum/ctrulib/tags","blobs_url":"https://api.github.com/repos/smealum/ctrulib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smealum/ctrulib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smealum/ctrulib/git/refs{/sha}","trees_url":"https://api.github.com/repos/smealum/ctrulib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smealum/ctrulib/statuses/{sha}","languages_url":"https://api.github.com/repos/smealum/ctrulib/languages","stargazers_url":"https://api.github.com/repos/smealum/ctrulib/stargazers","contributors_url":"https://api.github.com/repos/smealum/ctrulib/contributors","subscribers_url":"https://api.github.com/repos/smealum/ctrulib/subscribers","subscription_url":"https://api.github.com/repos/smealum/ctrulib/subscription","commits_url":"https://api.github.com/repos/smealum/ctrulib/commits{/sha}","git_commits_url":"https://api.github.com/repos/smealum/ctrulib/git/commits{/sha}","comments_url":"https://api.github.com/repos/smealum/ctrulib/comments{/number}","issue_comment_url":"https://api.github.com/repos/smealum/ctrulib/issues/comments{/number}","contents_url":"https://api.github.com/repos/smealum/ctrulib/contents/{+path}","compare_url":"https://api.github.com/repos/smealum/ctrulib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smealum/ctrulib/merges","archive_url":"https://api.github.com/repos/smealum/ctrulib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smealum/ctrulib/downloads","issues_url":"https://api.github.com/repos/smealum/ctrulib/issues{/number}","pulls_url":"https://api.github.com/repos/smealum/ctrulib/pulls{/number}","milestones_url":"https://api.github.com/repos/smealum/ctrulib/milestones{/number}","notifications_url":"https://api.github.com/repos/smealum/ctrulib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smealum/ctrulib/labels{/name}","releases_url":"https://api.github.com/repos/smealum/ctrulib/releases{/id}","deployments_url":"https://api.github.com/repos/smealum/ctrulib/deployments","created_at":"2014-01-18T22:11:32Z","updated_at":"2016-01-23T06:26:09Z","pushed_at":"2016-01-23T22:42:27Z","git_url":"git://github.com/smealum/ctrulib.git","ssh_url":"git@github.com:smealum/ctrulib.git","clone_url":"https://github.com/smealum/ctrulib.git","svn_url":"https://github.com/smealum/ctrulib","homepage":"","size":7589,"stargazers_count":259,"watchers_count":259,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":93,"mirror_url":null,"open_issues_count":8,"forks":93,"open_issues":8,"watchers":259,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smealum/ctrulib/pulls/255"},"html":{"href":"https://github.com/smealum/ctrulib/pull/255"},"issue":{"href":"https://api.github.com/repos/smealum/ctrulib/issues/255"},"comments":{"href":"https://api.github.com/repos/smealum/ctrulib/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/smealum/ctrulib/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/smealum/ctrulib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smealum/ctrulib/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/smealum/ctrulib/statuses/a4f750f5f590cf919f2646a4e94e77ce01766de7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}