{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/13","id":37762241,"html_url":"https://github.com/jcmvbkbc/crosstool-NG/pull/13","diff_url":"https://github.com/jcmvbkbc/crosstool-NG/pull/13.diff","patch_url":"https://github.com/jcmvbkbc/crosstool-NG/pull/13.patch","issue_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues/13","number":13,"state":"open","locked":false,"title":"Newlib local patch: Add weak symbols for locking functions","user":{"login":"projectgus","id":205573,"avatar_url":"https://avatars.githubusercontent.com/u/205573?v=3","gravatar_id":"","url":"https://api.github.com/users/projectgus","html_url":"https://github.com/projectgus","followers_url":"https://api.github.com/users/projectgus/followers","following_url":"https://api.github.com/users/projectgus/following{/other_user}","gists_url":"https://api.github.com/users/projectgus/gists{/gist_id}","starred_url":"https://api.github.com/users/projectgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectgus/subscriptions","organizations_url":"https://api.github.com/users/projectgus/orgs","repos_url":"https://api.github.com/users/projectgus/repos","events_url":"https://api.github.com/users/projectgus/events{/privacy}","received_events_url":"https://api.github.com/users/projectgus/received_events","type":"User","site_admin":false},"body":"Hi Max,\r\n\r\nI don't know how you'll feel about this patch, but I thought I'd ask. It lets me produce a thread safe newlib that I can link with FreeRTOS' locking primitives for esp-open-rtos.\r\n\r\nThere might be a better way to do this that I don't know of. Most of the people using FreeRTOS with newlib seem to just modify it directly and compile a FreeRTOS-specific libc, but I figured that was a last resort.\r\n\r\nCheers,\r\n\r\n\r\nAngus\r\n\r\n***\r\n\r\nThis allows a lock implementation to be optionally added at link time.\r\n\r\nSmall performance hit if using single threaded, in that locks are now a\r\ncall to a no-op dummy function rather than a compiled in no-op.","created_at":"2015-06-16T06:06:32Z","updated_at":"2015-06-16T06:06:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/13/commits","review_comments_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/13/comments","review_comment_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues/13/comments","statuses_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/statuses/4e6d16d65808fde376af516a6991d47d56367e47","head":{"label":"projectgus:lx106-freertos","ref":"lx106-freertos","sha":"4e6d16d65808fde376af516a6991d47d56367e47","user":{"login":"projectgus","id":205573,"avatar_url":"https://avatars.githubusercontent.com/u/205573?v=3","gravatar_id":"","url":"https://api.github.com/users/projectgus","html_url":"https://github.com/projectgus","followers_url":"https://api.github.com/users/projectgus/followers","following_url":"https://api.github.com/users/projectgus/following{/other_user}","gists_url":"https://api.github.com/users/projectgus/gists{/gist_id}","starred_url":"https://api.github.com/users/projectgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectgus/subscriptions","organizations_url":"https://api.github.com/users/projectgus/orgs","repos_url":"https://api.github.com/users/projectgus/repos","events_url":"https://api.github.com/users/projectgus/events{/privacy}","received_events_url":"https://api.github.com/users/projectgus/received_events","type":"User","site_admin":false},"repo":{"id":37511165,"name":"crosstool-NG","full_name":"projectgus/crosstool-NG","owner":{"login":"projectgus","id":205573,"avatar_url":"https://avatars.githubusercontent.com/u/205573?v=3","gravatar_id":"","url":"https://api.github.com/users/projectgus","html_url":"https://github.com/projectgus","followers_url":"https://api.github.com/users/projectgus/followers","following_url":"https://api.github.com/users/projectgus/following{/other_user}","gists_url":"https://api.github.com/users/projectgus/gists{/gist_id}","starred_url":"https://api.github.com/users/projectgus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectgus/subscriptions","organizations_url":"https://api.github.com/users/projectgus/orgs","repos_url":"https://api.github.com/users/projectgus/repos","events_url":"https://api.github.com/users/projectgus/events{/privacy}","received_events_url":"https://api.github.com/users/projectgus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/projectgus/crosstool-NG","description":"crosstool-NG with support for Xtensa","fork":true,"url":"https://api.github.com/repos/projectgus/crosstool-NG","forks_url":"https://api.github.com/repos/projectgus/crosstool-NG/forks","keys_url":"https://api.github.com/repos/projectgus/crosstool-NG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectgus/crosstool-NG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectgus/crosstool-NG/teams","hooks_url":"https://api.github.com/repos/projectgus/crosstool-NG/hooks","issue_events_url":"https://api.github.com/repos/projectgus/crosstool-NG/issues/events{/number}","events_url":"https://api.github.com/repos/projectgus/crosstool-NG/events","assignees_url":"https://api.github.com/repos/projectgus/crosstool-NG/assignees{/user}","branches_url":"https://api.github.com/repos/projectgus/crosstool-NG/branches{/branch}","tags_url":"https://api.github.com/repos/projectgus/crosstool-NG/tags","blobs_url":"https://api.github.com/repos/projectgus/crosstool-NG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectgus/crosstool-NG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectgus/crosstool-NG/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectgus/crosstool-NG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectgus/crosstool-NG/statuses/{sha}","languages_url":"https://api.github.com/repos/projectgus/crosstool-NG/languages","stargazers_url":"https://api.github.com/repos/projectgus/crosstool-NG/stargazers","contributors_url":"https://api.github.com/repos/projectgus/crosstool-NG/contributors","subscribers_url":"https://api.github.com/repos/projectgus/crosstool-NG/subscribers","subscription_url":"https://api.github.com/repos/projectgus/crosstool-NG/subscription","commits_url":"https://api.github.com/repos/projectgus/crosstool-NG/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectgus/crosstool-NG/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectgus/crosstool-NG/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectgus/crosstool-NG/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectgus/crosstool-NG/contents/{+path}","compare_url":"https://api.github.com/repos/projectgus/crosstool-NG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectgus/crosstool-NG/merges","archive_url":"https://api.github.com/repos/projectgus/crosstool-NG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectgus/crosstool-NG/downloads","issues_url":"https://api.github.com/repos/projectgus/crosstool-NG/issues{/number}","pulls_url":"https://api.github.com/repos/projectgus/crosstool-NG/pulls{/number}","milestones_url":"https://api.github.com/repos/projectgus/crosstool-NG/milestones{/number}","notifications_url":"https://api.github.com/repos/projectgus/crosstool-NG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectgus/crosstool-NG/labels{/name}","releases_url":"https://api.github.com/repos/projectgus/crosstool-NG/releases{/id}","created_at":"2015-06-16T06:00:14Z","updated_at":"2015-06-16T06:00:16Z","pushed_at":"2015-06-16T06:02:26Z","git_url":"git://github.com/projectgus/crosstool-NG.git","ssh_url":"git@github.com:projectgus/crosstool-NG.git","clone_url":"https://github.com/projectgus/crosstool-NG.git","svn_url":"https://github.com/projectgus/crosstool-NG","homepage":null,"size":20652,"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":"lx106"}},"base":{"label":"jcmvbkbc:lx106-g++","ref":"lx106-g++","sha":"feb1fb829d5cb4f8739e488cbd2f0b72304705bb","user":{"login":"jcmvbkbc","id":166731,"avatar_url":"https://avatars.githubusercontent.com/u/166731?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmvbkbc","html_url":"https://github.com/jcmvbkbc","followers_url":"https://api.github.com/users/jcmvbkbc/followers","following_url":"https://api.github.com/users/jcmvbkbc/following{/other_user}","gists_url":"https://api.github.com/users/jcmvbkbc/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmvbkbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmvbkbc/subscriptions","organizations_url":"https://api.github.com/users/jcmvbkbc/orgs","repos_url":"https://api.github.com/users/jcmvbkbc/repos","events_url":"https://api.github.com/users/jcmvbkbc/events{/privacy}","received_events_url":"https://api.github.com/users/jcmvbkbc/received_events","type":"User","site_admin":false},"repo":{"id":24694566,"name":"crosstool-NG","full_name":"jcmvbkbc/crosstool-NG","owner":{"login":"jcmvbkbc","id":166731,"avatar_url":"https://avatars.githubusercontent.com/u/166731?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmvbkbc","html_url":"https://github.com/jcmvbkbc","followers_url":"https://api.github.com/users/jcmvbkbc/followers","following_url":"https://api.github.com/users/jcmvbkbc/following{/other_user}","gists_url":"https://api.github.com/users/jcmvbkbc/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmvbkbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmvbkbc/subscriptions","organizations_url":"https://api.github.com/users/jcmvbkbc/orgs","repos_url":"https://api.github.com/users/jcmvbkbc/repos","events_url":"https://api.github.com/users/jcmvbkbc/events{/privacy}","received_events_url":"https://api.github.com/users/jcmvbkbc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcmvbkbc/crosstool-NG","description":"crosstool-NG with support for Xtensa","fork":true,"url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG","forks_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/forks","keys_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/teams","hooks_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/hooks","issue_events_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues/events{/number}","events_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/events","assignees_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/assignees{/user}","branches_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/branches{/branch}","tags_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/tags","blobs_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/statuses/{sha}","languages_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/languages","stargazers_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/stargazers","contributors_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/contributors","subscribers_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/subscribers","subscription_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/subscription","commits_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/contents/{+path}","compare_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/merges","archive_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/downloads","issues_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues{/number}","pulls_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls{/number}","milestones_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/milestones{/number}","notifications_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/labels{/name}","releases_url":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/releases{/id}","created_at":"2014-10-01T20:38:45Z","updated_at":"2015-05-18T00:18:28Z","pushed_at":"2015-06-09T22:17:32Z","git_url":"git://github.com/jcmvbkbc/crosstool-NG.git","ssh_url":"git@github.com:jcmvbkbc/crosstool-NG.git","clone_url":"https://github.com/jcmvbkbc/crosstool-NG.git","svn_url":"https://github.com/jcmvbkbc/crosstool-NG","homepage":null,"size":20652,"stargazers_count":15,"watchers_count":15,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":8,"forks":12,"open_issues":8,"watchers":15,"default_branch":"lx106"}},"_links":{"self":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/13"},"html":{"href":"https://github.com/jcmvbkbc/crosstool-NG/pull/13"},"issue":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues/13"},"comments":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/jcmvbkbc/crosstool-NG/statuses/4e6d16d65808fde376af516a6991d47d56367e47"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":117,"deletions":0,"changed_files":1}}