avoid silly hg dependency
ported version of Aram's basic cgo build patch
wesolows/golang#1 6l produces discontiguous relocation sections
wesolows/golang#2 cgo testso fails with -linkmode=internal
wesolows/golang#3 cgo/test TestCallback dumps core
wesolows/golang#6 unhelpful output when 6l is passed -d
wesolows/golang#5 random callback-related cgo tests fail
wesolows/golang#7 6l confused by external functions; runtime acting as enabler
wesolows/golang#10 net package still tries to build/use some cgo bits on illumos
wesolows/golang#8 enable cgo for illumos
sync with upstream

commit 91bfd26b081c86c1da7271540abf0b284a48e71d
commit 1209ceed7e43ea6994d98fcf05d1a9520d1645e9
commit c2437e0532401851380275f918680d5f9b37e82d
commit 795e0d037e3ae992594009f960c1565be3d00fca
commit 5591b341a8e0e691235424b66fedd1c0801e758d
commit e88d04acde4981e1d6dfe7c48acb29a6fcb23786
commit 796e96990542d5a053e195cc2ebfca54b710ea09
commit c9f43a1b00fccc21e2bdce7840dd46b4219ba539
commit abae4db8dd15e1a8ef9b0b2ec74602f115ad0981
commit 552ec8a339f0e23427ffd72f09ab5ee97ad843a4
commit cc55392cc3f393e83a40e63854b63a9f70893826
commit 88d662151d2306697f80615a7f7bebb4ec2d0f02
commit 862f7cbe52af55610f6565f5127fbc37634167db
commit dae415439cd968fb3ecde137a5f40b7a9e581b32
commit 0736c11a0ddf0856e8b60b845e4aa277322a8525
commit 38c5bce8faf4cc2a4661c8c265f5780f852c82a5
commit b2054bcd7eb755af5e99d99438a398a081001c1b
commit a108f933358ec35a5167b67796f9b27ad01704c3
commit 27f84883cdd9563c12dfd9a38641d43fa2ba7a38
commit 21d7227cb1ac3a7d55b4ffc9843026b4aa58f517
commit c2bc187485e430cc900d4b1aa8e9bd01585b014b
commit 3fda66f5bf02848da4d17823aa78a65680d1b432
commit dc6395fc5dfcce58d8167076e5687862c6403556
commit 23a1740d82bd97b4b5602910790b3eb4f5a04163
commit a4203b9b0019232f05a915163446e9439d96fe26
commit d71427d6c37f14cd2f1a7979fd227af81ba3392b
commit 84669cafdc29d056b0686d46293338cd4f81e311
commit 7496bfb60ed9fe7786962c8e3662c08c291ee9e4
commit 064fe14b86a5126e4f408842d02b5afe317aff7a
commit 5cdddf768bcc8b5acf94231dde9cc956a33fafaa
commit d712534316ac5032da14e8e782565afe2bab339e
commit 4a04567351f7a232dd5109b34be8c1aa91ebdb8a
commit 10297afddbb545d362bedf1c4794ced3827e9cc9
commit b9ef1b42f44e5f3b3a3ac400873d6b0f3bef6cf3
commit 66dd3d130470996361c49fc15ed540406593fb7f
commit d781f6cb53ac3efb79aab71ddc3daa182b7d0a38
commit 91e08a8dca5cfa3ad30af2a11a04a95ee86b970d
commit fccb1694d7974460b46f0981761a1ea8e39edef5
commit 37ee0c98ff39712e7bf3427569ef31510e6c1d25
commit a0654d61dd096a8cb14010396b3d2f0e581b83f6
commit f61291c541792d4b9225ea3904642f722f2a5278
commit 7dd424985a6d441054dba207494362c574ba3588
commit bbc1cd8f468fcd96540e179270f2e1e93e68ad1f
commit 697b0cf587a1618576f5c383db16180cea97a083
commit 093fe49d9c7a05052723facb7c7ab22022790185
commit 1e458d48161936ce60cf48bdda315425d2d1dc9c
commit 4b9ccd692696ec9bb52a629d8be0b3411cc725c3
commit 7e8ec5c715cfb2f4902e41765a149a588c47a543
commit baf6a76bd4c196dc7a73cd029b89e872f6b1cc4c
commit ce27b137ffe19a8d485f79ff8b7f7c40597c6bc7
commit 5dc7984f94b74689eff0f61c1a519c912f3543ce
commit 011b675313fdc0f10c03710bede8e05f963e3163
commit d53792d711cd20bc509a7aff1774a78b5b346156
commit 17c3a51de5bfdbc3af7ec4024434caa96145e899
commit 9b002faa2c524dae34528adf3d50746cafb8e567
commit 8f20b0f6e4ccbe3ba1cb32a2d69498d5c4ae517a
commit 1f793864231035529f192f3ef7605d1bde2cc642
commit 74edada1395a0e21a671328fca85a03a527badbc
commit 669a2518b24cf7db65c7052dec1a204256a63849
commit edd715d4b3591e365ff04e4b53ade23061aeea34
commit 630fc79e54303153ecfdd031b9f85e1531e38946
commit 7e554a371497e5f59d106e81fcbbb059cb883603
commit 4414cbbc84f797622b9c4899c468eaabd4f85e2f
commit 924c37f4d6756da7b2770cf4a146d267eb71f65d
commit e89c7fbd2c14ce8cbde0bb7d16e1e09668463a6a
commit 132e9d2c343109b48ac16f189c9ee4b1271dcff8
commit 7063fa50eeda4b202c802331505a229bbd90075d
commit caecba43d30802c0e472a982ddcae4c6c0ea421d
commit d3c8177a7e7739a149d657b9ff820709c65dd155
commit c7c21d6df48fba61d5314f3d70e19c251e6f47be
commit ef1a25b835d7d6da35e3bca64808390dd03da1d7
commit 592677ea4120be3ad27eee9f524dbc1e3467dac4
commit 7e624f3a1cfb013f16c51eca47280307348e701c
commit bff8c40735f07ec14c867066aa09473d66ef063e
commit 95f9c0f7446bb14f52f75c273855732b7c32fb1b
commit 1389faa6409a005aa28451ed6b663302ae1b39df
commit 63f90393b29db8160f1f8dd17fddc73f74b99383
commit 6819f662e48dc7b225a093ced6c4aeb8216fe8d6
wesolows/golang#11 li'l linker emits fixed, wrong shndx in .dynsym
Merge branch 'master' of github.com:wesolows/golang

* 'master' of github.com:wesolows/golang:
  tag go1.4rc2
  runtime: fix hang in GC due to shrinkstack vs netpoll race
  reflect: Fix reflect.funcLayout.  The GC bitmap has two bits per pointer, not one.
  doc: tidy up "Projects" page; add Go 1.4
  go/build: build $GOOS_test.go always