From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19498 invoked by alias); 26 Feb 2013 10:18:45 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 18955 invoked by uid 9514); 26 Feb 2013 10:18:33 -0000 Date: Tue, 26 Feb 2013 10:18:00 -0000 Message-ID: <20130226101833.18896.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-python-backtrace: Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace X-Git-Refname: refs/heads/archer-pmuldoon-python-backtrace X-Git-Reftype: branch X-Git-Oldrev: 28888b26f6b66c0953c27c442d26a509bbdddd01 X-Git-Newrev: 79ce26e92f6596033a14bba223e4839725fed99c X-SW-Source: 2013-q1/txt/msg00062.txt.bz2 List-Id: The branch, archer-pmuldoon-python-backtrace has been updated via 79ce26e92f6596033a14bba223e4839725fed99c (commit) via 1abda479d07f91ebf07fa1329d407aeb388978d4 (commit) via 2024f2e5d6c9e7555050dbd350ebc75210e0cbed (commit) via 9058a5d69b2fc3452e090a1f38727b66ec20be71 (commit) via f6f366b856fc001370119b2bfc772989abcdf3b1 (commit) via 08f46fad0c90ea5579ab4cd913b6bc1506bb4ca7 (commit) via f55586fcc744778a1cd412e59255328a0778b777 (commit) via dc220fd7be640f1202178eccde885397769388e0 (commit) via 4ec1f9a1966ece8baa9db0b82c0610b65bbf9a62 (commit) via e6242bbb599bfe7cfc254572888de1ce5f55532a (commit) via 06e1be1fbb0231e4227aee684e23bc9b289f5eb1 (commit) via f26434ca92423baf31f26ff5ca95aff90e02152a (commit) via ef977039c58644e42f14a1ab3224b368632c1fe4 (commit) via f20bc10158e798f7d72c4556db5ca6938912ae97 (commit) via d8c5bfeeb1da2d7fe4d978b5a05b7070db26ef9f (commit) via f1b3778db4984d1e9ef5a04819817ebe8b755d20 (commit) via ef5bd72457f522abe869552e49c21514a6d36d33 (commit) via c44c23b26bd12af0dea7b50f251019bfd8f59582 (commit) via 9d055f19e35f94f05f2ccdeee57b8f36b0a5cbb9 (commit) via 20812afb15f97fa57b2c909d211d73be08e692ce (commit) via b8af5afa0cb5d03c5daca61fc9a1a5790675fff4 (commit) via c3c3588160a816088bdbe1fc586e1b2461c6681b (commit) via 5f2a8979ff17e393a5b2492a09482a13e09b49ff (commit) via e9142254d431029e6e1d230b5f5c5de32ca13634 (commit) via 73c65b0311a0d272e2223ce83ffcebfc04d4c898 (commit) via 924fa7a7244f118b8a85031ed8a0e0a026de020e (commit) via af2ef30e2fc3e1fdbbe38c118405609fd0c7484e (commit) via 82ae45302c7ee163216f8fc3d5b3494a6f212e9c (commit) via 859f7e2d6ea511b833b1a02b2b887738c845d1fb (commit) via 4df4eb13c0177a1587ce86a8a87219c828809a92 (commit) via 9b12f766243a75cb840330fa941715b38aa609e4 (commit) via 7d92fe41d659ac9a1cfcf354d792178830315957 (commit) via 46953c5ca8945208733ce79a5d47dd6f72281a91 (commit) via 5288e987b4621bb2c999d4aa56f310cd6a9f6db6 (commit) via 61b67ec07bf0195dc206c109cd255a22a4a81127 (commit) via 9aca785f1728d116e2c350ba7bb1dd5c573889d5 (commit) via a7ba737e6276bf6b546eb721cca66d14d2bd4c29 (commit) via 29e18ad0c71a0e939b44b8933370a2f4cccefb2c (commit) via 5ad3e7fe864d1a87517c98c819530143a78e42ab (commit) via ba4723b55c553a4ec25cba267f1ae5852237ec1d (commit) via 9d1a33527f423039b5e80f6e87b0b2a0effa770b (commit) via 07c1422acd6b163b10d8e1ee46d10e91980f2a84 (commit) via 6f684667d9fd2fb80276ff3fbc41700db0c71e53 (commit) via f921b676a425104be902e5d92b24cc07d295ce98 (commit) via fb025e510226969088eefa33ed7826738a4d8d7e (commit) via a655a573b3d7bb9cf82b309bd3c026dab5fed4d2 (commit) via 13eb7b7678db635719ce387114837982b50663cc (commit) via 76cf797ec439aa06d3eb3ab2b1a4e2c1d5cb0b6b (commit) via 3fc30a4d2dd0d459d3e9452f72e8d5f0e1f9f12b (commit) via 9085636e2b5006a933fbd8121de60148ea0d3e27 (commit) via 75ef1f7c572574a44cbcd0ae1b4abb2b83ddd672 (commit) via 8bf9b69c5918d479e467d1c241a9e56e8d2e99ae (commit) via c651ae2e7656c700edcd0ad210bdedd871816a32 (commit) via e322c8bbdf151369fb7733c453fce6c99ef506d0 (commit) via 8107e808fa71a85ddce6f9220422283e0412c052 (commit) via 6bbc836c170627ff8a477d21829c7d4d7001c9b2 (commit) via 5de2fc876771b14802862db5b2fe1282c20f51ec (commit) via 71f11e0d957c34f14512dbeae973285f59e81621 (commit) via f7f725f472615ec9e2b2024633726f623adb7159 (commit) via b7fa39c6f0106040db280aca5becf81194efa330 (commit) via 52cf11788e5f608f77ebbeb8956856142b13d53f (commit) via 2ad462236f39824e4f832da5a178748178f4515d (commit) via 8ce097bae4c6a47cd1622096d1ec3a01a2fcd4b4 (commit) via 6e1dedfeb33bd68a0a7dfb872c4eeb72a8eaf724 (commit) via 69b25bbb26d87d43c96e404f822fefe5529ca340 (commit) via 3a8ec50ace9d5a288f130f43c19f5a1a5c823b23 (commit) via da34b442536f6e8d79054ed5ad991e08eb12c449 (commit) via 45e1c90da9bba58a51f295a42966e3863c5cb002 (commit) via 75629bc59e64ea7656905cec8538034ca5379634 (commit) via 430f32d5c7d68792e0ab74726b6287dfabbcc570 (commit) via 55d0c23035f1be3fd8aaa2f4a00e3096ade57b8c (commit) via 78e821bc6845557d90562faaf378e789aa9438e5 (commit) via f11face789f352bc90dd1a64aab61b1dcca97e0a (commit) via 91319f4d869ddd25c6ef63bf8f6d0d195d47fec9 (commit) via 7d91c2cb6fe2e9b9e34dd2b233c16b3d3dd787ad (commit) via 63a2febcfcbb639ab629397425f8c8cc8512b0bd (commit) via 7606e5dd841aa03d1c7f6f61cbc17f78a93a1d3e (commit) via 25fb808b26426d2068194ae170052cc3a363943f (commit) via 201a98005e53f66a7f3d4bd51d7b28f592a250a7 (commit) via 8aec93acf907888393d8bf27f6ac4dcb3f070c92 (commit) via c68620c634260fbad37933feae4db71659ef820f (commit) via 79ab359fe6a0740ca82c4cb9b66d368566a41a4f (commit) via 32d784b33026d7800a88ff5b2dfc25c42140261e (commit) via 5f51babfc7c8e0275abf428d1bac9c686cb53438 (commit) via 93e803cf0a78ebb3439df82edd0d0334508aa0cc (commit) via 4ae097cd6d015d1c578c9dcc703daf6c6b89be7b (commit) via b84d27f115d9876ff8257a85e76747aaa9765c1f (commit) via 1e68b2b05ce04cd4b8f24563b31de40f9e49edf0 (commit) via 57e112548bae57b65bbdba19b1476b0f3a3ef230 (commit) via 3d3319482ed205651ebca6453cccf951086a5462 (commit) via 33d7321d94668d444bde41387966af38d7f4012d (commit) via 89b83d1e001377c41f7ef6eeb61d29c56bd3110a (commit) via dd51587bd92272bad2b7b8dca895bc4da5694810 (commit) via 2ded1ce75868b078e1b207eebae089b4f1d4d33b (commit) via 94f3bcf9888132a605e8e54b932fc31d9ccedcc3 (commit) via 0f1f5839ed30d2bc56e139743ce42ee6909a946a (commit) via b3dc0d70266f276bda6c6a16bd516c359b6a29ea (commit) via f068754a3b968fe27df27ddb9be5b178f0921b79 (commit) via 95c371729ac1e5eca989ecc225d9b8c664ec6389 (commit) via b467a92ca345e92279601433f53529a54d1002c9 (commit) via 8fdba71bc50cbf49c4cd646994124b8066a951a7 (commit) via fc1c4ba74c4d0020eb2007fea3bd0f3c3521262d (commit) via e93a7af149f7305efab382010e34a76259491e09 (commit) via 33992ec6633e0d6066aa6ab469f406e9d0bb448f (commit) via 474cf2cc7f2247300cdbe3fd19590676fb99f439 (commit) via a55a37b591ef85da0c59d356f9dc27e307a71153 (commit) via b3472c2feb609b242455c55e6d9852570f86c356 (commit) via 08db2a28ae8c02d7b12fe753b3b43bfdec671e66 (commit) via e5cf76c390c79b56c418c8c96436b0c1b91ebb47 (commit) via cd0c7f4926edab545fdcf0bdc7de364b2ff09448 (commit) via e72519f682930d142265d90344d6cdf56b3ef98a (commit) via 885be930bc7ae0672dce82b9857636833bd3b091 (commit) via 1a2e803597daace9df84c707e5cbda6d2715df02 (commit) via 10f6f2b3336373f7ca107ab3a63e6287286c0e6b (commit) via 28279c63fe40427e66b84b31df2ddf1a2ab196ab (commit) via a22afbdf028e403bec6bad17d4efa1c974325601 (commit) via d647eded2302197ade63ece6b8f94da6ed119b2e (commit) via beee1ab7a53c783e0fffb8c98390d8d7807e8277 (commit) via 8f505c9ddb3285c0a345ae354c5dd14425bc9e3b (commit) via 3d3a450a6f63b712c5443af589eeb04e228b2ce2 (commit) via 4542d588786848d0e0d7d6b611ceab61e2c12dda (commit) via b6d81b6ecc750cc776d03801e04bc11938c20a17 (commit) via 383865b114ee36021fafe715ffc2890e43cd97b0 (commit) via c49d0feb95645f78a43adf6cc383327b6b7ef9aa (commit) via f3249171fca176cbdbc1afd92823610494584615 (commit) via 6b53f41605d611b3532ff0f09dcf29224d7fbdac (commit) via 7017051e05c0167f14c6b2247e033986df362767 (commit) via 2b72873325f8ba0c1da0cb73f4dd4951206c81a2 (commit) via 840350c014a2d2bbd0195008299c844dd1f0ea7e (commit) via 3543d8a6e3d08309192845bf3dadb74009fdffef (commit) via adfe559787c488f86b3daeca61b764646002cbee (commit) via 402808596492c19361bac68b63a2358c25e00d29 (commit) via 12ca8393a910e38fe91954c212ab073c20d00375 (commit) via d1826608e0406478ca90b78fb2ab116cf961b5ab (commit) via fba287e05df4ade113ca3aec1bc825a9eac74683 (commit) via feb3e965d73d7eef6f0304bc1421abeeebbda215 (commit) via f21b21e99c38d69e73e099279432586963ade8f4 (commit) via 2465c0056183b4519d5b822f2aa4dc99416af0b8 (commit) via 1a713af28392e3ba688fd03d65076c05f3e97e70 (commit) via bc8e1fc739de146d65032f7f6c4afdd3261c53ea (commit) via 9232a0cae073b450d9b7ff0b0837b2a217c214c9 (commit) via 84567b3fec434afadec8ae7ded7970a72dd7e3a9 (commit) via 6af095e3d594fd820e0d71487c3344660bd6ff21 (commit) via ce73e757740005a6c639d3ada223d3cc44c968cf (commit) via 560e4e5fc1bcce922e124c6c5879d0ab755dab40 (commit) via 283aa61e130421a42a9184076d157d6023871d2d (commit) via 4d96dbca0f160dd3b7f2299e8081e030cd7db7cf (commit) via d114c65446eeb0717a272b90248e437d4326ee0c (commit) via ef39398ba8496aa717909c815a9d2c41a115df4e (commit) via 65ccee137a63dca5554cc9f689da9b1d3aa61324 (commit) via a6bfa7a79bc37f4b19ee5bea459f1d519b8029d1 (commit) via 6d8372ae56145f11173e4513df5469b895b0854f (commit) via 14ee1f16a7b7f0f6624404371a2904a73919400d (commit) via a00db270f452a3081d0c9f4b06664372a7f74534 (commit) via a005f4de8e6cabdbba21d6ea8c1ab8bebfe0933b (commit) via c2c98f58f6b4018c2f1ce1b4b7d3f63ff3769f23 (commit) via b2b8c16707d133be2d9b9d45904cd8610ed41323 (commit) via f17e8198bdfc430f13816aba90c1e5f6130b9424 (commit) via 05526ff4f2b45a777d766ab9c5a2c2f686dd20be (commit) via 578c1a85535896828953bb2e99b43d0c18348f5a (commit) via b7ddbcebfdcf1fe752a2acdf3c2dd20b813b024c (commit) via f37d44876de8e164f5ce16029ab8c21ea68333bf (commit) via 01a3a94ccff020af8c57e8d276de05b9633e77c1 (commit) via ea36387489f01abf4f88b3f8b5711befdfd8ae49 (commit) via 40c11239fec9e6e99e83a04246c886dbd4c84998 (commit) via 5d988b085067c0cdc8575dbe7b3b14925978359c (commit) via 9c1851f76a4441ebcd524693c47cf6578474f609 (commit) via 661eeb8102e3fd0f7a0b6125e1ae523c8009fdbf (commit) via 26630aa2019300948440f957db657165712a932d (commit) via 253b76661304b1e271cb2b9655c57e1a36ac1ea0 (commit) via 30df57517a2ab470e43362b80590b64e9ab5b39d (commit) via be1d20baa73ccd5f665a0a007b7036c97197bd59 (commit) via 8b22ea22714e635f11f8af11a20104462a151ffd (commit) via 0d012df4a2b86a2c873aec5c054de39cdf84a119 (commit) via cb691fb2799d357babce13de1e7d49071d07c28a (commit) via 60c59b87b263dd7886d7d93db983c88b7a14666f (commit) via ff5886c0480b1220132345e99aed7b222b46e80e (commit) via 7c4fb02d41f78af09698df67e52e8c5b63585104 (commit) via 00e1c4298d2b6fe040a9a970e98349602b12ddbf (commit) via c4281553821692abaf547ecb55936a12570ddc65 (commit) via c0485ff9ec03b9b73ccc37d29a3582f2bf83a9fa (commit) via ac4f8ed4b53ffccdec483bd462775988d7c6545c (commit) via 560bc1c1db9ffba911f68df8bea73c15791f001e (commit) via a7dc771403bc83f803e9d54c5a87a8f15ce86721 (commit) via 6325d56bb7ac80d2816311e8fc705ca77ce61cf3 (commit) via 854ff6eec8a59a6983f952fa6660d24a93ea45cc (commit) via 372ed718630d8259927c123202525f662e0df958 (commit) via 72938b88af7d08bc968ef28380318ed6152c90ce (commit) via a339db591214cb95268f9dbd512bc213b76af9c7 (commit) via 72fe4465ca9be6a4f214fbe731a2f430fd7aa576 (commit) via b630734d5224bcd7669930e6eeb2023f2c605fc2 (commit) via c791c8802a072871b2ee5973bfb5315ecea56ca7 (commit) via f09c77f9e282f068dac89976490a6f6882f98e4f (commit) via dcde314799fec449a1f0da09922550e1269a1df7 (commit) via 8600d0076846de363e7a4a545b7b0a236ea9a8be (commit) via e93f668f079ff75ae8adabfd7701c2dde6f11d81 (commit) via 1b01f307b2d28df76d2f5fbe789ed583dc7b8c41 (commit) via b7f90a2b5b62a75fcf6d051f5e62c64659e4bd56 (commit) via 786ea7e99a531ae1a6fabf44106853c0050137fb (commit) via b0a378a1c15f7736de5164497559826aa8c52972 (commit) via 7412069fb9f19b32088055da28e2290fb5310895 (commit) via 4f44f68c21915935ab7dfdd0ae62f85f79617575 (commit) via 849107d49fdec70329c1b2b3c2e0cf4ac739f32b (commit) via 5f25c6916554f5ae6e417510c5987312991f3fa6 (commit) via 002e5a54e690e6f7eba2c5e2934c3ef557476775 (commit) via 3777a93277a78a158444c851c3aadfecc69779e0 (commit) via bd9f743fa389529613e97028045ff80d8e5bf2c9 (commit) via ad93f7e9600e42d9dd42b6cd411c7ebbafc3af8c (commit) via 7bc000f4ab63febf36063308a62f1ddca19478f1 (commit) via 81c8e2ad6ed717bef69f3b5d38255147ca1a5fd1 (commit) via 6094b5847b44b749df2e9cc9b4f083c55c5b1e7b (commit) via 703eecdd98022d08b362292ff79ac4087d1406de (commit) via 85622eb8d78dfa93e7034ef519e2e7f8557d6cc5 (commit) via d4f5987387f1f61969b86ca9305264820ad01499 (commit) via c73c602ab2e8ff0baf26ca94d9b5f4d442306bbc (commit) via b805df23e04cdf6b6c8252ca6ccf488139dd4cb1 (commit) via ed4d9dacb69f998899d48d8d9678de87938da7d8 (commit) via e6b3eacaca03f328175064c698a4542e96a63df7 (commit) via bfacf227ec8ee6b1c73311e323bd93c1eddd9ca6 (commit) via c2f14511388ab029f3bda0f5227eab67e04daac5 (commit) via 8b9474b7ca95b074fc5b7a38b4b1558e33ad6710 (commit) from 28888b26f6b66c0953c27c442d26a509bbdddd01 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 79ce26e92f6596033a14bba223e4839725fed99c Merge: 28888b2 1abda47 Author: Phil Muldoon Date: Tue Feb 26 10:18:04 2013 +0000 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace commit 1abda479d07f91ebf07fa1329d407aeb388978d4 Author: gdbadmin Date: Tue Feb 26 00:00:37 2013 +0000 *** empty log message *** commit 2024f2e5d6c9e7555050dbd350ebc75210e0cbed Author: Alan Modra Date: Mon Feb 25 23:06:52 2013 +0000 daily update commit 9058a5d69b2fc3452e090a1f38727b66ec20be71 Author: Nick Clifton Date: Mon Feb 25 18:41:06 2013 +0000 * rl78-decode.opc: Fix encoding of DIVWU insn. * rl78-decode.c: Regenerate. * config/rl78-parse.y: Fix encoding of DIVWU insn. commit f6f366b856fc001370119b2bfc772989abcdf3b1 Author: Pedro Alves Date: Mon Feb 25 17:32:03 2013 +0000 Tweak warning output on Linux kernels with broken i386 NX support. The "you have broken" bit of this text reads to me as if I had broken it myself somehow. This patch eliminates that ambiguity. 2013-02-25 Pedro Alves * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change warning text. commit 08f46fad0c90ea5579ab4cd913b6bc1506bb4ca7 Author: gdbadmin Date: Mon Feb 25 00:00:03 2013 +0000 *** empty log message *** commit f55586fcc744778a1cd412e59255328a0778b777 Author: Alan Modra Date: Sun Feb 24 23:00:05 2013 +0000 daily update commit dc220fd7be640f1202178eccde885397769388e0 Author: Maciej W. Rozycki Date: Sun Feb 24 12:54:02 2013 +0000 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero if $fp is used as the virtual frame pointer. commit 4ec1f9a1966ece8baa9db0b82c0610b65bbf9a62 Author: gdbadmin Date: Sun Feb 24 00:00:36 2013 +0000 *** empty log message *** commit e6242bbb599bfe7cfc254572888de1ce5f55532a Author: Alan Modra Date: Sat Feb 23 23:00:07 2013 +0000 daily update commit 06e1be1fbb0231e4227aee684e23bc9b289f5eb1 Author: gdbadmin Date: Sat Feb 23 00:00:03 2013 +0000 *** empty log message *** commit f26434ca92423baf31f26ff5ca95aff90e02152a Author: Alan Modra Date: Fri Feb 22 23:24:22 2013 +0000 * elfread.c (elf_symtab_read): Do not use udata.p here to find symbol size. * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function. * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare. * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above. * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise. commit ef977039c58644e42f14a1ab3224b368632c1fe4 Author: Alan Modra Date: Fri Feb 22 23:00:06 2013 +0000 daily update commit f20bc10158e798f7d72c4556db5ca6938912ae97 Author: Jan Kratochvil Date: Fri Feb 22 16:40:54 2013 +0000 gdb/ Code cleanup. * elfread.c (build_id_bfd_get): Make the return type const. (build_id_verify): Make the check parameter const. (build_id_to_debug_filename): Make the build_id parameter and variable data const. (find_separate_debug_file_by_buildid): Make the variable build_id const. commit d8c5bfeeb1da2d7fe4d978b5a05b7070db26ef9f Author: H.J. Lu Date: Fri Feb 22 01:20:48 2013 +0000 Set unique_global only for definition bfd/ PR ld/15167 * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set unique_global only for definition. * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global here. (elf_link_add_object_symbols): Set unique_global only for definition. ld/testsuite/ PR ld/15167 * ld-unique/unique.exp: Add a test for shared library with reference. commit f1b3778db4984d1e9ef5a04819817ebe8b755d20 Author: gdbadmin Date: Fri Feb 22 00:00:03 2013 +0000 *** empty log message *** commit ef5bd72457f522abe869552e49c21514a6d36d33 Author: Alan Modra Date: Thu Feb 21 23:00:05 2013 +0000 daily update commit c44c23b26bd12af0dea7b50f251019bfd8f59582 Author: Tom Tromey Date: Thu Feb 21 19:08:10 2013 +0000 * gdb.texinfo: Remove bad @syncodeindex. (Values From Inferior, Types In Python, Inferiors In Python) (Events In Python, Threads In Python, Frames In Python, Blocks In Python, Symbols In Python, Symbol Tables In Python): Remove @tables. (Packets, General Query Packets, Tracepoint Packets) (Host I/O Packets): Use @w{} for empty @item. commit 9d055f19e35f94f05f2ccdeee57b8f36b0a5cbb9 Author: Alan Modra Date: Thu Feb 21 04:35:14 2013 +0000 bfd/ * elf-bfd.h (struct elf_build_id): Extracted from.. (struct elf_build_id_info): ..here. Delete. (struct output_elf_obj_tdata): New, extracted from.. (struct elf_obj_tdata): ..here. Reorganize for better packing. Add "o" field. (elf_program_header_size): Reference tdata->o. (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec, elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise. * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata when opening bfd in any mode that might write. (_bfd_elf_write_object_contents): Use build_id field in output_elf_obj_tdata. (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test. (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes. gdb/ * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes. ld/ * emultempl/elf32.em (write_build_id, setup_build_id): Adjust for elf_tdata changes. commit 20812afb15f97fa57b2c909d211d73be08e692ce Author: Alan Modra Date: Thu Feb 21 03:02:27 2013 +0000 * elf-bfd.h (struct core_elf_obj_tdata): New. (struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid, core_program, and core_command. Add "core". * elf.c (bfd_elf_mkcorefile): Allocate "core" struct. Update all refs to tdata core fields. * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c, * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c, * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c, * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c, * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c, * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c, * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs to tdata core fields. commit b8af5afa0cb5d03c5daca61fc9a1a5790675fff4 Author: Alan Modra Date: Thu Feb 21 02:29:08 2013 +0000 bfd/ * elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map. Delete num_locals and num_globals. (elf_num_locals, elf_num_globals): Don't define. (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define. * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c, * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c, * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c, * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata accessor macros. * elf.c (elf_map_symbols): Add pnum_locals param. Return number of locals syms via new param. (swap_out_syms): Adjust to suit elf_map_symbols change. ld/ * emultempl/elf-generic.em: Use newly defined elf_obj_tdata accessor macros. commit c3c3588160a816088bdbe1fc586e1b2461c6681b Author: sivachandra Date: Thu Feb 21 01:46:55 2013 +0000 Add a new method 'disassemble' to gdb.Architecture class. * python/py-arch.c (archpy_disassmble): Implementation of the new method gdb.Architecture.disassemble. (arch_object_methods): Add entry for the new method. * doc/gdb.texinfo (Architectures In Python): Add description about the new method gdb.Architecture.disassemble. * testsuite/gdb.python/py-arch.c: New test case * testsuite/gdb.python/py-arch.exp: New tests to test gdb.Architecture.disassemble * testsuite/gdb.python/Makefile.in: Add py-arch to the list of EXECUTABLES. commit 5f2a8979ff17e393a5b2492a09482a13e09b49ff Author: gdbadmin Date: Thu Feb 21 00:00:03 2013 +0000 *** empty log message *** commit e9142254d431029e6e1d230b5f5c5de32ca13634 Author: Alan Modra Date: Wed Feb 20 23:00:06 2013 +0000 daily update commit 73c65b0311a0d272e2223ce83ffcebfc04d4c898 Author: jiwang Date: Wed Feb 20 07:45:11 2013 +0000 gdb/ * MAINTAINERS (Write After Approval): Add myself to the list. commit 924fa7a7244f118b8a85031ed8a0e0a026de020e Author: gdbadmin Date: Wed Feb 20 00:00:03 2013 +0000 *** empty log message *** commit af2ef30e2fc3e1fdbbe38c118405609fd0c7484e Author: Alan Modra Date: Tue Feb 19 23:00:05 2013 +0000 daily update commit 82ae45302c7ee163216f8fc3d5b3494a6f212e9c Author: Maciej W. Rozycki Date: Tue Feb 19 21:58:45 2013 +0000 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear STO_MICROMIPS annotation. commit 859f7e2d6ea511b833b1a02b2b887738c845d1fb Author: Pedro Alves Date: Tue Feb 19 20:52:57 2013 +0000 gdbserver:server.c - use unpack_varlen_hex to extract hex numbers. Addresses, as most numbers in the RSP are hex encoded, with variable length (that just means the width isn't specified, and there's no top cap. So they should be extracted with unpack_varlen_hex. A couple spots in server.c are using strto(u)l, which doesn't work on LLP64 targets. This patch fixes it. Tested on x86_64 Fedora 17. 2013-02-19 Pedro Alves Kai Tietz PR gdb/15161 * server.c (handle_query) : Use unpack_varlen_hex instead of strtoul to extract address from packet. (process_serial_event) <'z'>: Likewise. commit 4df4eb13c0177a1587ce86a8a87219c828809a92 Author: Pedro Alves Date: Tue Feb 19 19:41:21 2013 +0000 Garbage collect struct monitor_ops::load_routine. While touching monitor_load in a previous patch, I noticed this method is no longer set to anything other than NULL in the tree, so we can remove it. Tested by building with --enable-targets=all. 2013-02-19 Pedro Alves Garbage collect 'struct monitor_ops'::load_routine. * monitor.h (struct monitor_ops) : Remove field. * monitor.c (monitor_load): No longer call current_monitor->load_routine. * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'. * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'. * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'. commit 9b12f766243a75cb840330fa941715b38aa609e4 Author: Pedro Alves Date: Tue Feb 19 19:27:16 2013 +0000 Harmonize this monitor_load with generic_load. Harmonize this old-looking code with generic_load, which fixes several issues. 2013-02-19 Pedro Alves PR gdb/15161 Harmonize with generic_load. * monitor.c: Include "readline/readline.h". (monitor_load): Rename parameter 'file' to 'args'. Use build_argv instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned long/strtol for the 'load_offset' local. Error out if no argument is given or if too many arguments are given. Tilde expand the passed in file name. commit 7d92fe41d659ac9a1cfcf354d792178830315957 Author: H.J. Lu Date: Tue Feb 19 19:10:29 2013 +0000 Implement Intel SMAP instructions gas/ PR gas/15159 * config/tc-i386.c (cpu_arch): Add ".smap". * doc/c-i386.texi: Document smap. gas/testsuite/ PR gas/15159 * gas/i386/i386.exp: Run smap and x86-64-smap. * gas/i386/smap.d: New file. * gas/i386/smap.s: likewise. * gas/i386/x86-64-smap.d: likewise. opcodes/ PR gas/15159 * i386-dis.c (rm_table): Add clac and stac to RM_0F01_REG_1. * i386-gen.c (cpu_flag_init): Add CPU_SMAP_FLAGS. (cpu_flags): Add CpuSMAP. * i386-opc.h (CpuSMAP): New. (i386_cpu_flags): Add cpusmap. * i386-opc.tbl: Add clac and stac. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. commit 46953c5ca8945208733ce79a5d47dd6f72281a91 Author: Kai Tietz Date: Tue Feb 19 18:31:44 2013 +0000 PR gdb/15161 * symfile.c (load_section_data): Change type of load_offset to CORE_ADDR. (generic_load): User strtoulst instead of strtoul for conversion of load_offset. commit 5288e987b4621bb2c999d4aa56f310cd6a9f6db6 Author: walt Date: Tue Feb 19 16:22:41 2013 +0000 * tilegx-tdep.c (tilegx_analyze_prologue): add check for for return address, "lr" register, saved on stack. * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg after we invoke tilegx_analyze_prologue. commit 61b67ec07bf0195dc206c109cd255a22a4a81127 Author: walt Date: Tue Feb 19 16:21:28 2013 +0000 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed. commit 9aca785f1728d116e2c350ba7bb1dd5c573889d5 Author: walt Date: Tue Feb 19 16:20:46 2013 +0000 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal. commit a7ba737e6276bf6b546eb721cca66d14d2bd4c29 Author: walt Date: Tue Feb 19 16:19:30 2013 +0000 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro. (tilegx_write_pc): New function. (tilegx_cannot_reference_register): Return zero if REGNO is TILEGX_FAULTNUM_REGNUM. (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc. (tilegx_register_name): Add handling of "faultnum" register. * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM. * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add handling of TILEGX_FAULTNUM_REGNUM. * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM. commit 29e18ad0c71a0e939b44b8933370a2f4cccefb2c Author: walt Date: Tue Feb 19 16:09:12 2013 +0000 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack should be aligned to 64bit. commit 5ad3e7fe864d1a87517c98c819530143a78e42ab Author: Kai Tietz Date: Tue Feb 19 15:46:29 2013 +0000 * windows-nat.c (windows_xfer_memory): Fix debug-output for LLP64. commit ba4723b55c553a4ec25cba267f1ae5852237ec1d Author: lei Date: Tue Feb 19 07:50:27 2013 +0000 2013-02-19 Lei Liu * mips-linux-nat.c (mips64_linux_regsets_store_registers): Don't check DSP register number if HAVE_DSP is not set. commit 9d1a33527f423039b5e80f6e87b0b2a0effa770b Author: lei Date: Tue Feb 19 07:01:07 2013 +0000 2013-02-19 Lei Liu * MAINTAINERS (Write After Approval): Add myself to the list. commit 07c1422acd6b163b10d8e1ee46d10e91980f2a84 Author: gdbadmin Date: Tue Feb 19 00:00:33 2013 +0000 *** empty log message *** commit 6f684667d9fd2fb80276ff3fbc41700db0c71e53 Author: Alan Modra Date: Mon Feb 18 23:50:26 2013 +0000 include/ * bfdlink.h (struct bfd_link_info): Delete emit_note_gnu_build_id. bfd/ * configure.in: Bump version to 2.23.52. * elf-bfd.h (struct elf_build_id_info): New. (struct elf_obj_tdata): Delete after_write_object_contents, after_write_object_contents_info and build_id_size. Make build_id a pointer to struct elf_build_id_info. * elf.c (_bfd_elf_write_object_contents): Style. Update after_write_ibject_contents invocation. (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't allow zero size notes. * configure: Regenerate. gdb/ * elfread.c (struct build_id): Delete. Use struct elf_build_id throughout file instead. (build_id_bfd_get): Update to use new elf_tdata build_id field. Don't xmalloc return value. (build_id_verify): Similarly. Don't xfree. (build_id_to_debug_filename): Update. (find_separate_debug_file_by_buildid): Update, don't xfree. ld/ * emultempl/elf32.em (emit_note_gnu_build_id): New static var. Replace all info->emit_note_gnu_build_id refs. (id_note_section_size): Rename from gld${EMULATION_NAME}_id_note_section_size. (struct build_id_info): Delete. (write_build_id): Rename from gld${EMULATION_NAME}_write_build_id_section. Update elf_tdata usage. Style, formatting. (setup_build_id): New function. (gld${EMULATION_NAME}_after_open): Use setup_build_id. commit f921b676a425104be902e5d92b24cc07d295ce98 Author: Maciej W. Rozycki Date: Mon Feb 18 23:20:43 2013 +0000 * elf64-mips.c (micromips_elf64_howto_table_rel): Add R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. (micromips_elf64_howto_table_rela): Likewise. (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. * elfn32-mips.c (elf_micromips_howto_table_rel): Add R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. (elf_micromips_howto_table_rela): Likewise. (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. commit fb025e510226969088eefa33ed7826738a4d8d7e Author: Maciej W. Rozycki Date: Mon Feb 18 23:18:15 2013 +0000 * elfxx-mips.c (MICROMIPS_P): New macro. (_bfd_mips_elf_symbol_processing): Use it. commit a655a573b3d7bb9cf82b309bd3c026dab5fed4d2 Author: Maciej W. Rozycki Date: Mon Feb 18 23:16:34 2013 +0000 * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify comment on _PROCEDURE_LINKAGE_TABLE_ creation. commit 13eb7b7678db635719ce387114837982b50663cc Author: Alan Modra Date: Mon Feb 18 23:00:04 2013 +0000 daily update commit 76cf797ec439aa06d3eb3ab2b1a4e2c1d5cb0b6b Author: Tom Tromey Date: Mon Feb 18 21:04:24 2013 +0000 PR gdb/15102: * dwarf2read.c (read_subrange_type): Use result of 'check_typedef'. gdb/testsuite * gdb.dwarf2/subrange.exp: New file. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 16 + bfd/ChangeLog | 656 +++ bfd/ChangeLog-2012 | 2 +- bfd/Makefile.am | 8 +- bfd/Makefile.in | 10 +- bfd/archive.c | 11 +- bfd/archures.c | 4 + bfd/bfd-in2.h | 38 + bfd/bfd.c | 2 +- bfd/coff-arm.c | 6 +- bfd/coff-h8300.c | 7 +- bfd/coff-tic54x.c | 9 - bfd/coff-tic80.c | 9 - bfd/config.bfd | 16 + bfd/configure | 22 +- bfd/configure.in | 4 +- bfd/cpu-nios2.c | 44 + bfd/elf-attrs.c | 4 + bfd/elf-bfd.h | 231 +- bfd/elf-eh-frame.c | 119 +- bfd/elf-linux-psinfo.h | 127 + bfd/elf-m10300.c | 12 +- bfd/elf-nacl.c | 4 +- bfd/elf-strtab.c | 28 +- bfd/elf-vxworks.c | 2 +- bfd/elf.c | 363 +- bfd/elf32-am33lin.c | 10 +- bfd/elf32-arm.c | 66 +- bfd/elf32-avr.c | 13 +- bfd/elf32-bfin.c | 4 +- bfd/elf32-cr16.c | 16 +- bfd/elf32-cris.c | 23 +- bfd/elf32-frv.c | 12 +- bfd/elf32-hppa.c | 32 +- bfd/elf32-i386.c | 60 +- bfd/elf32-lm32.c | 15 +- bfd/elf32-m32r.c | 11 +- bfd/elf32-m68hc1x.c | 10 +- bfd/elf32-m68k.c | 21 +- bfd/elf32-metag.c | 43 +- bfd/elf32-mips.c | 10 +- bfd/elf32-nios2.c | 4136 +++++++++++++++ bfd/elf32-ppc.c | 80 +- bfd/elf32-rx.c | 2 +- bfd/elf32-s390.c | 16 +- bfd/elf32-score.c | 19 +- bfd/elf32-score7.c | 15 +- bfd/elf32-sh.c | 23 +- bfd/elf32-sparc.c | 8 +- bfd/elf32-spu.c | 21 +- bfd/elf32-tic6x.c | 12 +- bfd/elf32-tilegx.c | 10 +- bfd/elf32-tilepro.c | 10 +- bfd/elf32-vax.c | 2 +- bfd/elf32-xgate.c | 18 +- bfd/elf32-xtensa.c | 22 +- bfd/elf64-aarch64.c | 24 +- bfd/elf64-alpha.c | 34 +- bfd/elf64-hppa.c | 24 +- bfd/elf64-ia64-vms.c | 5 +- bfd/elf64-mips.c | 74 +- bfd/elf64-ppc.c | 12 +- bfd/elf64-s390.c | 12 +- bfd/elf64-sh64.c | 2 +- bfd/elf64-tilegx.c | 10 +- bfd/elf64-x86-64.c | 62 +- bfd/elfcode.h | 31 +- bfd/elfcore.h | 8 +- bfd/elflink.c | 179 +- bfd/elfn32-mips.c | 74 +- bfd/elfnn-ia64.c | 12 +- bfd/elfxx-mips.c | 2145 ++++----- bfd/elfxx-target.h | 10 +- bfd/i386linux.c | 7 +- bfd/libbfd-in.h | 4 + bfd/libbfd.h | 38 + bfd/m68klinux.c | 7 +- bfd/mach-o.c | 3 +- bfd/merge.c | 14 + bfd/pdp11.c | 2 +- bfd/po/SRC-POTFILES.in | 4 +- bfd/reloc.c | 71 + bfd/sparclinux.c | 7 +- bfd/sunos.c | 11 +- bfd/targets.c | 4 + bfd/version.h | 2 +- bfd/xcofflink.c | 14 +- config/ChangeLog | 10 + config/cloog.m4 | 15 +- config/isl.m4 | 10 +- configure | 22 +- configure.ac | 20 + gdb/ChangeLog | 951 ++++- gdb/ChangeLog-2012 | 44 +- gdb/MAINTAINERS | 3 + gdb/Makefile.in | 7 +- gdb/NEWS | 20 +- gdb/aarch64-linux-nat.c | 1554 ++++++ gdb/aarch64-linux-tdep.c | 301 ++ .../sparc/nm-sol2.h => aarch64-linux-tdep.h} | 16 +- gdb/{xtensa-linux-tdep.c => aarch64-newlib-tdep.c} | 30 +- gdb/aarch64-tdep.c | 2741 ++++++++++ gdb/aarch64-tdep.h | 97 + gdb/ada-lang.c | 8 +- gdb/amd64-darwin-tdep.c | 2 +- gdb/amd64-linux-nat.c | 52 +- gdb/amd64fbsd-nat.c | 14 + gdb/break-catch-sig.c | 2 +- gdb/breakpoint.c | 86 +- gdb/breakpoint.h | 12 +- gdb/c-exp.y | 34 +- gdb/c-lang.c | 1 + gdb/cli-out.c | 1 + gdb/cli/cli-cmds.c | 25 +- gdb/cli/cli-cmds.h | 2 +- gdb/cli/cli-decode.c | 4 +- gdb/cli/cli-decode.h | 2 +- gdb/cli/cli-dump.c | 2 +- gdb/cli/cli-dump.h | 2 +- gdb/cli/cli-interp.c | 2 +- gdb/cli/cli-logging.c | 2 +- gdb/cli/cli-script.c | 2 +- gdb/cli/cli-script.h | 2 +- gdb/cli/cli-setshow.c | 2 +- gdb/cli/cli-setshow.h | 2 +- gdb/cli/cli-utils.c | 2 +- gdb/cli/cli-utils.h | 2 +- gdb/common/common-utils.c | 11 + gdb/common/common-utils.h | 6 + gdb/common/format.c | 14 +- gdb/common/linux-ptrace.c | 5 +- gdb/completer.c | 2 +- gdb/config/aarch64/linux.mh | 27 + gdb/config/alpha/nm-osf3.h | 2 +- gdb/config/djgpp/djconfig.sh | 2 +- gdb/config/i386/nm-fbsd.h | 2 +- gdb/config/i386/nm-i386gnu.h | 2 +- gdb/config/nm-linux.h | 2 +- gdb/config/nm-nto.h | 2 +- gdb/config/powerpc/fbsd.mh | 23 + gdb/config/rs6000/nm-rs6000.h | 2 +- gdb/config/sparc/nm-sol2.h | 2 +- gdb/configure.host | 4 + gdb/configure.tgt | 19 + gdb/contrib/ari/gdb_ari.sh | 15 - gdb/contrib/cc-with-tweaks.sh | 2 +- gdb/{ravenscar-thread.h => contrib/expect-read1.c} | 34 +- gdb/contrib/expect-read1.sh | 42 + gdb/darwin-nat-info.c | 2 +- gdb/dbug-rom.c | 1 - gdb/defs.h | 1 + gdb/dfp.c | 2 +- gdb/dfp.h | 2 +- gdb/doc/ChangeLog | 49 + gdb/doc/gdb.texinfo | 206 +- gdb/doc/observer.texi | 13 +- gdb/dwarf2read.c | 181 +- gdb/elfread.c | 48 +- gdb/eval.c | 8 +- gdb/features/Makefile | 4 +- gdb/features/aarch64-core.xml | 46 + gdb/features/aarch64-fpu.xml | 86 + gdb/features/aarch64-without-fpu.c | 54 + gdb/features/aarch64-without-fpu.xml | 13 + gdb/features/aarch64.c | 174 + gdb/features/aarch64.xml | 14 + gdb/frame.c | 2 +- gdb/gdb-demangle.h | 2 +- gdb/gdb-gdb.gdb.in | 27 +- gdb/gdbarch.c | 33 + gdb/gdbarch.h | 13 + gdb/gdbarch.sh | 8 + gdb/gdbserver/ChangeLog | 152 +- gdb/gdbserver/Makefile.in | 5 + gdb/gdbserver/configure.srv | 15 + gdb/gdbserver/linux-aarch64-low.c | 1279 +++++ gdb/gdbserver/linux-bfin-low.c | 2 +- gdb/gdbserver/linux-low.c | 83 +- gdb/gdbserver/linux-xtensa-low.c | 2 +- gdb/gdbserver/server.c | 13 +- gdb/gdbserver/thread-db.c | 2 +- gdb/gdbserver/tracepoint.c | 19 +- gdb/gdbserver/xtensa-xtregs.c | 2 +- gdb/i386-darwin-nat.c | 2 +- gdb/i386-darwin-tdep.c | 2 +- gdb/i386-linux-nat.c | 50 +- gdb/i386-nat.c | 174 +- gdb/i386-nat.h | 11 +- gdb/infcmd.c | 5 - gdb/linespec.c | 20 +- gdb/linux-fork.c | 6 +- gdb/linux-fork.h | 2 +- gdb/linux-nat.c | 150 +- gdb/linux-nat.h | 23 +- gdb/linux-tdep.c | 235 +- gdb/m32c-tdep.c | 2 +- gdb/m32r-rom.c | 2 - gdb/macrocmd.c | 11 +- gdb/macroscope.c | 4 +- gdb/macrotab.c | 98 +- gdb/macrotab.h | 19 +- gdb/mdebugread.c | 4 +- gdb/mi/mi-cmd-file.c | 5 +- gdb/mi/mi-interp.c | 45 +- gdb/mi/mi-main.c | 19 +- gdb/mi/mi-out.c | 1 + gdb/microblaze-linux-tdep.c | 2 +- gdb/microblaze-rom.c | 2 +- gdb/microblaze-tdep.c | 2 +- gdb/microblaze-tdep.h | 2 +- gdb/mips-linux-nat.c | 2 +- gdb/mips-linux-tdep.h | 2 +- gdb/mips-tdep.c | 1 + gdb/monitor.c | 63 +- gdb/monitor.h | 2 - gdb/objfiles.c | 2 + gdb/observer.sh | 1 + gdb/osabi.c | 1 + gdb/ppc-linux-tdep.c | 11 + gdb/ppc-ravenscar-thread.c | 2 +- gdb/ppc-ravenscar-thread.h | 2 +- gdb/ppc64-tdep.c | 15 + gdb/ppc64-tdep.h | 2 + gdb/ppcbug-rom.c | 1 - gdb/ppcfbsd-nat.c | 224 + gdb/ppcfbsd-tdep.c | 358 ++ gdb/{config/nm-nto.h => ppcfbsd-tdep.h} | 20 +- gdb/printcmd.c | 475 +- gdb/prologue-value.c | 2 +- gdb/prologue-value.h | 2 +- gdb/psymtab.c | 101 +- gdb/python/py-arch.c | 145 + gdb/python/py-breakpoint.c | 2 +- gdb/python/py-symtab.c | 12 +- gdb/python/py-type.c | 2 +- gdb/ravenscar-thread.c | 2 +- gdb/ravenscar-thread.h | 2 +- gdb/regformats/aarch64-without-fpu.dat | 38 + gdb/regformats/aarch64.dat | 72 + gdb/regformats/regdat.sh | 4 +- gdb/regformats/regdef.h | 2 +- gdb/remote.c | 4 +- gdb/skip.c | 49 +- gdb/source.c | 112 +- gdb/source.h | 6 + gdb/sparc-ravenscar-thread.c | 2 +- gdb/sparc-ravenscar-thread.h | 2 +- gdb/sparc-tdep.c | 12 +- gdb/stack.c | 34 +- gdb/symfile.c | 6 +- gdb/symfile.h | 23 +- gdb/symmisc.c | 16 +- gdb/symtab.c | 127 +- gdb/symtab.h | 1 - gdb/testsuite/ChangeLog | 146 +- gdb/testsuite/gdb.base/bitfields.c | 16 + gdb/testsuite/gdb.base/bitfields.exp | 26 + gdb/testsuite/gdb.base/catch-signal.c | 2 +- gdb/testsuite/gdb.base/catch-signal.exp | 4 +- .../fullpath-expand-func.c} | 6 +- .../dw2-error.c => gdb.base/fullpath-expand.c} | 10 +- gdb/testsuite/gdb.base/fullpath-expand.exp | 44 + gdb/testsuite/gdb.base/printcmds.exp | 3 + .../realname-expand-real.c} | 6 +- .../dw2-error.c => gdb.base/realname-expand.c} | 10 +- gdb/testsuite/gdb.base/realname-expand.exp | 44 + gdb/testsuite/gdb.base/sigaltstack.exp | 2 +- gdb/testsuite/gdb.base/siginfo.exp | 2 +- gdb/testsuite/gdb.base/sizeof.exp | 2 +- gdb/testsuite/gdb.cp/m-static.cc | 1 + gdb/testsuite/gdb.cp/m-static.exp | 8 + gdb/testsuite/gdb.cp/userdef.exp | 2 +- gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.c | 87 + gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 400 ++ gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S | 2 +- gdb/testsuite/gdb.dwarf2/dw2-error.S | 2 +- gdb/testsuite/gdb.dwarf2/dw2-error.c | 2 +- gdb/testsuite/gdb.dwarf2/dw2-restrict.S | 2 +- gdb/testsuite/gdb.dwarf2/dw2-restrict.c | 2 +- gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 2 +- gdb/testsuite/gdb.dwarf2/subrange.exp | 82 + gdb/testsuite/gdb.gdb/xfullpath.exp | 14 +- .../dw2-error.c => gdb.linespec/base/one/header.h} | 18 +- .../dw2-error.c => gdb.linespec/base/two/header.h} | 18 +- .../macro-relative.c} | 17 +- gdb/testsuite/gdb.linespec/macro-relative.exp | 47 + gdb/testsuite/gdb.mi/mi-basics.exp | 2 +- gdb/testsuite/gdb.mi/mi-break.exp | 12 +- gdb/testsuite/gdb.mi/mi-console.exp | 11 +- gdb/testsuite/gdb.mi/mi-file.exp | 11 +- gdb/testsuite/gdb.mi/mi-fullname-deleted.exp | 15 + gdb/testsuite/gdb.mi/mi-read-memory.exp | 12 +- gdb/testsuite/gdb.mi/mi-return.exp | 11 +- gdb/testsuite/gdb.mi/mi-stepi.exp | 12 +- gdb/testsuite/gdb.mi/mi-until.exp | 11 +- gdb/testsuite/gdb.mi/mi-watch.exp | 12 +- gdb/testsuite/gdb.python/Makefile.in | 2 +- .../dw2-error.c => gdb.python/py-arch.c} | 10 +- gdb/testsuite/gdb.python/py-arch.exp | 54 + gdb/testsuite/gdb.python/py-prompt.exp | 1 + gdb/testsuite/gdb.server/Makefile.in | 3 +- .../dw2-restrict.c => gdb.server/no-thread-db.c} | 16 +- gdb/testsuite/gdb.server/no-thread-db.exp | 56 + gdb/testsuite/gdb.threads/pthread_cond_wait.c | 3 +- gdb/testsuite/gdb.trace/mi-tsv-changed.exp | 88 +- gdb/testsuite/gdb.trace/tfile.exp | 4 + gdb/testsuite/gdb.trace/tsv.exp | 18 +- gdb/tilegx-linux-nat.c | 2 +- gdb/tilegx-linux-tdep.c | 8 +- gdb/tilegx-tdep.c | 95 +- gdb/tilegx-tdep.h | 4 +- gdb/tracepoint.c | 131 +- gdb/tracepoint.h | 10 +- gdb/tui/tui-data.c | 16 +- gdb/tui/tui-data.h | 8 +- gdb/tui/tui-disasm.c | 4 +- gdb/tui/tui-out.c | 2 +- gdb/tui/tui-source.c | 33 +- gdb/tui/tui-stack.c | 30 +- gdb/tui/tui-stack.h | 2 +- gdb/tui/tui-winsource.c | 9 +- gdb/tui/tui.c | 4 +- gdb/tui/tui.h | 2 +- gdb/ui-out.c | 43 +- gdb/ui-out.h | 6 + gdb/unwind_stop_reasons.def | 2 +- gdb/utils.c | 63 - gdb/utils.h | 2 - gdb/valops.c | 26 +- gdb/value.c | 28 +- gdb/value.h | 4 + gdb/version.in | 2 +- gdb/windows-nat.c | 9 +- gdb/windows-nat.h | 2 +- gdb/xtensa-linux-tdep.c | 2 +- gdb/xtensa-xtregs.c | 2 +- include/ChangeLog | 24 +- include/bfdlink.h | 3 - include/coff/ChangeLog | 4 + include/coff/ti.h | 3 + include/dis-asm.h | 2 + include/elf/ChangeLog | 7 + include/elf/nios2.h | 91 + include/opcode/ChangeLog | 7 + include/opcode/nios2.h | 517 ++ include/plugin-api.h | 54 +- libdecnumber/ChangeLog | 4 + libdecnumber/Makefile.in | 3 +- libdecnumber/bid/bid-dpd.h | 3 +- libdecnumber/bid/bid2dpd_dpd2bid.c | 2 +- libdecnumber/bid/bid2dpd_dpd2bid.h | 2 +- libdecnumber/bid/decimal128.c | 3 +- libdecnumber/bid/decimal32.c | 3 +- libdecnumber/bid/decimal64.c | 3 +- libdecnumber/bid/host-ieee128.c | 2 +- libdecnumber/bid/host-ieee32.c | 2 +- libdecnumber/bid/host-ieee64.c | 2 +- libdecnumber/configure.ac | 2 +- libdecnumber/dconfig.h | 2 +- libdecnumber/decBasic.c | 2 +- libdecnumber/decCommon.c | 2 +- libdecnumber/decContext.c | 2 +- libdecnumber/decContext.h | 2 +- libdecnumber/decDPD.h | 2 +- libdecnumber/decDouble.c | 2 +- libdecnumber/decDouble.h | 2 +- libdecnumber/decExcept.c | 2 +- libdecnumber/decExcept.h | 2 +- libdecnumber/decLibrary.c | 2 +- libdecnumber/decNumber.c | 2 +- libdecnumber/decNumber.h | 2 +- libdecnumber/decNumberLocal.h | 2 +- libdecnumber/decPacked.c | 2 +- libdecnumber/decPacked.h | 2 +- libdecnumber/decQuad.c | 2 +- libdecnumber/decQuad.h | 2 +- libdecnumber/decRound.c | 2 +- libdecnumber/decRound.h | 2 +- libdecnumber/decSingle.c | 2 +- libdecnumber/decSingle.h | 2 +- libdecnumber/dpd/decimal128.c | 2 +- libdecnumber/dpd/decimal128.h | 2 +- libdecnumber/dpd/decimal128Local.h | 2 +- libdecnumber/dpd/decimal32.c | 2 +- libdecnumber/dpd/decimal32.h | 2 +- libdecnumber/dpd/decimal64.c | 2 +- libdecnumber/dpd/decimal64.h | 2 +- libiberty/ChangeLog | 17 +- libiberty/cp-demangle.c | 21 +- libiberty/regex.c | 10 +- libiberty/sha1.c | 3 +- libiberty/testsuite/demangle-expected | 3 + opcodes/ChangeLog | 69 + opcodes/Makefile.am | 2 + opcodes/Makefile.in | 4 + opcodes/aarch64-opc.c | 33 +- opcodes/arm-dis.c | 4 +- opcodes/configure | 1 + opcodes/configure.in | 1 + opcodes/disassemble.c | 9 + opcodes/i386-dis.c | 2 + opcodes/i386-gen.c | 3 + opcodes/i386-init.h | 170 +- opcodes/i386-opc.h | 3 + opcodes/i386-opc.tbl | 4 + opcodes/i386-tbl.h | 5382 ++++++++++---------- opcodes/metag-dis.c | 1 + opcodes/mips-dis.c | 3 + opcodes/mips-opc.c | 26 +- opcodes/nios2-dis.c | 423 ++ opcodes/nios2-opc.c | 410 ++ opcodes/po/POTFILES.in | 1 + opcodes/rl78-decode.c | 824 ++-- opcodes/rl78-decode.opc | 7 +- opcodes/rx-decode.c | 1212 +++--- 415 files changed, 24835 insertions(+), 7709 deletions(-) create mode 100644 bfd/cpu-nios2.c create mode 100644 bfd/elf-linux-psinfo.h create mode 100644 bfd/elf32-nios2.c create mode 100644 gdb/aarch64-linux-nat.c create mode 100644 gdb/aarch64-linux-tdep.c copy gdb/{config/sparc/nm-sol2.h => aarch64-linux-tdep.h} (65%) copy gdb/{xtensa-linux-tdep.c => aarch64-newlib-tdep.c} (53%) create mode 100644 gdb/aarch64-tdep.c create mode 100644 gdb/aarch64-tdep.h create mode 100644 gdb/config/aarch64/linux.mh create mode 100644 gdb/config/powerpc/fbsd.mh copy gdb/{ravenscar-thread.h => contrib/expect-read1.c} (57%) create mode 100644 gdb/contrib/expect-read1.sh create mode 100644 gdb/features/aarch64-core.xml create mode 100644 gdb/features/aarch64-fpu.xml create mode 100644 gdb/features/aarch64-without-fpu.c create mode 100644 gdb/features/aarch64-without-fpu.xml create mode 100644 gdb/features/aarch64.c create mode 100644 gdb/features/aarch64.xml create mode 100644 gdb/gdbserver/linux-aarch64-low.c create mode 100644 gdb/ppcfbsd-nat.c create mode 100644 gdb/ppcfbsd-tdep.c copy gdb/{config/nm-nto.h => ppcfbsd-tdep.h} (67%) create mode 100644 gdb/regformats/aarch64-without-fpu.dat create mode 100644 gdb/regformats/aarch64.dat copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.base/fullpath-expand-func.c} (90%) copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.base/fullpath-expand.c} (86%) create mode 100644 gdb/testsuite/gdb.base/fullpath-expand.exp copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.base/realname-expand-real.c} (90%) copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.base/realname-expand.c} (86%) create mode 100644 gdb/testsuite/gdb.base/realname-expand.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.c create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp create mode 100644 gdb/testsuite/gdb.dwarf2/subrange.exp copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.linespec/base/one/header.h} (74%) copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.linespec/base/two/header.h} (74%) copy gdb/testsuite/{gdb.dwarf2/dw2-restrict.c => gdb.linespec/macro-relative.c} (73%) create mode 100644 gdb/testsuite/gdb.linespec/macro-relative.exp copy gdb/testsuite/{gdb.dwarf2/dw2-error.c => gdb.python/py-arch.c} (80%) create mode 100644 gdb/testsuite/gdb.python/py-arch.exp copy gdb/testsuite/{gdb.dwarf2/dw2-restrict.c => gdb.server/no-thread-db.c} (80%) create mode 100644 gdb/testsuite/gdb.server/no-thread-db.exp create mode 100644 include/elf/nios2.h create mode 100644 include/opcode/nios2.h create mode 100644 opcodes/nios2-dis.c create mode 100644 opcodes/nios2-opc.c First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index d1e45e4..a276e71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2013-02-15 Yufeng Zhang + + * configure.ac: Sync with GCC repo. + * configure: Ditto. + +2013-02-05 Ian Lance Taylor + + PR go/55969 + * configure.ac: Disable libgo on some systems where it does not + work. + * configure: Rebuild. + +2013-02-05 Alan Modra + + * configure: Regenerate after syncing config/. + 2013-01-15 Jan-Benedict Glaw * configure.ac: Sync with GCC repo. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7614ca0..99c7c2b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,659 @@ +2013-02-21 H.J. Lu + + PR ld/15167 + * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set + unique_global only for definition. + * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global + here. + (elf_link_add_object_symbols): Set unique_global only + for definition. + +2013-02-21 Alan Modra + + * elf-bfd.h (struct elf_build_id): Extracted from.. + (struct elf_build_id_info): ..here. Delete. + (struct output_elf_obj_tdata): New, extracted from.. + (struct elf_obj_tdata): ..here. Reorganize for better packing. + Add "o" field. + (elf_program_header_size): Reference tdata->o. + (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, + elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec, + elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise. + * elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata + when opening bfd in any mode that might write. + (_bfd_elf_write_object_contents): Use build_id field in + output_elf_obj_tdata. + (_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test. + (elfobj_grok_gnu_build_id): Adjust for elf_tdata changes. + +2013-02-21 Alan Modra + + * elf-bfd.h (struct core_elf_obj_tdata): New. + (struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid, + core_program, and core_command. Add "core". + * elf.c (bfd_elf_mkcorefile): Allocate "core" struct. + Update all refs to tdata core fields. + * elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c, + * elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c, + * elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c, + * elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c, + * elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c, + * elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c, + * elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs + to tdata core fields. + +2013-02-21 Alan Modra + + * elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map. + Delete num_locals and num_globals. + (elf_num_locals, elf_num_globals): Don't define. + (elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker, + elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define. + * bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c, + * elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c, + * elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c, + * elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata + accessor macros. + * elf.c (elf_map_symbols): Add pnum_locals param. Return + number of locals syms via new param. + (swap_out_syms): Adjust to suit elf_map_symbols change. + +2013-02-19 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear + STO_MICROMIPS annotation. + +2013-02-19 Alan Modra + + * configure.in: Bump version to 2.23.52. + * elf-bfd.h (struct elf_build_id_info): New. + (struct elf_obj_tdata): Delete after_write_object_contents, + after_write_object_contents_info and build_id_size. Make build_id + a pointer to struct elf_build_id_info. + * elf.c (_bfd_elf_write_object_contents): Style. Update + after_write_ibject_contents invocation. + (elfobj_grok_gnu_build_id): Update for new build_id struct. Don't + allow zero size notes. + * configure: Regenerate. + +2013-02-18 Maciej W. Rozycki + + * elf64-mips.c (micromips_elf64_howto_table_rel): Add + R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. + (micromips_elf64_howto_table_rela): Likewise. + (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. + * elfn32-mips.c (elf_micromips_howto_table_rel): Add + R_MICROMIPS_SCN_DISP and R_MICROMIPS_JALR. + (elf_micromips_howto_table_rela): Likewise. + (micromips_reloc_map): Add BFD_RELOC_MICROMIPS_JALR. + +2013-02-18 Paul Brook + + * elfxx-mips.c (MICROMIPS_P): New macro. + (_bfd_mips_elf_symbol_processing): Use it. + +2013-02-18 Maciej W. Rozycki + + * elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Clarify + comment on _PROCEDURE_LINKAGE_TABLE_ creation. + +2013-02-18 Alan Modra + + PR ld/12549 + * elf-bfd.h (_bfd_elf_strtab_clear_refs): Delete. + (_bfd_elf_strtab_clear_all_refs): Declare. + (_bfd_elf_strtab_resize): Declare. + * elf-strtab.c (_bfd_elf_strtab_clear_refs): Delete. + (_bfd_elf_strtab_clear_all_refs): New function. + (_bfd_elf_strtab_resize): Likewise. + * elflink.c (elf_link_add_object_symbols): Use _bfd_elf_strtab_resize. + +2013-02-18 Alan Modra + + * elf-bfd.h (struct elf_obj_tdata): Move find_line_info, local_stubs, + local_call_stubs, elf_data_symbol, elf_text_symbol, elf_data_section, + and elf_text_section to.. + * elfxx-mips.c (struct mips_elf_obj_tdata): ..here. Update all refs. + * elf64-alpha.c (struct mips_elf_find_line): Rename to.. + (struct alpha_elf_find_line): ..this. + (struct alpha_elf_obj_tdata): Add find_line_info, update refs. + +2013-02-16 H.J. Lu + + PR ld/15146 + * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED + for references from the dummy bfd. + +2013-02-16 H.J. Lu + + PR ld/15149 + * elflink.c (elf_link_add_object_symbols): Also track weak + references. + +2013-02-15 H.J. Lu + + PR binutils/15151 + * archive.c (_bfd_find_nested_archive): Don't allow a nested + archive pointing to itself. + (_bfd_get_elt_at_filepos): Revert the last 2 changes. + +2013-02-15 Nick Clifton + + PR binutils/15140 + * archive.c (_bfd_get_elt_at_filepos): Prevent an infinite loop + accessing a corrupt nested archive. + +2013-02-13 Richard Sandiford + + * elfxx-mips.c (mips_got_page_ref): New structure. + (mips_got_page_entry): Use a section rather than a (bfd, symndx) + pair to represent the anchor point. + (mips_got_info): Add a got_page_refs field. + (mips_elf_link_hash_table): Add a sym_cache field. + (mips_got_page_ref_hash, mips_got_page_ref_eq): New functions. + (mips_got_page_entry_hash, mips_got_page_entry_eq): Update for + new anchor representation. + (mips_elf_create_got_info): Create got_page_refs rather than + got_page_entries. + (mips_elf_record_got_page_ref): New function. + (mips_elf_pages_for_range): Move further down file. + (mips_elf_record_got_page_entry): Likewise. Take a got as argument. + Use a section rather than a (bfd, symndx) pair to represent the + anchor point. + (mips_elf_resolve_got_page_ref): New function. + (mips_elf_resolve_final_got_entries): Use it to populate + got_page_entries. + (_bfd_mips_elf_check_relocs): Call mips_elf_record_got_page_ref + rather than mips_elf_record_got_page_entry. Only nullify h + afterwards. + (mips_elf_lay_out_got): Call mips_elf_resolve_final_got_entries + earlier. + +2013-02-12 Richard Sandiford + + * elfxx-mips.c (mips_elf_lay_out_got): Count VxWorks GOT relocs + in g->relocs. + +2013-02-12 Alan Modra + + * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide + suitable definition when using generic linker hash table. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_count_got_entries): Delete. + (mips_elf_check_recreate_got, mips_elf_recreate_got): Take a + mips_elf_traverse_got_arg. Count GOT entries. + (mips_elf_resolve_final_got_entries): Take the bfd_link_info + as argument. Update after above changes. + (mips_elf_merge_got, mips_elf_lay_out_got): Don't call + mips_elf_count_got_entries. Update the calls to + mips_elf_resolve_final_got_entries. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_tls_type): New enum. + (mips_got_entry): Add tls_initialized. + (mips_elf_got_entry_hash, mips_elf_got_entry_eq, mips_tls_got_relocs) + (mips_elf_count_got_entry, mips_elf_initialize_tls_index): Remove + GOT_TLS_TYPE masks. + (mips_elf_reloc_tls_type, mips_tls_got_entries) + (mips_elf_record_global_got_symbol, mips_elf_initialize_tls_index) + (_bfd_mips_elf_finish_dynamic_symbol): Use GOT_TLS_NONE rather + than GOT_NORMAL. + (mips_elf_initialize_tls_slots): Replace got_offset and tls_type_p + arguments with a GOT entry. Remove GOT_TLS_TYPE masks. Use + tls_initialized rather than GOT_TLS_DONE. + (mips_tls_got_index): Delete. + (mips_elf_local_got_index, mips_elf_global_got_index): Use + mips_elf_initialize_tls_slots rather than mips_tls_got_index. + (mips_elf_record_got_entry): Initialize tls_initialized. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_entry): Remove tls_ldm_offset. + (mips_elf_link_hash_entry): Remove tls_ie_type, tls_gd_type, + tls_ie_got_offset and tls_gd_got_offset. + (mips_elf_link_hash_newfunc): Remove initialization. + (mips_elf_create_got_info): Likewise. + (mips_elf_count_local_got_entries, mips_elf_count_global_tls_entries) + (mips_tls_single_got_index): Delete. + (mips_elf_local_got_index): Always use the GOT entry to track + GOT indices. + (mips_elf_global_got_index): Likewise. + (mips_elf_create_local_got_entry): Assert that TLS entries have + already been allocated. + (mips_elf_record_global_got_symbol): Don't initialize + tls_ie_type or tls_gd_type. + (mips_elf_count_got_symbols): Only count reloc-only GOT entries here. + (mips_elf_initialize_tls_index): Allocate a GOT index for every TLS + entry. + (mips_elf_lay_out_got): Use mips_elf_count_got_entries to count + the GOT entries. + (_bfd_mips_elf_finish_dynamic_symbol): Assert that TLS GOT offsets + have been allocated. + (_bfd_mips_elf_copy_indirect_symbol): Remove handling of + tls_ie_type and tls_gd_type. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_local_got_entry): Tidy. Avoid + aliasing violation. Check for htab allocation failures. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_primary_global_got_index): New function, + split out from... + (mips_elf_global_got_index): ...here. Reorder arguments so that + the output bfd and info come first. + (mips_elf_calculate_relocation): Update the call to + mips_elf_global_got_index accordingly. + (_bfd_mips_elf_finish_dynamic_symbol): Use + mips_elf_primary_global_got_index rather than + mips_elf_global_got_index. + (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_entry): Update comments. + (mips_elf_multi_got_entry_eq): Rename to... + (mips_elf_got_entry_eq): ...this, deleting the old definition. + (mips_elf_create_got_info): Remove master_got_p argument. + Always use mips_elf_got_entry_eq. + (mips_elf_bfd_got, mips_elf_multi_got, mips_elf_create_got_section): + Update calls accordingly. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_info): Remove bfd2got. + (mips_elf_bfd2got_hash): Delete. + (mips_elf_got_per_bfd_arg): Remove bfd2got. + (mips_elf_replace_bfd_got, mips_elf_count_got_entries): New functions. + (mips_elf_global_got_index, mips_elf_create_local_got_entry): Use + g->next to test for the multigot case. Use mips_elf_bfd_got rather + than mips_elf_got_for_ibfd. + (mips_elf_bfd2got_entry_hash, mips_elf_bfd2got_entry_eq) + (mips_elf_got_for_ibfd, mips_elf_get_got_for_bfd): Delete. + (mips_elf_make_got_per_bfd): Replace with... + (mips_elf_add_got_entry): ...this new function. + (mips_elf_make_got_pages_per_bfd): Replace with... + (mips_elf_add_got_page_entry): ...this new function. + (mips_elf_merge_got_with): Replace bfd2got argument with separate + bfd and GOT arguments. Use mips_elf_add_got_entry and + mips_elf_add_got_page_entry instead of mips_elf_make_got_per_bfd + and mips_elf_make_got_pages_per_bfd. Use mips_elf_replace_bfd_got + to set the BFD's GOT and free the old table. + (mips_elf_merge_got): Replace bfd2got argument with separate + bfd and GOT arguments. Apply mips_elf_resolve_final_got_entries. + Use mips_elf_count_got_entries to count the number of entries in + each GOT. Update the calls to mips_elf_merge_got_with. + (mips_elf_adjust_gp): Use g->next to test for the multigot case. + Use mips_elf_bfd_got rather than mips_elf_got_for_ibfd. + (mips_elf_multi_got): Don't create the bfd2got hash table. + Replace hash table traversal with a walk over the input bfds, + updating the call to mips_elf_merge_got. Use mips_elf_replace_bfd_got + to set the output bfd's GOT. + (mips_elf_lay_out_got): Rename "sub" to "ibfd". Record that all + bfds use the master GOT in the single-GOT case. + (_bfd_mips_elf_finish_dynamic_sections): Use mips_elf_bfd_got + rather than mips_elf_got_for_ibfd. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_obj_tdata): Add a got field. + (mips_elf_bfd_got, mips_elf_record_got_entry): New functions. + (mips_elf_record_global_got_symbol): Update the hash entry before + adding the mips_got_entry. Use mips_elf_record_got_entry to do + the latter. + (mips_elf_record_local_got_symbol): Use mips_elf_record_got_entry. + (mips_elf_record_got_page_entry): Record the entry in both the + master and bfd GOTs. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_recreate_got): Don't change the entry; + create another one if necessary. + (mips_elf_set_gotidx): New function. + (mips_elf_set_global_gotidx): Use it. + (mips_elf_initialize_tls_index): Likewise. Take a + mips_elf_traverse_got_arg as argument. + (mips_elf_lay_out_got): Update use of mips_elf_initialize_tls_index. + (mips_elf_multi_got): Likewise. Cope with error returns from + mips_elf_set_global_gotidx. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_info): Add relocs field. + (mips_elf_set_global_got_offset_arg, mips_elf_count_tls_arg): Replace + with... + (mips_elf_traverse_got_arg): ...this new structure. + (mips_elf_count_local_tls_relocs): Delete. + (mips_elf_count_global_tls_relocs): Likewise. + (mips_elf_count_got_entry): New function. + (mips_elf_count_local_got_entries): Likewise. + (mips_elf_count_global_tls_entries): Take a mips_elf_traverse_got_arg + rather than a mips_elf_count_tls_arg. Count both relocs and entries. + (mips_elf_record_local_got_symbol): Don't count got entries here. + (mips_elf_make_got_per_bfd): Use mips_elf_count_got_entry. + (mips_elf_set_global_got_offset): Split into... + (mips_elf_set_global_got_area, mips_elf_set_global_gotidx): ...these + new functions. Take a mips_elf_traverse_got_arg rather than a + mips_elf_set_global_got_offset_arg. Don't count TLS relocs here. + Use g->relocs to record the number of relocs needed for global GOT + entries. + (mips_elf_multi_got): Use mips_elf_traverse_got_arg rather than + mips_elf_set_global_got_offset_arg. Use the relocs field to count + relocations. Update for above function split. + (mips_elf_lay_out_got): Use mips_elf_count_local_got_entries + to count both the number of GOT entries and the number of TLS + relocs required by local entries. Likewise + mips_elf_count_global_tls_entries and global entries. + Remove uses of mips_elf_count_local_tls_relocs and + mips_elf_count_global_tls_relocs. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_entry): Update comment above tls_type entry + to say that each structure represents only one type of TLS reference. + (GOT_TLS_TYPE): New define. + (mips_elf_link_hash_entry): Temporarily split tls_type and + tls_got_offset into two variables each. + (mips_elf_link_hash_newfunc): Update accordingly. + (mips_elf_got_entry_eq, mips_elf_got_entry_hash) + (mips_elf_multi_got_entry_eq): Require the tls_type to be the same. + (mips_elf_reloc_tls_type, mips_tls_got_entries): New functions. + (mips_tls_got_relocs): Use a switch statement. + (mips_elf_count_global_tls_entries): Handle the new hash entry fields. + (mips_elf_initialize_tls_slots): Use a switch statement. Avoid + local "offset" variable. + (mips_tls_got_index): Remove r_type argument and assert. Remove + code that handled entries with two TLS types; always use the + original got_index instead. + (mips_tls_single_got_index): New function. + (mips_elf_local_got_index): Use entry->tls_type to check for + TLS entries. Use mips_tls_single_got_index. Update call to + mips_tls_got_index. + (mips_elf_global_got_index): Use mips_elf_reloc_tls_type. + Use p->tls_type to check for TLS entries. Update call to + mips_tls_got_index. Use mips_tls_single_got_index. + (mips_elf_create_local_got_entry): Use mips_elf_reloc_tls_type. + Use entry.tls_type to check for TLS entries. + (mips_elf_record_global_got_symbol): Replace tls_flag argument + with r_type argument. Use mips_elf_reloc_tls_type. + Set up the new hash entry fields. + (mips_elf_record_local_got_symbol): Replace tls_flag argument + with r_type argument. Use mips_elf_reloc_tls_type and + mips_tls_got_entries. Remove code that handled entries + with multiple TLS types. + (mips_elf_make_got_per_bfd): Use mips_tls_got_entries. + (mips_elf_initialize_tls_index): Handle new hash entry fields. + Use equality rather than masks when checking for specific TLS types. + Use mips_tls_got_entries. Remove code that handled entries + with multiple TLS types. + (mips_elf_calculate_relocation): Use TLS_RELOC_P instead of + testing the hash table entry. + (_bfd_mips_elf_check_relocs): Update calls to + mips_elf_record_global_got_symbol and mips_elf_record_local_got_symbol. + (_bfd_mips_elf_finish_dynamic_symbol): Don't check h->type. + (_bfd_mips_elf_copy_indirect_symbol): Handle new hash entry fields. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_multi_got_entry_hash): Rename to... + (mips_elf_got_entry_hash): ...this, deleting the old version. + (mips_elf_create_got_info): Use mips_elf_got_entry_hash for + both types of GOT. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_got_info): New function. + (mips_elf_get_got_for_bfd, mips_elf_multi_got): Use it. + (mips_elf_create_got_section): Likewise. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_record_local_got_symbol): Always set + gotidx to -1. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_multi_got): Simplify size calculation. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_got_info): Move global_gotsym to... + (mips_elf_link_hash_table): ...here. Update rest of file accordingly. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_count_global_tls_entries) + (mips_elf_count_global_tls_relocs): Don't count indirect or + warning symbols. + (mips_elf_multi_got, mips_elf_lay_out_got): Assert that the right + number of TLS entries were allocated. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count + if there are TLS relocations. + +2013-02-11 Richard Sandiford + + * elfxx-mips.c (mips_elf_recreate_got): Remove free. + (mips_elf_resolve_final_got_entries): Remove bogus comment. + +2013-02-11 Alan Modra + + * elfcode.h (elf_checksum_contents): Free contents. + * elf-bfd.h (_bfd_elf_link_hash_table_free): Declare. + * elflink.c (_bfd_elf_link_hash_table_free): New function. + (elf_final_link_free): New function, extracted from.. + (bfd_elf_final_link): ..here. Always call + _bfd_elf_write_section_eh_frame_hdr. + * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Default to + _bfd_elf_link_hash_table_free. + * libbfd-in.h (_bfd_merge_sections_free): Declare. + * libbfd.h: Regenerate. + * merge.c (_bfd_merge_sections_free): New function. + * elf-eh-frame.c (_bfd_elf_write_section_eh_frame_hdr): Free + hdr_info->array. + * elf-m10300.c (elf32_mn10300_link_hash_table_free): Call + _bfd_elf_link_hash_table_free. + * elf32-arm.c (elf32_arm_link_hash_table_free): Likewise. + * elf32-avr.c (elf32_avr_link_hash_table_free): Likewise. + * elf32-hppa.c (elf32_hppa_link_hash_table_free): Likewise. + * elf32-i386.c (elf_i386_link_hash_table_free): Likewise. + * elf32-m68hc1x.c (m68hc11_elf_hash_table_free): Likewise. + * elf32-m68k.c (elf_m68k_link_hash_table_free): Likewise. hooks/post-receive -- Repository for Project Archer.