From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110522 invoked by alias); 20 Apr 2017 20:19:43 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 110454 invoked by uid 9674); 20 Apr 2017 20:19:43 -0000 Date: Thu, 20 Apr 2017 20:19:00 -0000 Message-ID: <20170420201939.109753.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] tromey/python: Merge commit '096c92ddb3a5a959bc638cff3c4ffa0f48a737d7' into tromey/python X-Git-Refname: refs/heads/tromey/python X-Git-Reftype: branch X-Git-Oldrev: e2c0cbf93cf20667be449a75d2ada5d377ddb090 X-Git-Newrev: 718a1618b2f691a7f407213bb50f100ac59f91c3 X-SW-Source: 2017-q2/txt/msg00005.txt.bz2 List-Id: The branch, tromey/python has been updated via 718a1618b2f691a7f407213bb50f100ac59f91c3 (commit) via 096c92ddb3a5a959bc638cff3c4ffa0f48a737d7 (commit) via 5dc74d659d1c84b8ffdb4fcbf2ef73dc974d8a5b (commit) via 0550c9559522c84341edcb334af30bc9bf2df9fb (commit) via e3d60dfc000a29959c78bd69b85100aab33f7ab5 (commit) via 5fd69d0ab2c42d2be0781bf3a5d60e1d5b8d05dc (commit) via c6609450b33960a0e9f8c1df045b02f0677e866a (commit) via 2a00d7ce26a6ee15e3712b045c8b7932278ea23b (commit) via 441d7c93782a1b1877bfa903dc8da56a6041bfb4 (commit) via 7296a62a2a237f6b1ad8db8c38b090e9f592c8cf (commit) via 1d15e434f43bc41a07bc7b0648fcb7e6ccbe8dcc (commit) via 4274208406762da7af6dd697f44d8e6895061530 (commit) via 808480f667e41e2fdb66bfdc9d5e047f1aa34a68 (commit) via 8f0dd45fde9de100160f45cad3e537e4e01a5493 (commit) via b1b45502bdef95b57125b56287b45c2eb26707d3 (commit) via 63a5468afa8e2cf8843d87b99e780e9266b31014 (commit) via dae82561a286618acf097ad9894eafba98377f66 (commit) via c08bb8dd9bd9fd101018b287726187d7ed6a0035 (commit) via 10463f39c79843c2c141481a0781091870695b17 (commit) via 4af8774e1559b2a4e098ca0e4fc5daf857c633c1 (commit) via ad3d022a77afdbaba4bb36ff4aa99be52892de42 (commit) via e6ddc3bfedb4665c9d4baa2c85037af25167cdf3 (commit) via bfb8cf9091a174b42beeff3d014173084413af4d (commit) via f5336ca55ca0aca2507ac8c0f1d573d7f6b877ab (commit) via 4f70a994900c2f7b235add7d4131cc069c181cea (commit) via be628ab814f1c90e185d7482d27aa8a991ab5837 (commit) via 8e9e35b1808481735e2d1efbf70ed7396a845d8e (commit) via 16e802b9c085ce354b1ab9e2fd25d00bf7626fa8 (commit) via d28cd78ad820e3a40ac5064b6a30f3a12ce70bf0 (commit) via 711799d513206f6d8fc3dbfa81dcdecdb2ce6ece (commit) via 52d214d3e1b2f6a1382feafbf2984acdb24c0c95 (commit) via 4c404b8be6b1d8759eed50366207fc0e2e47d2b1 (commit) via 156d9eab863f40fc812245cf1213abbe12d192b3 (commit) via 4d89769a7b4e38e94a6e027281b36eff71fc8214 (commit) via 4b217cc72b7ab04e2bea519f9fbd47d8952e08f5 (commit) via 59d3651be7419fafa959f75a3fd46914f5ce395a (commit) via b24b0d6c3be6b95d4b5e8da901e1ef315bd458b4 (commit) via 80a3b8c578e93119183db5f5e34248f843e410a7 (commit) via c83dd8672698bcdf48d27e267e481230075f5900 (commit) via 0e8621a0bec2d0840b853c4104614f345f0569ca (commit) via 67d89901506da74d00a482b7560237dce404b41c (commit) via 93921405a46c0a58eae19fffb92e02416082801a (commit) via ffc2605c41d026cf5710704848b7c3b1cdbdcf49 (commit) via 8f10c9323357ad190c0383f2fc9d394316447905 (commit) via 0a31ccfbd84660a91b133a9915e6f63c30033189 (commit) via e9bb3fbbe81115b196b436cf513f0fd7b41d6a4a (commit) via 53375380e934928af133bca69c1e1912c35e9c73 (commit) via 53e710acd249e1861029b19b7a3d8195e7f28929 (commit) via 5e0e0422137063ff3846886c8eeb64e98e7669d6 (commit) via ab0538b875c054468aa205d8d36550d1223a3bfd (commit) via 5430098f1807e084fe4ff5057040d68435f3d8a2 (commit) via 7c5ded6a00c4817d56cdf04fbc1969bc33b2a930 (commit) via ef6a5ae7bd1dd7b528f5cf368d98056603003c35 (commit) via e4097f5ee55a0d14a6213bccb9da39d4878714c8 (commit) via 537616aaeb44bc698af9848987e7c8e96d550595 (commit) via ae0eee42821865ead8d391bb4f92bd2c136c6d43 (commit) via a6acac06113f4b04fa0333ee2a3ab3025b43ee7c (commit) via 64403bd1832e10aa8324194968f72bdc5feb5aeb (commit) via fbea15088db59186960134d11b8bf98070224d6c (commit) via b43c520dba2f909c9bbb3ff5f2657c1c9010939b (commit) via c03dc33b606c17231e47f37ae0f00d1c9a6c0506 (commit) via ef85eab0ec3d7c88ea05047538d11fe704806cd8 (commit) via 9570835e5597037bee5042edf822675e715b3caf (commit) via 9a85b496ac4e6488d427155c24f87367ab1f6b1b (commit) via a5bef50fdbfadbc6b8911b458580ee91cbfcdafd (commit) via 28d909e539567ab5ecd2bc20680e933869fdf889 (commit) via a70f34c01c7f250858bd62df245c241263200f63 (commit) via 9295a5a95da871bfdeec225a6fc2f52f7655bd1c (commit) via 996812e3d43f78b17b6454d2948cd825ec98c63b (commit) via 845b344fd54ba381a826b271dd33682d1f148438 (commit) via 803bdfe43083475c7df3db38dc96f4e20d05457d (commit) via 8c25b49760b854d0b8451e8ecffeb9860fc41158 (commit) via 947fa9141488c1d39303fcdaa056332d2d0b2599 (commit) via bb1dd176fb6f38ae3cc30dc61ce55a7fbf9d0d7b (commit) via d236cfd444630bd9ddb63edca54c056d5825e673 (commit) via 62adc51030ad83d09e6d20c455616fd9216e4783 (commit) via 6f9dbcd42f2cf034a9a21f46842c08d2e88449db (commit) via 37095d07b470ea94d578cd5ca2da032617200c52 (commit) via aa808707033a46ee063263f4bc1bd06449851621 (commit) via 8473b4472dce9ce87aaad35ff8e975e1487f914e (commit) via 4a44171e07147c6b943412c90184736ca5dbfb4c (commit) via 5e8bf44f4c94d430ac21257a1a953cfccd2ce79b (commit) via b630840c9c22a877b2c6270880a214f7b451f546 (commit) via ae27d3fe76ffb54e7d413a67d8c8d76ca78a9681 (commit) via aebcde5eb475befba571ca9ae7b6c58126d41160 (commit) via a7eaf017f95932eb2d654bd61f4c4a873ba71f77 (commit) via 8170f7693bc0a9442c0aa280197925db92d48ca6 (commit) via 6670ec13726c3afca789672f6235378a5e1f7d71 (commit) via 49f4617bf4b86a0b057f3477d57ffbf7c998b229 (commit) via ae3f8c28134b52414a4c31df2e156615087c46e5 (commit) via ac8f0f721bf0db9ffd0c6602744f1859cb4dd8d2 (commit) via 5c1f54ce0b21b19ac0b2a2c921c9ea2f33bbf5fd (commit) via 498e34425b38f69ceba28707962e3593c281261a (commit) via ba2f91bb5d69127da41b368c7226f596ee449eca (commit) via 1fd6d111905e76dfa7af9fbee5229f3f1d360b4c (commit) via 436252de3e9de546001c4312d0863ce7e10aa200 (commit) via 1379e3aaea5e9454d7e75f293c3fe24c0d11c688 (commit) via 62ecb94c4a2929c1aace3fb5470d2a5100255811 (commit) via 0dedf3777db42712f460123ac0c63c49de5456f5 (commit) via 3944e22b463a62bfc4f6f0a892c6b0ac705e3c43 (commit) via 86abf93a3a56ccdf1c5f15b841ee9d6a0516a2cf (commit) via 0f65a5d84d0a83e5594cf17d04e9f98ab66652a4 (commit) via 9014582538e38055e438b6cce28d165a73abcc60 (commit) via 6ca30fa5613cfa935834f27114d6db4f3854a13e (commit) via 4e9868d4e0c8e45505876901d22c021dd36972a8 (commit) via 9bf2a700667c53003ece783c05e8b355801105f2 (commit) via a121b7c1ac76833018f4fc3adaeddc3147272dd0 (commit) via 995816ba55d952b2823d2ead66495c5cad6dfe58 (commit) via 3e83a920090130052a407621b94b94513f539fda (commit) via 63160a43508fb50d9013df061b2191de71f67b50 (commit) via 9b2eba3dcc6b41f17180e1aee29ed133f942c733 (commit) via 2adadf517063fb1c3b9240bf99ad339968c12f15 (commit) via 0d1f4ceb3904c4c82231adf98f0e84f37bc8d4ea (commit) via 4d75997912d77497fd395fde222513436a7df046 (commit) via 21c8a587ab81a58d3e067551d5503a765f00ec6e (commit) via fb32b4f7005ef8f1bde02394b58b5c5eda9cbf10 (commit) via fdf9e36fa2ed39f0da0dfa5dfdbd8e2452c6cb45 (commit) via 9f33b8b7c19413efbb37638bdba54706e4da8573 (commit) via 67cb5b2da285175d37782f3606992b8052234b00 (commit) via 7a1149643d8621541025e2c70e6391e901c8c7ef (commit) via 69bbf465237819bd7bf2a21a682d695273b3c8cb (commit) via be47f9e8180d7275b0e2b26998472e99be9a2d7b (commit) via bde6261aed330cd8d108c387bfe659a6171525dd (commit) via b38ef47f47bda5509babd768092ceb09ab98828d (commit) via f995bbe8e62fdb5607acb1ee127240cfe50d2b8f (commit) via 0ad9d8c73486e60c5a4963c1b7a0ea7063d69cd2 (commit) via 4a596fe20e93109300e841a3d0ee5f198146ab6d (commit) via 2cad08ea7dbc96103da9957da6973f9d0dbc33a8 (commit) via 55a98976756cb2df83ac8f8e9799331fbcc4f669 (commit) via 8dea77f0254d6a76d71092c922e9409ef1b67df4 (commit) via 4ac40124eef08045bf99ad9f4fcc277961953109 (commit) via 4d5efb852be6554305dfaf17c1e4f07bb9514273 (commit) via c053b65441eb70ac78a514fabc3431b857a30d2e (commit) via f3b8f8ee35bd62a2ae7d21561f5d23f00dad004f (commit) via 80070c0d3491347f11283c5791b9dd040fedbd4f (commit) via 4c7bf4f91b7dd3ccbd12be55316fca8817059a24 (commit) via 1e1a8bef60db2f524c5eb1d27be22cfa9ff82a84 (commit) via 499079343549348e270047ffa2687a8a76523700 (commit) via 6f77053d2ae56f16c10a8817732ed9fb43893507 (commit) via 9c5417255690af00751c7d506172459afe856894 (commit) via ecfb656c37b982479d8eb07f240b434772d98fd6 (commit) via d194f1fe51cb85b8a919b7ee9e3a7715b0ec9744 (commit) via fff8551cf549f4047c9276a836408d802db6ce6d (commit) via 477bdd393c8145ad44899cb4681d57a61c82aad3 (commit) via a91e1603afb6704545793e967a1a3dfe96b389de (commit) via b52920324fabbcad93042f2e17de52696d0dab42 (commit) via 65dd1e590e519eba10bc29fb6e952271e0604c9b (commit) via d62a8ae2dd0fbb6235f4e8f2fb61b83fe4ba1d90 (commit) via ad32986fdf9da1c8748e47b8b45100398223dba8 (commit) via db3a1dc7c9404e203c54576db3335e69d995e83e (commit) via 4c220b4625df0b08cbb22e5c7ca04dc7a629de1b (commit) via c41cf6fdf514fce6b69f8f875b6903b2a3910f89 (commit) via 2f5f29cada3c06c9c26f4da5994951effee7d6f7 (commit) via 2514e33e01890ad28023359b110d1c9c1ad201d4 (commit) via 46bed6796d5821832e8ba373ddb2e7fdc45a109d (commit) via 82156ab704b08b124d319c0decdbd48b3ca2dac5 (commit) via 75ec1fdbb797a389e4fe4aaf2e15358a070dcc19 (commit) via f32ba72991d2406b21ab17edc234a2f3fa7fb23d (commit) via 12bfb8fec326e847f6300874ca656e47ee027f5d (commit) via 450b68da0169dcfa1c36987ec80e2655abb3f8e6 (commit) via 5e6a0e73317915b0685249606538ea739acc3a23 (commit) via fecb9c46659c576e9e2c790eff2a25df8203a97f (commit) via 858f82bf7e6531f4ad821285359c759c835f9dce (commit) via 8fa5b777488105287e56937365523d01e51c2eb3 (commit) via efdf7a02db60e7371ba6372e47b510aadecbae28 (commit) via dc1e4d6dedcb8ee3bb195f0db711f6aa164b8ab4 (commit) via 938ec663b8ec03336bd0387ee8f8d6f18f199025 (commit) via f96bd6c2d7a3801fabbf9d834f7a29b752aa7532 (commit) via 662659a1a582af14aa45a458005e2a4df514b6d7 (commit) via a62b75569b0e8038cf7c61350bf6fd5d0d6b64f8 (commit) via ec13808ef07550f8a5f87fad1945739da1f10c81 (commit) via f7c514a3784384215692c43d66f013d7640db277 (commit) via 1231656410996d2cc271486adc743a0fafe2ab4d (commit) via 52be03fd13a26ecda4f27c451a434f19eded0ca6 (commit) via e643cb45bf85fa5c8c49a89ff177de246af4212e (commit) via 7cc0cd2903612a0730de6ba00181b9016e77ea3d (commit) via 086554e8e6b222518f12acab34e6cc7b5af7fde7 (commit) via fe5f7374bef8f23ffa0fe0dee0f9b05e0a218a29 (commit) via eea787570f708e51048f812808e6cbd76fde6919 (commit) via 3be78afdeddd3ebf57eb0df8b029cf596f468c7a (commit) via 296ec4fa2afb14abc400fa0109d7288eb958c544 (commit) via 081c108e3688d67f257d4b98c9012ef2677b3b18 (commit) via a12e714b775ce025444af15dcfbd5a420363ad53 (commit) via f74f865e5030057deb8a6a56af4a9e003d82cdcd (commit) via 0d0bf81a6729478563c3851ccfca435222ddfa25 (commit) via 1a09b50a463ad005946849540da136b5cbe6237b (commit) via 0ce4291e3ffd90d2b94e02b4557d716c043bf02e (commit) via c56054f9a80e157e3d2d5109821abd191b68f0ea (commit) via a43986283d61ffd4d7dc9b20c0ecb73cd345206c (commit) via 8c43009f48a0d4be497cf7c1285784aa70fc5abd (commit) via a7e80b9e21eb907ac5c90de7452588c059db0cec (commit) via b1a42fdfa31937d7e05df34afee970ac0ad239e1 (commit) via a6be053897be3786ceda9a59d17befe11454f6d2 (commit) via 210477268d4ac5cad937e811888a5c932206794c (commit) via 9b7539374617a94c2d646f49e1bbfc954b11891d (commit) via d721ba37d8995b9c11a0b8eef0f4d2dc022f85aa (commit) via 79b1d3cb362385c38af9cfb44c0c87b939711fbc (commit) via 8fb740dd3032543b833b141011aa2005c035d024 (commit) via c0c31e91adc6aabe7c96f02dd51a0f6200a982da (commit) via cf31b44f3c4d839db0dcce10e0c4cc47d3be4ff1 (commit) via f124168208a5927e9f1b9843094ec2bf2aad2edf (commit) via 7ed687b257a4182771079c582887498d0a98810c (commit) via 275c67ffb452f21f5c002cd0c7bbfd244848111d (commit) via ed771251e16c8c66cbdd03738135e76caef6937e (commit) via 568c1b9f503649d19ed1d17e6970f212e6b6317d (commit) via 62785b09987359ede74a98fac11343827f7181af (commit) via c72cea5aec39df2d7a105755691a61460ee64f59 (commit) via cad1105d6a28e1199e82653619fbd63c2b9d4fa6 (commit) via 3e00d44febb8093d8dc0e6842b975afb194c4fd1 (commit) via 077ae656a69fcf144f68848a3f6f2cb559b62987 (commit) via 1e2b521d987a34898ca959a33972be8912511ba0 (commit) via 338771252e913f82df8a445cb3e748a791b1cba8 (commit) via a0eef9404b0fcfc8b0fbe7511d094a419ac631e9 (commit) via 1a5e158b68d0fb3b1ba3d038e87c841239572a35 (commit) via 3f2a3564b1c3872e4a380f2484d40ce2495a4835 (commit) via ad36c6ce7c176a0bade3b3f09b801e65ab5ef93f (commit) via 19683c0408d66d9e48085fd5af009ad7d83aa3cd (commit) via 24e5b4e682a92788ffa676e963b7f1dec2101333 (commit) via b67aeab02c05fdd654f132a550dd4f196cb1f6d3 (commit) via 11997a83a040245406b6e2e9978c6720f17e80c4 (commit) via 79778b30dc5881a8d88b55744cab53d95fa6fda2 (commit) via ffdbe8642e74527795b695988a176f0920d58f96 (commit) via 9d736fbf01d20bc03804fa0cb49d99fdf6628fab (commit) via 3e6c75670009a5e9eaa72eb456b296451b3c46fe (commit) via 4c8798c9923de48c71430ce262d83042179232c6 (commit) via 3de88e9afbf0d8d10a8c4ce1415c219120e0a0c1 (commit) via 0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4 (commit) via 2253c8f089193b90141e08436417bc8ea1dd6015 (commit) via 4a14e306468af630a27302d68b8d4c59733141b4 (commit) via 645d3342ba2b920722991255513030bb903b794e (commit) via 75d7d2986cf896fac8f0690db68ebc552e0b0339 (commit) via 5badf10a18af78c57dd4ce8e6a6ead7f46e1a878 (commit) via 21701718895d186285e6daf04cc7342c6c88fb03 (commit) via cee59b3feac9a8f6300a5b788e3db4e15af2a894 (commit) via 09220eae9df07c40d206a35e6caaecba92ab8f46 (commit) via 639a9038c9f4fc50b6a57c18fe84db4559367a96 (commit) via bcc0c096d5b0f77482cdb3154acd2515a0ca832f (commit) via c0f55cc689a57deb342b988b8f0ecb908f0a76e1 (commit) via 15c0a2a9305648095f5586a02b5a5017e1643e99 (commit) via aa0061181ab00081e9907447561e589d6edee9f2 (commit) via 3fcf899da106890f3948093c2424f9dff67d6fe0 (commit) via 4297a3f0029974c62628d69b6f3f9ef25f01ea7d (commit) via e1cb3213476485a01aa11ecedfa186e386cb4bdb (commit) via e4347c89f3a14b480fc88581d1363835f7b99b68 (commit) via 53cc15f5fe1f5e2358994d4f60f1c2aa9115004d (commit) via a65cfae5f8b268158c23a862e7a996d15bbcef0e (commit) via 3b22433085e4cfee83f5c52f3baa8fb9bc67f8dd (commit) via f9aeb8d499fa12610610dc19618230304c698f6c (commit) via 51457a05780da82b5321a1574caed95ac0e6923e (commit) via 5b291c049658614196197e4ea4bb42bcc176b876 (commit) via e696b3ad342dde596dcdad4cff6b875c361ed6d0 (commit) via 59a561480d547d041127630b1ba17a284eef8225 (commit) via 39e224f6f9ee3f6123d4c9ddb7c0955e0604c1b4 (commit) via e406e428dfe9d64e3be0b7a3c1c97c09edc5bdba (commit) via dcb84eda0c5f25835251a311c4d6704e70cfa498 (commit) via 4ea0266c22eccf6e7719469a981267659e47ef3a (commit) via d5e0ba9cdb0d002b97bab722cce673ce86cf7b11 (commit) via d3375ddde4011242ef576083459fc51d0ddc53c8 (commit) via 5c62b69b91e13c6b9c126480680cff836c0b282d (commit) via aaed6f5be3a41a88cc13c744e88af78f5a42dd5b (commit) via 84e8538ee3c8139a99e75e661fff500bb93c8cd5 (commit) via bbdf9b697fc0652379794267b23f597e15c7db57 (commit) via 82e66161e649e5e801c40a52cba759292a76a59a (commit) via d9cb6cdcfa12368f2f639f8cd06d18b94bd98a39 (commit) via 1afaf9f42fe201872d758214beceff85325a988a (commit) via aac12e2497a42b47223680ab1b5924137de77c9a (commit) via bbe1eef1e585e19d5493882e55f2b7902df9827a (commit) via 10799020a9336b6a88c1ace53c601960b840d580 (commit) via 00204cf7da01d99205aacc994e5c594ed12bba64 (commit) via 11a3371447f15af26def26646ad2eb7a4386462d (commit) via 317cd4925a9d6ef6f8752a771cb56e85ddfb30f0 (commit) via 9ac8a7c281aa949cf588cccb9977ea51eaff8130 (commit) via 4ac4bb6ad5ead16be5ca6996a3e325c26ddf71da (commit) via 0dd6ae21da832f351a3722d2f8bac187fc3bdfef (commit) via 9bcbdca808b5f9fec6217d20bd4b48a56008c460 (commit) via 7503099f3e29739d34cb1224d54fba96404e6e61 (commit) via 4b94dd2de12dd0389615700b13b63260e162ccf0 (commit) via 1d3fa25f5802fe2250f32f335ad57897a62e0fe2 (commit) via b4fcfd3b4d173129207f804f5eee4557c788d66b (commit) via 7942e96e435d1cf4d4dbf58c47bb28d9f628c9e6 (commit) via 6ebac3fbacebaebd9e2c9393da3b612342d953a9 (commit) via 2cc36e25db366d70a975702b61c7700ae934d4d0 (commit) via a8be5506b626a57f84771c5ddfaefabf2d61c017 (commit) via ba14f3792fe007bedd88b62e554c79258adc53d9 (commit) via b121eeb9971ebfceffc38e6131fdc15ec4188599 (commit) via 728a79135f51a1c20719ebaf3c98446d9ee248db (commit) via a7c0469f992721b30665ba92f4f2f74d29032a84 (commit) via 34b433203b5f56149c27a8dfea21a921392cb158 (commit) via a3a5feccd26be653efbdf1408874b98962baaa50 (commit) via f8d995870f957d5fd32fb21fb4afe76a754ddf31 (commit) via 28f1c60507ad4ca2252cebada30d2f63ec3b772f (commit) via ec3b243d4308ee56c9e3c62470b10ed2a822eb51 (commit) via 2c52e2e8c9e8f733cc0772d1400b0f4d3eb7379c (commit) via e189bfe660d335f3b7c61446c9b5d3b0f0701606 (commit) via aab2c17756ee5bef0ea5783a460a0990450b3bd5 (commit) via 4d78db49e6eee097365e31f9b5b47e5391243979 (commit) via 152c92b261fd9e4655688bef746ca32352f56bc4 (commit) via 1e1247c89ca2ce10dbf2c3ed61fba942f9c536ca (commit) via 1728969e93010862fe0ef7985cabe03a4494a63e (commit) via c3847462f86778e97222a72378a84182f92c644a (commit) via 453018bf4490421a995cd76b3d2a3f322359c6a5 (commit) via b416fe873ef44b2a613c9266c6462a481926d986 (commit) via 03b039a518fa0f89a9900a44a8b874cc91061305 (commit) via 9494d9636612cd9bd22e38625fbc89147beafea7 (commit) via 7cb7b948ce62831a999f88054a6b2d39afbe926e (commit) via cc7e96c25d59db0a5279da0a0ff36d61151f3021 (commit) via c98763221af696a9e0c6686da7d65881bfd6bdd0 (commit) via 87c336f60eccc6506ff19369c29575f43fea02ea (commit) via d47c3ff7d55122befac848fe64b7445789c78787 (commit) via 2aece2ba02457e83fd2a780a8ac596b6a90adf29 (commit) via c1b465c94e26be629315bf28e3763dea9dea8336 (commit) via 2c232b8361a044d689d12161b7a645d238586f5e (commit) via 9216a6f33592c350ad50696d5571c82e47b71a5e (commit) via cf81cf6081d1a8c15c477f903d15d7b88f31b686 (commit) via c799a79d66d09c442d85467986c2e8873f09297c (commit) via 0efcde634d45f4cda03fd18c43ff449103559d7a (commit) via a379284af268ed768674e7f452ca78dad2aaaf55 (commit) via 8a6200ba863f207d93467312431d107f50f0e2ab (commit) via 9c7272f0833da2bfdf513d41bc41cdbc5f4fc5f7 (commit) via f79ec2066662b2c32c9e62ee372c9c230d206b89 (commit) via edb5fb00a6865884f99be01a9e97f44243a9deb9 (commit) via 551196862e4e9dfda510f59c53b0a3ff3153e4ed (commit) via 6a06fbb7b73fe55d6b9057f8154652e1ae8f883c (commit) via c6386875ba57a806c896ba097afef525671de4a0 (commit) via ddaaf0fb8605fced72e84410fc7ac834e529eb53 (commit) via 1a01e7c6b0eaed1bfe70d48692e1103c6e9ee2d9 (commit) via 36bc18a810a13f884d826842abbdd6d744ff6481 (commit) via a8ebe3d5f17f12490012a1a3c69d17b6e9362805 (commit) via 50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd (commit) via c5a22423d09e3bf670fb0de0a98e6feb6176eb3f (commit) via 6bda016bec556855c6d4e191f360f921faa40ded (commit) via 21122961ecea30b3be7c788e09179d297e3233f0 (commit) via c362e6217b556ce932250c340218f1ca16391070 (commit) via 7978d7c385b072a344d969f71cdc68e1a1171ec2 (commit) via 896c0c1edee117ea333c66b1adac8c6f4def3f2b (commit) via b9da89d161e3903faa335f444af2bf05e40f926e (commit) via c793cac124dd2eb34042f2e43abb099a26e34cb0 (commit) via 5ef2d51bd6ae49b28282835156d1d6622beac4a6 (commit) via f955cccff399ccc4e16b8e90f140f2e9a785a07b (commit) via d40e34db392f834793fb9af487121776b4cec6e7 (commit) via 4b5900d8b81522bd6ebe4d94d45dfb54d1982c62 (commit) via b9d62f893fcc0b4c36aad0552810dcde304979d0 (commit) via d5bb792ca130aac17e080325e4005ef417ceabd5 (commit) via 118aa6cf395aec093fe12d7fb2d05441791a93fa (commit) via 316a1245fe31e327223ca66797b789eaf9544c2c (commit) via 4aef764338ed40a7fa9573b0e6e2ade817acd688 (commit) via bb4287c562027eafe63ddac9fd4c7e1730335795 (commit) via e299b3551edbe81be2062fcaef9319d681d0d15b (commit) via a08f8d99b87b0b0f681a27eba8e25e2fb0abd034 (commit) via 5f4d10850850cd95af5e95a16848c8c07a273d88 (commit) via 7b5d48229b7faa16f69e87fb269f17db0291d89f (commit) via 8b1e5da10ab58d2aa5eb84bf27de511294f061ef (commit) via 55e22ca83ae50d6fe422cd0542f2a1a5934b2dd2 (commit) via f9f791a1b147c404a489485dba5eca49f8dbcbb9 (commit) via 14ea2c1b230a62f312346fb16716b3dd4850815b (commit) via 77f5e65ecfb669ea1d2fd74b74fbbf0d0c20daf8 (commit) via a87ded7b88a85b40f2aec5e5b6c972dd7b74b3a9 (commit) via 86fa6981e7487e2c2df4337aa75ed2d93c32eaf2 (commit) via f03265d9cda1f5f8df238efa9b7a20330e5711f1 (commit) via c1fe188b154a4e81372629316be3d3a7820efdac (commit) via 4b8b687e885287ed85dafffcebbb8d03d7ea2c38 (commit) via c7341d5a6b334464d84672229d9912d99347db34 (commit) via 1de05205afe1ecd1f1fa2befc6843d0dc70adefc (commit) via 1437d0631b209500db8371c425e896deb66ec9f9 (commit) via c65d6b55b3a592906c470c566f57ad8ceacc1605 (commit) via 15c22686d0e33d87262bc9075296eeddd7d955f7 (commit) via 1fc87489b40b3100badf184a7c266387bae47def (commit) via 2e86a2830cfef688a27e17353b84f59f8147ab23 (commit) via 25dcbff6ef0088e080d92b3cbc346ae0b5071d9d (commit) via dc9366eb0592157e2125967690f0aed61b17bcf7 (commit) via 6e5d74e74756fafe59e8198c4cc462cf7c57e12c (commit) via 5cf70512f835032c413f2554af07814e1dc05cd6 (commit) via 9753a2f6d74dc92d2ad94993a5479ee0edbc6887 (commit) via 1a4dd9ddae4ce51724b4e08c6304e7c64f8f916f (commit) via 7cbbff33a502dcba0264a1935840345274b8aee2 (commit) via 50dbe6e1bc8589db8e900299ef03ce9ead4ef3d7 (commit) via 1672e0d98d88d11b5c7d5793bd2cf29cbb56696f (commit) via f7bb4e3a0d3738e8cce3dcded6ef12c9949cb85f (commit) via e45ced6c5e06b0092ac9f5497aa580cfad0c953c (commit) via 5f6fd321915fae0194e01322d22cad4e451e8d20 (commit) via 44959fa81858df7d06fd83b0595b66709e344074 (commit) via f8c4e718c26a0181821398e09d96113c0ff49c15 (commit) via 6dbb839a78d343b0a7435ec7db46ee359b1f62ec (commit) via 4a612d6f67d605f480ce7eec7fd9ca1cd1087b35 (commit) via ea86f5344298e24801c262d9b52afcc9cb692959 (commit) via 2b841ec2066db4870beaa5298feb02f5e20faf7b (commit) via d933941d6c5ce5b2dcaaa869919b6f3de06b725d (commit) via b1b07054c08eea65ba8d1a9f771796d686f337e5 (commit) via bb98f85480da563f4f6438abdabb68a69bc746b8 (commit) via 603555e563725616246912711419637add54c961 (commit) via 1cccfb31f5ba0dbc1cd3c679daf2f5b40252c6e0 (commit) via d274ecf4ddf76768af57e27f654b9ce6784b391c (commit) via 79a964dca572024447adf92e50959dc88aa4f27a (commit) via 73f07bffaf8d423295a38dde51dfe6ec7b273280 (commit) via ea0de82ec2d7f109ba179d8d55130805e680f02d (commit) via 9e1a8675d49a5bbb881f664f8b7a1081432c994d (commit) via 1f5345a614203185f7fdacbf4b000d2676de26dd (commit) via 62e755d208d7359e722a248df3e74278779272c8 (commit) via 49fced1206db40c71208c201165d65f92c69cebe (commit) via 2e0ce1c84d328bde4dca24b7cfc8b9c033ed271c (commit) via 0792e0e1199e76dce19a0f9fbdb29c75b8be8a9b (commit) via 921ea8830c62bf4a60af1783bdd443fd43286359 (commit) via 8ecbe595e69a84a0e3053884832d63af37113680 (commit) via df97be551faa262732128493c8ac159ae4b7f6d3 (commit) via 7d45f3df96ca108f6d7d0c5e4279e22b820145fa (commit) via 611a3ca929d6529f4e7576b0e2ffb588839c1b21 (commit) via d20928fac9ab65449db910bd99a0f48ad29fb22b (commit) via b565cf21c80945d5e9baa6871653aae5add2d493 (commit) via 05ed43104ef2c3f75779438111e2913dbd4555a6 (commit) via f98450c6eee6878ebf5b052d231758026d250427 (commit) via c871dadee1817d4b9f3ba6ee792730c9eccf88e0 (commit) via b451e98a909e1a6afa71c4a4655adc4cfeea5249 (commit) via d4620bee57be53f7a6b14c01b2ea22d22a61bef0 (commit) via 9875b36538d35f2292ddc3bb5e7c60e1582aa087 (commit) via 673cff9b8b3105f74ce97c202a0727f9e83e56e6 (commit) via 199add01b6704e1cd8a48945bd775fbe8524fa75 (commit) via ecd78df2707734ccb2d0f6e5426321fa399befaa (commit) via 134e805d3e18cf700a5046912b8dca9301fe6f2e (commit) via 01cca2f95e4a448cbfb7dc940cc38fe89300b15f (commit) via 9ef920e933bf2ea228c909cf81636e6d9577e51e (commit) via a7e8b06b8901309632fad842ffd7d90a81447c80 (commit) via 65b48a81404cb058c75c562f7dfdeb74f07eba72 (commit) via 2979a883540d9ce6e41dd0509ea2a345de9cf050 (commit) via 3de43e7beb9839fa268a73be77de73a7b7cd97db (commit) via 15c7c1d8a535000e94ed36f4259d0ede32001408 (commit) via 4ef97a1b459849ad190244c36b36d45bdd078030 (commit) via 7ba71655a425ac44721f97cc0ad7922ca15bce43 (commit) via afbf7e8e3aa24152ad58e430c8d37d82e5751f1c (commit) via 0e39210161e7c547ab53afb86997303e24a42c0c (commit) via 279a558a4d0fad268738ec916628c9c12cfcaf5b (commit) via 9dfd0db952fc07dccebbc244df2a20a6eda14b2c (commit) from e2c0cbf93cf20667be449a75d2ada5d377ddb090 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 718a1618b2f691a7f407213bb50f100ac59f91c3 Merge: e2c0cbf 096c92d Author: Jan Kratochvil Date: Thu Apr 20 22:17:17 2017 +0200 Merge commit '096c92ddb3a5a959bc638cff3c4ffa0f48a737d7' into tromey/python commit 096c92ddb3a5a959bc638cff3c4ffa0f48a737d7 Author: Sergio Durigan Junior Date: Thu Apr 13 21:01:53 2017 -0400 Fix build breakage on Cygwin (PR gdb/21385) On gdb/windows-nat.c:windows_create_inferior, ALLARGS needs to be declared independently of the host that we're building for. This fixes a build breakage on Cygwin. 2017-04-13 Sergio Durigan Junior PR gdb/21385 * windows-nat.c (windows_create_inferior): Declare 'allargs' independently of the host, and fix build breakage on Cygwin. commit 5dc74d659d1c84b8ffdb4fcbf2ef73dc974d8a5b Author: GDB Administrator Date: Fri Apr 14 00:00:35 2017 +0000 Automatic date update in version.in commit 0550c9559522c84341edcb334af30bc9bf2df9fb Author: Pedro Alves Date: Thu Apr 13 16:15:35 2017 +0100 Make inferior a class with cdtors, and use new/delete struct inferior became a non-POD when enum_flags was made a non-POD, so we should be allocating/destroying inferiors with new/delete, etc. That's what this commit does. Note: this commit makes all boolean fields of inferior be "bool", except the "detaching" field. That'll require more work, so I split it to a separate patch. gdb/ChangeLog: 2017-04-13 Pedro Alves * inferior.c (free_inferior): Convert to ... (inferior::~inferior): ... this dtor. (inferior::inferior): New ctor, factored out from ... (add_inferior_silent): ... here. Allocate the inferior with a new expression. (delete_inferior): Call delete instead of free_inferior. * inferior.h (gdb_environ, continuation): Forward declare. (inferior): Now a class. Add in-class initialization to all members. Make boolean fields bool, except 'detaching'. (inferior::inferior): New explicit ctor. (inferior::~inferior): New. commit e3d60dfc000a29959c78bd69b85100aab33f7ab5 Author: Pedro Alves Date: Thu Apr 13 16:15:34 2017 +0100 GC inferior.c:init_inferior_list Not used anywhere. This was actually never used. It came in because I originally created inferior.c by copying thread.c, and doing s/thread/inferior/g, and missed that nothing needs this. :-) gdb/ChangeLog: 2017-04-13 Pedro Alves * inferior.c (init_inferior_list): Delete. * inferior.h (init_inferior_list): Delete. commit 5fd69d0ab2c42d2be0781bf3a5d60e1d5b8d05dc Author: Pedro Alves Date: Thu Apr 13 16:15:34 2017 +0100 Improve coverage of the PR threads/13217 regression test - Make sure we end up with no thread selected after the detach. - Test both "thread apply all" and "thread apply $some_threads", for completeness. gdb/ChangeLog: 2017-04-13 Pedro Alves PR threads/13217 * gdb.threads/threadapply.exp (thr_apply_detach): New procedure. (top level): Call it twice, with different thread sets. commit c6609450b33960a0e9f8c1df045b02f0677e866a Author: Pedro Alves Date: Thu Apr 13 16:15:34 2017 +0100 C++fy thread_apply_all_command This eliminates a couple cleanups. gdb/ChangeLog: 2017-04-13 Pedro Alves * thread.c: Include . (thread_array_cleanup): Delete. (scoped_inc_dec_ref): New class. (live_threads_count): New function. (set_thread_refcount): Delete. (tp_array_compar_ascending): Now a bool. (tp_array_compar): Convert to a std::sort comparison function. (thread_apply_all_command): Use std::vector and scoped_inc_dec_ref and live_threads_count. commit 2a00d7ce26a6ee15e3712b045c8b7932278ea23b Author: Pedro Alves Date: Thu Apr 13 16:15:34 2017 +0100 Fix follow-fork latent bug A later patch in the series adds an assertion to switch_to_thread that the resulting inferior_ptid always matches the "current_inferior()" inferior. This exposed a latent bug in the follow-fork code, where we're building the fork child inferior. We're switching inferior_ptid, but not the current inferior object... gdb/ChangeLog: 2017-04-13 Pedro Alves * infrun.c (follow_fork_inferior): Also switch the current inferior. commit 441d7c93782a1b1877bfa903dc8da56a6041bfb4 Author: Pedro Alves Date: Thu Apr 13 16:15:34 2017 +0100 watch_command_1: Fix dangling frame access While working on some changes to switch_to_thread, I inadvertently make switch_to_thread call reinit_frame_cache more frequently, even when the thread didn't change. This exposed a latent bug in watch_command_1, where we're referencing a frame after creating/inserting breakpoints, which potentially calls reinit_frame_cache if it needs to install breakpoints with a different thread selected. Handle this similarly to how it's already handled in other similar cases. I.e., save any frame-related information we might need before creating a breakpoint. gdb/ChangeLog: 2017-04-13 Pedro Alves * breakpoint.c (watch_command_1): Save watchpoint-frame info before calling create_internal_breakpoint. commit 7296a62a2a237f6b1ad8db8c38b090e9f592c8cf Author: Nick Clifton Date: Thu Apr 13 16:06:30 2017 +0100 readelf: fix out of range subtraction, seg fault from a NULL pointer and memory exhaustion, all from parsing corrupt binaries. PR binutils/21379 * readelf.c (process_dynamic_section): Detect over large section offsets in the DT_SYMTAB entry. PR binutils/21345 * readelf.c (process_mips_specific): Catch an unfeasible memory allocation before it happens and print a suitable error message. commit 1d15e434f43bc41a07bc7b0648fcb7e6ccbe8dcc Author: Nick Clifton Date: Thu Apr 13 14:50:56 2017 +0100 Add note merging to strip and add code to merge stack size notes. * objcopy.c: Add --no-merge-notes option to disable note merging. Add --[no-]merge-notes option to strip, and enable it by default. (num_bytes): New function. (merge_gnu_build_notes): Add code to merge stack size notes. * binutils.texi: Update strip and objcopy documentation. * readelf.c (print_gnu_build_attribute_name): Use defined constants for note types. commit 4274208406762da7af6dd697f44d8e6895061530 Author: Alan Modra Date: Thu Apr 13 10:33:53 2017 +0930 Regen cgen files * epiphany-desc.c: Regenerate. * fr30-desc.c: Regenerate. * frv-desc.c: Regenerate. * ip2k-desc.c: Regenerate. * iq2000-desc.c: Regenerate. * lm32-desc.c: Regenerate. * m32c-desc.c: Regenerate. * m32r-desc.c: Regenerate. * mep-desc.c: Regenerate. * mt-desc.c: Regenerate. * or1k-desc.c: Regenerate. * xc16x-desc.c: Regenerate. * xstormy16-desc.c: Regenerate. commit 808480f667e41e2fdb66bfdc9d5e047f1aa34a68 Author: Pedro Alves Date: Thu Apr 13 11:46:07 2017 +0100 fork-child.c: Avoid unnecessary heap-allocation / string copying The previous change to fork-child.c converted the argv building from an alloca-allocated array of non-owning arg pointers, to a std::vector of owning pointers, which results in N string dups, with N being the number of arguments in the vector, and then requires manually releasing the pointers owned by the vector. This patch makes the vector hold non-owning pointers, and avoids the string dups, by doing one single string copy of the arguments upfront, and replacing separators with NULL terminators in place, like we used to. All the logic to do that is encapsulated in a new class. With this, there's no need to remember to manually release the argv elements with free_vector_argv either. gdb/ChangeLog: 2017-04-13 Pedro Alves * fork-child.c (execv_argv): New class. (breakup_args): Refactored as ... (execv_argv::init_for_no_shell): .. this method of execv_argv. Copy arguments to storage and replace separators with NULL terminators in place. (escape_bang_in_quoted_argument): Adjust to return bool. (execv_argv::execv_argv): New ctor. (execv_argv::init_for_shell): New method, factored out from fork_inferior. Don't strdup strings into the vector. (fork_inferior): Eliminate "shell" local and use execv_argv. Use Remove free_vector_argv call. commit 8f0dd45fde9de100160f45cad3e537e4e01a5493 Author: Andrew Jenner Date: Thu Apr 13 02:34:19 2017 -0700 * config.sub: Sync with master version in config project. commit b1b45502bdef95b57125b56287b45c2eb26707d3 Author: Iain Buclaw Date: Thu Apr 13 10:39:13 2017 +0200 Add ChangeLog entries ChangeLog entries were left unstaged in my previous commit on March 30th. commit 63a5468afa8e2cf8843d87b99e780e9266b31014 Author: Alan Modra Date: Thu Apr 13 13:24:18 2017 +0930 Wrap long lines Not a comprehensive change, just some split out from fixes made for the %A and %B changes. * coffcode.h: Wrap some overly long _bfd_error_handler args. * elf.c: Likewise. * elf32-arm.c: Likewise. * elf32-i386.c: Likewise. * elf32-mep.c: Likewise. * elf64-ia64-vms.c: Likewise. * elf64-x86-64.c: Likewise. * elflink.c: Likewise. * elfnn-ia64.c: Likewise. * elfxx-mips.c: Likewise. commit dae82561a286618acf097ad9894eafba98377f66 Author: Alan Modra Date: Thu Apr 13 13:20:15 2017 +0930 Use %A and %B in more error messages * aoutx.h: Use %B and %A in error messages throughout file. * aout-cris.c: Likewise. * archive.c: Likewise. * binary.c: Likewise. * coff-rs6000.c: Likewise. * coff-tic4x.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cofflink.c: Likewise. * coffswap.h: Likewise. * cpu-arm.c: Likewise. * elf-eh-frame.c: Likewise. * elf-m10300.c: Likewise. * elf.c: Likewise. * elf32-arc.c: Likewise. * elf32-arm.c: Likewise. * elf32-bfin.c: Likewise. * elf32-frv.c: Likewise. * elf32-iq2000.c: Likewise. * elf32-m32c.c: Likewise. * elf32-microblaze.c: Likewise. * elf32-nds32.c: Likewise. * elf32-rl78.c: Likewise. * elf32-rx.c: Likewise. * elf32-score.c: Likewise. * elf32-score7.c: Likewise. * elf32-sh64.c: Likewise. * elf32-v850.c: Likewise. * elf32-vax.c: Likewise. * elf32-visium.c: Likewise. * elf64-ia64-vms.c: Likewise. * elf64-mmix.c: Likewise. * elf64-sh64.c: Likewise. * elfcode.h: Likewise. * elfnn-aarch64.c: Likewise. * elfnn-ia64.c: Likewise. * elfxx-mips.c: Likewise. * hpux-core.c: Likewise. * ieee.c: Likewise. * ihex.c: Likewise. * linker.c: Likewise. * merge.c: Likewise. * mmo.c: Likewise. * oasys.c: Likewise. * pdp11.c: Likewise. * peXXigen.c: Likewise. * rs6000-core.c: Likewise. * vms-alpha.c: Likewise. * xcofflink.c: Likewise. commit c08bb8dd9bd9fd101018b287726187d7ed6a0035 Author: Alan Modra Date: Thu Apr 13 10:58:40 2017 +0930 Rewrite bfd error handler This steals _doprnt from libiberty, extended to handle %A and %B. Which lets us do away with the current horrible %A and %B handling that requires all %A and %B arguments to be passed first, rather than in the natural order. * bfd.c (PRINT_TYPE): Define. (_doprnt): New function. (error_handler_internal): Use _doprnt. * coff-arm.c: Put %A and %B arguments to _bfd_error_handler calls in their natural order, throughout file. * coff-mcore.c: Likewise. * coff-ppc.c: Likewise. * coff-tic80.c: Likewise. * cofflink.c: Likewise. * elf-s390-common.c: Likewise. * elf.c: Likewise. * elf32-arm.c: Likewise. * elf32-i386.c: Likewise. * elf32-m32r.c: Likewise. * elf32-msp430.c: Likewise. * elf32-spu.c: Likewise. * elf64-ia64-vms.c: Likewise. * elf64-sparc.c: Likewise. * elf64-x86-64.c: Likewise. * elflink.c: Likewise. * elfnn-aarch64.c: Likewise. * elfnn-ia64.c: Likewise. * elfxx-mips.c: Likewise. commit 10463f39c79843c2c141481a0781091870695b17 Author: Alan Modra Date: Thu Apr 13 10:44:20 2017 +0930 Missing _bfd_error_handler args * elf32-arm.c (arm_type_of_stub): Supply missing args to "long branch veneers" error. Fix double space and format message. * elf32-avr.c (avr_add_stub): Do not pass NULL as %B arg. * elf64-ppc.c (tocsave_find): Supply missing %B arg. commit 4af8774e1559b2a4e098ca0e4fc5daf857c633c1 Author: Alan Modra Date: Thu Apr 13 10:33:11 2017 +0930 Regen bfd-in2.h * bfd-in2.h: Regenerate. commit ad3d022a77afdbaba4bb36ff4aa99be52892de42 Author: Yao Qi Date: Thu Apr 13 08:29:44 2017 +0100 Fix a typo in rx_fpsw_type gdb: 2017-04-13 Yao Qi * rx-tdep.c (rx_fpsw_type): Check tdep->rx_fpsw_type instead of tdep->rx_psw_type. commit e6ddc3bfedb4665c9d4baa2c85037af25167cdf3 Author: Yao Qi Date: Thu Apr 13 08:29:43 2017 +0100 XCNEW gdbarch_tdep in rl78 and rx "struct gdbarch_tdep" is XNEW'ed in rl78 and rx, so the memory is not cleared. As the result, tdep->rl78_psw_type is never initialized properly. struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); if (tdep->rl78_psw_type == NULL) { tdep->rl78_psw_type = arch_flags_type (gdbarch, "builtin_type_rl78_psw", 1); The bug is found by my unit test in the following patch. gdb: 2017-04-13 Yao Qi * rl78-tdep.c (rl78_gdbarch_init): Use XCNEW instead of XNEW. * rx-tdep.c (rx_gdbarch_init): Likewise. commit bfb8cf9091a174b42beeff3d014173084413af4d Author: Pedro Alves Date: Thu Apr 13 03:07:21 2017 +0100 struct breakpoint: Fix indentation I'm going to need to touch all these fields to add in-class initialization anyway, might as well take the opportunity to finally fix this... gdb/ChangeLog: 2017-04-13 Pedro Alves * breakpoint.h (struct breakpoint): Reindent. commit f5336ca55ca0aca2507ac8c0f1d573d7f6b877ab Author: Pedro Alves Date: Thu Apr 13 02:12:53 2017 +0100 breakpoint.c: bp_location (the array) shadows bp_location (the type) The bp_location array has the same name as the "struct bp_location", type preventing refering to the structure without the "struct" inside breakpoint.c. I.e., we must write: "new struct bp_location;" instead of: "new bp_location" Rename the array and the associated variables/functions to avoid the shadowing. gdb/ChangeLog: 2017-04-13 Pedro Alves * breakpoint.c (bp_location): Rename to ... (bp_locations): ... this. All references updated. (bp_location_count): Rename to ... (bp_locations_count): ... this. All references updated. (bp_location_placed_address_before_address_max): Rename to ... (bp_locations_placed_address_before_address_max): ... this. All references updated. (bp_location_shadow_len_after_address_max): Rename to ... (bp_locations_shadow_len_after_address_max): ... this. All references updated. (bp_location_compare_addrs): Rename to ... (bp_locations_compare_addrs): ... this. All references updated. (bp_location_compare):Rename to ... (bp_locations_compare): ... this. All references updated. (bp_location_target_extensions_update): Rename to ... (bp_locations_target_extensions_update): ... this. All references updated. commit 4f70a994900c2f7b235add7d4131cc069c181cea Author: GDB Administrator Date: Thu Apr 13 00:00:38 2017 +0000 Automatic date update in version.in commit be628ab814f1c90e185d7482d27aa8a991ab5837 Author: Sergio Durigan Junior Date: Tue Apr 11 21:05:12 2017 -0400 Create gdb_termios.h (and cleanup gdb/{,gdbserver/}terminal.h) As requested, I'm sending this as a separate patch because it is ready to be included as-is. The idea here is that both gdb/terminal.h and gdb/gdbserver/terminal.h share the same code, which is responsible for setting a bunch of defines on based on the presence of termios.h and a few other headers. This simple patch just moves this common code to common/gdb_termios.h and makes the necessary adjustments on both GDB and gdbserver so that they can use this new header. It also implements the some header checks on common/common.m4. As a bonus, gdb/gdbserver/terminal.h can be removed because it's now empty. Built on x86_64, no regressions found. gdb/ChangeLog: 2017-04-12 Sergio Durigan Junior * Makefile.in (HFILES_NO_SRCDIR): Add "common/gdb_termios.h". * common/common.m4: Check headers 'termios.h', 'termio.h' and 'sgtty.h'. * common/gdb_termios.h: New file, with parts of "terminal.h". * inflow.c: Include "gdb_termios.h". * ser-unix.c: Include "gdb_termios.h". * terminal.h: Move terminal-related defines to "common/gdb_termios.h". gdb/gdbserver/ChangeLog: 2017-04-12 Sergio Durigan Junior * remote-utils.c: Include "gdb_termios.h" instead of "terminal.h". * terminal.h: Delete file. commit 8e9e35b1808481735e2d1efbf70ed7396a845d8e Author: Tom Tromey Date: Mon Apr 10 15:53:22 2017 -0600 Change linespec_result::location to be an event_location_up This is a follow-up to another patch. It changes linespec_result::location to be an event_location_up. gdb/ChangeLog 2017-04-12 Tom Tromey * probe.c (parse_probes): Update. * location.h (delete_event_location): Don't declare. (event_location_deleter::operator()): Update. * location.c (event_location_deleter::operator()): Rename from delete_event_location. * linespec.h (linespec_result) : Change type to event_location_up. * linespec.c (canonicalize_linespec, event_location_to_sals) (decode_objc): Update. (linespec_result): Don't call delete_event_location. * breakpoint.c (create_breakpoints_sal) (bkpt_probe_create_sals_from_location) (strace_marker_create_sals_from_location): Update. commit 16e802b9c085ce354b1ab9e2fd25d00bf7626fa8 Author: Tom Tromey Date: Mon Apr 10 15:47:21 2017 -0600 Add a constructor and destructor to linespec_result linespec_result is only ever allocated on the stack, so it's relatively easy to convert to having a constructor and a destructor. This patch makes this change. This removes some cleanups. gdb/ChangeLog 2017-04-12 Tom Tromey * linespec.h (struct linespec_result): Add constructor and destructor. (init_linespec_result, destroy_linespec_result) (make_cleanup_destroy_linespec_result): Don't declare. * linespec.c (init_linespec_result): Remove. (linespec_result::~linespec_result): Rename from destroy_linespec_result. Update. (cleanup_linespec_result, make_cleanup_destroy_linespec_result): Remove. * breakpoint.c (create_breakpoint, break_range_command) (decode_location_default): Update. * ax-gdb.c (agent_command_1): Update. commit d28cd78ad820e3a40ac5064b6a30f3a12ce70bf0 Author: Tom Tromey Date: Mon Apr 10 15:41:25 2017 -0600 Change breakpoint event locations to event_location_up This is a follow-up to an earlier patch. It changes breakpoint's location and location_range_end members to be of type event_location_up, then fixes up the users. gdb/ChangeLog 2017-04-12 Tom Tromey * remote.c (remote_download_tracepoint): Update. * python/py-breakpoint.c (bppy_get_location): Update. * guile/scm-breakpoint.c (bpscm_print_breakpoint_smob) (gdbscm_breakpoint_location): Update. * elfread.c (elf_gnu_ifunc_resolver_return_stop): Update. * breakpoint.h (struct breakpoint) : Change type to event_location_up. * breakpoint.c (create_overlay_event_breakpoint) (create_longjmp_master_breakpoint) (create_std_terminate_master_breakpoint) (create_exception_master_breakpoint) (breakpoint_event_location_empty_p, print_breakpoint_location) (print_one_breakpoint_location, create_thread_event_breakpoint) (init_breakpoint_sal, create_breakpoint) (print_recreate_ranged_breakpoint, break_range_command) (init_ada_exception_breakpoint, say_where): Update. (base_breakpoint_dtor): Don't call delete_event_location. (bkpt_print_recreate, tracepoint_print_recreate) (dprintf_print_recreate, update_static_tracepoint) (breakpoint_re_set_default): Update. commit 711799d513206f6d8fc3dbfa81dcdecdb2ce6ece Author: Tom Tromey Date: Fri Apr 7 16:05:42 2017 -0600 Use std::vector in compile-loc2c.c This changes compile-loc2c.c to use std::vector in place of a VEC, allowing the removal of a cleanup. gdb/ChangeLog 2017-04-12 Tom Tromey * compile/compile-loc2c.c (compute_stack_depth_worker): Change type of "to_do". Update. (compute_stack_depth): Use std::vector. commit 52d214d3e1b2f6a1382feafbf2984acdb24c0c95 Author: Tom Tromey Date: Fri Apr 7 16:01:10 2017 -0600 Use std::vector in find_instruction_backward This changes find_instruction_backward to use std::vector, removing a cleanup. gdb/ChangeLog 2017-04-12 Tom Tromey * printcmd.c (find_instruction_backward): Use std::vector. commit 4c404b8be6b1d8759eed50366207fc0e2e47d2b1 Author: Tom Tromey Date: Fri Apr 7 15:58:25 2017 -0600 Use std::vector in reread_symbols This changes reread_symbols to use std::vector, removing a cleanup. gdb/ChangeLog 2017-04-12 Tom Tromey * symfile.c (objfilep): Remove typedef. (reread_symbols): Use a std::vector. commit 156d9eab863f40fc812245cf1213abbe12d192b3 Author: Tom Tromey Date: Fri Apr 7 15:37:25 2017 -0600 Use scoped_restore in more places This changes a few more places to use scoped_restore, allowing some cleanup removals. gdb/ChangeLog 2017-04-12 Tom Tromey * mi/mi-main.c (exec_direction_forward): Remove. (exec_reverse_continue, mi_execute_command): Use scoped_restore. * guile/scm-ports.c (ioscm_with_output_to_port_worker): Use scoped_restore. * guile/guile.c (guile_repl_command, guile_command) (gdbscm_execute_gdb_command): Use scoped_restore. * go-exp.y (go_parse): Use scoped_restore. * d-exp.y (d_parse): Use scoped_restore. * cli/cli-decode.c (cmd_func): Use scoped_restore. * c-exp.y (c_parse): Use scoped_restore. commit 4d89769a7b4e38e94a6e027281b36eff71fc8214 Author: Tom Tromey Date: Fri Apr 7 15:34:02 2017 -0600 C++ify mi_parse This changes mi_parse to return a unique_ptr, and to use "new"; then fixes up the users. This allows removing one cleanup. gdb/ChangeLog 2017-04-12 Tom Tromey * mi/mi-parse.h (struct mi_parse): Add constructor, destructor. (mi_parse): Update return type. (mi_parse_free): Remove. * mi/mi-parse.c (mi_parse::mi_parse): New constructor. (mi_parse::~mi_parse): Rename from mi_parse_free. (mi_parse_cleanup): Remove. (mi_parse): Return a unique_ptr. Use new. * mi/mi-main.c (mi_execute_command): Update. commit 4b217cc72b7ab04e2bea519f9fbd47d8952e08f5 Author: Tom Tromey Date: Thu Apr 6 23:26:14 2017 -0600 Remove some cleanups from location.c This removes some more cleanups from location.c by using unique_xmalloc_ptr. gdb/ChangeLog 2017-04-12 Tom Tromey * location.c (explicit_location_lex_one): Return a unique_xmalloc_ptr. (string_to_explicit_location): Update. Remove cleanups. commit 59d3651be7419fafa959f75a3fd46914f5ce395a Author: Tom Tromey Date: Thu Apr 6 22:48:27 2017 -0600 Remove some cleanups from gnu-v3-abi.c This removes some cleanups from gnu-v3-abi.c, by using std::vector rather than VEC. gdb/ChangeLog 2017-04-12 Tom Tromey * gnu-v3-abi.c (value_and_voffset_p): Remove typedef. (compare_value_and_voffset): Change type. Update. (compute_vtable_size): Change type of "offset_vec". (gnuv3_print_vtable): Use std::vector. Remove cleanups. (gnuv3_get_typeid): Remove extraneous declaration. commit b24b0d6c3be6b95d4b5e8da901e1ef315bd458b4 Author: Tom Tromey Date: Thu Apr 6 21:07:00 2017 -0600 Fix up wchar_iterator comment This fixes up a comment in charset.h that has been obsolete for a while. gdb/ChangeLog 2017-04-12 Tom Tromey * charset.h (wchar_iterator): Fix comment. commit 80a3b8c578e93119183db5f5e34248f843e410a7 Author: Tom Tromey Date: Thu Apr 6 20:50:38 2017 -0600 Remove cleanup_iconv This introduces a new "iconv_wrapper" class, to be used in convert_between_encodings. This allows the removal of cleanup_iconv. gdb/ChangeLog 2017-04-12 Tom Tromey * charset.c (iconv_wrapper): New class. (cleanup_iconv): Remove. (convert_between_encodings): Use it. commit c83dd8672698bcdf48d27e267e481230075f5900 Author: Tom Tromey Date: Thu Apr 6 20:27:10 2017 -0600 Change increment_reading_symtab to return a scoped_restore This changes increment_reading_symtab to return a scoped_restore, then fixes up the users. gdb/ChangeLog 2017-04-12 Tom Tromey * symfile.h (increment_reading_symtab): Update type. * symfile.c (decrement_reading_symtab): Remove. (increment_reading_symtab): Return a scoped_restore_tmpl. * psymtab.c (psymtab_to_symtab): Update. * dwarf2read.c (dw2_instantiate_symtab): Update. commit 0e8621a0bec2d0840b853c4104614f345f0569ca Author: Tom Tromey Date: Thu Apr 6 20:09:42 2017 -0600 Introduce gdb_dlhandle_up This introduces gdb_dlhandle_up, a unique_ptr that can close a dlopen'd library. All the functions working with dlopen handles are updated to use this new type. I did not try to build this on Windows. gdb/ChangeLog 2017-04-12 Tom Tromey * jit.c (struct jit_reader): Declare separately. Add constructor and destructor. Change type of "handle". (loaded_jit_reader): Define separately. (jit_reader_load): Update. New "new". (jit_reader_unload_command): Use "delete". * gdb-dlfcn.h (struct dlclose_deleter): New. (gdb_dlhandle_up): New typedef. (gdb_dlopen, gdb_dlsym): Update types. (gdb_dlclose): Remove. * gdb-dlfcn.c (gdb_dlopen): Return a gdb_dlhandle_up. (gdb_dlsym): Change type of "handle". (make_cleanup_dlclose): Remove. (dlclose_deleter::operator()): Rename from gdb_dlclose. * compile/compile-c-support.c (load_libcc): Update. commit 67d89901506da74d00a482b7560237dce404b41c Author: Tom Tromey Date: Thu Apr 6 16:38:56 2017 -0600 Change find_pcs_for_symtab_line to return a std::vector This changes find_pcs_for_symtab_line to return a std::vector. This allows the removal of some cleanups. gdb/ChangeLog 2017-04-12 Tom Tromey * symtab.h (find_pcs_for_symtab_line): Change return type. * symtab.c (find_pcs_for_symtab_line): Change return type. * python/py-linetable.c (build_line_table_tuple_from_pcs): Change type of "vec". Update. (ltpy_get_pcs_for_line): Update. * linespec.c (decode_digits_ordinary): Update. commit 93921405a46c0a58eae19fffb92e02416082801a Author: Tom Tromey Date: Wed Apr 5 21:14:09 2017 -0600 Introduce command_line_up This introduces command_line_up, a unique_ptr for command_line objects, and changes many places to use it. This removes a number of cleanups. Command lines are funny in that sometimes they are reference counted. Once there is more C++-ification of some of the users, perhaps all of these can be changed to use shared_ptr instead. gdb/ChangeLog 2017-04-12 Tom Tromey * tracepoint.c (actions_command): Update. * python/python.c (python_command, python_interactive_command): Update. * mi/mi-cmd-break.c (mi_cmd_break_commands): Update. * guile/guile.c (guile_command): Update. * defs.h (read_command_lines, read_command_lines_1): Return command_line_up. (command_lines_deleter): New struct. (command_line_up): New typedef. * compile/compile.c (compile_code_command) (compile_print_command): Update. * cli/cli-script.h (get_command_line, copy_command_lines): Return command_line_up. (make_cleanup_free_command_lines): Remove. * cli/cli-script.c (get_command_line, read_command_lines_1) (copy_command_lines): Return command_line_up. (while_command, if_command, read_command_lines, define_command) (document_command): Update. (do_free_command_lines_cleanup, make_cleanup_free_command_lines): Remove. * breakpoint.h (breakpoint_set_commands): Change type of "commands". * breakpoint.c (breakpoint_set_commands): Change type of "commands". Update. (do_map_commands_command, update_dprintf_command_list) (create_tracepoint_from_upload): Update. commit ffc2605c41d026cf5710704848b7c3b1cdbdcf49 Author: Tom Tromey Date: Wed Apr 5 20:44:01 2017 -0600 Introduce event_location_up This removes make_cleanup_delete_event_location and instead changes the various location functions to return an event_location_up, a new unique_ptr typedef. This is largely straightforward, but be sure to examine the init_breakpoint_sal change. I believe the code I deleted there is dead, because "location != NULL" can never be true in that branch; but you should double-check. gdb/ChangeLog 2017-04-12 Tom Tromey * tracepoint.c (scope_info): Update. * spu-tdep.c (spu_catch_start): Update. * python/python.c (gdbpy_decode_line): Update. * python/py-finishbreakpoint.c (bpfinishpy_init): Update. * python/py-breakpoint.c (bppy_init): Update. * probe.c (parse_probes): Update. * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Update. * location.h (event_location_deleter): New struct. (event_location_up): New typedef. (new_linespec_location, new_address_location, new_probe_location) (new_explicit_location, copy_event_location) (string_to_event_location, string_to_event_location_basic) (string_to_explicit_location): Update return type. (make_cleanup_delete_event_location): Remove. * location.c (new_linespec_location, new_address_location) (new_probe_location, new_explicit_location, copy_event_location): Return event_location_up. (delete_event_location_cleanup) (make_cleanup_delete_event_location): Remove. (string_to_explicit_location, string_to_event_location_basic) (string_to_event_location): Return event_location_up. * linespec.c (canonicalize_linespec, event_location_to_sals) (decode_line_with_current_source) (decode_line_with_last_displayed, decode_objc): Update. * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Update. * completer.c (location_completer): Update. * cli/cli-cmds.c (edit_command, list_command): Update. * breakpoint.c (create_overlay_event_breakpoint) (create_longjmp_master_breakpoint) (create_std_terminate_master_breakpoint) (create_exception_master_breakpoint) (create_thread_event_breakpoint): Update. (init_breakpoint_sal): Update. Remove some dead code. (create_breakpoint_sal): Change type of "location". Update. (create_breakpoints_sal, create_breakpoint, break_command_1) (dprintf_command, break_range_command, until_break_command) (init_ada_exception_breakpoint) (strace_marker_create_sals_from_location) (update_static_tracepoint, trace_command, ftrace_command) (strace_command, create_tracepoint_from_upload): Update. * break-catch-throw.c (re_set_exception_catchpoint): Update. * ax-gdb.c (agent_command_1): Update. commit 8f10c9323357ad190c0383f2fc9d394316447905 Author: Pedro Alves Date: Wed Apr 12 16:00:04 2017 +0100 gdb: Move DJGPP/go32 bits to their own tdep file I posit that this makes them easier to find. The other day while working on the wchar_t patch, I had a bit of trouble finding the DJGPP/go32 tdep bits. My initial reaction was looking for a go32-specific tdep file, but there's none. Confirmed that a --host=i586-pc-msdosdjgpp GDB still builds successfully and includes the i386-go32-tdep.o object. Confirmed that an --enable-targets=all build of GDB on x86-64 GNU/Linux includes the DJGPP/go32 bits too. gdb/ChangeLog: 2017-04-12 Pedro Alves * Makefile.in (ALL_TARGET_OBS): Add i386-go32-tdep.o. * configure.tgt: Handle i[34567]86-*-go32* and i[34567]86-*-msdosdjgpp*. * i386-tdep.c (i386_svr4_reg_to_regnum): Make extern. (i386_go32_init_abi, i386_coff_osabi_sniffer): Moved to i386-go32-tdep.c. (_initialize_i386_tdep): DJGPP bits moved to i386-go32-tdep.c. * i386-go32-tdep.c: New file. * i386-tdep.h (tdesc_i386_mmx, i386_svr4_reg_to_regnum): New declarations. commit 0a31ccfbd84660a91b133a9915e6f63c30033189 Author: Simon Marchi Date: Wed Apr 12 10:46:13 2017 -0400 Fix build error in aix-thread.c Obvious fix for: aix-thread.c: In function 'char* pd_status2str(int)': aix-thread.c:163:33: error: deprecated conversion from string constant to 'char*' [-Werror=write-strings] case PTHDB_SUCCESS: return "SUCCESS"; ^ gdb/ChangeLog: * aix-thread.c (pd_status2str): Change return type to const char *. commit e9bb3fbbe81115b196b436cf513f0fd7b41d6a4a Author: Pedro Alves Date: Fri Mar 31 13:41:45 2017 +0100 Remove unnecessary set_gdbarch_gnu_triplet_regexp calls i386_gdbarch_init already does this unconditionally for all x86 ports. Tested on x86-64 Fedora 23. gdb/ChangeLog: 2017-04-12 Pedro Alves * i386-tdep.c (i386_elf_init_abi, i386_go32_init_abi): Remove calls to set_gdbarch_gnu_triplet_regexp. commit 53375380e934928af133bca69c1e1912c35e9c73 Author: Pedro Alves Date: Wed Apr 12 14:00:49 2017 +0100 Teach GDB that wchar_t is a built-in type in C++ mode GDB is currently not aware that wchar_t is a built-in type in C++ mode. This is usually not a problem because the debug info describes the type, so when you have a program loaded, you don't notice this. However, if you try expressions involving wchar_t before a program is loaded, gdb errors out: (gdb) p (wchar_t)-1 No symbol table is loaded. Use the "file" command. (gdb) p L"hello" No type named wchar_t. (gdb) ptype L"hello" No type named wchar_t. This commit teaches gdb about the type. After: (gdb) p (wchar_t)-1 $1 = -1 L'\xffffffff' (gdb) p L"hello" $2 = L"hello" (gdb) ptype L"hello" type = wchar_t [6] Unlike char16_t/char32_t, unfortunately, the underlying type of wchar_t is implementation dependent, both size and signness. So this requires adding a couple new gdbarch hooks. I grepped the GCC code base for WCHAR_TYPE and WCHAR_TYPE_SIZE, and it seems to me that the majority of the ABIs have a 4-byte signed wchar_t, so that's what I made the default for GDB too. And then I looked for which ports have a 16-bit and/or unsigned wchar_t, and made GDB follow suit. gdb/ChangeLog: 2017-04-12 Pedro Alves PR gdb/21323 * c-lang.c (cplus_primitive_types) : New enum value. (cplus_language_arch_info): Register cplus_primitive_type_wchar_t. * gdbtypes.h (struct builtin_type) : New field. * gdbtypes.c (gdbtypes_post_init): Create the "wchar_t" type. * gdbarch.sh (wchar_bit, wchar_signed): New per-arch values. * gdbarch.h, gdbarch.c: Regenerate. * aarch64-tdep.c (aarch64_gdbarch_init): Override gdbarch_wchar_bit and gdbarch_wchar_signed. * alpha-tdep.c (alpha_gdbarch_init): Likewise. * arm-tdep.c (arm_gdbarch_init): Likewise. * avr-tdep.c (avr_gdbarch_init): Likewise. * h8300-tdep.c (h8300_gdbarch_init): Likewise. * i386-nto-tdep.c (i386nto_init_abi): Likewise. * i386-tdep.c (i386_go32_init_abi): Likewise. * m32r-tdep.c (m32r_gdbarch_init): Likewise. * moxie-tdep.c (moxie_gdbarch_init): Likewise. * nds32-tdep.c (nds32_gdbarch_init): Likewise. * rs6000-aix-tdep.c (rs6000_aix_init_osabi): Likewise. * sh-tdep.c (sh_gdbarch_init): Likewise. * sparc-tdep.c (sparc32_gdbarch_init): Likewise. * sparc64-tdep.c (sparc64_init_abi): Likewise. * windows-tdep.c (windows_init_abi): Likewise. * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. gdb/testsuite/ChangeLog: 2017-04-12 Pedro Alves PR gdb/21323 * gdb.cp/wide_char_types.c: Include . (wchar): New global. * gdb.cp/wide_char_types.exp (wide_char_types_program) (do_test_wide_char, wide_char_types_no_program, top level): Add wchar_t testing. commit 53e710acd249e1861029b19b7a3d8195e7f28929 Author: Pedro Alves Date: Wed Apr 12 14:00:49 2017 +0100 Fix PR c++/21323: GDB thinks char16_t and char32_t are signed in C++ While the C++ standard says that char16_t and char32_t are unsigned types: Types char16_t and char32_t denote distinct types with the same size, signedness, and alignment as uint_least16_t and uint_least32_t, respectively, in , called the underlying types. ... gdb treats them as signed currently: (gdb) p (char16_t)-1 $1 = -1 u'\xffff' There are actually two places in gdb that hardcode these types: - gdbtypes.c:gdbtypes_post_init, when creating the built-in types, seemingly used by the "x /s" command (judging from commit 9a22f0d0). - dwarf2read.c, when reading base types with DW_ATE_UTF encoding (which is what is used for these types, when compiling for C++11 and up). Despite the comment, the type created does end up used. Both places need fixing. But since I couldn't tell why dwarf2read.c needs to create a new type, I've made it use the per-arch built-in types instead, so that the types are only created once per arch instead of once per objfile. That seems to work fine. While writting the test, I noticed that the C++ language parser isn't actually aware of these built-in types, so if you try to use them without a program that uses them, you get: (gdb) set language c++ (gdb) ptype char16_t No symbol table is loaded. Use the "file" command. (gdb) ptype u"hello" No type named char16_t. (gdb) p u"hello" No type named char16_t. That's fixed by simply adding a couple entries to C++'s built-in types array in c-lang.c. With that, we get the expected: (gdb) ptype char16_t type = char16_t (gdb) ptype u"hello" type = char16_t [6] (gdb) p u"hello" $1 = u"hello" gdb/ChangeLog: 2017-04-12 Pedro Alves PR c++/21323 * c-lang.c (cplus_primitive_types) : New enum values. (cplus_language_arch_info): Register cplus_primitive_type_char16_t and cplus_primitive_type_char32_t. * dwarf2read.c (read_base_type) : If bit size is 16 or 32, use the archtecture's built-in type for char16_t and char32_t, respectively. Otherwise, fallback to init_integer_type as before, but make the type unsigned, and issue a complaint. * gdbtypes.c (gdbtypes_post_init): Make char16_t and char32_t unsigned. gdb/testsuite/ChangeLog: 2017-04-12 Pedro Alves PR c++/21323 * gdb.cp/wide_char_types.c: New file. * gdb.cp/wide_char_types.exp: New file. commit 5e0e0422137063ff3846886c8eeb64e98e7669d6 Author: Alan Hayward Date: Wed Apr 12 09:51:04 2017 +0100 Fix Changelog for ab0538b875c054468aa205d8d36550d1223a3bfd commit ab0538b875c054468aa205d8d36550d1223a3bfd Author: Alan Hayward Date: Wed Apr 12 09:19:55 2017 +0100 Add M32R_ARG_REGISTER_SIZE gdb/ * m32r-tdep.c M32R_ARG_REGISTER_SIZE: Added. (m32r_push_dummy_call): Use M32R_ARG_REGISTER_SIZE. commit 5430098f1807e084fe4ff5057040d68435f3d8a2 Author: Sergio Durigan Junior Date: Wed Apr 12 01:16:50 2017 -0400 Fix build breakage from last commit (window-nat.c:windows_create_inferior) Forgot to declare the variable 'toexec' (from window-nat.c:windows_create_inferior) as 'const char *', which caused a build breakage. gdb/ChangeLog: 2017-04-12 Sergio Durigan Junior * windows-nat.c (windows_create_inferior): Declare 'toexec' as 'const char *'. commit 7c5ded6a00c4817d56cdf04fbc1969bc33b2a930 Author: Sergio Durigan Junior Date: Wed Mar 22 21:54:49 2017 -0400 C++-fy and prepare for sharing fork_inferior As a preparation for the next patch, which will move fork_inferior from GDB to common/ (and therefore share it with gdbserver), it is interesting to convert a few functions to C++. This patch touches functions related to parsing command-line arguments to the inferior (see gdb/fork-child.c:breakup_args), the way the arguments are stored on fork_inferior (using std::vector instead of char **), and the code responsible for dealing with argv also on gdbserver. I've taken this opportunity and decided to constify a few arguments to fork_inferior/create_inferior as well, in order to make the code cleaner. And now, on gdbserver, we're using xstrdup everywhere and aren't checking for memory allocation failures anymore, as requested by Pedro: Message-Id: <025ebdb9-90d9-d54a-c055-57ed2406b812@redhat.com> Pedro Alves wrote: > On the "== NULL" check: IIUC, the old NULL check was there to > handle strdup returning NULL due to out-of-memory. > See NULL checks and comments further above in this function. > Now that you're using a std::vector, that doesn't work or make > sense any longer, since if push_back fails to allocate space for > its internal buffer (with operator new), our operator new replacement > (common/new-op.c) calls malloc_failure, which aborts gdbserver. > > Not sure it makes sense to handle out-of-memory specially in > the gdb/rsp-facing functions nowadays (maybe git blame/log/patch > submission for that code shows some guidelines). Maybe (or, probably) > it's OK to stop caring about it, but then we should consistently remove > left over code, by using xstrdup instead and remove the NULL checks. IMO this refactoring was very good to increase the readability of the code as well, because some parts of the argument handling were unnecessarily confusing before. gdb/ChangeLog: 2017-04-12 Sergio Durigan Junior * common/common-utils.c (free_vector_argv): New function. * common/common-utils.h: Include . (free_vector_argv): New prototype. * darwin-nat.c (darwin_create_inferior): Rewrite function prototype in order to constify "exec_file" and accept a "std::string" for "allargs". * fork-child.c: Include . (breakup_args): Rewrite function, using C++. (fork_inferior): Rewrite function header, constify "exec_file_arg" and accept "std::string" for "allargs". Update the code to calculate "argv" based on "allargs". Update calls to "exec_fun" and "execvp". * gnu-nat.c (gnu_create_inferior): Rewrite function prototype in order to constify "exec_file" and accept a "std::string" for "allargs". * go32-nat.c (go32_create_inferior): Likewise. * inf-ptrace.c (inf_ptrace_create_inferior): Likewise. * infcmd.c (run_command_1): Constify "exec_file". Use "std::string" for inferior arguments. * inferior.h (fork_inferior): Update prototype. * linux-nat.c (linux_nat_create_inferior): Rewrite function prototype in order to constify "exec_file" and accept a "std::string" for "allargs". * nto-procfs.c (procfs_create_inferior): Likewise. * procfs.c (procfs_create_inferior): Likewise. * remote-sim.c (gdbsim_create_inferior): Likewise. * remote.c (extended_remote_run): Update code to accept "std::string" as argument. (extended_remote_create_inferior): Rewrite function prototype in order to constify "exec_file" and accept a "std::string" for "allargs". * rs6000-nat.c (super_create_inferior): Likewise. (rs6000_create_inferior): Likewise. * target.h (struct target_ops) : Likewise. * windows-nat.c (windows_create_inferior): Likewise. gdb/gdbserver/ChangeLog: 2017-04-12 Sergio Durigan Junior * server.c: Include . : Convert to std::vector. (start_inferior): Rewrite function to use C++. (handle_v_run): Likewise. Update code that calculates the argv based on the vRun packet; use C++. (captured_main): Likewise. commit ef6a5ae7bd1dd7b528f5cf368d98056603003c35 Author: GDB Administrator Date: Wed Apr 12 00:00:43 2017 +0000 Automatic date update in version.in commit e4097f5ee55a0d14a6213bccb9da39d4878714c8 Author: H.J. Lu Date: Tue Apr 11 15:41:00 2017 -0700 Remove the extra `\n' in warning/error messages * elf-properties.c (_bfd_elf_parse_gnu_properties): Remove the extra `\n' in warning/error messages. * elf32-i386.c (elf_i386_parse_gnu_properties): Likewise. * elf64-x86-64.c (elf_x86_64_parse_gnu_properties): Likewise. commit 537616aaeb44bc698af9848987e7c8e96d550595 Author: H.J. Lu Date: Tue Apr 11 15:07:41 2017 -0700 Ignore processor-specific GNU program properties Skip processor-specific GNU program properties with generic ELF target vector. They should be handled by the matching ELF target vector. * elf-properties.c (_bfd_elf_parse_gnu_properties): Ignore processor-specific properties with generic ELF target vector. commit ae0eee42821865ead8d391bb4f92bd2c136c6d43 Author: Pedro Alves Date: Tue Apr 11 13:57:52 2017 +0100 gdb/thread.c: Fix whitespace throughout gdb/ChangeLog: 2017-04-11 Pedro Alves * thread.c: Fix whitespace throughout. commit a6acac06113f4b04fa0333ee2a3ab3025b43ee7c Author: Philipp Rudo Date: Tue Apr 11 14:28:51 2017 +0100 Fix read after xfree in linux-nat.c:linux_nat_detach At the end of linux_nat_detach the main_lwp is deleted (delete_lwp). This is problematic as during detach (detach_one_lwp and linux_fork_detach) main_lwp already gets freed. Thus calling delete_lwp causes a read after free. Fix it by removing the unnecessary delete_lwp. gdb/ChangeLog: 2017-04-11 Philipp Rudo * linux-nat.c (linux_nat_detach): Remove delete_lwp call. commit 64403bd1832e10aa8324194968f72bdc5feb5aeb Author: Alan Hayward Date: Tue Apr 11 13:51:58 2017 +0100 Remove MAX_REGISTER_SIZE from arm-tdep.c gdb/ * arm-tdep.c (arm_store_return_value): Use FP_REGISTER_SIZE commit fbea15088db59186960134d11b8bf98070224d6c Author: Alan Modra Date: Tue Apr 11 19:37:51 2017 +0930 PR 21274, ld segfaults linking PE DLL Don't use fixed size buffers for symbol names. PR 21274 PR 18466 * emultempl/pe.em (pe_find_data_imports): Don't use fixed size symbol buffer. Instead, xmalloc max size needed with space for prefix. Wrap overlong lines. Formatting. Pass symbol buffer copy of name to pe_walk_relocs_of_symbol. (make_inport_fixup): Add "name" param, pass to pe_create_import_fixup. * emultempl/pe.em (pep_find_data_imports): As for pe_find_data_imports. (make_import_fixup): Add "name" param, pass to pep_create_import_fixup. Use bfd_get_signed_* and remove unnecessary casts. Formatting. * pe-dll.c (pe_walk_relocs_of_symbol): Add "name" param. Pass to callback. (make_import_fixup_mark): Add "name" param. Make use of prefix space rather than xmalloc here. (pe_create_import_fixup): Likewise. * pe-dll.h (pe_walk_relocs_of_symbol): Update prototype. (pe_create_import_fixup): Likewise. * pep-dll.h (pep_walk_relocs_of_symbol): Likewise. (pep_create_import_fixup): Likewise. commit b43c520dba2f909c9bbb3ff5f2657c1c9010939b Author: GDB Administrator Date: Tue Apr 11 00:00:28 2017 +0000 Automatic date update in version.in commit c03dc33b606c17231e47f37ae0f00d1c9a6c0506 Author: Alan Modra Date: Tue Apr 11 07:43:21 2017 +0930 Reorder PPC_OPCODE_* and set PPC_OPCODE_TMR for e6500 PPC_OPCODE_* renumbered to fill the gaps left by previous patches, and reordered chronologically just because. I kept PPC_OPCODE_TMR because presumably it might be used in future APUinfo for e6500. include/ * opcode/ppc.h (PPC_OPCODE_*): Renumber and order chronologically. (PPC_OPCODE_SPE): Comment on this and other bits used for APUinfo. opcodes/ * ppc-dis.c (ppc_opts): Formatting. Set PPC_OPCODE_TMR for e6500. * ppc-opc.c (powerpc_opcodes ): Remove now unnecessary E6500. commit ef85eab0ec3d7c88ea05047538d11fe704806cd8 Author: Alan Modra Date: Tue Apr 11 07:40:24 2017 +0930 Bye bye PPC_OPCODE_HTM and -mhtm The -mhtm option is fairly useless too. include/ * opcode/ppc.h (PPC_OPCODE_HTM): Delete. gas/ * config/tc-ppc.c (md_show_usage): Delete mention of -mhtm. * testsuite/gas/ppc/htm.d: Pass -mpower8 and -Mpower8. opcodes/ * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_HTM and "htm". * ppc-opc.c (PPCHTM): Define as PPC_OPCODE_POWER8. commit 9570835e5597037bee5042edf822675e715b3caf Author: Alan Modra Date: Tue Apr 11 07:36:43 2017 +0930 Bye Bye PPC_OPCODE_VSX3 This bit is also useless as it can be replaced with PPC_OPCODE_POWER9. Defining the VSX2 and VSX3 selection based on cpu bits also lets the assembler/disassembler distinguish between the power7 VSX opcodes and the power8 ones. Note that this change means -mvsx now reverts back to just adding the power7 VSX insns. include/ * opcode/ppc.h (PPC_OPCODE_VSX3): Delete. opcodes/ * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_VSX3. * ppc-opc.c (PPCVSX2): Define as PPC_OPCODE_POWER8. (PPCVSX3): Define as PPC_OPCODE_POWER9. commit 9a85b496ac4e6488d427155c24f87367ab1f6b1b Author: Alan Modra Date: Tue Apr 11 07:33:50 2017 +0930 Bye bye PPC_OPCODE_ALTIVEC2 This bit is worse than useless. Using it prevents the assembler and disassembler distinguishing between opcodes added for power8 and those added for power9. include/ * opcode/ppc.h (PPC_OPCODE_ALTIVEC2): Delete. opcodes/ * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_ALTIVEC2. * ppc-opc.c (PPCVEC2): Define as PPC_OPCODE_POWER8|PPC_OPCODE_E6500. (PPCVEC3): Define as PPC_OPCODE_POWER9. commit a5bef50fdbfadbc6b8911b458580ee91cbfcdafd Author: Sergio Durigan Junior Date: Mon Apr 10 12:43:44 2017 -0400 Fix PR gdb/21364: Dead code due to an unreachable condition in osdata.c Pedro's recent commits enabling -Wwrite-strings has changed a bit the logic of info_osdata. Now, 'type' is always non-NULL, so we have to check if it's an empty string instead of NULL. One of the checks was fixed, but there is another that was left behind. This commit fixes it. gdb/ChangeLog: 2017-04-10 Sergio Durigan Junior PR gdb/21364 * osdata.c (info_osdata): Check if 'type' is an empty string instead of NULL. commit 28d909e539567ab5ecd2bc20680e933869fdf889 Author: John Delsignor Date: Mon Apr 10 16:27:05 2017 +0100 Prevent a bigus warning from readelf about a gdb-index table being too big. PR binutils/21319 * dwarf.c (display_gdb_index): Correct test for a corrupt address table size. commit a70f34c01c7f250858bd62df245c241263200f63 Author: Nick Clifton Date: Mon Apr 10 15:56:55 2017 +0100 Document undocumented linker command line options. ld * ld.texinfo (--strip-discarded): Document. (--embedded-relocs): Document. (--spare-dynamic-tags): Document. (--task-link): Document. commit 9295a5a95da871bfdeec225a6fc2f52f7655bd1c Author: Pedro Alves Date: Mon Apr 10 15:54:57 2017 +0100 thread.c: ptid_equal -> operator== gdb/ChangeLog: 2017-04-10 Pedro Alves * thread.c (add_thread_silent, delete_thread_1, find_thread_ptid) (ptid_to_global_thread_id, in_thread_list) (do_captured_list_thread_ids, set_resumed, set_running) (set_executing, set_stop_requested, finish_thread_state) (validate_registers_access, can_access_registers_ptid) (print_thread_info_1, switch_to_thread) (do_restore_current_thread_cleanup) (make_cleanup_restore_current_thread, thread_command) (thread_name_command): Use operator== instead of ptid_equal. commit 996812e3d43f78b17b6454d2948cd825ec98c63b Author: Pedro Alves Date: Mon Apr 10 15:18:49 2017 +0100 GC gdb/thread.c:current_thread_cleanup_chain Commit 803bdfe43083475c7df3db38dc96f4e20d05457d ("Don't delete thread_info if refcount isn't zero") eliminated restore_current_thread_ptid_changed, so current_thread_cleanup_chain is no longer necessary either. gdb/ChangeLog: 2017-04-10 Pedro Alves * thread.c (struct current_thread_cleanup) : Delete field. (current_thread_cleanup_chain): Delete. (restore_current_thread_cleanup_dtor) (make_cleanup_restore_current_thread): Remove references to current_thread_cleanup_chain. commit 845b344fd54ba381a826b271dd33682d1f148438 Author: Alan Hayward Date: Mon Apr 10 15:01:53 2017 +0100 msp430: Don't use REG_UNKNOWN gdb/ * msp430-tdep.c (msp430_pseudo_register_read): Never return REG_UNKNOWN. commit 803bdfe43083475c7df3db38dc96f4e20d05457d Author: Yao Qi Date: Mon Apr 10 14:39:41 2017 +0100 Don't delete thread_info if refcount isn't zero I build GDB with asan, and run test case hook-stop.exp, and threadapply.exp, I got the following asan error, =================================================================^M ^[[1m^[[31m==2291==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160000999c4 at pc 0x000000826022 bp 0x7ffd28a8ff70 sp 0x7ffd28a8ff60^M ^[[1m^[[0m^[[1m^[[34mREAD of size 4 at 0x6160000999c4 thread T0^[[1m^[[0m^M #0 0x826021 in release_stop_context_cleanup ../../binutils-gdb/gdb/infrun.c:8203^M #1 0x72798a in do_my_cleanups ../../binutils-gdb/gdb/common/cleanups.c:154^M #2 0x727a32 in do_cleanups(cleanup*) ../../binutils-gdb/gdb/common/cleanups.c:176^M #3 0x826895 in normal_stop() ../../binutils-gdb/gdb/infrun.c:8381^M #4 0x815208 in fetch_inferior_event(void*) ../../binutils-gdb/gdb/infrun.c:4011^M #5 0x868aca in inferior_event_handler(inferior_event_type, void*) ../../binutils-gdb/gdb/inf-loop.c:44^M .... ^[[1m^[[32m0x6160000999c4 is located 68 bytes inside of 568-byte region [0x616000099980,0x616000099bb8)^M ^[[1m^[[0m^[[1m^[[35mfreed by thread T0 here:^[[1m^[[0m^M #0 0x7fb0bc1312ca in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)^M #1 0xb8c62f in xfree(void*) ../../binutils-gdb/gdb/common/common-utils.c:100^M #2 0x83df67 in free_thread ../../binutils-gdb/gdb/thread.c:207^M #3 0x83dfd2 in init_thread_list() ../../binutils-gdb/gdb/thread.c:223^M #4 0x805494 in kill_command ../../binutils-gdb/gdb/infcmd.c:2595^M .... Detaching from program: /home/yao.qi/SourceCode/gnu/build-with-asan/gdb/testsuite/outputs/gdb.threads/threadapply/threadapply, process 2399^M =================================================================^M ^[[1m^[[31m==2387==ERROR: AddressSanitizer: heap-use-after-free on address 0x6160000a98c0 at pc 0x00000083fd28 bp 0x7ffd401c3110 sp 0x7ffd401c3100^M ^[[1m^[[0m^[[1m^[[34mREAD of size 4 at 0x6160000a98c0 thread T0^[[1m^[[0m^M #0 0x83fd27 in thread_alive ../../binutils-gdb/gdb/thread.c:741^M #1 0x844277 in thread_apply_all_command ../../binutils-gdb/gdb/thread.c:1804^M .... ^M ^[[1m^[[32m0x6160000a98c0 is located 64 bytes inside of 568-byte region [0x6160000a9880,0x6160000a9ab8)^M ^[[1m^[[0m^[[1m^[[35mfreed by thread T0 here:^[[1m^[[0m^M #0 0x7f59a7e322ca in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)^M #1 0xb8c62f in xfree(void*) ../../binutils-gdb/gdb/common/common-utils.c:100^M #2 0x83df67 in free_thread ../../binutils-gdb/gdb/thread.c:207^M #3 0x83dfd2 in init_thread_list() ../../binutils-gdb/gdb/thread.c:223^M This patch fixes the issue by deleting thread_info object if it is deletable, otherwise, mark it as exited (by set_thread_exited). Function set_thread_exited is shared from delete_thread_1. This patch also moves field "refcount" to private and methods incref and decref. Additionally, we stop using "ptid_t" in "struct current_thread_cleanup" to reference threads, instead we use "thread_info" directly. Due to this change, we don't need restore_current_thread_ptid_changed anymore. gdb: 2017-04-10 Yao Qi PR gdb/19942 * gdbthread.h (thread_info::deletable): New method. (thread_info::incref): New method. (thread_info::decref): New method. (thread_info::refcount): Move it to private. * infrun.c (save_stop_context): Call inc_refcount. (release_stop_context_cleanup): Likewise. * thread.c (set_thread_exited): New function. (init_thread_list): Delete "tp" only it is deletable, otherwise call set_thread_exited. (delete_thread_1): Call set_thread_exited. (current_thread_cleanup) : Remove. : New field. (restore_current_thread_ptid_changed): Removed. (do_restore_current_thread_cleanup): Adjust. (restore_current_thread_cleanup_dtor): Don't call find_thread_ptid. (set_thread_refcount): Use dec_refcount. (make_cleanup_restore_current_thread): Adjust. (thread_apply_all_command): Call inc_refcount. (_initialize_thread): Don't call observer_attach_thread_ptid_changed. commit 8c25b49760b854d0b8451e8ecffeb9860fc41158 Author: Yao Qi Date: Mon Apr 10 14:39:41 2017 +0100 Hoist code on marking thread as exited This patch hoists code on marking thread as exited, so more code is shared for two different paths (thread_info is deleted or is not deleted). gdb: 2017-04-10 Yao Qi * thread.c (delete_thread_1): Hoist code on marking thread as exited. commit 947fa9141488c1d39303fcdaa056332d2d0b2599 Author: Max Filippov Date: Mon Apr 10 13:12:52 2017 +0100 gas: xtensa: fix incorrect code generated with auto litpools * config/tc-xtensa.c (xtensa_maybe_create_literal_pool_frag): Initialize lps->frag_count with auto_litpool_limit. (xg_promote_candidate_litpool): New function. (xtensa_move_literals): Extract candidate litpool promotion code into separate function. Call it for all possible found candidates. (xtensa_switch_to_literal_fragment): Drop 'recursive' flag and call to xtensa_mark_literal_pool_location that it guards. Replace it with call to xtensa_maybe_create_literal_pool_frag. Initialize pool_location with created literal pool candidate. * testsuite/gas/xtensa/all.exp: Add new tests. * testsuite/gas/xtensa/auto-litpools-first1.d: New test results. * testsuite/gas/xtensa/auto-litpools-first1.s: New test. * testsuite/gas/xtensa/auto-litpools-first2.d: New test results. * testsuite/gas/xtensa/auto-litpools-first2.s: New test. * testsuite/gas/xtensa/auto-litpools.d: Fix offsets changed due to additional jump instruction. commit bb1dd176fb6f38ae3cc30dc61ce55a7fbf9d0d7b Author: Qing Zhao Date: Mon Apr 10 12:46:30 2017 +0100 Port the bug fix for PR 19704 (Missing dynamic relocation against undefined weak symbol) to the SPARC architecture. * elf32-sparc.c (elf_backend_fixup_symbol): New. * elf64-sparc.c (elf_backend_fixup_symbol): New. * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New. (_bfd_sparc_elf_link_hash_entry): Add has_got_reloc and has_non_got_reloc. (link_hash_newfunc): Initialize has_got_reloc and has_non_got_reloc. (_bfd_sparc_elf_size_dynamic_sections): Set interp to .interp section. (_bfd_sparc_elf_copy_indirect_symbol): Copy has_got_reloc and has_non_got_reloc. (_bfd_sparc_elf_check_relocs): Set has_got_reloc and has_non_got_reloc. (_bfd_sparc_elf_fixup_symbol): New function. (allocate_dynrelocs): Don't allocate space for dynamic relocations and discard relocations against resolved undefined weak symbols in executable. Don't make resolved undefined weak symbols in executable dynamic. Keep dynamic non-GOT/non-PLT relocation against undefined weak symbols in PIE. (_bfd_sparc_elf_relocate_section): Don't generate dynamic relocations against resolved undefined weak symbols in PIE (_bfd_sparc_elf_finish_dynamic_symbol): Keep PLT/GOT entries without ynamic PLT/GOT relocations for resolved undefined weak symbols. Don't generate dynamic relocation against resolved undefined weak symbol in executable. (pie_finish_undefweak_symbol): New function. (_bfd_sparc_elf_finish_dynamic_sections): Call pie_finish_undefweak_symbol on all symbols in PIE. * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add interp. (_bfd_sparc_elf_fixup_symbol): New function. commit d236cfd444630bd9ddb63edca54c056d5825e673 Author: Nick Clifton Date: Mon Apr 10 11:38:21 2017 +0100 Remove the ns32k target from the obsolete list. * config.bfd: Remove ns32k from obsolete list. commit 62adc51030ad83d09e6d20c455616fd9216e4783 Author: Alan Modra Date: Mon Apr 10 15:35:11 2017 +0930 Tidy ppc476 opcodes PPC_OPCODE_440 being set for ppc476 meant that many opcodes needed to be deprecated for ppc476. There are far fewer to add specially for ppc476 if PPC_OPCODE_440 is not set for ppc476. * ppc-dis.c (ppc_opts <476>): Remove PPC_OPCODE_440. * ppc-opc.c (MULHW): Add PPC_OPCODE_476. (powerpc_opcodes): Adjust PPC440, PPC464 and PPC476 insns to suit removal of PPC_OPCODE_440 from ppc476 cpu selection bits. commit 6f9dbcd42f2cf034a9a21f46842c08d2e88449db Author: Alan Modra Date: Mon Apr 10 15:11:35 2017 +0930 PR21287, Inconsistent section type for .init_array and .init_array.42 PR21287 notes that .init_array is correctly given a type of SHT_INIT_ARRAY while .init_array.nnn gets SHT_PROGBITS. This patch fixes that problem, and properly drops warnings from the compiler that would cause the testsuite to fail. My a44d0bd78 change to check ld_compile status, necessary to pick up compile errors, also meant warnings were not ignored. bfd/ PR 21287 * elf.c (special_sections_f): Match .fini_array and .fini_array.*. (special_sections_i): Likewise for .init_array. (special_sections_p): Likewise for .preinit_array. ld/ PR 21287 * testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY. * testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array section types. * testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler warnings about "ignoring incorrect section type". (run_ld_link_exec_tests, run_cc_link_tests): Delete old comment. commit 37095d07b470ea94d578cd5ca2da032617200c52 Author: Alan Modra Date: Mon Apr 10 15:10:58 2017 +0930 Clean elfvsb files left over from previous runs My mips-linux and mips64-linux testsuite runs have been failing a bunch of visibility tests, seemingly randomly. It turns out the problem occurs when object files are left over in ld/tmpdir from a previous run. * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use remote_file host exists rather than file exists. commit aa808707033a46ee063263f4bc1bd06449851621 Author: Pip Cet Date: Mon Apr 10 00:10:28 2017 +0000 WebAssembly disassembler support * wasm32-dis.c (print_insn_wasm32): Avoid DECIMAL_DIG, specify appropriate floating-point precision directly. commit 8473b4472dce9ce87aaad35ff8e975e1487f914e Author: Simon Marchi Date: Sun Apr 9 23:14:36 2017 -0400 windows-nat.c: Fix bad initialization of ptid When trying to build for x86_64-w64-mingw32: /home/simark/src/binutils-gdb/gdb/windows-nat.c: In function ‘void windows_detach(target_ops*, const char*, int)’: /home/simark/src/binutils-gdb/gdb/windows-nat.c:1915:20: error: converting to ‘ptid_t’ from initializer list would use explicit constructor ‘constexpr ptid_t::ptid_t(int, long int, long int)’ ptid_t ptid = {-1}; ^ Fixed by initializing ptid with the minus_one_ptid variable. gdb/ChangeLog: * windows-nat.c (windows_detach): Initialize ptid with minus_one_ptid. commit 4a44171e07147c6b943412c90184736ca5dbfb4c Author: GDB Administrator Date: Mon Apr 10 00:00:37 2017 +0000 Automatic date update in version.in commit 5e8bf44f4c94d430ac21257a1a953cfccd2ce79b Author: GDB Administrator Date: Sun Apr 9 00:00:35 2017 +0000 Automatic date update in version.in commit b630840c9c22a877b2c6270880a214f7b451f546 Author: Jim Wilson Date: Sat Apr 8 12:06:31 2017 -0700 Add support for fcvtl and fcvtl2. sim/aarch64/ * simulator.c (do_vec_FCVTL): New. (do_vec_op1): Call do_vec_FCVTL. sim/testsuite/sim/aarch64/ * fcvtl.s: New. commit ae27d3fe76ffb54e7d413a67d8c8d76ca78a9681 Author: Jim Wilson Date: Sat Apr 8 07:10:38 2017 -0700 Support the fcmXX zero instructions. sim/aarch64/ * simulator.c (do_scalar_FCMGE_zero): New. (do_scalar_FCMLE_zero, do_scalar_FCMGT_zero, do_scalar_FCMEQ_zero) (do_scalar_FCMLT_zero): Likewise. (do_scalar_vec): Add calls to new functions. sim/testsuite/sim/aarch64/ * fcmXX.s: New. commit aebcde5eb475befba571ca9ae7b6c58126d41160 Author: GDB Administrator Date: Sat Apr 8 00:00:33 2017 +0000 Automatic date update in version.in commit a7eaf017f95932eb2d654bd61f4c4a873ba71f77 Author: H.J. Lu Date: Fri Apr 7 08:53:43 2017 -0700 Use NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE Since not all compilers support -no-pie, NOPIE_CFLAGS and NOPIE_LDFLAGS should be used to disable PIE. PR ld/21090 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie version of the test. commit 8170f7693bc0a9442c0aa280197925db92d48ca6 Author: H.J. Lu Date: Fri Apr 7 07:40:14 2017 -0700 ELF: Check ELF_COMMON_DEF_P for common symbols Since common symbols that are turned into definitions don't have the DEF_REGULAR flag set, we need to check ELF_COMMON_DEF_P for common symbols. bfd/ PR ld/19579 PR ld/21306 * elf32-s390.c (elf_s390_finish_dynamic_symbol): Check ELF_COMMON_DEF_P for common symbols. * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise. * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. * elflink.c (_bfd_elf_merge_symbol): Revert commits 202ac193bbbecc96a4978d1ac3d17148253f9b01 and 07492f668d2173da7a2bda3707ff0985e0f460b6. ld/ PR ld/19579 PR ld/21306 * testsuite/ld-elf/pr19579a.c (main): Updated. commit 6670ec13726c3afca789672f6235378a5e1f7d71 Author: Simon Marchi Date: Fri Apr 7 10:27:48 2017 -0400 ptid-selftests: Fix erroneous assert messages gdb/ChangeLog: * unittests/ptid-selftests.c: Fix erroneous assert messages. commit 49f4617bf4b86a0b057f3477d57ffbf7c998b229 Author: Pedro Alves Date: Fri Apr 7 14:51:42 2017 +0100 Fix building the BFD library for Win64 by reqorking the find_separate_debug_file interface. * opncls.c (bfd_get_debug_link_info): Rename to... (bfd_get_debug_link_info_1): ... this. Change type of second parameter to void pointer. Adjust. (bfd_get_debug_link_info): Reimplement on top of bfd_get_debug_link_info_1. (separate_debug_file_exists, separate_alt_debug_file_exists): Change type of second parameter to void pointer. Adjust. (get_func_type, check_func_type): Change type of second parameter to void pointer. (find_separate_debug_file): Add 'func_data' parameter. Pass it to the callback functions instead of passing the address of a local. (bfd_follow_gnu_debuglink): Pass address of unsigned long local to find_separate_debug_file. (get_alt_debug_link_info_shim): Change type of second parameter to void pointer. Adjust. (bfd_follow_gnu_debugaltlink): Adjust to pass NULL to find_separate_debug_file. (get_build_id_name, bfd_boolean check_build_id_file): Change type of second parameter to void pointer. Adjust. (bfd_follow_build_id_debuglink): Pass address of bfd_build_id pointer local to find_separate_debug_file. commit ae3f8c28134b52414a4c31df2e156615087c46e5 Author: Nick Clifton Date: Fri Apr 7 11:48:08 2017 +0100 Fix failure in x86_64 linker tests when compiling with a PIE enabled compiler. PR 21090 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly disable PIE for the non-pie version of the test. commit ac8f0f721bf0db9ffd0c6602744f1859cb4dd8d2 Author: Alan Modra Date: Fri Apr 7 18:03:46 2017 +0930 Remove E6500 insns from PPC_OPCODE_ALTIVEC2 This isn't losing anything from the testsuite. All of these insns appear in testsuite/gas/ppc/e6500.s opcodes/ * ppc-opc.c (powerpc_opcodes ): Enable E6500 only vector instructions with E6500 not PPCVEC2. gas/ * testsuite/gas/ppc/altivec2.s: Delete E6500 vector insns. * testsuite/gas/ppc/altivec2.d: Adjust to suit. commit 5c1f54ce0b21b19ac0b2a2c921c9ea2f33bbf5fd Author: Alan Modra Date: Fri Apr 7 18:01:43 2017 +0930 Tweak MBIND ld test for ARM. * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char. commit 498e34425b38f69ceba28707962e3593c281261a Author: Alan Modra Date: Fri Apr 7 17:58:37 2017 +0930 MBIND gas test tweak score-elf aligns text sections. * testsuite/gas/elf/section12a.d: Don't expect alignment of 1 for .mbind.text. commit ba2f91bb5d69127da41b368c7226f596ee449eca Author: Alan Hayward Date: Fri Apr 7 09:31:37 2017 +0100 Add BFIN_MAX_REGISTER_SIZE gdb/ * bfin-tdep.c (BFIN_MAX_REGISTER_SIZE): Add. (bfin_pseudo_register_read): Use BFIN_MAX_REGISTER_SIZE. (bfin_pseudo_register_write): Likewise commit 1fd6d111905e76dfa7af9fbee5229f3f1d360b4c Author: Tristan Gingold Date: Fri Mar 31 15:25:18 2017 +0200 pe/coff: handle weak defined symbol for gc-sections. bfd/ * coffgen.c (_bfd_coff_gc_mark_hook): Handle PE weak external symbols with a definition. (_bfd_coff_gc_mark_extra_sections): Fix typo. ld/ * testsuite/ld-pe/pe.exp: New test. * testsuite/ld-pe/weakdef-1.s: New test source. * testsuite/ld-pe/weakdef-1.d: New test. commit 436252de3e9de546001c4312d0863ce7e10aa200 Author: Simon Marchi Date: Thu Apr 6 23:29:53 2017 -0400 Class-ify ptid_t I grew a bit tired of using ptid_get_{lwp,pid,tid} and friends, so I decided to make it a bit easier to use by making it a proper class. The fields are now private, so it's not possible to change a ptid_t field by mistake. The new methods of ptid_t map to existing functions/practice like this: ptid_t (pid, lwp, tid) -> ptid_build (pid, lwp, tid) ptid_t (pid) -> pid_to_ptid (pid) ptid.is_pid () -> ptid_is_pid (ptid) ptid == other -> ptid_equal (ptid, other) ptid != other -> !ptid_equal (ptid, other) ptid.pid () -> ptid_get_pid (ptid) ptid.lwp_p () -> ptid_lwp_p (ptid) ptid.lwp () -> ptid_get_lwp (ptid) ptid.tid_p () -> ptid_tid_p (ptid) ptid.tid () -> ptid_get_tid (ptid) ptid.matches (filter) -> ptid_match (ptid, filter) I've replaced the implementation of the existing functions with calls to the new methods. People are encouraged to gradually switch to using the ptid_t methods instead of the functions (or we can change them all in one pass eventually). Also, I'm not sure if it's worth it (because of ptid_t's relatively small size), but I have made the functions and methods take ptid_t arguments by const reference instead of by value. gdb/ChangeLog: * common/ptid.h (struct ptid): Change to... (class ptid_t): ... this. : New constructors. : New methods. : New static methods. : Rename to... : ...this. : Rename to... : ...this. : Rename to... : ...this. (ptid_build, ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p, ptid_match): Take ptid arguments as references, move comment to class ptid_t. * common/ptid.c (null_ptid, minus_one_ptid): Initialize with ptid_t static methods. (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_tid, ptid_equal, ptid_is_pid, ptid_lwp_p, ptid_tid_p, ptid_match): Take ptid arguments as references, implement using ptid_t methods. * unittests/ptid-selftests.c: New file. * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add unittests/ptid-selftests.c. (SUBDIR_UNITTESTS_OBS): Add unittests/ptid-selftests.o. gdb/gdbserver/ChangeLog: * server.c (handle_v_cont): Initialize thread_resume::thread with null_ptid. commit 1379e3aaea5e9454d7e75f293c3fe24c0d11c688 Author: GDB Administrator Date: Fri Apr 7 00:00:35 2017 +0000 Automatic date update in version.in ----------------------------------------------------------------------- Summary of changes: ChangeLog | 22 + bfd/ChangeLog | 489 +++ bfd/Makefile.am | 8 + bfd/Makefile.in | 12 + bfd/aout-cris.c | 4 +- bfd/aoutx.h | 17 +- bfd/archive.c | 4 +- bfd/archures.c | 4 + bfd/bfd-in2.h | 22 +- bfd/bfd.c | 360 ++- bfd/binary.c | 5 +- bfd/coff-arm.c | 11 +- bfd/coff-bfd.h | 2 + bfd/coff-mcore.c | 2 +- bfd/coff-ppc.c | 2 +- bfd/coff-rs6000.c | 9 +- bfd/coff-tic4x.c | 4 +- bfd/coff-tic80.c | 2 +- bfd/coffcode.h | 23 +- bfd/coffgen.c | 61 +- bfd/cofflink.c | 19 +- bfd/coffswap.h | 10 +- bfd/config.bfd | 13 +- bfd/configure | 4 +- bfd/configure.ac | 4 +- bfd/cpu-arm.c | 4 +- bfd/cpu-wasm32.c | 36 + bfd/doc/webassembly.texi | 33 + bfd/dwarf2.c | 20 +- bfd/elf-bfd.h | 64 +- bfd/elf-eh-frame.c | 99 +- bfd/elf-m10300.c | 4 +- bfd/elf-properties.c | 491 +++ bfd/elf-s390-common.c | 2 +- bfd/elf.c | 146 +- bfd/elf32-arc.c | 8 +- bfd/elf32-arm.c | 80 +- bfd/elf32-avr.c | 3 +- bfd/elf32-bfin.c | 13 +- bfd/elf32-cris.c | 11 +- bfd/elf32-frv.c | 23 +- bfd/elf32-hppa.c | 2 +- bfd/elf32-i386.c | 95 +- bfd/elf32-iq2000.c | 8 +- bfd/elf32-m32c.c | 9 +- bfd/elf32-m32r.c | 4 +- bfd/elf32-mep.c | 6 +- bfd/elf32-metag.c | 2 +- bfd/elf32-microblaze.c | 22 +- bfd/elf32-msp430.c | 19 +- bfd/elf32-nds32.c | 8 +- bfd/elf32-nios2.c | 156 +- bfd/elf32-or1k.c | 2 +- bfd/elf32-ppc.c | 116 +- bfd/elf32-rl78.c | 20 +- bfd/elf32-rx.c | 5 +- bfd/elf32-s390.c | 4 +- bfd/elf32-score.c | 5 +- bfd/elf32-score7.c | 5 +- bfd/elf32-sh64.c | 27 +- bfd/elf32-sparc.c | 1 + bfd/elf32-spu.c | 2 +- bfd/elf32-tic6x.c | 2 +- bfd/elf32-tilepro.c | 2 +- bfd/elf32-v850.c | 28 +- bfd/elf32-vax.c | 27 +- bfd/elf32-visium.c | 5 +- bfd/elf32-wasm32.c | 155 + bfd/elf64-ia64-vms.c | 45 +- bfd/elf64-mmix.c | 41 +- bfd/elf64-ppc.c | 166 +- bfd/elf64-s390.c | 4 +- bfd/elf64-sh64.c | 20 +- bfd/elf64-sparc.c | 20 +- bfd/elf64-x86-64.c | 108 +- bfd/elfcode.h | 13 +- bfd/elflink.c | 100 +- bfd/elfnn-aarch64.c | 51 +- bfd/elfnn-ia64.c | 30 +- bfd/elfnn-riscv.c | 11 +- bfd/elfxx-aarch64.c | 8 +- bfd/elfxx-mips.c | 58 +- bfd/elfxx-sparc.c | 216 ++- bfd/elfxx-sparc.h | 5 + bfd/elfxx-target.h | 12 + bfd/elfxx-tilegx.c | 2 +- bfd/hpux-core.c | 6 +- bfd/ieee.c | 8 +- bfd/ihex.c | 4 +- bfd/libbfd.h | 15 +- bfd/linker.c | 3 +- bfd/merge.c | 4 +- bfd/mmo.c | 116 +- bfd/oasys.c | 3 +- bfd/opncls.c | 231 +- bfd/pdp11.c | 9 +- bfd/peXXigen.c | 23 +- bfd/po/SRC-POTFILES.in | 4 + bfd/po/bfd.pot | 1348 ++++---- bfd/reloc.c | 29 +- bfd/rs6000-core.c | 7 +- bfd/targets.c | 5 + bfd/version.h | 2 +- bfd/vms-alpha.c | 9 +- bfd/wasm-module.c | 839 +++++ bfd/wasm-module.h | 52 + bfd/xcofflink.c | 8 +- binutils/ChangeLog | 267 ++- binutils/NEWS | 10 + binutils/config.in | 4 + binutils/configure | 10 + binutils/configure.ac | 2 +- binutils/dlltool.c | 20 +- binutils/doc/binutils.texi | 64 +- binutils/dwarf.c | 13 +- binutils/dwarf.h | 2 + binutils/objcopy.c | 592 +++- binutils/objdump.c | 98 +- binutils/readelf.c | 814 ++++- binutils/testsuite/binutils-all/i386/pr21231a.d | 9 + binutils/testsuite/binutils-all/i386/pr21231a.s | 14 + binutils/testsuite/binutils-all/i386/pr21231b.d | 12 + binutils/testsuite/binutils-all/i386/pr21231b.s | 35 + binutils/testsuite/binutils-all/mbind1.s | 33 + binutils/testsuite/binutils-all/nm.exp | 3 +- binutils/testsuite/binutils-all/note-2-32.d | 17 + binutils/testsuite/binutils-all/note-2-32.s | 95 + binutils/testsuite/binutils-all/note-2-64.d | 17 + binutils/testsuite/binutils-all/note-2-64.s | 97 + binutils/testsuite/binutils-all/objcopy.exp | 6 + .../testsuite/binutils-all/wasm32/create-wasm.d | 10 + .../testsuite/binutils-all/wasm32/create-wasm.s | 6 + .../testsuite/binutils-all/wasm32/custom-section.d | 11 + .../testsuite/binutils-all/wasm32/custom-section.s | 4 + .../testsuite/binutils-all/wasm32/invalid-wasm-1.d | 6 + .../testsuite/binutils-all/wasm32/invalid-wasm-1.s | 7 + .../testsuite/binutils-all/wasm32/invalid-wasm-2.d | 6 + .../testsuite/binutils-all/wasm32/invalid-wasm-2.s | 7 + .../testsuite/binutils-all/wasm32/long-sections.d | 13 + .../testsuite/binutils-all/wasm32/long-sections.s | 9 + .../testsuite/binutils-all/wasm32/parse-wasm-2.d | 15 + .../testsuite/binutils-all/wasm32/parse-wasm-2.s | 43 + .../testsuite/binutils-all/wasm32/parse-wasm.d | 8 + .../testsuite/binutils-all/wasm32/parse-wasm.s | 7 + .../binutils-all/wasm32/prepared-section.d | 10 + .../binutils-all/wasm32/prepared-section.s | 6 + binutils/testsuite/binutils-all/wasm32/wasm32.exp | 29 + binutils/testsuite/binutils-all/x86-64/pr21231a.d | 9 + binutils/testsuite/binutils-all/x86-64/pr21231a.s | 14 + binutils/testsuite/binutils-all/x86-64/pr21231b.d | 12 + binutils/testsuite/binutils-all/x86-64/pr21231b.s | 35 + binutils/testsuite/lib/binutils-common.exp | 4 + config.guess | 16 +- config.sub | 18 +- cpu/ChangeLog | 4 + cpu/or1kcommon.cpu | 5 + gas/ChangeLog | 474 +++ gas/Makefile.am | 2 + gas/Makefile.in | 17 + gas/NEWS | 4 + gas/config/obj-elf.c | 54 +- gas/config/obj-elf.h | 3 +- gas/config/tc-aarch64.c | 12 +- gas/config/tc-arc.c | 18 +- gas/config/tc-arm.c | 14 +- gas/config/tc-i386.c | 160 +- gas/config/tc-ia64.c | 2 +- gas/config/tc-microblaze.c | 18 +- gas/config/tc-mips.c | 2 +- gas/config/tc-msp430.c | 2 +- gas/config/tc-nios2.h | 8 + gas/config/tc-ppc.c | 130 +- gas/config/tc-ppc.h | 16 + gas/config/tc-riscv.c | 56 +- gas/config/tc-riscv.h | 3 + gas/config/tc-rx.c | 4 +- gas/config/tc-s390.c | 12 +- gas/config/tc-tic6x.c | 3 +- gas/config/tc-wasm32.c | 821 +++++ gas/config/tc-wasm32.h | 89 + gas/config/tc-xtensa.c | 86 +- gas/configure.tgt | 6 + gas/doc/all.texi | 1 + gas/doc/as.texinfo | 58 +- gas/doc/c-aarch64.texi | 2 + gas/doc/c-arm.texi | 6 +- gas/doc/c-i386.texi | 30 +- gas/doc/c-riscv.texi | 8 + gas/doc/c-wasm32.texi | 119 + gas/dw2gencfi.c | 81 +- gas/dwarf2dbg.c | 65 +- gas/po/POTFILES.in | 2 + gas/po/gas.pot | 3486 ++++++++++---------- gas/testsuite/gas/aarch64/dwarf.d | 7 +- gas/testsuite/gas/aarch64/tls.d | 4 +- gas/testsuite/gas/all/gas.exp | 28 + gas/testsuite/gas/all/org-1.d | 3 + gas/testsuite/gas/all/org-1.l | 2 + gas/testsuite/gas/all/org-1.s | 25 + gas/testsuite/gas/all/org-2.d | 2 + gas/testsuite/gas/all/org-2.l | 2 + gas/testsuite/gas/all/org-2.s | 9 + gas/testsuite/gas/all/org-3.d | 2 + gas/testsuite/gas/all/org-3.l | 2 + gas/testsuite/gas/all/org-3.s | 9 + gas/testsuite/gas/all/org-4.d | 5 + gas/testsuite/gas/all/org-4.s | 9 + gas/testsuite/gas/all/org-5.d | 5 + gas/testsuite/gas/all/org-5.s | 9 + gas/testsuite/gas/all/org-6.d | 5 + gas/testsuite/gas/all/org-6.s | 9 + gas/testsuite/gas/arc/nps400-11.d | 303 ++ gas/testsuite/gas/arc/nps400-11.s | 308 ++ gas/testsuite/gas/arc/nps400-12.d | 59 + gas/testsuite/gas/arc/nps400-12.s | 71 + gas/testsuite/gas/elf/elf.exp | 3 + gas/testsuite/gas/elf/section10.d | 4 +- gas/testsuite/gas/elf/section10.s | 4 +- gas/testsuite/gas/elf/section12.s | 33 + gas/testsuite/gas/elf/section12a.d | 35 + gas/testsuite/gas/elf/section12b.d | 32 + gas/testsuite/gas/elf/section13.d | 2 + gas/testsuite/gas/elf/section13.l | 2 + gas/testsuite/gas/elf/section13.s | 2 + gas/testsuite/gas/i386/cet-intel.d | 31 + gas/testsuite/gas/i386/cet.d | 29 + gas/testsuite/gas/i386/cet.s | 25 + gas/testsuite/gas/i386/i386.exp | 6 + gas/testsuite/gas/i386/ilp32/x86-64-avx-intel.d | 88 +- gas/testsuite/gas/i386/ilp32/x86-64-avx.d | 96 +- gas/testsuite/gas/i386/ilp32/x86-64-sse2avx.d | 12 +- gas/testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d | 4 + gas/testsuite/gas/i386/ilp32/x86-64-sse4_2.d | 12 +- gas/testsuite/gas/i386/pseudos.d | 66 + gas/testsuite/gas/i386/pseudos.s | 62 + gas/testsuite/gas/i386/x86-64-avx-intel.d | 88 +- gas/testsuite/gas/i386/x86-64-avx.d | 96 +- gas/testsuite/gas/i386/x86-64-avx.s | 4 + gas/testsuite/gas/i386/x86-64-cet-intel.d | 38 + gas/testsuite/gas/i386/x86-64-cet.d | 37 + gas/testsuite/gas/i386/x86-64-cet.s | 33 + gas/testsuite/gas/i386/x86-64-mpx-inval-2.l | 8 +- gas/testsuite/gas/i386/x86-64-mpx-inval-2.s | 3 + gas/testsuite/gas/i386/x86-64-pseudos.d | 66 + gas/testsuite/gas/i386/x86-64-pseudos.s | 62 + gas/testsuite/gas/i386/x86-64-sse2avx.d | 12 +- gas/testsuite/gas/i386/x86-64-sse2avx.s | 4 + gas/testsuite/gas/i386/x86-64-sse4_2-intel.d | 4 + gas/testsuite/gas/i386/x86-64-sse4_2.d | 12 +- gas/testsuite/gas/i386/x86-64-sse4_2.s | 4 + gas/testsuite/gas/mips/jalr4-n64.d | 21 +- gas/testsuite/gas/mips/jalr4.d | 15 +- gas/testsuite/gas/mips/jalr4.s | 6 + gas/testsuite/gas/mips/mips.exp | 13 + gas/testsuite/gas/mips/mipsr6@jalr4-n32.d | 5 + gas/testsuite/gas/mips/mipsr6@jalr4-n64.d | 57 + gas/testsuite/gas/mips/mipsr6@jalr4.d | 39 + gas/testsuite/gas/mips/org-1.d | 7 + gas/testsuite/gas/mips/org-1.l | 2 + gas/testsuite/gas/mips/org-1.s | 9 + gas/testsuite/gas/mips/org-10.d | 7 + gas/testsuite/gas/mips/org-10.l | 2 + gas/testsuite/gas/mips/org-10.s | 11 + gas/testsuite/gas/mips/org-11.d | 6 + gas/testsuite/gas/mips/org-11.s | 13 + gas/testsuite/gas/mips/org-12.d | 5 + gas/testsuite/gas/mips/org-12.s | 13 + gas/testsuite/gas/mips/org-2.d | 6 + gas/testsuite/gas/mips/org-2.s | 11 + gas/testsuite/gas/mips/org-3.d | 5 + gas/testsuite/gas/mips/org-3.s | 11 + gas/testsuite/gas/mips/org-4.d | 3 + gas/testsuite/gas/mips/org-4.l | 3 + gas/testsuite/gas/mips/org-4.s | 11 + gas/testsuite/gas/mips/org-5.d | 3 + gas/testsuite/gas/mips/org-5.l | 2 + gas/testsuite/gas/mips/org-5.s | 13 + gas/testsuite/gas/mips/org-6.d | 2 + gas/testsuite/gas/mips/org-6.l | 2 + gas/testsuite/gas/mips/org-6.s | 13 + gas/testsuite/gas/mips/org-7.d | 6 + gas/testsuite/gas/mips/org-7.s | 11 + gas/testsuite/gas/mips/org-8.d | 6 + gas/testsuite/gas/mips/org-8.s | 13 + gas/testsuite/gas/mips/org-9.d | 5 + gas/testsuite/gas/mips/org-9.s | 13 + gas/testsuite/gas/ppc/altivec2.d | 186 +- gas/testsuite/gas/ppc/altivec2.s | 48 - gas/testsuite/gas/ppc/htm.d | 4 +- gas/testsuite/gas/ppc/power9.d | 5 +- gas/testsuite/gas/ppc/power9.s | 1 + gas/testsuite/gas/ppc/ppc.exp | 1 + gas/testsuite/gas/ppc/pr21303.d | 12 + gas/testsuite/gas/ppc/pr21303.s | 5 + gas/testsuite/gas/wasm32/allinsn.d | 198 ++ gas/testsuite/gas/wasm32/allinsn.s | 171 + gas/testsuite/gas/wasm32/disass-2.d | 9 + gas/testsuite/gas/wasm32/disass-2.s | 3 + gas/testsuite/gas/wasm32/disass.d | 9 + gas/testsuite/gas/wasm32/disass.s | 3 + gas/testsuite/gas/wasm32/illegal-10.l | 3 + gas/testsuite/gas/wasm32/illegal-10.s | 1 + gas/testsuite/gas/wasm32/illegal-11.l | 3 + gas/testsuite/gas/wasm32/illegal-11.s | 1 + gas/testsuite/gas/wasm32/illegal-12.l | 3 + gas/testsuite/gas/wasm32/illegal-12.s | 1 + gas/testsuite/gas/wasm32/illegal-13.l | 3 + gas/testsuite/gas/wasm32/illegal-13.s | 1 + gas/testsuite/gas/wasm32/illegal-14.l | 3 + gas/testsuite/gas/wasm32/illegal-14.s | 1 + gas/testsuite/gas/wasm32/illegal-15.l | 3 + gas/testsuite/gas/wasm32/illegal-15.s | 1 + gas/testsuite/gas/wasm32/illegal-16.l | 3 + gas/testsuite/gas/wasm32/illegal-16.s | 1 + gas/testsuite/gas/wasm32/illegal-17.l | 3 + gas/testsuite/gas/wasm32/illegal-17.s | 1 + gas/testsuite/gas/wasm32/illegal-18.l | 3 + gas/testsuite/gas/wasm32/illegal-18.s | 1 + gas/testsuite/gas/wasm32/illegal-19.l | 3 + gas/testsuite/gas/wasm32/illegal-19.s | 1 + gas/testsuite/gas/wasm32/illegal-2.l | 3 + gas/testsuite/gas/wasm32/illegal-2.s | 1 + gas/testsuite/gas/wasm32/illegal-20.l | 3 + gas/testsuite/gas/wasm32/illegal-20.s | 1 + gas/testsuite/gas/wasm32/illegal-21.l | 3 + gas/testsuite/gas/wasm32/illegal-21.s | 1 + gas/testsuite/gas/wasm32/illegal-22.l | 3 + gas/testsuite/gas/wasm32/illegal-24.l | 3 + gas/testsuite/gas/wasm32/illegal-24.s | 1 + gas/testsuite/gas/wasm32/illegal-25.l | 3 + gas/testsuite/gas/wasm32/illegal-25.s | 1 + gas/testsuite/gas/wasm32/illegal-3.l | 3 + gas/testsuite/gas/wasm32/illegal-3.s | 1 + gas/testsuite/gas/wasm32/illegal-4.l | 3 + gas/testsuite/gas/wasm32/illegal-4.s | 1 + gas/testsuite/gas/wasm32/illegal-5.l | 3 + gas/testsuite/gas/wasm32/illegal-5.s | 1 + gas/testsuite/gas/wasm32/illegal-6.l | 3 + gas/testsuite/gas/wasm32/illegal-6.s | 1 + gas/testsuite/gas/wasm32/illegal-7.l | 3 + gas/testsuite/gas/wasm32/illegal-7.s | 1 + gas/testsuite/gas/wasm32/illegal-8.l | 3 + gas/testsuite/gas/wasm32/illegal-8.s | 1 + gas/testsuite/gas/wasm32/illegal-9.l | 3 + gas/testsuite/gas/wasm32/illegal-9.s | 1 + gas/testsuite/gas/wasm32/illegal.l | 3 + gas/testsuite/gas/wasm32/illegal.s | 1 + gas/testsuite/gas/wasm32/reloc.d | 19 + gas/testsuite/gas/wasm32/reloc.s | 3 + gas/testsuite/gas/wasm32/wasm32.exp | 58 + gas/testsuite/gas/xtensa/all.exp | 2 + gas/testsuite/gas/xtensa/auto-litpools-first1.d | 12 + gas/testsuite/gas/xtensa/auto-litpools-first1.s | 3 + gas/testsuite/gas/xtensa/auto-litpools-first2.d | 15 + gas/testsuite/gas/xtensa/auto-litpools-first2.s | 3 + gas/testsuite/gas/xtensa/auto-litpools.d | 6 +- gas/write.c | 9 +- gdb/ChangeLog | 2191 ++++++++++++- gdb/MAINTAINERS | 2 +- gdb/Makefile.in | 16 +- gdb/NEWS | 25 + gdb/aarch64-linux-nat.c | 8 +- gdb/aarch64-tdep.c | 86 +- gdb/ada-exp.y | 4 +- gdb/ada-lang.c | 62 +- gdb/ada-lang.h | 8 +- gdb/ada-valprint.c | 3 + gdb/aix-thread.c | 20 +- gdb/alpha-bsd-nat.c | 12 +- gdb/alpha-fbsd-tdep.c | 132 - gdb/alpha-tdep.c | 2 + gdb/amd64-bsd-nat.c | 32 +- gdb/amd64-fbsd-tdep.c | 67 - gdb/amd64-linux-nat.c | 8 +- gdb/amd64-tdep.c | 9 +- gdb/amd64-windows-tdep.c | 1 + gdb/arc-tdep.c | 852 +++++- gdb/arc-tdep.h | 41 + gdb/arch/xtensa.h | 2 + gdb/arm-linux-nat.c | 16 +- gdb/arm-nbsd-nat.c | 20 +- gdb/arm-tdep.c | 476 ++- gdb/auto-load.c | 3 +- gdb/avr-tdep.c | 3 + gdb/ax-gdb.c | 34 +- gdb/bcache.c | 2 +- gdb/bcache.h | 2 +- gdb/bfin-tdep.c | 6 +- gdb/break-catch-throw.c | 37 +- gdb/breakpoint.c | 422 +-- gdb/breakpoint.h | 217 +- gdb/bsd-kvm.c | 2 +- gdb/bsd-uthread.c | 26 +- gdb/buildsym.c | 2 +- gdb/buildsym.h | 4 +- gdb/c-exp.y | 16 +- gdb/c-lang.c | 9 + gdb/c-lang.h | 4 +- gdb/c-typeprint.c | 22 +- gdb/c-valprint.c | 14 +- gdb/c-varobj.c | 12 +- gdb/charset.c | 54 +- gdb/charset.h | 6 +- gdb/cli/cli-cmds.c | 83 +- gdb/cli/cli-decode.c | 13 +- gdb/cli/cli-dump.c | 15 +- gdb/cli/cli-script.c | 87 +- gdb/cli/cli-script.h | 9 +- gdb/cli/cli-utils.c | 6 +- gdb/cli/cli-utils.h | 22 +- gdb/coff-pe-read.c | 2 +- gdb/command.h | 3 +- gdb/common/common-utils.c | 11 + gdb/common/common-utils.h | 5 + gdb/common/common.m4 | 3 +- gdb/common/environ.c | 182 + gdb/{ => common}/environ.h | 0 gdb/common/gdb_optional.h | 34 +- gdb/common/gdb_termios.h | 78 + gdb/common/gdb_unlinker.h | 2 +- gdb/common/offset-type.h | 149 + gdb/common/preprocessor.h | 31 + gdb/common/print-utils.c | 2 +- gdb/common/ptid.c | 69 +- gdb/common/ptid.h | 173 +- gdb/common/traits.h | 34 + gdb/common/underlying.h | 32 + gdb/common/valid-expr.h | 108 + gdb/compile/compile-c-support.c | 6 +- gdb/compile/compile-c-symbols.c | 2 +- gdb/compile/compile-loc2c.c | 20 +- gdb/compile/compile.c | 12 +- gdb/completer.c | 79 +- gdb/completer.h | 8 +- gdb/config/alpha/fbsd.mh | 6 - gdb/config/powerpc/ppc64-linux.mh | 6 - gdb/configure | 2 +- gdb/configure.host | 4 +- gdb/configure.tgt | 15 +- gdb/corefile.c | 2 +- gdb/corelow.c | 13 +- gdb/cp-name-parser.y | 80 +- gdb/cp-support.c | 3 +- gdb/cp-valprint.c | 2 +- gdb/cris-tdep.c | 6 +- gdb/d-exp.y | 11 +- gdb/d-lang.h | 2 +- gdb/darwin-nat-info.c | 2 +- gdb/darwin-nat.c | 16 +- gdb/dbxread.c | 80 +- gdb/defs.h | 35 +- gdb/disasm.c | 179 + gdb/disasm.h | 8 + gdb/doc/ChangeLog | 39 + gdb/doc/gdb.texinfo | 97 +- gdb/doc/guile.texi | 2 +- gdb/doc/python.texi | 11 +- gdb/dwarf2expr.c | 45 +- gdb/dwarf2expr.h | 16 +- gdb/dwarf2loc.c | 140 +- gdb/dwarf2loc.h | 3 + gdb/dwarf2read.c | 1798 ++++++----- gdb/elfread.c | 2 +- gdb/environ.c | 182 - gdb/eval.c | 16 +- gdb/event-top.c | 4 +- gdb/exceptions.c | 4 +- gdb/exceptions.h | 3 +- gdb/expprint.c | 14 +- gdb/expression.h | 6 +- gdb/f-exp.y | 10 +- gdb/f-lang.c | 2 +- gdb/f-lang.h | 2 +- gdb/fbsd-nat.c | 4 +- gdb/fbsd-tdep.c | 6 +- gdb/findvar.c | 6 +- gdb/fork-child.c | 383 ++- gdb/frame.c | 58 +- gdb/frv-tdep.c | 6 +- gdb/gdb-dlfcn.c | 45 +- gdb/gdb-dlfcn.h | 24 +- gdb/gdbarch.c | 104 +- gdb/gdbarch.h | 24 +- gdb/gdbarch.sh | 23 +- gdb/gdbcore.h | 2 +- gdb/gdbserver/.gitignore | 18 +- gdb/gdbserver/ChangeLog | 310 ++ gdb/gdbserver/Makefile.in | 583 +--- gdb/gdbserver/configure | 2 +- gdb/gdbserver/gdbreplay.c | 2 +- gdb/gdbserver/linux-x86-low.c | 2 +- gdb/gdbserver/linux-xtensa-low.c | 39 + gdb/gdbserver/remote-utils.c | 10 +- gdb/gdbserver/remote-utils.h | 4 +- gdb/gdbserver/server.c | 123 +- gdb/gdbserver/terminal.h | 51 - gdb/gdbserver/win32-low.c | 5 - gdb/gdbthread.h | 85 +- gdb/gdbtypes.c | 113 +- gdb/gdbtypes.h | 35 +- gdb/gnu-nat.c | 5 +- gdb/gnu-v3-abi.c | 54 +- gdb/go-exp.y | 10 +- gdb/go-lang.h | 2 +- gdb/go32-nat.c | 10 +- gdb/guile/guile-internal.h | 2 + gdb/guile/guile.c | 35 +- gdb/guile/scm-breakpoint.c | 16 +- gdb/guile/scm-cmd.c | 4 +- gdb/guile/scm-lazy-string.c | 119 +- gdb/guile/scm-param.c | 2 +- gdb/guile/scm-ports.c | 3 +- gdb/guile/scm-type.c | 15 +- gdb/guile/scm-value.c | 67 +- gdb/h8300-tdep.c | 10 +- gdb/hppa-linux-nat.c | 15 +- gdb/hppa-nbsd-nat.c | 22 +- gdb/hppa-obsd-nat.c | 20 +- gdb/hppa-tdep.c | 5 +- gdb/i386-bsd-nat.c | 37 +- gdb/i386-cygwin-tdep.c | 2 +- gdb/i386-darwin-nat.c | 4 +- gdb/i386-fbsd-tdep.c | 59 - gdb/i386-gnu-nat.c | 12 +- gdb/i386-go32-tdep.c | 72 + gdb/i386-linux-nat.c | 29 +- gdb/i386-nto-tdep.c | 3 + gdb/i386-tdep.c | 56 +- gdb/i386-tdep.h | 5 + gdb/i387-tdep.c | 17 + gdb/i387-tdep.h | 4 + gdb/ia64-linux-nat.c | 20 +- gdb/ia64-tdep.c | 2 +- gdb/inf-ptrace.c | 168 +- gdb/infcall.c | 5 +- gdb/infcmd.c | 21 +- gdb/inferior.c | 49 +- gdb/inferior.h | 72 +- gdb/inflow.c | 1 + gdb/inflow.h | 2 +- gdb/infrun.c | 205 +- gdb/jit.c | 42 +- gdb/language.c | 13 +- gdb/language.h | 8 +- gdb/linespec.c | 77 +- gdb/linespec.h | 45 +- gdb/linux-nat.c | 52 +- gdb/linux-tdep.c | 2 +- gdb/linux-thread-db.c | 6 +- gdb/lm32-tdep.c | 2 +- gdb/location.c | 121 +- gdb/location.h | 55 +- gdb/m2-exp.y | 4 +- gdb/m2-lang.h | 2 +- gdb/m32c-tdep.c | 8 +- gdb/m32r-linux-nat.c | 14 +- gdb/m32r-tdep.c | 10 +- gdb/m68hc11-tdep.c | 2 +- gdb/m68k-bsd-nat.c | 22 +- gdb/m68k-linux-nat.c | 32 +- gdb/m88k-bsd-nat.c | 6 +- gdb/m88k-tdep.c | 3 +- gdb/macroexp.c | 28 +- gdb/main.c | 6 +- gdb/mdebugread.c | 46 +- gdb/memattr.c | 2 +- gdb/mep-tdep.c | 2 +- gdb/mi/mi-cmd-break.c | 27 +- gdb/mi/mi-cmd-catch.c | 8 +- gdb/mi/mi-cmd-disas.c | 2 +- gdb/mi/mi-cmd-env.c | 16 +- gdb/mi/mi-cmd-file.c | 61 +- gdb/mi/mi-cmd-info.c | 10 +- gdb/mi/mi-cmd-stack.c | 18 +- gdb/mi/mi-cmd-target.c | 6 +- gdb/mi/mi-cmd-var.c | 36 +- gdb/mi/mi-cmds.c | 2 + gdb/mi/mi-cmds.h | 3 +- gdb/mi/mi-interp.c | 38 +- gdb/mi/mi-interp.h | 27 + gdb/mi/mi-main.c | 119 +- gdb/mi/mi-parse.c | 55 +- gdb/mi/mi-parse.h | 13 +- gdb/mi/mi-symbol-cmds.c | 2 +- gdb/mips-fbsd-nat.c | 22 +- gdb/mips-linux-nat.c | 9 +- gdb/mips-nbsd-nat.c | 22 +- gdb/mips-tdep.c | 6 +- gdb/mips64-obsd-nat.c | 11 +- gdb/mn10300-tdep.c | 11 +- gdb/moxie-tdep.c | 5 +- gdb/msp430-tdep.c | 8 +- gdb/nat/linux-osdata.c | 6 +- gdb/nds32-tdep.c | 3 + gdb/nto-procfs.c | 16 +- gdb/nto-tdep.c | 4 +- gdb/nto-tdep.h | 2 +- gdb/objc-lang.c | 8 +- gdb/objc-lang.h | 7 +- gdb/objfiles.c | 2 +- gdb/objfiles.h | 2 +- gdb/obsd-nat.c | 2 +- gdb/osdata.c | 15 +- gdb/osdata.h | 6 +- gdb/p-exp.y | 6 +- gdb/p-lang.h | 2 +- gdb/parse.c | 41 +- gdb/parser-defs.h | 9 +- gdb/ppc-fbsd-nat.c | 20 +- gdb/ppc-linux-nat.c | 15 +- gdb/ppc-nbsd-nat.c | 20 +- gdb/ppc-obsd-nat.c | 20 +- gdb/ppc-sysv-tdep.c | 7 +- gdb/printcmd.c | 20 +- gdb/proc-api.c | 12 +- gdb/proc-events.c | 6 +- gdb/proc-flags.c | 4 +- gdb/proc-service.c | 36 +- gdb/proc-utils.h | 2 +- gdb/proc-why.c | 4 +- gdb/procfs.c | 42 +- gdb/psymtab.c | 5 +- gdb/python/lib/gdb/command/explore.py | 2 +- gdb/python/lib/gdb/printer/bound_registers.py | 7 + gdb/python/lib/gdb/types.py | 4 +- gdb/python/py-arch.c | 7 +- gdb/python/py-block.c | 2 +- gdb/python/py-breakpoint.c | 28 +- gdb/python/py-cmd.c | 20 +- gdb/python/py-event.c | 6 +- gdb/python/py-event.h | 4 +- gdb/python/py-evts.c | 2 +- gdb/python/py-finishbreakpoint.c | 20 +- gdb/python/py-framefilter.c | 2 +- gdb/python/py-inferior.c | 40 +- gdb/python/py-infthread.c | 2 +- gdb/python/py-lazy-string.c | 119 +- gdb/python/py-linetable.c | 26 +- gdb/python/py-objfile.c | 12 +- gdb/python/py-param.c | 2 +- gdb/python/py-progspace.c | 2 +- gdb/python/py-record-btrace.c | 9 +- gdb/python/py-record.c | 2 +- gdb/python/py-symbol.c | 15 +- gdb/python/py-symtab.c | 4 +- gdb/python/py-type.c | 24 +- gdb/python/py-unwind.c | 2 +- gdb/python/py-value.c | 127 +- gdb/python/py-xmethods.c | 10 +- gdb/python/python-internal.h | 121 + gdb/python/python.c | 47 +- gdb/ravenscar-thread.c | 23 +- gdb/record-btrace.c | 14 +- gdb/record-full.c | 2 +- gdb/record.c | 14 +- gdb/regcache.c | 62 +- gdb/regcache.h | 10 + gdb/remote-fileio.c | 2 +- gdb/remote-sim.c | 15 +- gdb/remote.c | 46 +- gdb/reverse.c | 2 +- gdb/rl78-tdep.c | 2 +- gdb/rs6000-aix-tdep.c | 5 + gdb/rs6000-nat.c | 28 +- gdb/rs6000-tdep.c | 11 +- gdb/rust-exp.y | 2 +- gdb/rust-lang.c | 2 +- gdb/rust-lang.h | 2 +- gdb/rx-tdep.c | 4 +- gdb/s390-linux-nat.c | 5 +- gdb/s390-linux-tdep.c | 64 +- gdb/ser-base.c | 14 +- gdb/ser-mingw.c | 2 - gdb/ser-unix.c | 153 +- gdb/serial.h | 7 +- gdb/sh-nbsd-nat.c | 10 +- gdb/sh-tdep.c | 26 +- gdb/sh64-tdep.c | 2 +- gdb/sol-thread.c | 79 +- gdb/sol2-tdep.c | 2 +- gdb/sol2-tdep.h | 2 +- gdb/solib-darwin.c | 2 +- gdb/solib-frv.c | 2 +- gdb/solib-svr4.c | 6 +- gdb/solib-target.c | 2 +- gdb/solib.c | 47 +- gdb/solib.h | 23 +- gdb/solist.h | 10 +- gdb/sparc-nat.c | 12 +- gdb/sparc-tdep.c | 4 + gdb/sparc-tdep.h | 1 + gdb/sparc64-tdep.c | 51 +- gdb/spu-linux-nat.c | 10 + gdb/spu-multiarch.c | 10 + gdb/spu-tdep.c | 13 +- gdb/stabsread.c | 132 +- gdb/stabsread.h | 10 +- gdb/symfile.c | 50 +- gdb/symfile.h | 4 +- gdb/symtab.c | 14 +- gdb/symtab.h | 6 +- gdb/target-delegates.c | 18 +- gdb/target-descriptions.c | 8 +- gdb/target.c | 60 +- gdb/target.h | 14 +- gdb/terminal.h | 57 - gdb/testsuite/ChangeLog | 243 ++ .../gdb.arch/amd64-entry-value-param-dwarf5.exp | 24 +- gdb/testsuite/gdb.arch/amd64-entry-value-param.exp | 24 +- gdb/testsuite/gdb.arch/arc-analyze-prologue.S | 903 +++++ gdb/testsuite/gdb.arch/arc-analyze-prologue.exp | 201 ++ gdb/testsuite/gdb.arch/arc-decode-insn.S | 1002 ++++++ gdb/testsuite/gdb.arch/arc-decode-insn.exp | 132 + .../gdb.arch/arm-disassembler-options.exp | 56 + gdb/testsuite/gdb.arch/i386-mpx-call.c | 131 + gdb/testsuite/gdb.arch/i386-mpx-call.exp | 387 +++ gdb/testsuite/gdb.arch/i386-pkru.exp | 3 + gdb/testsuite/gdb.arch/powerpc-altivec.exp | 261 ++ gdb/testsuite/gdb.arch/powerpc-altivec.s | 217 ++ gdb/testsuite/gdb.arch/powerpc-altivec2.exp | 178 + gdb/testsuite/gdb.arch/powerpc-altivec2.s | 135 + gdb/testsuite/gdb.arch/powerpc-altivec3.exp | 131 + gdb/testsuite/gdb.arch/powerpc-altivec3.s | 88 + .../gdb.arch/powerpc-disassembler-options.exp | 56 + gdb/testsuite/gdb.arch/powerpc-power.exp | 1429 -------- gdb/testsuite/gdb.arch/powerpc-power.s | 1389 -------- gdb/testsuite/gdb.arch/powerpc-power7.exp | 164 + gdb/testsuite/gdb.arch/powerpc-power7.s | 121 + gdb/testsuite/gdb.arch/powerpc-power8.exp | 248 ++ gdb/testsuite/gdb.arch/powerpc-power8.s | 205 ++ gdb/testsuite/gdb.arch/powerpc-power9.exp | 445 +++ gdb/testsuite/gdb.arch/powerpc-power9.s | 402 +++ gdb/testsuite/gdb.arch/powerpc-vsx.exp | 225 ++ gdb/testsuite/gdb.arch/powerpc-vsx.s | 182 + gdb/testsuite/gdb.arch/powerpc-vsx2.exp | 118 + gdb/testsuite/gdb.arch/powerpc-vsx2.s | 75 + gdb/testsuite/gdb.arch/powerpc-vsx3.exp | 184 + gdb/testsuite/gdb.arch/powerpc-vsx3.s | 141 + .../gdb.arch/s390-disassembler-options.exp | 56 + gdb/testsuite/gdb.arch/sparc64-regs.S | 136 + gdb/testsuite/gdb.arch/sparc64-regs.exp | 118 + gdb/testsuite/gdb.base/break-fun-addr.exp | 4 +- gdb/testsuite/gdb.base/commands.exp | 40 + gdb/testsuite/gdb.base/completion.exp | 37 - gdb/testsuite/gdb.base/examine-backward.c | 8 + gdb/testsuite/gdb.base/step-over-exit.exp | 3 +- gdb/testsuite/gdb.base/tui-layout.exp | 40 - gdb/testsuite/gdb.btrace/gcore.exp | 3 +- gdb/testsuite/gdb.cp/demangle.exp | 42 +- gdb/testsuite/gdb.cp/m-static.exp | 4 +- gdb/testsuite/gdb.cp/rvalue-ref-casts.cc | 75 + gdb/testsuite/gdb.cp/rvalue-ref-casts.exp | 77 + gdb/testsuite/gdb.cp/rvalue-ref-overload.cc | 86 + gdb/testsuite/gdb.cp/rvalue-ref-overload.exp | 69 + gdb/testsuite/gdb.cp/rvalue-ref-params.cc | 83 + gdb/testsuite/gdb.cp/rvalue-ref-params.exp | 69 + gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc | 75 + gdb/testsuite/gdb.cp/rvalue-ref-sizeof.exp | 43 + gdb/testsuite/gdb.cp/rvalue-ref-types.cc | 79 + gdb/testsuite/gdb.cp/rvalue-ref-types.exp | 128 + gdb/testsuite/gdb.cp/templates.exp | 24 +- gdb/testsuite/gdb.cp/wide_char_types.c | 30 + gdb/testsuite/gdb.cp/wide_char_types.exp | 181 + gdb/testsuite/gdb.disasm/disassembler-options.exp | 34 + gdb/testsuite/gdb.dlang/watch-loc.c | 36 + gdb/testsuite/gdb.dlang/watch-loc.exp | 83 + gdb/testsuite/gdb.dwarf2/nonvar-access.exp | 28 +- gdb/testsuite/gdb.guile/scm-lazy-string.c | 29 + gdb/testsuite/gdb.guile/scm-lazy-string.exp | 82 + gdb/testsuite/gdb.guile/scm-value.c | 2 - gdb/testsuite/gdb.guile/scm-value.exp | 31 - gdb/testsuite/gdb.mi/mi-solib.exp | 49 +- gdb/testsuite/gdb.python/py-completion.exp | 6 +- gdb/testsuite/gdb.python/py-lazy-string.c | 5 + gdb/testsuite/gdb.python/py-lazy-string.exp | 42 +- gdb/testsuite/gdb.python/py-record-btrace.exp | 6 +- gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc | 59 + .../gdb.python/py-rvalue-ref-value-cc.exp | 57 + gdb/testsuite/gdb.python/py-section-script.exp | 38 + gdb/testsuite/gdb.python/py-value.c | 2 - gdb/testsuite/gdb.python/py-value.exp | 24 - .../attach-many-short-lived-threads.exp | 8 +- .../gdb.threads/interrupt-while-step-over.c | 75 + .../gdb.threads/interrupt-while-step-over.exp | 204 ++ .../signal-while-stepping-over-bp-other-thread.exp | 1 - gdb/testsuite/gdb.threads/thread-specific-bp.exp | 9 +- gdb/testsuite/gdb.threads/threadapply.exp | 31 +- gdb/testsuite/gdb.trace/tsv.exp | 4 + gdb/testsuite/gdb.tui/completion.exp | 58 + .../tui-disasm-long-lines.c} | 0 gdb/testsuite/gdb.tui/tui-disasm-long-lines.exp | 43 + gdb/testsuite/gdb.tui/tui-layout.c | 22 + gdb/testsuite/gdb.tui/tui-layout.exp | 56 + gdb/testsuite/gdb.tui/tui-nl-filtered-output.exp | 57 + gdb/testsuite/lib/dwarf.exp | 3 +- gdb/testsuite/lib/gdb.exp | 60 +- gdb/testsuite/lib/mi-support.exp | 2 +- gdb/thread.c | 428 ++-- gdb/tilegx-linux-nat.c | 13 +- gdb/top.c | 17 +- gdb/top.h | 2 +- gdb/tracefile-tfile.c | 4 +- gdb/tracefile.c | 2 +- gdb/tracepoint.c | 50 +- gdb/tracepoint.h | 2 +- gdb/tui/tui-data.c | 2 +- gdb/tui/tui-data.h | 2 +- gdb/tui/tui-file.c | 10 + gdb/tui/tui-file.h | 3 +- gdb/tui/tui-io.c | 114 +- gdb/tui/tui-io.h | 4 + gdb/tui/tui-regs.c | 1 - gdb/tui/tui-source.c | 2 +- gdb/tui/tui-source.h | 2 +- gdb/tui/tui-win.c | 11 +- gdb/tui/tui-windata.c | 2 +- gdb/tui/tui-windata.h | 2 +- gdb/tui/tui-winsource.c | 2 +- gdb/tui/tui.c | 2 +- gdb/typeprint.c | 4 +- gdb/ui-out.c | 4 + gdb/unittests/offset-type-selftests.c | 178 + gdb/unittests/ptid-selftests.c | 153 + gdb/utils.c | 23 +- gdb/utils.h | 6 +- gdb/valarith.c | 6 +- gdb/valops.c | 70 +- gdb/valprint.c | 8 +- gdb/value.c | 12 +- gdb/value.h | 2 +- gdb/varobj.c | 4 +- gdb/varobj.h | 2 +- gdb/vax-bsd-nat.c | 11 +- gdb/vax-tdep.c | 2 +- gdb/warning.m4 | 2 +- gdb/windows-nat.c | 66 +- gdb/windows-tdep.c | 3 + gdb/xcoffread.c | 8 +- gdb/xml-support.c | 10 +- gdb/xml-support.h | 4 +- gdb/xml-syscall.c | 8 +- gdb/xml-tdesc.c | 15 +- gdb/xstormy16-tdep.c | 5 +- gdb/xtensa-linux-nat.c | 46 +- gdb/xtensa-tdep.c | 20 +- gdb/xtensa-tdep.h | 3 +- gold/ChangeLog | 57 + gold/mips.cc | 579 ++-- include/ChangeLog | 205 ++ include/demangle.h | 9 +- include/dis-asm.h | 46 +- include/dwarf2.def | 3 + include/elf/aarch64.h | 4 +- include/elf/common.h | 94 +- include/elf/ppc.h | 6 +- include/elf/ppc64.h | 6 +- include/elf/riscv.h | 3 + include/elf/wasm32.h | 30 + include/opcode/arc.h | 15 +- include/opcode/ppc.h | 120 +- include/opcode/riscv-opc.h | 40 + include/opcode/s390.h | 3 +- include/opcode/wasm.h | 226 ++ ld/ChangeLog | 312 ++- ld/NEWS | 10 + ld/configure.tgt | 1 + ld/emulparams/elf32ppccommon.sh | 10 +- ld/emultempl/elf32.em | 199 +- ld/emultempl/pe.em | 64 +- ld/emultempl/pep.em | 116 +- ld/ld.texinfo | 54 +- ld/ldlang.c | 74 +- ld/pe-dll.c | 113 +- ld/pe-dll.h | 4 +- ld/pep-dll.h | 5 +- ld/testsuite/ld-aarch64/ifunc-5r-local.d | 4 +- ld/testsuite/ld-alpha/tlsbin.dd | 10 +- ld/testsuite/ld-alpha/tlsbin.td | 12 +- ld/testsuite/ld-alpha/tlsbinr.dd | 2 +- ld/testsuite/ld-alpha/tlspic.dd | 10 +- ld/testsuite/ld-alpha/tlspic.rd | 2 +- ld/testsuite/ld-alpha/tlspic.sd | 14 +- ld/testsuite/ld-alpha/tlspic.td | 12 +- ld/testsuite/ld-checks/checks.exp | 16 + ld/testsuite/ld-checks/over.d | 4 + ld/testsuite/ld-checks/over.s | 7 + ld/testsuite/ld-checks/over2.d | 8 + ld/testsuite/ld-checks/over2.s | 4 + ld/testsuite/ld-cris/dso-1c.s | 2 + ld/testsuite/ld-cris/dso-2b.s | 2 + ld/testsuite/ld-cris/dso-4.s | 6 + ld/testsuite/ld-cris/pr16044.d | 43 + ld/testsuite/ld-elf/eh3.d | 12 +- ld/testsuite/ld-elf/eh6.d | 2 +- ld/testsuite/ld-elf/elf.exp | 21 + ld/testsuite/ld-elf/init-fini-arrays.d | 4 +- ld/testsuite/ld-elf/init-fini-arrays.s | 13 +- ld/testsuite/ld-elf/mbind1.s | 43 + ld/testsuite/ld-elf/mbind1a.d | 36 + ld/testsuite/ld-elf/mbind1b.d | 36 + ld/testsuite/ld-elf/mbind1c.d | 36 + ld/testsuite/ld-elf/mbind2a.s | 15 + ld/testsuite/ld-elf/mbind2b.c | 17 + ld/testsuite/ld-elf/merge.d | 2 +- ld/testsuite/ld-elf/orphan-10.d | 10 + ld/testsuite/ld-elf/orphan-10.s | 8 + ld/testsuite/ld-elf/orphan-9.d | 12 + ld/testsuite/ld-elf/orphan-9.ld | 32 + ld/testsuite/ld-elf/orphan-9.s | 11 + ld/testsuite/ld-elf/pr19579a.c | 2 +- ld/testsuite/ld-elf/pr21233-e.ld | 2 + ld/testsuite/ld-elf/pr21233-l.s | 6 + ld/testsuite/ld-elf/pr21233-l.sd | 6 + ld/testsuite/ld-elf/pr21233.ld | 17 + ld/testsuite/ld-elf/pr21233.s | 8 + ld/testsuite/ld-elf/pr21233.sd | 9 + ld/testsuite/ld-elf/sec64k.exp | 6 +- ld/testsuite/ld-elf/shared.exp | 61 +- ld/testsuite/ld-elfvsb/elfvsb.exp | 10 +- ld/testsuite/ld-i386/i386.exp | 273 ++ ld/testsuite/ld-i386/pass.c | 8 + ld/testsuite/ld-i386/property-1.r | 7 + ld/testsuite/ld-i386/property-2.r | 7 + ld/testsuite/ld-i386/property-3.r | 8 + ld/testsuite/ld-i386/property-4.r | 8 + ld/testsuite/ld-i386/property-5.r | 8 + ld/testsuite/ld-i386/property-6.r | 7 + ld/testsuite/ld-i386/property-6a.c | 7 + ld/testsuite/ld-i386/property-6b.c | 8 + ld/testsuite/ld-i386/property-6c.S | 18 + ld/testsuite/ld-i386/property-7.r | 6 + ld/testsuite/ld-i386/property-no-copy.S | 15 + ld/testsuite/ld-i386/property-stack.S | 18 + ld/testsuite/ld-i386/property-unsorted-1.S | 34 + ld/testsuite/ld-i386/property-unsorted-2.S | 22 + ld/testsuite/ld-i386/property-x86-1.S | 32 + ld/testsuite/ld-i386/property-x86-2.S | 25 + ld/testsuite/ld-mips-elf/eh-frame1-n64.d | 76 +- ld/testsuite/ld-mips-elf/eh-frame2-n64.d | 84 +- ld/testsuite/ld-mips-elf/eh-frame3.d | 46 +- ld/testsuite/ld-mips-elf/jalr4-r6.dd | 25 + ld/testsuite/ld-mips-elf/jalr4.dd | 10 +- ld/testsuite/ld-mips-elf/mips-elf.exp | 11 + ld/testsuite/ld-pe/pe.exp | 2 + ld/testsuite/ld-pe/weakdef-1.d | 8 + ld/testsuite/ld-pe/weakdef-1.s | 19 + ld/testsuite/ld-powerpc/addpcis.d | 8 +- ld/testsuite/ld-x86-64/pass.c | 8 + ld/testsuite/ld-x86-64/pr20830a.d | 6 +- ld/testsuite/ld-x86-64/pr21038a.d | 6 +- ld/testsuite/ld-x86-64/pr21038b.d | 6 +- ld/testsuite/ld-x86-64/pr21038c.d | 6 +- ld/testsuite/ld-x86-64/property-1.r | 7 + ld/testsuite/ld-x86-64/property-2.r | 7 + ld/testsuite/ld-x86-64/property-3.r | 8 + ld/testsuite/ld-x86-64/property-4.r | 8 + ld/testsuite/ld-x86-64/property-5.r | 8 + ld/testsuite/ld-x86-64/property-6.r | 7 + ld/testsuite/ld-x86-64/property-6a.c | 7 + ld/testsuite/ld-x86-64/property-6b.c | 8 + ld/testsuite/ld-x86-64/property-6c.S | 23 + ld/testsuite/ld-x86-64/property-7.r | 6 + ld/testsuite/ld-x86-64/property-no-copy.S | 20 + ld/testsuite/ld-x86-64/property-stack.S | 23 + ld/testsuite/ld-x86-64/property-unsorted-1.S | 39 + ld/testsuite/ld-x86-64/property-unsorted-2.S | 27 + ld/testsuite/ld-x86-64/property-x86-1.S | 37 + ld/testsuite/ld-x86-64/property-x86-2.S | 30 + ld/testsuite/ld-x86-64/x86-64.exp | 277 ++- ld/testsuite/lib/ld-lib.exp | 12 +- libiberty/ChangeLog | 92 +- libiberty/cp-demangle.c | 87 +- libiberty/cp-demint.c | 4 + libiberty/testsuite/demangle-expected | 54 + opcodes/ChangeLog | 269 ++ opcodes/Makefile.am | 1 + opcodes/Makefile.in | 2 + opcodes/arc-dis.c | 4 +- opcodes/arc-nps400-tbl.h | 263 ++ opcodes/arc-opc.c | 926 ++++-- opcodes/arm-dis.c | 169 +- opcodes/configure | 1 + opcodes/configure.ac | 1 + opcodes/disassemble.c | 84 + opcodes/epiphany-desc.c | 5 +- opcodes/fr30-desc.c | 5 +- opcodes/frv-desc.c | 1 + opcodes/i386-dis.c | 145 +- opcodes/i386-gen.c | 5 +- opcodes/i386-init.h | 119 +- opcodes/i386-opc.h | 12 +- opcodes/i386-opc.tbl | 183 +- opcodes/i386-tbl.h | 923 ++++-- opcodes/ip2k-desc.c | 5 +- opcodes/iq2000-desc.c | 5 +- opcodes/lm32-desc.c | 5 +- opcodes/m32c-desc.c | 5 +- opcodes/m32r-desc.c | 5 +- opcodes/mep-desc.c | 5 +- opcodes/mt-desc.c | 5 +- opcodes/or1k-desc.c | 5 +- opcodes/po/POTFILES.in | 1 + opcodes/po/opcodes.pot | 452 ++-- opcodes/ppc-dis.c | 130 +- opcodes/ppc-opc.c | 372 ++- opcodes/riscv-dis.c | 2 +- opcodes/riscv-opc.c | 16 +- opcodes/s390-dis.c | 72 +- opcodes/s390-mkopc.c | 4 - opcodes/s390-opc.txt | 284 +- opcodes/sparc-opc.c | 28 + opcodes/vax-dis.c | 2 +- opcodes/wasm32-dis.c | 520 +++ opcodes/xc16x-desc.c | 5 +- opcodes/xstormy16-desc.c | 5 +- sim/aarch64/ChangeLog | 20 + sim/aarch64/simulator.c | 214 ++- sim/testsuite/sim/aarch64/ChangeLog | 15 + sim/testsuite/sim/aarch64/adds.s | 17 + sim/testsuite/sim/aarch64/fcmXX.s | 77 + sim/testsuite/sim/aarch64/fcvtl.s | 59 + sim/testsuite/sim/aarch64/sumov.s | 12 +- sim/testsuite/sim/aarch64/sumulh.s | 56 + 1023 files changed, 41814 insertions(+), 15837 deletions(-) create mode 100644 bfd/cpu-wasm32.c create mode 100644 bfd/doc/webassembly.texi create mode 100644 bfd/elf-properties.c create mode 100644 bfd/elf32-wasm32.c create mode 100644 bfd/wasm-module.c create mode 100644 bfd/wasm-module.h create mode 100644 binutils/testsuite/binutils-all/i386/pr21231a.d create mode 100644 binutils/testsuite/binutils-all/i386/pr21231a.s create mode 100644 binutils/testsuite/binutils-all/i386/pr21231b.d create mode 100644 binutils/testsuite/binutils-all/i386/pr21231b.s create mode 100644 binutils/testsuite/binutils-all/mbind1.s create mode 100644 binutils/testsuite/binutils-all/note-2-32.d create mode 100644 binutils/testsuite/binutils-all/note-2-32.s create mode 100644 binutils/testsuite/binutils-all/note-2-64.d create mode 100644 binutils/testsuite/binutils-all/note-2-64.s create mode 100644 binutils/testsuite/binutils-all/wasm32/create-wasm.d create mode 100644 binutils/testsuite/binutils-all/wasm32/create-wasm.s create mode 100644 binutils/testsuite/binutils-all/wasm32/custom-section.d create mode 100644 binutils/testsuite/binutils-all/wasm32/custom-section.s create mode 100644 binutils/testsuite/binutils-all/wasm32/invalid-wasm-1.d create mode 100644 binutils/testsuite/binutils-all/wasm32/invalid-wasm-1.s create mode 100644 binutils/testsuite/binutils-all/wasm32/invalid-wasm-2.d create mode 100644 binutils/testsuite/binutils-all/wasm32/invalid-wasm-2.s create mode 100644 binutils/testsuite/binutils-all/wasm32/long-sections.d create mode 100644 binutils/testsuite/binutils-all/wasm32/long-sections.s create mode 100644 binutils/testsuite/binutils-all/wasm32/parse-wasm-2.d create mode 100644 binutils/testsuite/binutils-all/wasm32/parse-wasm-2.s create mode 100644 binutils/testsuite/binutils-all/wasm32/parse-wasm.d create mode 100644 binutils/testsuite/binutils-all/wasm32/parse-wasm.s create mode 100644 binutils/testsuite/binutils-all/wasm32/prepared-section.d create mode 100644 binutils/testsuite/binutils-all/wasm32/prepared-section.s create mode 100644 binutils/testsuite/binutils-all/wasm32/wasm32.exp create mode 100644 binutils/testsuite/binutils-all/x86-64/pr21231a.d create mode 100644 binutils/testsuite/binutils-all/x86-64/pr21231a.s create mode 100644 binutils/testsuite/binutils-all/x86-64/pr21231b.d create mode 100644 binutils/testsuite/binutils-all/x86-64/pr21231b.s create mode 100644 gas/config/tc-wasm32.c create mode 100644 gas/config/tc-wasm32.h create mode 100644 gas/doc/c-wasm32.texi create mode 100644 gas/testsuite/gas/all/org-1.d create mode 100644 gas/testsuite/gas/all/org-1.l create mode 100644 gas/testsuite/gas/all/org-1.s create mode 100644 gas/testsuite/gas/all/org-2.d create mode 100644 gas/testsuite/gas/all/org-2.l create mode 100644 gas/testsuite/gas/all/org-2.s create mode 100644 gas/testsuite/gas/all/org-3.d create mode 100644 gas/testsuite/gas/all/org-3.l create mode 100644 gas/testsuite/gas/all/org-3.s create mode 100644 gas/testsuite/gas/all/org-4.d create mode 100644 gas/testsuite/gas/all/org-4.s create mode 100644 gas/testsuite/gas/all/org-5.d create mode 100644 gas/testsuite/gas/all/org-5.s create mode 100644 gas/testsuite/gas/all/org-6.d create mode 100644 gas/testsuite/gas/all/org-6.s create mode 100644 gas/testsuite/gas/arc/nps400-11.d create mode 100644 gas/testsuite/gas/arc/nps400-11.s create mode 100644 gas/testsuite/gas/arc/nps400-12.d create mode 100644 gas/testsuite/gas/arc/nps400-12.s create mode 100644 gas/testsuite/gas/elf/section12.s create mode 100644 gas/testsuite/gas/elf/section12a.d create mode 100644 gas/testsuite/gas/elf/section12b.d create mode 100644 gas/testsuite/gas/elf/section13.d create mode 100644 gas/testsuite/gas/elf/section13.l create mode 100644 gas/testsuite/gas/elf/section13.s create mode 100644 gas/testsuite/gas/i386/cet-intel.d create mode 100644 gas/testsuite/gas/i386/cet.d create mode 100644 gas/testsuite/gas/i386/cet.s create mode 100644 gas/testsuite/gas/i386/pseudos.d create mode 100644 gas/testsuite/gas/i386/pseudos.s create mode 100644 gas/testsuite/gas/i386/x86-64-cet-intel.d create mode 100644 gas/testsuite/gas/i386/x86-64-cet.d create mode 100644 gas/testsuite/gas/i386/x86-64-cet.s create mode 100644 gas/testsuite/gas/i386/x86-64-pseudos.d create mode 100644 gas/testsuite/gas/i386/x86-64-pseudos.s create mode 100644 gas/testsuite/gas/mips/mipsr6@jalr4-n32.d create mode 100644 gas/testsuite/gas/mips/mipsr6@jalr4-n64.d create mode 100644 gas/testsuite/gas/mips/mipsr6@jalr4.d create mode 100644 gas/testsuite/gas/mips/org-1.d create mode 100644 gas/testsuite/gas/mips/org-1.l create mode 100644 gas/testsuite/gas/mips/org-1.s create mode 100644 gas/testsuite/gas/mips/org-10.d create mode 100644 gas/testsuite/gas/mips/org-10.l create mode 100644 gas/testsuite/gas/mips/org-10.s create mode 100644 gas/testsuite/gas/mips/org-11.d create mode 100644 gas/testsuite/gas/mips/org-11.s create mode 100644 gas/testsuite/gas/mips/org-12.d create mode 100644 gas/testsuite/gas/mips/org-12.s create mode 100644 gas/testsuite/gas/mips/org-2.d create mode 100644 gas/testsuite/gas/mips/org-2.s create mode 100644 gas/testsuite/gas/mips/org-3.d create mode 100644 gas/testsuite/gas/mips/org-3.s create mode 100644 gas/testsuite/gas/mips/org-4.d create mode 100644 gas/testsuite/gas/mips/org-4.l create mode 100644 gas/testsuite/gas/mips/org-4.s create mode 100644 gas/testsuite/gas/mips/org-5.d create mode 100644 gas/testsuite/gas/mips/org-5.l create mode 100644 gas/testsuite/gas/mips/org-5.s create mode 100644 gas/testsuite/gas/mips/org-6.d create mode 100644 gas/testsuite/gas/mips/org-6.l create mode 100644 gas/testsuite/gas/mips/org-6.s create mode 100644 gas/testsuite/gas/mips/org-7.d create mode 100644 gas/testsuite/gas/mips/org-7.s create mode 100644 gas/testsuite/gas/mips/org-8.d create mode 100644 gas/testsuite/gas/mips/org-8.s create mode 100644 gas/testsuite/gas/mips/org-9.d create mode 100644 gas/testsuite/gas/mips/org-9.s create mode 100644 gas/testsuite/gas/ppc/pr21303.d create mode 100644 gas/testsuite/gas/ppc/pr21303.s create mode 100644 gas/testsuite/gas/wasm32/allinsn.d create mode 100644 gas/testsuite/gas/wasm32/allinsn.s create mode 100644 gas/testsuite/gas/wasm32/disass-2.d create mode 100644 gas/testsuite/gas/wasm32/disass-2.s create mode 100644 gas/testsuite/gas/wasm32/disass.d create mode 100644 gas/testsuite/gas/wasm32/disass.s create mode 100644 gas/testsuite/gas/wasm32/illegal-10.l create mode 100644 gas/testsuite/gas/wasm32/illegal-10.s create mode 100644 gas/testsuite/gas/wasm32/illegal-11.l create mode 100644 gas/testsuite/gas/wasm32/illegal-11.s create mode 100644 gas/testsuite/gas/wasm32/illegal-12.l create mode 100644 gas/testsuite/gas/wasm32/illegal-12.s create mode 100644 gas/testsuite/gas/wasm32/illegal-13.l create mode 100644 gas/testsuite/gas/wasm32/illegal-13.s create mode 100644 gas/testsuite/gas/wasm32/illegal-14.l create mode 100644 gas/testsuite/gas/wasm32/illegal-14.s create mode 100644 gas/testsuite/gas/wasm32/illegal-15.l create mode 100644 gas/testsuite/gas/wasm32/illegal-15.s create mode 100644 gas/testsuite/gas/wasm32/illegal-16.l create mode 100644 gas/testsuite/gas/wasm32/illegal-16.s create mode 100644 gas/testsuite/gas/wasm32/illegal-17.l create mode 100644 gas/testsuite/gas/wasm32/illegal-17.s create mode 100644 gas/testsuite/gas/wasm32/illegal-18.l create mode 100644 gas/testsuite/gas/wasm32/illegal-18.s create mode 100644 gas/testsuite/gas/wasm32/illegal-19.l create mode 100644 gas/testsuite/gas/wasm32/illegal-19.s create mode 100644 gas/testsuite/gas/wasm32/illegal-2.l create mode 100644 gas/testsuite/gas/wasm32/illegal-2.s create mode 100644 gas/testsuite/gas/wasm32/illegal-20.l create mode 100644 gas/testsuite/gas/wasm32/illegal-20.s create mode 100644 gas/testsuite/gas/wasm32/illegal-21.l create mode 100644 gas/testsuite/gas/wasm32/illegal-21.s create mode 100644 gas/testsuite/gas/wasm32/illegal-22.l create mode 100644 gas/testsuite/gas/wasm32/illegal-24.l create mode 100644 gas/testsuite/gas/wasm32/illegal-24.s create mode 100644 gas/testsuite/gas/wasm32/illegal-25.l create mode 100644 gas/testsuite/gas/wasm32/illegal-25.s create mode 100644 gas/testsuite/gas/wasm32/illegal-3.l create mode 100644 gas/testsuite/gas/wasm32/illegal-3.s create mode 100644 gas/testsuite/gas/wasm32/illegal-4.l create mode 100644 gas/testsuite/gas/wasm32/illegal-4.s create mode 100644 gas/testsuite/gas/wasm32/illegal-5.l create mode 100644 gas/testsuite/gas/wasm32/illegal-5.s create mode 100644 gas/testsuite/gas/wasm32/illegal-6.l create mode 100644 gas/testsuite/gas/wasm32/illegal-6.s create mode 100644 gas/testsuite/gas/wasm32/illegal-7.l create mode 100644 gas/testsuite/gas/wasm32/illegal-7.s create mode 100644 gas/testsuite/gas/wasm32/illegal-8.l create mode 100644 gas/testsuite/gas/wasm32/illegal-8.s create mode 100644 gas/testsuite/gas/wasm32/illegal-9.l create mode 100644 gas/testsuite/gas/wasm32/illegal-9.s create mode 100644 gas/testsuite/gas/wasm32/illegal.l create mode 100644 gas/testsuite/gas/wasm32/illegal.s create mode 100644 gas/testsuite/gas/wasm32/reloc.d create mode 100644 gas/testsuite/gas/wasm32/reloc.s create mode 100644 gas/testsuite/gas/wasm32/wasm32.exp create mode 100644 gas/testsuite/gas/xtensa/auto-litpools-first1.d create mode 100644 gas/testsuite/gas/xtensa/auto-litpools-first1.s create mode 100644 gas/testsuite/gas/xtensa/auto-litpools-first2.d create mode 100644 gas/testsuite/gas/xtensa/auto-litpools-first2.s delete mode 100644 gdb/alpha-fbsd-tdep.c create mode 100644 gdb/common/environ.c rename gdb/{ => common}/environ.h (100%) create mode 100644 gdb/common/gdb_termios.h create mode 100644 gdb/common/offset-type.h create mode 100644 gdb/common/preprocessor.h create mode 100644 gdb/common/traits.h create mode 100644 gdb/common/underlying.h create mode 100644 gdb/common/valid-expr.h delete mode 100644 gdb/config/alpha/fbsd.mh delete mode 100644 gdb/environ.c delete mode 100644 gdb/gdbserver/terminal.h create mode 100644 gdb/i386-go32-tdep.c create mode 100644 gdb/mi/mi-interp.h create mode 100644 gdb/testsuite/gdb.arch/arc-analyze-prologue.S create mode 100644 gdb/testsuite/gdb.arch/arc-analyze-prologue.exp create mode 100644 gdb/testsuite/gdb.arch/arc-decode-insn.S create mode 100644 gdb/testsuite/gdb.arch/arc-decode-insn.exp create mode 100644 gdb/testsuite/gdb.arch/arm-disassembler-options.exp create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-call.c create mode 100644 gdb/testsuite/gdb.arch/i386-mpx-call.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-altivec.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-altivec.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-altivec2.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-altivec2.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-altivec3.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-altivec3.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp delete mode 100644 gdb/testsuite/gdb.arch/powerpc-power.exp delete mode 100644 gdb/testsuite/gdb.arch/powerpc-power.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-power7.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-power7.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-power8.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-power8.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-power9.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-power9.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-vsx.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-vsx.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-vsx2.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-vsx2.s create mode 100644 gdb/testsuite/gdb.arch/powerpc-vsx3.exp create mode 100644 gdb/testsuite/gdb.arch/powerpc-vsx3.s create mode 100644 gdb/testsuite/gdb.arch/s390-disassembler-options.exp create mode 100644 gdb/testsuite/gdb.arch/sparc64-regs.S create mode 100644 gdb/testsuite/gdb.arch/sparc64-regs.exp delete mode 100644 gdb/testsuite/gdb.base/tui-layout.exp create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-casts.cc create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-casts.exp create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-overload.cc create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-overload.exp create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-params.cc create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-params.exp create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-sizeof.cc create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-sizeof.exp create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-types.cc create mode 100644 gdb/testsuite/gdb.cp/rvalue-ref-types.exp create mode 100644 gdb/testsuite/gdb.cp/wide_char_types.c create mode 100644 gdb/testsuite/gdb.cp/wide_char_types.exp create mode 100644 gdb/testsuite/gdb.disasm/disassembler-options.exp create mode 100644 gdb/testsuite/gdb.dlang/watch-loc.c create mode 100644 gdb/testsuite/gdb.dlang/watch-loc.exp create mode 100644 gdb/testsuite/gdb.guile/scm-lazy-string.c create mode 100644 gdb/testsuite/gdb.guile/scm-lazy-string.exp create mode 100644 gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.cc create mode 100644 gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp create mode 100644 gdb/testsuite/gdb.threads/interrupt-while-step-over.c create mode 100644 gdb/testsuite/gdb.threads/interrupt-while-step-over.exp create mode 100644 gdb/testsuite/gdb.tui/completion.exp rename gdb/testsuite/{gdb.base/tui-layout.c => gdb.tui/tui-disasm-long-lines.c} (100%) create mode 100644 gdb/testsuite/gdb.tui/tui-disasm-long-lines.exp create mode 100644 gdb/testsuite/gdb.tui/tui-layout.c create mode 100644 gdb/testsuite/gdb.tui/tui-layout.exp create mode 100644 gdb/testsuite/gdb.tui/tui-nl-filtered-output.exp create mode 100644 gdb/unittests/offset-type-selftests.c create mode 100644 gdb/unittests/ptid-selftests.c create mode 100644 include/elf/wasm32.h create mode 100644 include/opcode/wasm.h create mode 100644 ld/testsuite/ld-checks/over.d create mode 100644 ld/testsuite/ld-checks/over.s create mode 100644 ld/testsuite/ld-checks/over2.d create mode 100644 ld/testsuite/ld-checks/over2.s create mode 100644 ld/testsuite/ld-cris/dso-1c.s create mode 100644 ld/testsuite/ld-cris/dso-2b.s create mode 100644 ld/testsuite/ld-cris/dso-4.s create mode 100644 ld/testsuite/ld-cris/pr16044.d create mode 100644 ld/testsuite/ld-elf/mbind1.s create mode 100644 ld/testsuite/ld-elf/mbind1a.d create mode 100644 ld/testsuite/ld-elf/mbind1b.d create mode 100644 ld/testsuite/ld-elf/mbind1c.d create mode 100644 ld/testsuite/ld-elf/mbind2a.s create mode 100644 ld/testsuite/ld-elf/mbind2b.c create mode 100644 ld/testsuite/ld-elf/orphan-10.d create mode 100644 ld/testsuite/ld-elf/orphan-10.s create mode 100644 ld/testsuite/ld-elf/orphan-9.d create mode 100644 ld/testsuite/ld-elf/orphan-9.ld create mode 100644 ld/testsuite/ld-elf/orphan-9.s create mode 100644 ld/testsuite/ld-elf/pr21233-e.ld create mode 100644 ld/testsuite/ld-elf/pr21233-l.s create mode 100644 ld/testsuite/ld-elf/pr21233-l.sd create mode 100644 ld/testsuite/ld-elf/pr21233.ld create mode 100644 ld/testsuite/ld-elf/pr21233.s create mode 100644 ld/testsuite/ld-elf/pr21233.sd create mode 100644 ld/testsuite/ld-i386/pass.c create mode 100644 ld/testsuite/ld-i386/property-1.r create mode 100644 ld/testsuite/ld-i386/property-2.r create mode 100644 ld/testsuite/ld-i386/property-3.r create mode 100644 ld/testsuite/ld-i386/property-4.r create mode 100644 ld/testsuite/ld-i386/property-5.r create mode 100644 ld/testsuite/ld-i386/property-6.r create mode 100644 ld/testsuite/ld-i386/property-6a.c create mode 100644 ld/testsuite/ld-i386/property-6b.c create mode 100644 ld/testsuite/ld-i386/property-6c.S create mode 100644 ld/testsuite/ld-i386/property-7.r create mode 100644 ld/testsuite/ld-i386/property-no-copy.S create mode 100644 ld/testsuite/ld-i386/property-stack.S create mode 100644 ld/testsuite/ld-i386/property-unsorted-1.S create mode 100644 ld/testsuite/ld-i386/property-unsorted-2.S create mode 100644 ld/testsuite/ld-i386/property-x86-1.S create mode 100644 ld/testsuite/ld-i386/property-x86-2.S create mode 100644 ld/testsuite/ld-mips-elf/jalr4-r6.dd create mode 100644 ld/testsuite/ld-pe/weakdef-1.d create mode 100644 ld/testsuite/ld-pe/weakdef-1.s create mode 100644 ld/testsuite/ld-x86-64/pass.c create mode 100644 ld/testsuite/ld-x86-64/property-1.r create mode 100644 ld/testsuite/ld-x86-64/property-2.r create mode 100644 ld/testsuite/ld-x86-64/property-3.r create mode 100644 ld/testsuite/ld-x86-64/property-4.r create mode 100644 ld/testsuite/ld-x86-64/property-5.r create mode 100644 ld/testsuite/ld-x86-64/property-6.r create mode 100644 ld/testsuite/ld-x86-64/property-6a.c create mode 100644 ld/testsuite/ld-x86-64/property-6b.c create mode 100644 ld/testsuite/ld-x86-64/property-6c.S create mode 100644 ld/testsuite/ld-x86-64/property-7.r create mode 100644 ld/testsuite/ld-x86-64/property-no-copy.S create mode 100644 ld/testsuite/ld-x86-64/property-stack.S create mode 100644 ld/testsuite/ld-x86-64/property-unsorted-1.S create mode 100644 ld/testsuite/ld-x86-64/property-unsorted-2.S create mode 100644 ld/testsuite/ld-x86-64/property-x86-1.S create mode 100644 ld/testsuite/ld-x86-64/property-x86-2.S create mode 100644 opcodes/wasm32-dis.c create mode 100644 sim/testsuite/sim/aarch64/fcmXX.s create mode 100644 sim/testsuite/sim/aarch64/fcvtl.s create mode 100644 sim/testsuite/sim/aarch64/sumulh.s First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index c9a95fe..4ac2d63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,25 @@ +2017-04-13 Andrew Jenner + + * config.sub: Sync with master version in config project. + +2017-04-03 Andrew Jenner + + * config.sub: Handle ia16 in $basic_machine. + + bfd/ + * config.bfd: Handle ia16. + + gas/ + * configure.tgt: Handle ia16. + + ld/ + * configure.tgt: Handle ia16. + +2017-03-22 Nick Clifton + + * config.sub: Sync with master version in config project. + * config.guess: Likewise. + 2017-01-23 Nick Clifton * configure.ac: Update year in copyright notice. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0f8d9ee..f26882f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,492 @@ +2017-04-13 Alan Modra + + * coffcode.h: Wrap some overly long _bfd_error_handler args. + * elf.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-mep.c: Likewise. + * elf64-ia64-vms.c: Likewise. + * elf64-x86-64.c: Likewise. + * elflink.c: Likewise. + * elfnn-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + +2017-04-13 Alan Modra + + * aoutx.h: Use %B and %A in error messages throughout file. + * aout-cris.c: Likewise. + * archive.c: Likewise. + * binary.c: Likewise. + * coff-rs6000.c: Likewise. + * coff-tic4x.c: Likewise. + * coffcode.h: Likewise. + * coffgen.c: Likewise. + * cofflink.c: Likewise. + * coffswap.h: Likewise. + * cpu-arm.c: Likewise. + * elf-eh-frame.c: Likewise. + * elf-m10300.c: Likewise. + * elf.c: Likewise. + * elf32-arc.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-bfin.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-iq2000.c: Likewise. + * elf32-m32c.c: Likewise. + * elf32-microblaze.c: Likewise. + * elf32-nds32.c: Likewise. + * elf32-rl78.c: Likewise. + * elf32-rx.c: Likewise. + * elf32-score.c: Likewise. + * elf32-score7.c: Likewise. + * elf32-sh64.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-vax.c: Likewise. + * elf32-visium.c: Likewise. + * elf64-ia64-vms.c: Likewise. + * elf64-mmix.c: Likewise. + * elf64-sh64.c: Likewise. + * elfcode.h: Likewise. + * elfnn-aarch64.c: Likewise. + * elfnn-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + * hpux-core.c: Likewise. + * ieee.c: Likewise. + * ihex.c: Likewise. + * linker.c: Likewise. + * merge.c: Likewise. + * mmo.c: Likewise. + * oasys.c: Likewise. + * pdp11.c: Likewise. + * peXXigen.c: Likewise. + * rs6000-core.c: Likewise. + * vms-alpha.c: Likewise. + * xcofflink.c: Likewise. + +2017-04-13 Alan Modra + + * bfd.c (PRINT_TYPE): Define. + (_doprnt): New function. + (error_handler_internal): Use _doprnt. + * coff-arm.c: Put %A and %B arguments to _bfd_error_handler + calls in their natural order, throughout file. + * coff-mcore.c: Likewise. + * coff-ppc.c: Likewise. + * coff-tic80.c: Likewise. + * cofflink.c: Likewise. + * elf-s390-common.c: Likewise. + * elf.c: Likewise. + * elf32-arm.c: Likewise. + * elf32-i386.c: Likewise. + * elf32-m32r.c: Likewise. + * elf32-msp430.c: Likewise. + * elf32-spu.c: Likewise. + * elf64-ia64-vms.c: Likewise. + * elf64-sparc.c: Likewise. + * elf64-x86-64.c: Likewise. + * elflink.c: Likewise. + * elfnn-aarch64.c: Likewise. + * elfnn-ia64.c: Likewise. + * elfxx-mips.c: Likewise. + +2017-04-13 Alan Modra + + * elf32-arm.c (arm_type_of_stub): Supply missing args to "long + branch veneers" error. Fix double space and format message. + * elf32-avr.c (avr_add_stub): Do not pass NULL as %B arg. + * elf64-ppc.c (tocsave_find): Supply missing %B arg. + +2017-04-13 Alan Modra + + * bfd-in2.h: Regenerate. + +2017-04-11 H.J. Lu + + * elf-properties.c (_bfd_elf_parse_gnu_properties): Remove the + extra `\n' in warning/error messages. + * elf32-i386.c (elf_i386_parse_gnu_properties): Likewise. + * elf64-x86-64.c (elf_x86_64_parse_gnu_properties): Likewise. + +2017-04-11 H.J. Lu + + * elf-properties.c (_bfd_elf_parse_gnu_properties): Ignore + processor-specific properties with generic ELF target vector. + +2017-04-10 Qing Zhao + + * elf32-sparc.c (elf_backend_fixup_symbol): New. + * elf64-sparc.c (elf_backend_fixup_symbol): New. + * elfxx-sparc.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New. + (_bfd_sparc_elf_link_hash_entry): Add has_got_reloc and + has_non_got_reloc. + (link_hash_newfunc): Initialize has_got_reloc and + has_non_got_reloc. + (_bfd_sparc_elf_size_dynamic_sections): Set interp to .interp + section. + (_bfd_sparc_elf_copy_indirect_symbol): Copy has_got_reloc and + has_non_got_reloc. + (_bfd_sparc_elf_check_relocs): Set has_got_reloc and + has_non_got_reloc. + (_bfd_sparc_elf_fixup_symbol): New function. + (allocate_dynrelocs): Don't allocate space for dynamic + relocations and discard relocations against resolved undefined + weak symbols in executable. Don't make resolved undefined weak + symbols in executable dynamic. Keep dynamic non-GOT/non-PLT + relocation against undefined weak symbols in PIE. + (_bfd_sparc_elf_relocate_section): Don't generate dynamic + relocations against resolved undefined weak symbols in PIE + (_bfd_sparc_elf_finish_dynamic_symbol): Keep PLT/GOT entries + without ynamic PLT/GOT relocations for resolved undefined weak + symbols. + Don't generate dynamic relocation against resolved undefined + weak symbol in executable. + (pie_finish_undefweak_symbol): New function. + (_bfd_sparc_elf_finish_dynamic_sections): Call + pie_finish_undefweak_symbol on all symbols in PIE. + * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add interp. + (_bfd_sparc_elf_fixup_symbol): New function. + +2017-04-10 Nick Clifton + + * config.bfd: Remove ns32k from obsolete list. + +2017-04-10 Alan Modra + + PR 21287 + * elf.c (special_sections_f): Match .fini_array and .fini_array.*. + (special_sections_i): Likewise for .init_array. + (special_sections_p): Likewise for .preinit_array. + +2017-04-07 H.J. Lu + + PR ld/19579 + PR ld/21306 + * elf32-s390.c (elf_s390_finish_dynamic_symbol): Check + ELF_COMMON_DEF_P for common symbols. + * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + * elflink.c (_bfd_elf_merge_symbol): Revert commits + 202ac193bbbecc96a4978d1ac3d17148253f9b01 and + 07492f668d2173da7a2bda3707ff0985e0f460b6. + +2017-04-07 Pedro Alves + + * opncls.c (bfd_get_debug_link_info): Rename to... + (bfd_get_debug_link_info_1): ... this. Change type of second + parameter to void pointer. Adjust. + (bfd_get_debug_link_info): Reimplement on top of + bfd_get_debug_link_info_1. + (separate_debug_file_exists, separate_alt_debug_file_exists): + Change type of second parameter to void pointer. Adjust. + (get_func_type, check_func_type): Change type of second parameter + to void pointer. + (find_separate_debug_file): Add 'func_data' parameter. Pass it to + the callback functions instead of passing the address of a local. + (bfd_follow_gnu_debuglink): Pass address of unsigned long local to + find_separate_debug_file. + (get_alt_debug_link_info_shim): Change type of second parameter to + void pointer. Adjust. + (bfd_follow_gnu_debugaltlink): Adjust to pass NULL to + find_separate_debug_file. + (get_build_id_name, bfd_boolean check_build_id_file): Change type + of second parameter to void pointer. Adjust. + (bfd_follow_build_id_debuglink): Pass address of bfd_build_id + pointer local to find_separate_debug_file. + +2017-04-07 Tristan Gingold + + * coffgen.c (_bfd_coff_gc_mark_hook): Handle PE weak + external symbols with a definition. + (_bfd_coff_gc_mark_extra_sections): Fix typo. + +2017-04-07 Alan Modra + + * po/SRC-POTFILES.in: Regenerate. + +2017-04-05 Alan Modra + + * elf64-ppc.c (ppc64_elf_gc_sweep_hook): Support ELFv2 PLT + reference counting. + +2017-04-02 Jon Turney + + (_bfd_XXi_swap_aouthdr_out): For clarity, use defines rather than + numbers for DataDirectory entry indicies passed to + add_data_entry(). + +2017-04-04 H.J. Lu + + * elf.c (get_program_header_size): Add a GNU_MBIND segment for + each GNU_MBIND section and align GNU_MBIND section to page size. + (_bfd_elf_map_sections_to_segments): Create a GNU_MBIND + segment for each GNU_MBIND section. + (_bfd_elf_init_private_section_data): Copy sh_info from input + for GNU_MBIND section. + +2017-04-03 Palmer Dabbelt + + * elfnn-riscv.c (GP_NAME): Delete. + (riscv_global_pointer_value): Change GP_NAME to RISCV_GP_SYMBOL. + (_bfd_riscv_relax_lui): Likewise. + +2017-04-04 Nick Clifton + + PR binutils/21342 + * elflink.c (_bfd_elf_define_linkage_sym): Prevent null pointer + dereference. + (bfd_elf_final_link): Only initialize the extended symbol index + section if there are extended symbol tables to list. + +2017-04-03 H.J. Lu + + * Makefile.am (BFD32_BACKENDS): Add elf-properties.lo. + (BFD32_BACKENDS_CFILES): Add elf-properties.c. + * configure.ac (elf): Add elf-properties.lo. + * Makefile.in: Regenerated. + * configure: Likewise. + * elf-bfd.h (elf_property_kind): New. + (elf_property): Likewise. + (elf_property_list): Likewise. + (elf_properties): Likewise. + (_bfd_elf_parse_gnu_properties): Likewise. + (_bfd_elf_get_property): Likewise. + (_bfd_elf_link_setup_gnu_properties): Likewise. + (elf_backend_data): Add parse_gnu_properties, merge_gnu_properties + and setup_gnu_properties. + (elf_obj_tdata): Add properties. + * elf-properties.c: New file. + * elf32-i386.c (elf_i386_parse_gnu_properties): New. + (elf_i386_merge_gnu_properties): Likewise. + (elf_backend_parse_gnu_properties): Likewise. + (elf_backend_merge_gnu_properties): Likewise. + * elf64-x86-64.c (elf_x86_64_parse_gnu_properties): Likewise. + (elf_x86_64_merge_gnu_properties): Likewise. + (elf_backend_parse_gnu_properties): Likewise. + (elf_backend_merge_gnu_properties): Likewise. + * elfxx-target.h (elf_backend_merge_gnu_properties): Likewise. + (elf_backend_parse_gnu_properties): Likewise. + (elf_backend_setup_gnu_properties): Likewise. + (elfNN_bed): Add elf_backend_parse_gnu_properties, + elf_backend_merge_gnu_properties and + elf_backend_setup_gnu_properties. + +2017-03-30 Pip Cet + + * elf32-wasm32.c: Add relocation code, two relocs. + * reloc.c: Add wasm32 relocations. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + * bfd/po/bfd.pot: Regenerate. + +2017-03-29 Nick Clifton + + PR binutils/18025 + * coff-bfd.h (struct coff_section_data): Add new fields: + saved_bias and bias. + * coffgen.c (coff_find_nearest_line_with_names): Cache the bias + computed for PE binaries. + * dwarf2.c (scan_unit_for_symbols): Only warn once about each + missing abbrev. + +2017-03-28 Hans-Peter Nilsson + + PR ld/16044 + * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Adjust BFD_ASSERT + to handle a local symbol with a hash-symbol-entry; without PLT. + Add BFD_ASSERT for an incidental case with GOT entry present. + (cris_elf_check_relocs): Increment PLT refcount only if the symbol + isn't forced-or-set local. + +2017-03-27 Pip Cet + + * wasm-module.c: New file to support WebAssembly modules. + * wasm-module.h: New file to support WebAssembly modules. + * doc/webassembly.texi: Start documenting wasm-module.c. + * config.bfd: Add wasm_vec. + * targets.c: Likewise. + * configure.ac: Likewise. + * Makefile.am: Add entries for wasm-module.c. + * Makefile.in: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2017-03-27 Pip Cet + + * cpu-wasm32.c: New file to support wasm32 architecture. + * elf32-wasm32.c: New file to support wasm32 architecture. + * Makefile.am: Add wasm32 architecture. + * archures.c: Likewise. + * config.bfd: Likewise. + * configure.ac: Likewise. + * targets.c: Likewise. + * Makefile.in: Regenerate. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * po/SRC-POTFILES.in: Regenerate. + +2017-03-20 Alan Modra + + PR 21266 + * elf64-ppc.c (compare_symbols): Stabilize sort. + +2017-03-18 Alan Modra + + * elf64-ppc.c (struct ppc_link_hash_table): Add + local_ifunc_resolver and maybe_local_ifunc_resolver. + (ppc_build_one_stub): Set flags on emitting dynamic + relocation to ifunc. + (ppc64_elf_relocate_section): Likewise. + (ppc64_elf_finish_dynamic_symbol): Likewise. + (ppc64_elf_finish_dynamic_sections): Error on DT_TEXTREL with + local dynamic relocs to ifuncs. + * elf32-ppc.c (struct ppc_elf_link_hash_table): Add + local_ifunc_resolver and maybe_local_ifunc_resolver. + (ppc_elf_relocate_section): Set flag on emitting dynamic + relocation to ifuncs. + (ppc_elf_finish_dynamic_symbol): Likewise. + (ppc_elf_finish_dynamic_sections): Error on DT_TEXTREL with local + dynamic relocs to ifuncs. + +2017-03-13 Nick Clifton + + PR binutils/21202 + * reloc.c (BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC): Rename to + BFD_RELOC_AARCH64_TLSDESC_LD64_LO12. + (BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC): Rename to + BFD_RELOC_AARCH64_TLSDESC_ADD_LO12. + * bfd-in2.h: Regenerate. + * libbfd.h: Regenerate. + * elfnn-aarch64.c (IS_AARCH64_TLS_RELAX_RELOC): Update reloc + names. + (IS_AARCH64_TLSDESC_RELOC): Likewise. + (elfNN_aarch64_howto_table): Likewise. + (aarch64_tls_transition_without_check): Likewise. + (aarch64_reloc_got_type): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (elfNN_aarch64_tls_relax): Likewise. + (elfNN_aarch64_relocate_section): Likewise. + (elfNN_aarch64_gc_sweep_hook): Likewise. + (elfNN_aarch64_check_relocs): Likewise. + * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise. + (_bfd_aarch64_elf_resolve_relocation): Likewise. + +2017-03-11 Alan Modra + + * elf32-ppc.c: Remove ATTRIBUTE_UNUSED throughout when function + parameter is in fact used. Whitespace fixes. + * elf64-ppc.c: Likewise. + +2017-03-09 Sam Thursfield + + * rs6000-core.c (CORE_NEW): Simplify macro when + AIX_CORE_DUMPX_CORE and BFD64 are true to avoid compile warning. + +2017-03-07 Alan Modra + + PR 21224 + PR 20519 + * elf64-ppc.c (ppc64_elf_relocate_section): Add missing + dyn_relocs check. + +2017-03-05 Alan Modra + + * elf-bfd.h (struct eh_cie_fde): Add u.cie.per_encoding_aligned8. + * elf-eh-frame.c (size_of_output_cie_fde): Don't align here. + (next_cie_fde_offset): New function. + (_bfd_elf_parse_eh_frame): Set u.cie.per_encoding_aligned8. + (_bfd_elf_discard_section_eh_frame): Align zero terminator to + four bytes. Align CIEs to four or eight bytes depending on + per_encoding_aligned8. Align FDEs according to their encoding. + Pad last FDE to output section alignment. + (_bfd_elf_write_section_eh_frame): Adjust to suit. Remove + assertion. + * elf64-ppc.c (glink_eh_frame_cie): Delete padding. + (ppc64_elf_size_stubs): Pad glink eh_frame as per elf-eh-frame.c. + (ppc64_elf_finish_dynamic_sections): Adjust to suit. + +2017-03-02 Martin Bickel + + PR ld/21212 + * elf.c (rewrite_elf_program_header): Do not issue a warning for + empty segments which have a zero filesz, but a non-zero memsz. + +2017-03-02 Alan Modra + + * elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo. + +2017-02-28 Alan Modra + + * elf64-ppc.c (ppc64_elf_ha_reloc): Revert last change. + (ppc64_elf_relocate_section): Likewise. + +2017-02-28 Alan Modra + + PR 20995 + * elf32-nios2.c (nios2_elf32_relocate_section): Use htab + rather than elf32_nios2_hash_table or elf_hash_table. + (create_got_section): Likewise. + (nios2_elf32_finish_dynamic_symbol): Likewise. + (nios2_elf32_adjust_dynamic_symbol): Likewise. + (nios2_elf32_size_dynamic_sections): Likewise. + (nios2_elf32_check_relocs): Delete dynobj, sgot, and srelgot + vars. Use htab equivalents directly instead. Don't create + all dynamic sections on needing just the GOT. Use a goto + rather than a fall-through with reloc test. Ensure + htab->dynobj is set when making dynamic sreloc section. + (nios2_elf32_finish_dynamic_sections): Delete dynobj, use htab + equivalent directly instead. Don't segfault on looking for + .dynamic when dynamic sections have not been created. Don't + segfault on .got.plt being discarded. + (nios2_elf32_size_dynamic_sections): Delete plt and got vars. + Don't set "relocs" on .rela.plt. Do handle .sbss. Delete + fixme and another not so relevant comment. + (nios2_elf_add_symbol_hook): Delete dynobj var. If not + already set, set hash table dynobj on creating .sbss. + +2017-02-28 Alan Modra + + * reloc.c (BFD_RELOC_PPC_16DX_HA): New. + * elf64-ppc.c (ppc64_elf_howto_raw ): New howto. + (ppc64_elf_reloc_type_lookup): Translate new bfd reloc. + (ppc64_elf_ha_reloc): Correct overflow test on REL16DX_HA. + (ppc64_elf_relocate_section): Likewise. + * elf32-ppc.c (ppc_elf_howto_raw ): New howto. + (ppc_elf_reloc_type_lookup): Translate new bfd reloc. + (ppc_elf_check_relocs): Handle R_PPC_16DX_HA to pacify gcc. + * libbfd.h: Regenerate. + * bfd-in2.h: Regenerate. + +2017-02-28 Alan Modra + + * elflink.c (_bfd_elf_create_dynamic_sections): Don't make + dynamic .data.rel.ro read-only. + * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Compare section + rather than section flags when deciding where copy reloc goes. + * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise. hooks/post-receive -- Repository for Project Archer.