From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16370 invoked by alias); 28 Jun 2013 13:29:58 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 16351 invoked by uid 306); 28 Jun 2013 13:29:58 -0000 Date: Fri, 28 Jun 2013 13:29:00 -0000 Message-ID: <20130628132956.16162.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] tromey/fully-parallelize-test-suite: add README.archer X-Git-Refname: refs/heads/tromey/fully-parallelize-test-suite X-Git-Reftype: branch X-Git-Oldrev: 2022f953aed30c0c6b2da9518468c166af4cfbb3 X-Git-Newrev: 8d9ffd054acdbe8b6abd459cc15a9ab40119981f X-SW-Source: 2013-q2/txt/msg00098.txt.bz2 List-Id: The branch, tromey/fully-parallelize-test-suite has been updated discards 2022f953aed30c0c6b2da9518468c166af4cfbb3 (commit) discards e53e185b87191b718e279dfe3bd69dd84805197f (commit) discards 92f692d645501b2b5b326e934232bc0eb7686670 (commit) discards 1ef9a5aec18607fd19ddae5bd2f54eb594ebbd7b (commit) discards 2d23de9cd41dc3f2f48dbee83aaa9f4224c07103 (commit) discards 5f8340cfaa941317b2d8ee5aedcec95b1aeb523b (commit) discards 3b8d403a54c1ccc97c4468549e78e17cb041bd50 (commit) discards dba2a1e3a2a5bcab27610e8acca85d2800fbe5c5 (commit) discards 64710c577db8179463fdfe0860ea30e444406808 (commit) discards 615f9830d37254570d44d4ad1ec9b5ce8020c0f6 (commit) discards 70404a0c8f1646f8d277e969d426577cdf60690a (commit) discards 459e7163693f656692ed76503dad1eb9f6614915 (commit) discards d9fe82804d3445d006f41ff4620a19fba26d4c9d (commit) discards b7940cc6fcc80ddc627b6b437ac61ba1067794d2 (commit) discards c1056398415075e7534ffc636c82f836dd9c7d39 (commit) discards 113ceabe8d51cc566b34046c9d6f62d31318e106 (commit) discards 5672aac9681ca836f801b57ce59119e561eba96f (commit) discards 469b84500bcc03b557ff3056409e67e62daf46da (commit) discards 453498244a6418f71005e8e8075c09b60518b95a (commit) discards c22cda9d28fa0b4c12f7d9a06408ec15bce27715 (commit) discards f561baf4e9bcb3b0664972f51f6d79fc6c1428ef (commit) discards 45fc858bf1c71101476bc2a20d897daa7189c216 (commit) discards 06f2d08a77ae79306c6d80181ad62156cd1f2ac6 (commit) discards 9fd9aef2d13b25b0e7faea9a96ef07a20630feba (commit) discards c6565bc38e893bdb07828008d01dce372eacdb60 (commit) discards 815d2d3249bf90284e5a9f12ddabf3e78582c968 (commit) discards af07576b159dfb20dc0a8586c3877238645815b3 (commit) discards cf6f65f390ebfcbda054dc65cc6d840b323b4992 (commit) discards ff1f0902d6cc02ba1bcd13e58a4fe2c7e172b9c7 (commit) discards a0fdbad1c2106fe8870cb77c7e68b8d01b9994b6 (commit) discards 38cc05b4cb009d26bf0303fae51fe5851ac0eb49 (commit) via 8d9ffd054acdbe8b6abd459cc15a9ab40119981f (commit) via f2c65a9ed7bf0b6b79ad0bd7c1387da396c549ec (commit) via 0ab8d73048297a3597aee7e022f204cd4d8217de (commit) via 2975d727862b717c84afb94fcd1663c36833da7c (commit) via 6967611173f63ac489421b394407dceb37ceac20 (commit) via 79b23685f4c724316308f2b9a28edba89dd2f108 (commit) via bda6ee5807ccb85927211562834cbc8d31a26fa7 (commit) via 64b40225acf6d1c197e74552672bce27bc67681d (commit) via 12fce489aa52355fddf2ebda1118e3fcef5fc615 (commit) via eaa5ea8836eadc0aa34c792119ca772258216fdb (commit) via a1cd431c86f3a37a0f802849fffc7ad24308f3c8 (commit) via d2fd139dc09099c1d1e67927800bdb095894dc45 (commit) via d6febd0048c3f9c44406cbff86d677832de8eaf4 (commit) via 1cb85cbae6d1e03cf5a82e3b81b90f43b1e2e0cc (commit) via d568ab90575bfd6abbfb30b0d694b86c536c6b23 (commit) via 258132a978fe53d1489db6d9792ad5ec48a6f042 (commit) via a4714a6878939a92e11d90f4401a8b877797bc3e (commit) via 2957b15e297a270facab4be29fd1dec260e20aa2 (commit) via 2a02b435ddd17855879243baaad5efe552df1c57 (commit) via ee6ca8a64a8ef8552ce85f727180cb8359423577 (commit) via 2a2cc2438e462e31ad9c74d94aba1f4ec844bdc5 (commit) via c05838dae72a1e47cfd6f75d9edb331e4cc8b6d8 (commit) via 9065a444e0ecaa9b1a03698cb20601517b323283 (commit) via e7d1c3f223861d757daee745d17083a09009b404 (commit) via 9b47944d1dfb270b96575030f60fce7e224a090e (commit) via a26500d4e467bb2b346af1fbbf3334c5b2d575cc (commit) via a19811e5d646a5781717d5ae7f8101268bba5f9d (commit) via fdcc9b1a8661bec9a17580d486411c462f778a1d (commit) via 7439a4619ab30e60bb981108c7ba93e84ba9231c (commit) via 99b4e24798a13b2c6d999b6829533905a4d645ed (commit) via d01affbdda5f73c50491bf665864f2480bc92418 (commit) via 296ea2099b85c831c6a8ab28eb438ae79b18800e (commit) via 1f79c6d3c5e27cc93b249cf48cc7a8a54a883f64 (commit) via 76c9d63c300e843dacf33da5f8b90ec7809e10ef (commit) via 57009b17f3228be68ebb4c64a2742522a14ca15e (commit) via c74ac2ec3c751dc1f76bcc6c9230bb46295397ed (commit) via ac022b2d50aa120b740bbb2ee132c8880fa2d9c9 (commit) via 7d5d2fc0a0ac2dd9d53d04e9ad823f87c46158c1 (commit) via 8d0eec2573ce7ba03e0512643e61b40cb90896ea (commit) via c37a1df35a4bd2d460fa8d0467e0f331ed9a451f (commit) via 935c9392d77df3b97f63198a3929b57dc96660aa (commit) via f97e86f7004af974b718c623cda41507ae0d4348 (commit) via 0472685f694f8afe7a7582e0a528e446032af2d8 (commit) via 27a1409b68c04bf47488cefc802ba1c9d0e967d8 (commit) via 491eba65936da9740856a11dc5facebf6842c07a (commit) via 1136353c91b5aaad7f6135082ef396b1606c7a87 (commit) via 1335b40f19a94983ec2926156fbf6f92778f446d (commit) via b3e2bade1b515a50e680fbf5771f5a451e72fcae (commit) via 68ca8a65acdcf8932309fdbced88b7f6b4fa0346 (commit) via b30a226a69f155ac6ab02a5dcb0ada444730d5b4 (commit) via eded02361148823ad8fbb9dae114275c82ea6969 (commit) via 2345e28e4186c9f65ac3a089d02af119d7338a70 (commit) via 1d7cb0bd9a442184323f6995b52e859a7bb9cccb (commit) via 7ed4604923968abf816aecd2b5e127417ea18e34 (commit) via af702e9f1f5023fb5ac9b06ce80e61da936fc8cf (commit) via 03a7a095719ba7eab65a965af5532e064095aed8 (commit) via 8dd829c3b71bce6c874eb3304de5069f19ceb460 (commit) via 4cc243ce08bddf955f094743278dd9bc0ab57605 (commit) via 946abbef95d766ea5d8f117f2578fd02bb7bf835 (commit) via 1a0fd27c4c0ec13001afd60215c02ac80f9ab7af (commit) via 20eddc5f286506ea69d489de8d8cd736e20127be (commit) via c895f69a3f937290d826a1ca2cfd7070f0a92572 (commit) via 79b2e29444c27e1726c5193a6341951f02e78ac1 (commit) via 53fc885c27345e68c4f7fabf96694741af0827d7 (commit) via 919cff269683c2002d1e46d70de0679931bfc2e9 (commit) via 989533498439dc95e510abfb62a401e0eaf62669 (commit) via e644fa49f8713ef341bea7deddb385a470c91b5a (commit) via ed2129b272ce2d519a74ab158e80fde28fce7137 (commit) via bc269e81353eac359e15fd5e391e4dbef07c6bab (commit) via f21b8497f460826d16c6b053fe573f919ad3332f (commit) via e7ec122190f1bf4f15ca10c4911406954793a570 (commit) via a32d9889e30d1c39a9996ab266bb474020b96cf9 (commit) via ea405824585242fef88143406a8f9ffc7bb480b9 (commit) via 9bf8fe0d6cf3a8d0c4c881ace66c7b1e1f00018f (commit) via 06b5137ca80f96dac84233e93e07a253bab826f1 (commit) via 4aa7e6ab18ac49fcd1ac54cfa422d1e0d935da15 (commit) via 752e59abd673a847e6a021343f94a4fbb905e1ae (commit) via df53db70bfc83857f6f292850a5d05dc9e3c64b8 (commit) via 9197389ee90f6d2b3fe489d8cc376f26e4827217 (commit) via bfd84e7c17d73287ba08f599a9261d685004822f (commit) via 683454e58c93fef964b0a488e0b5ff6de3b13f85 (commit) via eded4b816d7293af0015da8bf1e76ba1668f47f4 (commit) via bc8326fc6ab96b46400c415e2c50c3a984bfd503 (commit) via 9de54a4fad6963fb9bc2472567c983b8a6ff32bd (commit) via 49610b5e9d140df0225634a14bb5bc2641e3ed8f (commit) via 091a9138460dda434a38fab9b789471749da5454 (commit) via b2a893ee758e81bf5611112d62e3d4fa7da7d84b (commit) via f4f9399f80652e95afa0b4c2e099508cc6b2646d (commit) via 61f6db26fad51a7a4b2d4d61a134d5f98cbdf1e1 (commit) via b1031f1ff0af97e45166f98d645707735e8e5e78 (commit) via bc30f4ee106d73efe2f50645a906967106b63071 (commit) via 273839b58a3773e6e6e9fc704201d32232f88050 (commit) via 9fc8e7c773c7af26f04e664c3892b3b4a047fd3b (commit) via 1bc26acb597f4f82d4d62db50f13c9cbb7eb8009 (commit) via 2eb45b34dd1fa9eef4dc9e85122cbee885eb6ab9 (commit) via 4209cdad461e805602e1fef16282e77dac70e880 (commit) via 25a948329f80baff44515be099a541903d6f653d (commit) via c5fd8c697168f895c5ccf6600b3ee34634c993e0 (commit) via 67ff5fa72bd21c7cb314e72c578c3eb7cfc6d4c3 (commit) via 95b50690fb433e447028d23ca336a8ce645bdb58 (commit) via 8200bb401fed0792f31532010fbe662a92b738bd (commit) via fb2e9a8486bba186810811a7a0f880699f3157d8 (commit) via d4e5ccc4f41ced3661cbe3431420422dbde85e14 (commit) via ce0714afbc64c8504eb139de89265ce4c74798e2 (commit) via 0304a52801dfc162aa75d635eb6dce859cdcf9da (commit) via dc34edb76e306f371e21dd737888026ad93e68f2 (commit) via a0c4c670d30fa23fefb93e9ab898cb936fe0f11b (commit) via 750bfa3fc6490159aacf30e9ad55e16fa49beb1a (commit) via f4af6bc3a6b11b44fc19b7e1c01d6ec221db1ce1 (commit) via 6c9c6508cce1353bde5811cce4040a1d5a302478 (commit) via 7a55df68b203148e593daea04b5d6af075e095e9 (commit) via 60d1bdf1b1fc948fd8c35d73d51798a211176122 (commit) via 8eaac0c2c003423056f33308d6bc7e268af8fbc0 (commit) via 5c5458af8483dc197098ad3e90502a4b2a9746ad (commit) via 90b6ecf12677bc912c2fb47b933fa34d2881bb39 (commit) via a5224da88eb910b367a96bdc0c42a100781fabfe (commit) via 128c4f26098823e2f0253ca8d24d46fe14691877 (commit) via f114db4d2eba0fba283c82ec1bd9d882bc49ce9b (commit) via 27ef916ae7ad89e01eb4ef7b24fd7be452b96e72 (commit) via 51f2383cef7d1b3dc06836200ee56af7cd4efa01 (commit) via ccadbb00440d6633f3be910c3894b4a2e628dd23 (commit) via 63a1873ab1963c9f60c495a297711aebb538b15c (commit) via 7980062fe95e0138ef29beb5e496885f071a8b38 (commit) via 6f60387731a8855367034a910d14047d4ce1f613 (commit) via 315a19370d66e46d8a7a16bd71aa331c3622341e (commit) via 2bc75af3916835a6b202a7fda7522208dc118ce0 (commit) via 0252e90ede531c864c0e079c45df7218680f71d6 (commit) via 71978859f63b2ef422d2b2a02d43e4f510a92260 (commit) from 2022f953aed30c0c6b2da9518468c166af4cfbb3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 8d9ffd054acdbe8b6abd459cc15a9ab40119981f Author: Tom Tromey Date: Fri Mar 1 13:26:56 2013 -0700 add README.archer commit f2c65a9ed7bf0b6b79ad0bd7c1387da396c549ec Author: Tom Tromey Date: Thu Feb 21 14:40:37 2013 -0700 fix comment commit 0ab8d73048297a3597aee7e022f204cd4d8217de Author: Tom Tromey Date: Thu Feb 21 12:42:12 2013 -0700 make old-style mode work properly commit 2975d727862b717c84afb94fcd1663c36833da7c Author: Tom Tromey Date: Fri Jan 25 09:33:28 2013 -0700 remove some dead code commit 6967611173f63ac489421b394407dceb37ceac20 Author: Tom Tromey Date: Fri Jan 25 09:33:07 2013 -0700 directly use gdb_test_file_name in standard_output_file commit 79b23685f4c724316308f2b9a28edba89dd2f108 Author: Tom Tromey Date: Fri Jan 25 08:55:56 2013 -0700 fully parallelize test suite commit bda6ee5807ccb85927211562834cbc8d31a26fa7 Author: Tom Tromey Date: Fri Jan 25 08:20:42 2013 -0700 clean up cache and inotify handling commit 64b40225acf6d1c197e74552672bce27bc67681d Author: Tom Tromey Date: Fri Jan 25 08:04:07 2013 -0700 remove redundant return commit 12fce489aa52355fddf2ebda1118e3fcef5fc615 Author: Tom Tromey Date: Tue Jan 15 11:45:07 2013 -0700 more dwarf2, now clean commit eaa5ea8836eadc0aa34c792119ca772258216fdb Author: Tom Tromey Date: Tue Jan 8 10:18:38 2013 -0700 more fix python commit a1cd431c86f3a37a0f802849fffc7ad24308f3c8 Author: Tom Tromey Date: Thu Nov 8 12:28:34 2012 -0700 tweaks commit d2fd139dc09099c1d1e67927800bdb095894dc45 Author: Tom Tromey Date: Thu Nov 8 08:10:33 2012 -0700 add filesystem-based cache commit d6febd0048c3f9c44406cbff86d677832de8eaf4 Author: Tom Tromey Date: Thu Nov 8 07:22:00 2012 -0700 remove subdir Makefiles commit 1cb85cbae6d1e03cf5a82e3b81b90f43b1e2e0cc Author: Tom Tromey Date: Wed Nov 7 14:47:48 2012 -0700 prelink support fix commit d568ab90575bfd6abbfb30b0d694b86c536c6b23 Author: Tom Tromey Date: Wed Nov 7 12:17:44 2012 -0700 even more fixes commit 258132a978fe53d1489db6d9792ad5ec48a6f042 Author: Tom Tromey Date: Wed Nov 7 09:17:00 2012 -0700 python fixup commit a4714a6878939a92e11d90f4401a8b877797bc3e Author: Tom Tromey Date: Wed Nov 7 08:46:00 2012 -0700 more fixes commit 2957b15e297a270facab4be29fd1dec260e20aa2 Author: Tom Tromey Date: Tue Nov 6 12:58:21 2012 -0700 even more gdb.ase still a bit more to go commit 2a02b435ddd17855879243baaad5efe552df1c57 Author: Tom Tromey Date: Tue Nov 6 11:36:46 2012 -0700 more gdb.arch still need to handle the pure-x86 case commit ee6ca8a64a8ef8552ce85f727180cb8359423577 Author: Tom Tromey Date: Tue Nov 6 11:25:42 2012 -0700 mi-basics fixup - use objdir but "ok" commit 2a2cc2438e462e31ad9c74d94aba1f4ec844bdc5 Author: Tom Tromey Date: Tue Nov 6 09:51:43 2012 -0700 avoid objdir in gdb.trace commit c05838dae72a1e47cfd6f75d9edb331e4cc8b6d8 Author: Tom Tromey Date: Wed Aug 15 07:34:54 2012 -0600 python fix commit 9065a444e0ecaa9b1a03698cb20601517b323283 Author: Tom Tromey Date: Tue Aug 14 15:00:42 2012 -0600 dwarf2 fixups for output change commit e7d1c3f223861d757daee745d17083a09009b404 Author: Tom Tromey Date: Tue Aug 14 14:35:09 2012 -0600 more gdb.base commit 9b47944d1dfb270b96575030f60fce7e224a090e Author: Tom Tromey Date: Tue Aug 14 10:35:51 2012 -0600 dwarf2 fixup commit a26500d4e467bb2b346af1fbbf3334c5b2d575cc Author: Tom Tromey Date: Mon Aug 13 13:31:58 2012 -0600 final fix in gdb.ada commit a19811e5d646a5781717d5ae7f8101268bba5f9d Author: Tom Tromey Date: Wed Jul 11 09:54:56 2012 -0600 a little more objdir removal also a patchlet to put stuff into a new output dir commit fdcc9b1a8661bec9a17580d486411c462f778a1d Author: Tom Tromey Date: Thu Jun 21 14:07:09 2012 -0600 first bits of gdb.arch commit 7439a4619ab30e60bb981108c7ba93e84ba9231c Author: Tom Tromey Date: Thu Jun 21 14:05:33 2012 -0600 first part of gdb.base commit 99b4e24798a13b2c6d999b6829533905a4d645ed Author: Tom Tromey Date: Wed Jul 11 13:56:13 2012 -0600 add dwz test commit d01affbdda5f73c50491bf665864f2480bc92418 Author: Pedro Alves Date: Fri Jun 28 12:36:47 2013 +0000 [PR tui/14880] Fetch values before comparing their contents. PR tui/14880 shows a reproducer that triggers this assertion: int value_available_contents_eq (const struct value *val1, int offset1, const struct value *val2, int offset2, int length) { int idx1 = 0, idx2 = 0; /* This routine is used by printing routines, where we should already have read the value. Note that we only know whether a value chunk is available if we've tried to read it. */ gdb_assert (!val1->lazy && !val2->lazy); (top-gdb) bt #0 internal_error (file=0x88a26c "../../src/gdb/value.c", line=549, string=0x88a220 "%s: Assertion `%s' failed.") at ../../src/gdb/utils.c:844 #1 0x000000000057b9cd in value_available_contents_eq (val1=0x10fa900, offset1=0, val2=0x10f9e10, offset2=0, length=8) at ../../src/gdb/value.c:549 #2 0x00000000004fd756 in tui_get_register (frame=0xd5c430, data=0x109a548, regnum=0, changedp=0x109a560) at ../../src/gdb/tui/tui-regs.c:736 #3 0x00000000004fd111 in tui_check_register_values (frame=0xd5c430) at ../../src/gdb/tui/tui-regs.c:521 #4 0x0000000000501884 in tui_check_data_values (frame=0xd5c430) at ../../src/gdb/tui/tui-windata.c:234 #5 0x00000000004f976f in tui_selected_frame_level_changed_hook (level=1) at ../../src/gdb/tui/tui-hooks.c:222 #6 0x00000000006f0681 in select_frame (fi=0xd5c430) at ../../src/gdb/frame.c:1490 #7 0x00000000005dd94b in up_silently_base (count_exp=0x0) at ../../src/gdb/stack.c:2268 #8 0x00000000005dd985 in up_command (count_exp=0x0, from_tty=1) at ../../src/gdb/stack.c:2280 #9 0x00000000004dc5cf in do_cfunc (c=0xd3f720, args=0x0, from_tty=1) at ../../src/gdb/cli/cli-decode.c:113 #10 0x00000000004df664 in cmd_func (cmd=0xd3f720, args=0x0, from_tty=1) at ../../src/gdb/cli/cli-decode.c:1888 #11 0x00000000006e43e1 in execute_command (p=0xc7e6c2 "", from_tty=1) at ../../src/gdb/top.c:489 The fix is to fetch the value before comparing the contents. The comment additions to value.h explain why it can't be value_available_contents_eq itself that fetches the contents. Tested on x86_64 Fedora 17. gdb/ 2013-06-28 Pedro Alves PR tui/14880 * tui/tui-regs.c (tui_get_register): Fetch register value contents before checking whether they're available. * value.c (value_available_contents_eq): Change comment. * value.h (value_available_contents_eq): Expand comment. commit 296ea2099b85c831c6a8ab28eb438ae79b18800e Author: mgherzan Date: Fri Jun 28 12:29:15 2013 +0000 gdbserver: fix the standalone build When directly invoking gdb/gdbserver/configure && make, the build will fail because the $(host_alias) is empty and thus create-version.sh does not get enough parameters. The output of gdbserver --version without this patch (built like above): [...] This gdbserver was configured as "" After applying this patch: [...] This gdbserver was configured as "x86_64-unknown-linux-gnu" 2013-06-28 Mircea Gherzan gdbserver: * configure.ac (version_host, version_target): Set and AC_SUBST them. * configure: Rebuild. * Makefile.in (version_host, version_target): Get from configure. (version.c): Use $(version_host) and $(version_target). Change-Id: Id48240532ad3d624ec78867a6db5ebd4c09583ff Signed-off-by: Mircea Gherzan commit 1f79c6d3c5e27cc93b249cf48cc7a8a54a883f64 Author: Nick Clifton Date: Fri Jun 28 12:22:42 2013 +0000 PR ld/15302 * elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch. commit 76c9d63c300e843dacf33da5f8b90ec7809e10ef Author: Nick Clifton Date: Fri Jun 28 07:19:43 2013 +0000 * rx.c (SHIFT_OP): A shift by zero still sets the condition codes. commit 57009b17f3228be68ebb4c64a2742522a14ca15e Author: Alan Modra Date: Fri Jun 28 00:00:04 2013 +0000 daily update commit c74ac2ec3c751dc1f76bcc6c9230bb46295397ed Author: Tom Tromey Date: Thu Jun 27 19:52:41 2013 +0000 * target.c (find_run_target): Remove. * target.h (find_run_target): Remove. commit ac022b2d50aa120b740bbb2ee132c8880fa2d9c9 Author: Tom Tromey Date: Thu Jun 27 19:38:55 2013 +0000 * corelow.c (core_gdbarch): Now static. commit 7d5d2fc0a0ac2dd9d53d04e9ad823f87c46158c1 Author: Tom Tromey Date: Thu Jun 27 19:38:24 2013 +0000 * target.c (target_struct_index): Remove. commit 8d0eec2573ce7ba03e0512643e61b40cb90896ea Author: Pedro Alves Date: Thu Jun 27 19:17:26 2013 +0000 Move comment on the 'stepping over resolver' mechanism to the internals manual. This whole comment is now a bit out of place. I looked into moving it to handle_inferior_event, close to where in_solib_dynsym_resolve_code is used, but then there are 3 such places. I then looked at fragmenting it, pushing bits closer to the definitions of in_solib_dynsym_resolve_code and gdbarch_skip_solib_resolver, but then we'd lose the main advantage which is the overview. In the end, I realized this can fit nicely as internals manual material. This could possibly be a subsection of a new "run control", or "source stepping" or "stepping" or some such a bit more general section, but we can do that when we have more related content... Even the "single stepping" section is presently empty... gdb/doc/ 2013-06-27 Pedro Alves * gdbint.texinfo (Algorithms) : New section, based on infrun.c comment. gdb/ 2013-06-27 Pedro Alves * infrun.c: Remove comment describing the 'stepping over runtime loader dynamic symbol resolution code' mechanism; moved to gdbint.texinfo. commit c37a1df35a4bd2d460fa8d0467e0f331ed9a451f Author: Tom Tromey Date: Thu Jun 27 19:04:28 2013 +0000 Fix up broken ChangeLog entries. In some previous commits I forgot to prefix the file names with "gdb.base". This fixes the ChangeLog entries to be correct. commit 935c9392d77df3b97f63198a3929b57dc96660aa Author: Tom Tromey Date: Thu Jun 27 19:00:47 2013 +0000 test suite update - gdb.base/[t-z] Convert files gdb.base/[t-z]*.exp to use standard_output_file et al. * gdb.base/testenv.exp, gdb.base/tui-layout.exp, gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp, gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp, gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp, gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp, gdb.base/watch-read.exp, gdb.base/watch-vfork.exp, gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp, gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit f97e86f7004af974b718c623cda41507ae0d4348 Author: Tom Tromey Date: Thu Jun 27 18:58:27 2013 +0000 test suite update - gdb.base/s* Convert files gdb.base/s*.exp to use standard_output_file et al. * gdb.base/save-bp.exp, gdb.base/savedregs.exp, gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp, gdb.base/set-lang-auto.exp, gdb.base/setshow.exp, gdb.base/setvar.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp, gdb.base/sigall.exp, gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp, gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp, gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp, gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp, gdb.base/signull.exp, gdb.base/sigrepeat.exp, gdb.base/sigstep.exp, gdb.base/sizeof.exp, gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp, gdb.base/solib-display.exp, gdb.base/solib-nodir.exp, gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp, gdb.base/solib-weak.exp, gdb.base/source.exp, gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp, gdb.base/stap-probe.exp, gdb.base/start.exp, gdb.base/step-break.exp, gdb.base/step-bt.exp, gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp, gdb.base/step-test.exp, gdb.base/structs.exp, gdb.base/structs2.exp, gdb.base/structs3.exp, gdb.base/symbol-without-target_section.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit 0472685f694f8afe7a7582e0a528e446032af2d8 Author: Tom Tromey Date: Thu Jun 27 18:53:49 2013 +0000 test suite update - gdb.base/[n-r] Convert files gdb.base/[n-r]*.exp to use standard_output_file et al. * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp, gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp, gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp, gdb.base/pending.exp, gdb.base/permissions.exp, gdb.base/pie-execl.exp, gdb.base/pointers.exp, gdb.base/pr11022.exp, gdb.base/print-file-var.exp, gdb.base/printcmds.exp, gdb.base/prologue.exp, gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp, gdb.base/ptype.exp, gdb.base/randomize.exp, gdb.base/readline-ask.exp, gdb.base/recpar.exp, gdb.base/recurse.exp, gdb.base/relativedebug.exp, gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp, gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit 27a1409b68c04bf47488cefc802ba1c9d0e967d8 Author: Tom Tromey Date: Thu Jun 27 18:51:30 2013 +0000 test suite update - gdb.base/[h-m] Convert files gdb.base/[h-m]*.exp to use standard_output_file et al. * hook-stop-continue.exp, hook-stop-frame.exp, huge.exp, included.exp, inferior-died.exp, infnan.exp, info-fun.exp, info-macros.exp, info-os.exp, info-proc.exp, info-target.exp, infoline.exp, interp.exp, interrupt.exp, jit-simple.exp, jit-so.exp, jump.exp, kill-after-signal.exp, label.exp, langs.exp, lineinc.exp, list.exp, logical.exp, long_long.exp, longjmp.exp, macscp.exp, maint.exp, memattr.exp, mips_pro.exp, miscexprs.exp, morestack.exp, moribund-step.exp, multi-forks.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit 491eba65936da9740856a11dc5facebf6842c07a Author: Tom Tromey Date: Thu Jun 27 18:50:29 2013 +0000 test suite update - gdb.base/[efg] Convert files gdb.base/[efg]*.exp to use standard_output_file et al. * ena-dis-br.exp, enum_cond.exp, enumval.exp, environ.exp, eu-strip-infcall.exp, eval-skip.exp, exe-lock.exp, expand-psymtabs.exp, exprs.exp, fileio.exp, find.exp, fixsection.exp, foll-exec.exp, foll-fork.exp, fortran-sym-case.exp, frame-args.exp, freebpcmd.exp, fullname.exp, funcargs.exp, gcore-buffer-overflow.exp, gcore.exp, gdb1090.exp, gdb11530.exp, gdb11531.exp, gdb1250.exp, gdb1555.exp, gdb1821.exp, gdbindex-stabs.exp, gdbvars.exp, gnu-ifunc.exp, gnu_vector.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit 1136353c91b5aaad7f6135082ef396b1606c7a87 Author: Tom Tromey Date: Thu Jun 27 18:49:02 2013 +0000 test suite update - gdb.base/[cd] Convert files gdb.base/[cd]*.exp to use standard_output_file et al. * call-ar-st.exp, call-rt-st.exp, call-sc.exp, call-signal-resume.exp, call-strs.exp, callexit.exp, callfuncs.exp, catch-load.exp, catch-syscall.exp, charset.exp, checkpoint.exp, chng-syms.exp, code-expr.exp, code_elim.exp, commands.exp, completion.exp, complex.exp, cond-expr.exp, condbreak.exp, consecutive.exp, constvars.exp, corefile.exp, ctxobj.exp, cursal.exp, cvexpr.exp, dbx.exp, default.exp, define.exp, del.exp, detach.exp, dfp-test.exp, display.exp, dmsym.exp, dump.exp, dup-sect.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit 1335b40f19a94983ec2926156fbf6f92778f446d Author: Tom Tromey Date: Thu Jun 27 18:47:52 2013 +0000 test suite update - gdb.base/[ab] Convert files gdb.base/[ab]*.exp to use standard_output_file et al. * a2-run.exp, all-bin.exp, annota1.exp, annota3.exp, anon.exp, args.exp, arithmet.exp, arrayidx.exp, assign.exp, async-shell.exp, async.exp, attach-pie-misread.exp, attach-pie-noexec.exp, attach-twice.exp, attach.exp, auxv.exp, bang.exp, bfp-test.exp, bigcore.exp, bitfields.exp, bitfields2.exp, break-entry.exp, break-interp.exp, break-on-linker-gcd-function.exp, breakpoint-shadow.exp: Use standard_testfile, standard_output_file, prepare_for_testing, clean_restart. commit b3e2bade1b515a50e680fbf5771f5a451e72fcae Author: Pedro Alves Date: Thu Jun 27 17:53:39 2013 +0000 Fix catch_command_errors's prototype. gdb/ 2013-06-27 Pedro Alves * exceptions.c (catch_command_errors): Remove spurious space. * exceptions.h (catch_command_errors): Second parameter is "arg", not "command". commit 68ca8a65acdcf8932309fdbced88b7f6b4fa0346 Author: mshawcroft Date: Thu Jun 27 15:47:55 2013 +0000 [AArch64] Fix the placement of &_DYNAMIC in the GOT. commit b30a226a69f155ac6ab02a5dcb0ada444730d5b4 Author: qiyao Date: Thu Jun 27 00:12:13 2013 +0000 gdb/ * common/create-version.sh: Update comments. Handle the case that TARGET_ALIAS is empty. commit eded02361148823ad8fbb9dae114275c82ea6969 Author: Alan Modra Date: Thu Jun 27 00:00:04 2013 +0000 daily update commit 2345e28e4186c9f65ac3a089d02af119d7338a70 Author: Pedro Alves Date: Wed Jun 26 21:38:22 2013 +0000 Garbage collect SOLIB_IN_DYNAMIC_LINKER. This hasn't been used for years. gdb/ 2013-06-26 Pedro Alves * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing comment. commit 1d7cb0bd9a442184323f6995b52e859a7bb9cccb Author: Pedro Alves Date: Wed Jun 26 21:37:53 2013 +0000 Update comments on stepping over resolver code. This updates the comments on the step-over-resolver mechanism a bit, adjusting it to refer to the gdbarch hooks instead of the old macros; to mention the in_dynsym_resolve_code hook of the target_so_ops vector; and to American English spelling (signalling->signaling). gdb/ 2013-06-26 Pedro Alves * infrun.c: Update comments on stepping over runtime loader dynamic symbol resolution code. commit 7ed4604923968abf816aecd2b5e127417ea18e34 Author: sergiodj Date: Wed Jun 26 17:22:52 2013 +0000 I found this issue when I was debugging something else on IA-64. Both ax-gdb.h and parser-defs.h could be made more self-contained by forward declaring types or including the necessary header files. This commit does this. 2013-06-26 Sergio Durigan Junior * ax-gdb.h (union exp_element): Forward declare. * parser-defs.h: Include expression.h. commit af702e9f1f5023fb5ac9b06ce80e61da936fc8cf Author: Tom Tromey Date: Wed Jun 26 16:04:05 2013 +0000 * gdbint.texinfo (Versions and Branches): Use common/version.in. Update. commit 03a7a095719ba7eab65a965af5532e064095aed8 Author: Tom Tromey Date: Wed Jun 26 15:55:59 2013 +0000 * Makefile.in (dtbdir): Don't use gdb's version.in. commit 8dd829c3b71bce6c874eb3304de5069f19ceb460 Author: Maciej W. Rozycki Date: Wed Jun 26 15:37:49 2013 +0000 * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr. commit 4cc243ce08bddf955f094743278dd9bc0ab57605 Author: ddk Date: Wed Jun 26 15:24:10 2013 +0000 Fix trace status to output username without trailing colon. commit 946abbef95d766ea5d8f117f2578fd02bb7bf835 Author: ddk Date: Wed Jun 26 15:17:58 2013 +0000 Extend tsave to save starttime, stoptime. commit 1a0fd27c4c0ec13001afd60215c02ac80f9ab7af Author: ddk Date: Wed Jun 26 15:14:38 2013 +0000 Fix trace-status to output proper start-time and stop-time. commit 20eddc5f286506ea69d489de8d8cd736e20127be Author: Maciej W. Rozycki Date: Wed Jun 26 15:10:33 2013 +0000 * mips-tdep.c (mips_next_pc): Fix a typo. commit c895f69a3f937290d826a1ca2cfd7070f0a92572 Author: Maciej W. Rozycki Date: Wed Jun 26 15:00:10 2013 +0000 * mips-tdep.c (micromips_scan_prologue): Fix a typo. commit 79b2e29444c27e1726c5193a6341951f02e78ac1 Author: yufeng Date: Wed Jun 26 10:52:12 2013 +0000 [AArch64, ILP32] 5/6 Improve the debugging experience with the generated file bfd/ * Makefile.am (elf32-aarch64.c): Add a #line cpp directive at the beginning of the generated file. (elf64-aarch64.c): Likewise. * Makefile.in: Re-generated. commit 53fc885c27345e68c4f7fabf96694741af0827d7 Author: yufeng Date: Wed Jun 26 10:49:28 2013 +0000 [AArch64, ILP32] 4/6 Split elfnn-aarch64.c to elfxx-aarch64.c bfd/ * Makefile.am (BFD64_BACKENDS): Add elfxx-aarch64.c. (BFD64_BACKENDS_CFILES): Add elfxx-aarch64.lo. * Makefile.in: Re-generated. * configure.in (bfd_elf64_bigaarch64_vec): Add elfxx-aarch64.lo. (bfd_elf64_littleaarch64_vec): Likewise. (bfd_elf32_bigaarch64_vec): Likewise. (bfd_elf32_littleaarch64_vec): Likewise. * configure: Re-generated. * elfxx-aarch64.c: New file; split from elf64-aarch64.c. * elfxx-aarch64.h: New file. * elfnn-aarch64.c: Include "elfxx-aarch64.h"; move the following stuff to elfxx-aarch64.c. (bfd_elf_aarch64_put_addend): Removed. (PG_OFFSET, PG): Likewise. (elfNN_aarch64_small_plt0_entry): Support ELF32. (elfNN_aarch64_tlsdesc_small_plt_entry): Likewise. (elf64_aarch64_grok_prstatus): Removed. (elf_backend_grok_prstatus): Removed. (insn32): Likewise. (aarch64_unsigned_overflow): Likewise. (aarch64_signed_overflow): Likewise. (aarch64_resolve_relocation): Likewise. (MASK): Likewise. (decode_branch_ofs_26): Likewise. (decode_cond_branch_ofs_19): Likewise. (decode_ld_lit_ofs_19): Likewise. (decode_tst_branch_ofs_14): Likewise. (decode_movw_imm): Likewise. (decode_adr_imm): Likewise. (decode_add_imm): Likewise. (reencode_branch_ofs_26): Likewise. (reencode_cond_branch_ofs_19): Likewise. (reencode_ld_lit_ofs_19): Likewise. (reencode_tst_branch_ofs_14): Likewise. (reencode_movw_imm): Likewise. (reencode_adr_imm): Likewise. (reencode_ldst_pos_imm): Likewise. (reencode_add_imm): Likewise. (reencode_movzn_to_movz): Likewise. (reencode_movzn_to_movn): Likewise. (aarch64_relocate): Update to call the new function names in elfxx-aarch64.c. (aarch64_calculate_got_entry_vma): Likewise. (elfNN_aarch64_final_link_relocate): Likewise. (elf64_aarch64_update_plt_entry): Likewise; change the type of the parameter 'r_type' to bfd_reloc_code_real_type; rename to ... (elf_aarch64_update_plt_entry): ... this. (elfNN_aarch64_create_small_pltn_entry): Update. (elfNN_aarch64_init_small_plt0_entry): Remove plt_got_base; add bfd_vma plt_got_2nd_ent; update to call elf_aarch64_update_plt_entry. (elfNN_aarch64_finish_dynamic_sections): Add plt_entry; update to call elf_aarch64_update_plt_entry. commit 919cff269683c2002d1e46d70de0679931bfc2e9 Author: yufeng Date: Wed Jun 26 10:47:05 2013 +0000 [AArch64, ILP32] 3/6 Support for ELF32 relocs and refactor reloc handling bfd/ * bfd-in2.h: Re-generated. * elfnn-aarch64.c (HOWTO64, HOWTO32): New define. (IS_AARCH64_TLS_RELOC): Change to be based on the bfd reloc enumerators. (IS_AARCH64_TLSDESC_RELOC): Likewise. (PG, PG_OFFSET): Cast literal to bfd_vma. (elf64_aarch64_howto_table): Removed. (elf64_aarch64_howto_dynrelocs): Removed. (elf64_aarch64_tls_howto_table): Removed. (elf64_aarch64_tlsdesc_howto_table): Removed. (elfNN_aarch64_howto_table): New table to host all howto entires.. (R_AARCH64_*): Replaced by AARCH64_R (*) and AARCH64_R_STR (*). (elfNN_aarch64_bfd_reloc_from_howto): New function. (elfNN_aarch64_bfd_reloc_from_type): Ditto. (struct elf_aarch64_reloc_map): New. (elf_aarch64_reloc_map): New table. (elfNN_aarch64_howto_from_bfd_reloc): New function. (elfNN_aarch64_howto_from_type): Update to look up the new table elfNN_aarch64_howto_table. (struct elf64_aarch64_reloc_map): Remove. (elf64_aarch64_reloc_map): Remove. (elfNN_aarch64_reloc_type_lookup): Change to call elfNN_aarch64_howto_from_bfd_reloc. (elfNN_aarch64_reloc_name_lookup): Change to look up the new table elfNN_aarch64_howto_table. (aarch64_resolve_relocation): Refactor to switch on the bfd reloc enumerators. (bfd_elf_aarch64_put_addend): Likewise. (elfNN_aarch64_final_link_relocate): Likewise. (aarch64_tls_transition_without_check): Likewise. (aarch64_reloc_got_type): Likewise. (aarch64_can_relax_tls): Likewise. (aarch64_tls_transition): Likewise. (elfNN_aarch64_tls_relax): Likewise. (elfNN_aarch64_final_link_relocate): Likewise. (elfNN_aarch64_relocate_section): Likewise. (elfNN_aarch64_gc_sweep_hook): Likewise. (elfNN_aarch64_check_relocs): Likewise. (aarch64_tls_transition): Change to return a bfd reloc enumerator. * libbfd.h: Re-generated. * reloc.c: Re-order the AArch64 bfd reloc enumerators. (BFD_RELOC_AARCH64_RELOC_START) (BFD_RELOC_AARCH64_RELOC_END) (BFD_RELOC_AARCH64_LD_GOT_LO12_NC) (BFD_RELOC_AARCH64_LD32_GOT_LO12_NC) (BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC) (BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC) (BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC) (BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC) (BFD_RELOC_AARCH64_IRELATIVE): New relocs. gas/ * config/tc-aarch64.c (reloc_table): Replace BFD_RELOC_AARCH64_LD64_GOT_LO12_NC with BFD_RELOC_AARCH64_LD_GOT_LO12_NC; likewise to BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC and BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC. (md_apply_fix): Handle BFD_RELOC_AARCH64_LD_GOT_LO12_NC, BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC, BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC, BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC and BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC. (aarch64_force_relocation): Likewise. gas/testsuite/ * gas/aarch64/ilp32-basic.d: New file. * gas/aarch64/ilp32-basic.s: New file. include/elf/ * aarch64.h: Add ELF32 reloc codes and remove fake ELF64 ones. (R_AARCH64_IRELATIVE): New reloc. commit 989533498439dc95e510abfb62a401e0eaf62669 Author: yufeng Date: Wed Jun 26 10:41:41 2013 +0000 [AArch64, ILP32] 2/6 Parametrize elfnn-aarch64.c and add basic support in ld and gas. bfd/ * Makefile.am (BFD64_BACKENDS): Add elf32-aarch64.lo. (BUILD_CFILES): Add elf32-aarch64.c. (elf32-aarch64.c): New rule for generating from elfnn-aarch64.c. * Makefile.in: Re-generated. * archures.c (bfd_mach_aarch64_ilp32): New define. * bfd-in.h (bfd_elf32_aarch64_init_maps): New declaration. (bfd_elf32_aarch64_set_options): Ditto. (elf32_aarch64_setup_section_lists): Ditto. (elf32_aarch64_next_input_section): Ditto. (elf32_aarch64_size_stubs): Ditto. (elf32_aarch64_build_stubs): Ditto. * bfd-in2.h: Re-generated. * config.bfd (aarch64-*-elf): Add bfd_elf32_littleaarch64_vec and bfd_elf32_bigaarch64_vec. (aarch64-*-linux*): Likewise. (aarch64_be-*-elf): Likewise. (aarch64_be-*-linux*): Likewise. * configure.in (bfd_elf32_bigaarch64_vec) (bfd_elf32_littleaarch64_vec): New. * configure: Re-generated. * cpu-aarch64.c (compatible): Don't allow mixing ilp32 objects with lp64 ones. (bfd_aarch64_arch_ilp32): New. (bfd_aarch64_arch): Link to bfd_aarch64_arch_ilp32. * elfnn-aarch64.c (ARCH_SIZE): New define. (AARCH64_R, AARCH64_R_STR, LOG_FILE_ALIGN): New defines. (GOT_ENTRY_SIZE): Re-define as (ARCH_SIZE / 8). (elf64_aarch64_*): Rename to elfNN_aarch64_*. (ELF64_R_*): Rename to ELFNN_R_*. Plus other paramaterization. * targets.c (bfd_elf32_bigaarch64_vec, bfd_elf32_littleaarch64_vec): New declarations. (_bfd_target_vector): Add bfd_elf32_bigaarch64_vec and bfd_elf32_littleaarch64_vec. gas/ * config/tc-aarch64.c (ilp32_p): New static variable. (elf64_aarch64_target_format): Return the target according to the value of 'ilp32_p'. (md_begin): Determine 'mach' according to the value of 'ilp32_p'. (aarch64_opts): Add support for options '-milp32' and '-mlp64'. (aarch64_dwarf2_addr_size): New function. * config/tc-aarch64.h (aarch64_dwarf2_addr_size): New declaration. (DWARF2_ADDR_SIZE): New define. ld/ * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c. (eaarch64elf32.c): New dependency and rule. * Makefile.in: Re-generated. * configure.tgt (aarch64-*-elf): Add aarch64elf32. (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise. * emulparams/aarch64elf32.sh: New file. commit e644fa49f8713ef341bea7deddb385a470c91b5a Author: yufeng Date: Wed Jun 26 10:37:45 2013 +0000 [AArch64, ILP32] 1/6 Rename elf64-aarch64.c to elfnn-aarch64.c bfd/ * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c. (BUILD_CFILES): Add elf64-aarch64.c. (elf64-aarch64.c): New rule for generating from elfnn-aarch64.c. * Makefile.in: Re-generated. * elf64-aarch64.c: Rename to ... * elfnn-aarch64.c: ... this. commit ed2129b272ce2d519a74ab158e80fde28fce7137 Author: Nick Clifton Date: Wed Jun 26 10:31:37 2013 +0000 * rx-decode.opc (rx_decode_opcode): Check sd field as well as ss field when checking for type 2 nop. * rx-decode.c: Regenerate. commit bc269e81353eac359e15fd5e391e4dbef07c6bab Author: qiyao Date: Wed Jun 26 08:28:26 2013 +0000 gdb/testsuite/ 2013-06-26 Yao Qi * gdb.trace/mi-trace-frame-collected.exp: New. commit f21b8497f460826d16c6b053fe573f919ad3332f Author: qiyao Date: Wed Jun 26 08:17:26 2013 +0000 gdb/ 2013-06-26 Pedro Alves Yao Qi * gdb.texinfo (GDB/MI Tracepoint Commands): Document -trace-frame-collected. gdb: 2013-06-26 Pedro Alves Yao Qi * mi/mi-cmds.c (mi_cmds): Register -trace-frame-collected. * mi/mi-cmds.h (mi_cmd_trace_frame_collected): Declare. * mi/mi-main.c (print_variable_or_computed): New function. (mi_cmd_trace_frame_collected): New function. * tracepoint.c (find_trace_state_variable_by_number): New. (struct traceframe_info): Move to tracepoint.h (struct collection_list): Likewise. (do_collect_symbol): Include locals and arguments in the wholly collected variables list. (clear_collection_list): Clear wholly collected variables list and computed variables list. (append_exp): New function. (encode_actions_1): Include variables in the wholly collected variables list. Include memory ranges and full-fledged expressions in the computed expressions list. (encode_actions): Move some code to ... Return the cleanup chain. (encode_actions_rsp): ... here. New function. (get_traceframe_location, get_traceframe_info): Remove static. * tracepoint.h (struct memrange): Moved from tracepoint.c. (struct collection_list): Moved from tracepoint.c. Add two new fields 'wholly_collected' and 'computed'. (find_trace_state_variable_by_number): Declare. (encode_actions): Adjust declaration. (encode_actions_rsp): Declare. (get_traceframe_info, get_traceframe_location): Declare. * NEWS: Mention new MI command -trace-frame-collected. commit e7ec122190f1bf4f15ca10c4911406954793a570 Author: qiyao Date: Wed Jun 26 08:01:54 2013 +0000 gdb/ 2013-06-26 Pedro Alves Yao Qi * ctf.c (ctf_traceframe_info): Push trace state variables present in the trace data into the traceframe info object. * breakpoint.c (DEF_VEC_I): Remove. * common/filestuff.c (DEF_VEC_I): Likewise. * dwarf2loc.c (DEF_VEC_I): Likewise. * mi/mi-main.c (DEF_VEC_I): Likewise. * common/gdb_vecs.h (DEF_VEC_I): Define vector for int. * features/traceframe-info.dtd: Add tvar element and its attributes. * tracepoint.c (free_traceframe_info): Free vector 'tvars'. (build_traceframe_info): Push trace state variables present in the trace data into the traceframe info object. (traceframe_info_start_tvar): New function. (tvar_attributes): New. (traceframe_info_children): Add "tvar" element. * tracepoint.h (struct traceframe_info) : New field. * NEWS: Mention the change in GDB and GDBserver. gdb/doc: 2013-06-26 Pedro Alves * gdb.texinfo (Traceframe Info Format): Document tvar element and its attributes. gdb/gdbserver: 2013-06-26 Pedro Alves * tracepoint.c (build_traceframe_info_xml): Output trace state variables present in the trace buffer. commit a32d9889e30d1c39a9996ab266bb474020b96cf9 Author: Richard Sandiford Date: Wed Jun 26 07:04:56 2013 +0000 include/opcode/ * mips.h: Fix comment for "1": it is now STYPE rather than SHAMT. Use "source" rather than "destination" for microMIPS "G". gas/ * config/tc-mips.c (validate_mips_insn): Use STYPE rather than SHAMT. commit ea405824585242fef88143406a8f9ffc7bb480b9 Author: qiyao Date: Wed Jun 26 05:35:45 2013 +0000 gdb/ 2013-06-26 Pedro Alves Yao Qi * tracepoint.c (trace_dump_command): Move code to ... (get_traceframe_location): ... here. New. commit 9bf8fe0d6cf3a8d0c4c881ace66c7b1e1f00018f Author: qiyao Date: Wed Jun 26 05:28:01 2013 +0000 gdb/ 2013-06-26 Pedro Alves Yao Qi * tracepoint.c (trace_dump_command): GDB emits an error instead of a warning when a traceframe is not selected. commit 06b5137ca80f96dac84233e93e07a253bab826f1 Author: qiyao Date: Wed Jun 26 05:25:28 2013 +0000 gdb/ 2013-06-26 Pedro Alves Yao Qi * tracepoint.c (tracepoint_list, stepping_list): Remove. (clear_collection_list): Free fields 'aexpre_list' and 'list' in collection_list. (do_clear_collection_list, init_collection_list): New. (encode_actions): Add local variables 'tracepoint_list' and 'stepping_list'. Call init_collection_list and make cleanup which calls do_clear_collection_list. Don't call clear_collection_list. (_initialize_tracepoint): Delete references to 'tracepoint_list' and 'stepping_list'. commit 4aa7e6ab18ac49fcd1ac54cfa422d1e0d935da15 Author: Alan Modra Date: Wed Jun 26 00:00:04 2013 +0000 daily update commit 752e59abd673a847e6a021343f94a4fbb905e1ae Author: Maciej W. Rozycki Date: Tue Jun 25 18:02:33 2013 +0000 bfd/ * elfxx-mips.h (_bfd_mips_elf_insn32): New prototype. * elfxx-mips.c (mips_elf_link_hash_table): Add insn32 member. (STUB_MOVE32_MICROMIPS, STUB_JALR32_MICROMIPS): New macros. (MICROMIPS_INSN32_FUNCTION_STUB_NORMAL_SIZE): Likewise. (MICROMIPS_INSN32_FUNCTION_STUB_BIG_SIZE): Likewise. (micromips_insn32_o32_exec_plt0_entry): New variable. (micromips_insn32_o32_exec_plt_entry): Likewise. (_bfd_mips_elf_adjust_dynamic_symbol): Handle insn32 mode. (mips_elf_estimate_stub_size): Likewise. (_bfd_mips_elf_size_dynamic_sections): Likewise. (_bfd_mips_elf_finish_dynamic_symbol): Likewise. (mips_finish_exec_plt): Likewise. (_bfd_mips_elf_relax_section): Likewise. (_bfd_mips_elf_insn32): New function. (_bfd_mips_elf_get_synthetic_symtab): Handle insn32 PLT. gas/ * config/tc-mips.c (mips_set_options): Add insn32 member. (mips_opts): Initialize it. (NOP_INSN, NOP_INSN_SIZE): Handle insn32 mode. (options): Add OPTION_INSN32 and OPTION_NO_INSN32 enum values. (md_longopts): Add "minsn32" and "mno-insn32" options. (is_size_valid): Handle insn32 mode. (md_assemble): Pass instruction string down to macro. (brk_fmt): Add second dimension and insn32 mode initializers. (mfhl_fmt): Likewise. (BRK_FMT, MFHL_FMT): Handle insn32 mode. (macro_build) <'c'>: Handle microMIPS 32-bit BREAK encoding. (macro_build_jalr, move_register): Handle insn32 mode. (macro_build_branch_rs): Likewise. (macro): Handle insn32 mode. , , : New cases. (mips_ip): Handle insn32 mode. (md_parse_option): Handle OPTION_INSN32 and OPTION_NO_INSN32. (s_mipsset): Handle "insn32" and "noinsn32" pseudo-ops. (mips_handle_align): Handle insn32 mode. (md_show_usage): Add -minsn32 and -mno-insn32. * doc/as.texinfo (Target MIPS options): Add -minsn32 and -mno-insn32 options. (-minsn32, -mno-insn32): New options. * doc/c-mips.texi (MIPS Opts): Add -minsn32 and -mno-insn32 options. (MIPS assembly options): New node. Document .set insn32 and .set noinsn32. (MIPS-Dependent): List the new node. gas/testsuite/ * gas/mips/micromips-insn32.d: New test. * gas/mips/micromips-noinsn32.d: Likewise. * gas/mips/micromips.l: Rename to... * gas/mips/micromips-warn.l: ... this. * gas/mips/micromips.d: Update accordingly. * gas/mips/micromips-trap.d: Likewise. * gas/mips/micromips.l: New list test. * gas/mips/micromips.s: Add conditionals. * gas/mips/mips.exp: Run the new tests. include/opcode/ * mips.h: Add M_JRADDIUSP, M_JRC and M_MOVEP anonymous enum values. ld/ * emultempl/mipself.em (insn32): New variable. (mips_create_output_section_statements): Handle insn32 mode. (PARSE_AND_LIST_PROLOGUE): New macro. (PARSE_AND_LIST_LONGOPTS): Likewise. (PARSE_AND_LIST_OPTIONS): Likewise. * gen-doc.texi: Set MIPS. * ld.texinfo: Likewise. (Options specific to MIPS targets): New section. (ld and MIPS family): New node. (Top, Machine Dependent): List the new node. opcodes/ * micromips-opc.c (micromips_opcodes): Add "jraddiusp", "jrc" and "movep" macros. commit df53db70bfc83857f6f292850a5d05dc9e3c64b8 Author: Tom Tromey Date: Tue Jun 25 16:04:54 2013 +0000 * common/create-version.sh (date): Use "$", not "$$" in sed expression. commit 9197389ee90f6d2b3fe489d8cc376f26e4827217 Author: Kevin Buettner Date: Tue Jun 25 15:55:12 2013 +0000 * NEWS (New targets): Add entry for TI MSP430. commit bfd84e7c17d73287ba08f599a9261d685004822f Author: qiyao Date: Tue Jun 25 13:01:26 2013 +0000 Upload tsv earlier in remote_start_remote In extended-remote, when GDB connects the target, but target is not running, the TSVs are not uploaded. When GDB attaches to a process, the TSVs are not uploaded either. However, GDBserver has some builtin or predefined TSV to upload, such as $trace_timestamp. This bug causes $trace_timestamp is never uploaded. gdb/ 2013-06-25 Yao Qi * remote.c (remote_start_remote): Move code to upload tsv earlier. gdb/testsuite/ 2013-06-25 Yao Qi * boards/native-extended-gdbserver.exp: Set board_info 'gdb,predefined_tsv'. * boards/native-gdbserver.exp: Likewise. * boards/native-stdio-gdbserver.exp: Likewise. * gdb.server/ext-attach.exp: Load trace-support.exp. Check uploaded TSVs if target supports tracing. * gdb.trace/tsv.exp: Check uploaded TSVs if target supports tracing and target has predefined tsv. gdb/doc/ 2013-06-25 Yao Qi * gdbint.texinfo (Testsuite): Document 'gdb,predefined_tsv'. commit 683454e58c93fef964b0a488e0b5ff6de3b13f85 Author: Hui Zhu Date: Tue Jun 25 11:37:47 2013 +0000 2013-06-25 Yao Qi Hui Zhu Pedro Alves PR breakpoints/15075 PR breakpoints/15434 * breakpoint.c (bpstat_stop_status): Call b->ops->after_condition_true. (update_dprintf_command_list): Don't append "continue" command to the command list of dprintf breakpoint. (base_breakpoint_after_condition_true): New function. (base_breakpoint_ops): Add base_breakpoint_after_condition_true. (dprintf_after_condition_true): New function. (initialize_breakpoint_ops): Set dprintf_after_condition_true. * breakpoint.h (breakpoint_ops): Add after_condition_true. 2013-06-25 Yao Qi Hui Zhu Pedro Alves PR breakpoints/15075 PR breakpoints/15434 * gdb.base/dprintf-next.c: New file. * gdb.base/dprintf-next.exp: New file. * gdb.base/dprintf-non-stop.c: New file. * gdb.base/dprintf-non-stop.exp: New file. * gdb.base/dprintf.exp: Don't check "continue" in the output of "info breakpoints". * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Don't check "continue" in script field. commit eded4b816d7293af0015da8bf1e76ba1668f47f4 Author: Kevin Buettner Date: Tue Jun 25 01:16:31 2013 +0000 * Makefile.in (ALL_TARGET_OBS): Add msp430-tdep.o. (ALLDEPFILES): Add msp430-tdep.c. * configure.tgt (msp430*-*-elf): New target. * msp430-tdep.c: New file. commit bc8326fc6ab96b46400c415e2c50c3a984bfd503 Author: Alan Modra Date: Tue Jun 25 00:00:05 2013 +0000 daily update commit 9de54a4fad6963fb9bc2472567c983b8a6ff32bd Author: Maciej W. Rozycki Date: Mon Jun 24 23:55:44 2013 +0000 bfd/ * elfxx-mips.h (_bfd_mips_elf_get_synthetic_symtab): New prototype. * elf32-mips.c (elf_backend_plt_sym_val): Remove macro. (bfd_elf32_get_synthetic_symtab): New macro. * elfxx-mips.c (plt_entry): New structure. (mips_elf_link_hash_entry): Add use_plt_entry member. (mips_elf_link_hash_table): Rename plt_entry_size member to plt_mips_entry_size. Add plt_comp_entry_size, plt_mips_offset, plt_comp_offset, plt_got_index entries and plt_header_is_comp members. (STUB_LW_MICROMIPS, STUB_MOVE_MICROMIPS): New macros. (STUB_LUI_MICROMIPS, STUB_JALR_MICROMIPS): Likewise. (STUB_ORI_MICROMIPS, STUB_LI16U_MICROMIPS): Likewise. (STUB_LI16S_MICROMIPS): Likewise. (MICROMIPS_FUNCTION_STUB_NORMAL_SIZE): Likewise. (MICROMIPS_FUNCTION_STUB_BIG_SIZE): Likewise. (micromips_o32_exec_plt0_entry): New variable. (mips16_o32_exec_plt_entry): Likewise. (micromips_o32_exec_plt_entry): Likewise. (mips_elf_link_hash_newfunc): Initialize use_plt_entry. (mips_elf_output_extsym): Update to use gotplt_union's plist member rather than offset. (mips_elf_gotplt_index): Likewise. Remove the VxWorks restriction. Use MIPS_ELF_GOT_SIZE to calculate GOT address. (mips_elf_count_got_symbols): Update to use gotplt_union's plist member rather than offset. (mips_elf_calculate_relocation): Handle MIPS16/microMIPS PLT entries. (_bfd_mips_elf_create_dynamic_sections): Don't set PLT sizes here. (mips_elf_make_plt_record): New function. (_bfd_mips_elf_check_relocs): Update comment. Record occurences of JAL relocations that might need a PLT entry. (_bfd_mips_elf_adjust_dynamic_symbol): Update to use gotplt_union's plist member rather than offset. Set individual PLT entry sizes here. Handle MIPS16/microMIPS PLT entries. Don't set the symbol's value in the symbol table for PLT references here. Don't set the PLT or PLT GOT section sizes here. (mips_elf_estimate_stub_size): Handle microMIPS stubs. (mips_elf_allocate_lazy_stub): Likewise. (mips_elf_lay_out_lazy_stubs): Likewise. Define a _MIPS_STUBS_ magic symbol. (mips_elf_set_plt_sym_value): New function. (_bfd_mips_elf_size_dynamic_sections): Set PLT header size and PLT and PLT GOT section sizes here. Set the symbol values in the symbol table for PLT references here. Handle microMIPS annotation of the _PROCEDURE_LINKAGE_TABLE_ magic symbol. (_bfd_mips_elf_finish_dynamic_symbol): Update to use gotplt_union's plist member rather than offset. Handle MIPS16/microMIPS PLT entries. Handle microMIPS stubs. (_bfd_mips_vxworks_finish_dynamic_symbol): Update to use gotplt_union's plist member rather than offset. Use MIPS_ELF_GOT_SIZE to calculate GOT address. (mips_finish_exec_plt): Handle microMIPS PLT. Return status. (_bfd_mips_elf_finish_dynamic_sections): Handle result from mips_finish_exec_plt. (_bfd_mips_elf_link_hash_table_create): Update to use gotplt_union's plist member rather than offset. (_bfd_mips_elf_get_synthetic_symtab): New function. include/elf/ * mips.h (ELF_ST_IS_MIPS_PLT): Respect STO_MIPS16 setting. (ELF_ST_SET_MIPS_PLT): Likewise. gdb/ * mips-tdep.c (mips_elf_make_msymbol_special): Handle MIPS16 and microMIPS synthetic symbols. ld/ * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed as close to .plt as possible. * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and $PLT_NEXT_DATA variables. ld/testsuite/ * ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support. * ld-mips-elf/pic-and-nonpic-3a.dd: Update for the _MIPS_STUBS_ magic symbol. * ld-mips-elf/pic-and-nonpic-3b.dd: Likewise. * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise. * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. * ld-mips-elf/stub-dynsym-1-10000.d: Likewise. * ld-mips-elf/stub-dynsym-1-2fe80.d: Likewise. * ld-mips-elf/stub-dynsym-1-7fff.d: Likewise. * ld-mips-elf/stub-dynsym-1-8000.d: Likewise. * ld-mips-elf/stub-dynsym-1-fff0.d: Likewise. * ld-mips-elf/tlslib-o32.d: Likewise. opcodes/ * mips-dis.c (is_mips16_plt_tail): New function. (print_insn_mips16): Handle MIPS16 PLT entry's GOT slot address word. (is_compressed_mode_p): Handle MIPS16/microMIPS PLT entries. commit 49610b5e9d140df0225634a14bb5bc2641e3ed8f Author: Joel Brobecker Date: Mon Jun 24 23:41:34 2013 +0000 Adapt sim to new version number & date locations. This change is required now that gdb/version.in has been moved to gdb/common/version.in and now that the date needs to be fetched from bfd/version.h. sim/common/ChangeLog: * create-version.sh: New script. Adapted from gdb/commong/create-version.sh. * Make-common.in (version.c): Update rule dependencies, and re-implement using create-version.sh. sim/ppc/ChangeLog: * Makefile.in (srccom): New variable. (version.c): Update rule dependencies, and re-implement using sim/common/create-version.sh. commit 091a9138460dda434a38fab9b789471749da5454 Author: Maciej W. Rozycki Date: Mon Jun 24 22:18:31 2013 +0000 * objfiles.h (pc_in_section): New prototype. (in_plt_section): Remove name argument, replace prototype with static inline function. * mips-tdep.h: Include "objfiles.h". (in_mips_stubs_section): New function. * hppa-tdep.h (gdbarch_tdep): Remove name argument of in_solib_call_trampoline member. (hppa_in_solib_call_trampoline): Remove name argument. * objfiles.c (pc_in_section): New function. (in_plt_section): Remove function. * mips-linux-tdep.c: Include "objfiles.h". (mips_linux_in_dynsym_stub): Call in_mips_stubs_section. Remove name argument. Return 1 rather than the low 16-bit halfword of any instruction examined. (mips_linux_in_dynsym_resolve_code): Update mips_linux_in_dynsym_stub call accordingly. * mips-tdep.c (mips_stub_frame_sniffer): Use in_mips_stubs_section rather than an equivalent hand-coded sequence. * hppa-hpux-tdep.c (in_opd_section): Remove function. (hppa32_hpux_in_solib_call_trampoline): Remove name argument. (hppa64_hpux_in_solib_call_trampoline): Likewise. (hppa64_hpux_find_global_pointer): Use pc_in_section rather than in_opd_section. * hppa-tdep.c (hppa_stub_unwind_sniffer): Remove name argument on call to tdep->in_solib_call_trampoline. (hppa_in_solib_call_trampoline): Remove name argument, update according to in_plt_section change. (hppa_skip_trampoline_code): Update according to in_plt_section change. * aarch64-tdep.c (aarch64_stub_unwind_sniffer): Likewise. * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Likewise. * arm-tdep.c (arm_stub_unwind_sniffer): Likewise. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. * hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise. * nios2-tdep.c (nios2_stub_frame_sniffer): Likewise. * nto-tdep.c (nto_relocate_section_addresses): Likewise. * s390-tdep.c (s390_stub_frame_sniffer): Likewise. * sh-tdep.c (sh_stub_unwind_sniffer): Likewise. * solib-dsbt.c (dsbt_in_dynsym_resolve_code): Likewise. * solib-frv.c (frv_in_dynsym_resolve_code): Likewise. * solib-svr4.c (svr4_in_dynsym_resolve_code): Likewise. * solib-target.c (solib_target_in_dynsym_resolve_code): Likewise. * sparc-tdep.c (sparc_analyze_prologue): Likewise. * tic6x-tdep.c (tic6x_stub_unwind_sniffer): Likewise. commit b2a893ee758e81bf5611112d62e3d4fa7da7d84b Author: Joel Brobecker Date: Mon Jun 24 22:03:51 2013 +0000 Fix host_name and target_name generation by common/create-version.sh. This new script has one small snafoo, which prevented the $host_alias and $target_alias from being expanded during the generation of the version.c file. As a result, the version info yields: This GDB was configured as "--host=$host_alias --target=$target_alias". ^^^^^^^^^^^ ^^^^^^^^^^^^^ This patch fixes this issue. gdb/ChangeLog: * common/create-version.sh: Fix expansion of $host_alias and $target_alias in generation of HOST_NAME and TARGET_NAME (resp.). commit f4f9399f80652e95afa0b4c2e099508cc6b2646d Author: Tom Tromey Date: Mon Jun 24 15:06:26 2013 +0000 don't keep a gdb-specific date Right now there are two nightly commits to update a file in the tree with the current date. One commit is for BFD, one is for gdb. It seems unnecessary to me to do this twice. We can make do with a single such commit. This patch changes gdb in a minimal way to reuse the BFD date -- it extracts it from bfd/version.h and changes version.in to use the placeholder string "DATE" for those times when a date is wanted. I propose removing the cron job that updates the version on trunk, and then check in this patch. For release branches, we can keep the cron job, but just tell it to rewrite bfd/version.h. I believe this is a simple change in the crontab -- the script will work just fine on this file. This also moves version.in and version.h into common/, to reflect their shared status; and updates gdbserver to use version.h besides. * common/create-version.sh: New file. * Makefile.in (version.c): Use bfd/version.h, common/version.in, create-version.sh. (HFILES_NO_SRCDIR): Use common/version.h. * version.in: Move to ... * common/version.in: ... here. Replace date with "DATE". * version.h: Move to ... * common/version.h: ... here. gdbserver: * Makefile.in (version.c): Use bfd/version.h, common/version.in, create-version.sh. (version.o): Remove. * gdbreplay.c: Include version.h. (version, host_name): Don't declare. * server.h: Include version.h. (version, host_name): Don't declare. doc: * Makefile.in (POD2MAN1, POD2MAN5): Use version.subst. (GDBvn.texi): Use version.subst. (version.subst): New target. (mostlyclean): Remove version.subst. commit 61f6db26fad51a7a4b2d4d61a134d5f98cbdf1e1 Author: Nick Clifton Date: Mon Jun 24 14:28:17 2013 +0000 PR 15657 * hash.c (_bfd_stringtab_add): Copy the string if COPY is true. commit b1031f1ff0af97e45166f98d645707735e8e5e78 Author: Mike Frysinger Date: Mon Jun 24 02:06:32 2013 +0000 sim: bfin: note missing parallel handling of SEARCH The SEARCH insn is an oddball when it comes to parallel usage. It places a big limit on what other insns it can run in parallel with, but we don't currently track the amount of state needed to verify this (since no other insn really requires this). Add a note for now in case we get around to it. commit bc30f4ee106d73efe2f50645a906967106b63071 Author: Mike Frysinger Date: Mon Jun 24 02:03:03 2013 +0000 sim: bfin: handle invalid HLs encoding in dsp shift insns For many of the 32bit dsp shift related insns, we were just ignoring the HLs field. The hardware does not though and will reject the insn if it's set incorrectly. Update the sim to match. commit 273839b58a3773e6e6e9fc704201d32232f88050 Author: Mike Frysinger Date: Mon Jun 24 01:59:10 2013 +0000 sim: bfin: run-tests.sh: fix typo in usage exit commit 9fc8e7c773c7af26f04e664c3892b3b4a047fd3b Author: Mike Frysinger Date: Mon Jun 24 01:52:33 2013 +0000 sim: bfin: se_all32bitopcodes: skip debug insns under the sim Since the sim has a few fake debug insns that the hardware does not, we need to check for those before attempting to run them. Otherwise we'll randomly trigger the sim debug asserts/aborts/halts insns. On the hardware, these are proper invalid insns, and the table catches that. commit 1bc26acb597f4f82d4d62db50f13c9cbb7eb8009 Author: Mike Frysinger Date: Mon Jun 24 01:44:55 2013 +0000 sim: bfin: speed up all insn testcases slightly The main body of the "all insn" test is executed once per tested insn, and we test millions of insns here. Any shrinkage we can do in this loop will speed things up nicely (since it's multiplied per tested insn). To that end, simplify the end-of-table test into one less insn, and omit the SSYNC when we build for the sim. When we build to run on the hardware, this insn matters, but the sim doesn't have write store buffers in the chip that might get in the way (memory writes are atomic). commit 2eb45b34dd1fa9eef4dc9e85122cbee885eb6ab9 Author: Alan Modra Date: Mon Jun 24 00:00:04 2013 +0000 daily update commit 4209cdad461e805602e1fef16282e77dac70e880 Author: gdbadmin Date: Mon Jun 24 00:00:02 2013 +0000 *** empty log message *** commit 25a948329f80baff44515be099a541903d6f653d Author: Richard Sandiford Date: Sun Jun 23 20:12:52 2013 +0000 include/opcode/ * mips.h: Fix comment typo: "G" is _RS rather than _RD for microMIPS. gas/ * config/tc-mips.c (mips_ip): Fix swapped bit numbers in comments. commit c5fd8c697168f895c5ccf6600b3ee34634c993e0 Author: Richard Sandiford Date: Sun Jun 23 20:08:22 2013 +0000 bfd/ * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Move MIPS ELF files to... (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): ...here. * Makefile.in: Regenerate. * config.bfd: Enclose all MIPS ELF targets in #ifdef BFD64. Set want64 to true for them at the end. * targets.c (_bfd_target_vector): Protect MIPS ELF targets with #ifdef BFD64. gas/ * config/tc-mips.c: Assert that offsetT and valueT are at least 8 bytes in size. (GPR_SMIN, GPR_SMAX): New macros. (macro, mips_ip): Remove code for 4-byte valueT and offsetT. ld/ * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to... (ALL_64_EMULATION_SOURCES): ...here. * Makefile.in: Regenerate. commit 67ff5fa72bd21c7cb314e72c578c3eb7cfc6d4c3 Author: Mike Frysinger Date: Sun Jun 23 06:23:54 2013 +0000 sim: bfin: trim trailing whitespace commit 95b50690fb433e447028d23ca336a8ce645bdb58 Author: Alan Modra Date: Sun Jun 23 00:00:04 2013 +0000 daily update commit 8200bb401fed0792f31532010fbe662a92b738bd Author: gdbadmin Date: Sun Jun 23 00:00:02 2013 +0000 *** empty log message *** commit fb2e9a8486bba186810811a7a0f880699f3157d8 Author: Sandra Loosemore Date: Sat Jun 22 19:57:42 2013 +0000 2013-06-22 Sandra Loosemore bfd/ * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't set sh_entsize for PLT section. commit d4e5ccc4f41ced3661cbe3431420422dbde85e14 Author: Richard Sandiford Date: Sat Jun 22 16:44:13 2013 +0000 * configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*) (mips*-*-ecoff*, mips*-*-pe*, mips*-*-irix* [v4 and earlier]) (mips*-*-lnews*, mips*-*-riscos*): Add gas and ld to noconfigdirs. * configure: Regenerate. gas/ * NEWS: Note removal of ECOFF support. * doc/as.texinfo (--emulation): Update for the removal of MIPS ECOFF. * Makefile.am (TARG_ENV_HFILES): Remove config/te-lnews.h. (MULTI_CFILES): Remove config/e-mipsecoff.c. * Makefile.in: Regenerate. * configure.in: Remove MIPS ECOFF references. (mips-sony-bsd*, mips-*-bsd*, mips-*-lnews*-ecoff, mips-*-*-ecoff): Delete cases. (mips-*-irix5*-*, mips*-*-linux*-*, mips*-*-freebsd*) (mips*-*-kfreebsd*-gnu, mips-*-*-elf): Fold into... (mips-*-*): ...this single case. (mipsbecoff, mipslecoff, mipsecoff): Remove emulations. Expect MIPS emulations to be e-mipself*. * configure: Regenerate. * configure.tgt (mips-sony-bsd*, mips-*-ultrix*, mips-*-osf*) (mips-*-ecoff*, mips-*-pe*, mips-*-irix*, ips-*-lnews*, mips-*-riscos*) (mips-*-sysv*): Remove coff and ecoff cases. * as.c (mipsbecoff, mipslecoff, mipsecoff): Remove. * ecoff.c: Remove reference to MIPS ECOFF. * config/e-mipsecoff.c, config/te-lnews.h: Delete files. * config/tc-mips.c (ECOFF_LITTLE_FORMAT): Delete. (RDATA_SECTION_NAME, mips_target_form): Remove COFF and ECOFF cases. (mips_hi_fixup): Tweak comment. (append_insn): Require a howto. (mips_after_parse_args): Remove OBJ_MAYBE_ECOFF code. gas/testsuite/ * gas/all/gas.exp: Remove reference to mips-ecoff. * gas/mips/branch-misc-1.d, gas/mips/branch-misc-2.d, gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic.d, gas/mips/branch-misc-2pic-64.d, gas/mips/branch-swap.d: Remove skips for mips-*-ecoff. ld/ * NEWS: Document the removal of MIPS ECOFF targets. * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than MIPS ECOFF as an example of a target that supports small data. * ldmain.c (g_switch_value): Likewise. * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*) (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*) (mips*-*-bsd*, mips*-*-lnews*): Remove cases. * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c. (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c) (emipslnews.c, emipspe.c): Delete rules. * Makefile.in: Regenerate. * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh, emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh, emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete. * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support has now been removed. * emultempl/pe.em: Remove TARGET_IS_mipspe checks. commit ce0714afbc64c8504eb139de89265ce4c74798e2 Author: gdbadmin Date: Sat Jun 22 00:00:32 2013 +0000 *** empty log message *** commit 0304a52801dfc162aa75d635eb6dce859cdcf9da Author: Alan Modra Date: Sat Jun 22 00:00:04 2013 +0000 daily update commit dc34edb76e306f371e21dd737888026ad93e68f2 Author: Joel Brobecker Date: Fri Jun 21 17:55:07 2013 +0000 Update dates in relevant gdb/gnulib/ copyright headers This patch is the result of re-running the copyright.py script in GDB, after we modified it to stop ignoring some files in gdb/gnulib that should have been updated earlier this year. gdb/ChangeLog: * gdb/gnulib/Makefile.in: Update date in copyright header. * gdb/gnulib/configure.ac: Ditto. * gdb/gnulib/update-gnulib.sh: Ditto. commit a0c4c670d30fa23fefb93e9ab898cb936fe0f11b Author: Joel Brobecker Date: Fri Jun 21 17:54:57 2013 +0000 copyright.py: Handle files in gdb/gnulib owned by GDB. The script was excluding all of gdb/gnulib but this is no longer correct, ever since we moved the imported files to gdb/gnulib/import. As a result, a number of files (Makefile, etc, including this script itself) did not have their copyright header updated. This fixes the problem. gdb/ChangeLog: * copyright.py (EXCLUDE_LIST): Replace "gdb/gnulib" by "gdb/gnulib/import". commit 750bfa3fc6490159aacf30e9ad55e16fa49beb1a Author: Tom Tromey Date: Fri Jun 21 17:18:45 2013 +0000 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file name in a test name. commit f4af6bc3a6b11b44fc19b7e1c01d6ec221db1ce1 Author: willnewton Date: Fri Jun 21 16:24:14 2013 +0000 gdb/doublest.c: Use frexpl rather than ldfrexp. Most modern systems have frexpl and gnulib provides an implementation for those that don't, so use it instead of the generic but inaccurate ldfrexp. gdb/ChangeLog: 2013-06-21 Will Newton * doublest.c (ldfrexp): Remove function. (convert_doublest_to_floatformat): Call frexpl instead of ldfrexp. commit 6c9c6508cce1353bde5811cce4040a1d5a302478 Author: willnewton Date: Fri Jun 21 16:17:01 2013 +0000 gdb/gnulib: Import frexpl. gdb/ChangeLog: 2013-06-21 Will Newton * gnulib/update-gnulib.sh(IMPORTED_GNULIB_MODULES): Add frexpl. * gnulib/aclocal.m4: Regenerate. * gnulib/config.in: Regenerate. * gnulib/configure: Regenerate. * gnulib/import/Makefile.am: Update. * gnulib/import/Makefile.in: Update. * gnulib/import/m4/gnulib-cache.m4: Update. * gnulib/import/m4/gnulib-comp.m4: Update. * gnulib/import/float+.h: Import. * gnulib/import/float.c: Import. * gnulib/import/float.in.h: Import. * gnulib/import/fpucw.h: Import. * gnulib/import/frexp.c: Import. * gnulib/import/frexpl.c: Import. * gnulib/import/isnan.c: Import. * gnulib/import/isnand-nolibm.h: Import. * gnulib/import/isnand.c: Import. * gnulib/import/isnanl-nolibm.h: Import. * gnulib/import/isnanl.c: Import. * gnulib/import/itold.c: Import. * gnulib/import/m4/exponentd.m4: Import. * gnulib/import/m4/exponentl.m4: Import. * gnulib/import/m4/float_h.m4: Import. * gnulib/import/m4/fpieee.m4: Import. * gnulib/import/m4/frexp.m4: Import. * gnulib/import/m4/frexpl.m4: Import. * gnulib/import/m4/isnand.m4: Import. * gnulib/import/m4/isnanl.m4: Import. * gnulib/import/m4/math_h.m4: Import. * gnulib/import/math.c: Import. * gnulib/import/math.in.h: Import. commit 7a55df68b203148e593daea04b5d6af075e095e9 Author: Jan Kratochvil Date: Fri Jun 21 15:40:18 2013 +0000 gdb/ * common/linux-btrace.c (cpu_supports_btrace): Remove variable vendor, replace strcmp with signature_INTEL_ebx, signature_INTEL_ecx and signature_INTEL_edx comparisons. commit 60d1bdf1b1fc948fd8c35d73d51798a211176122 Author: Nick Clifton Date: Fri Jun 21 15:01:56 2013 +0000 * msp430-decode.opc: New. * msp430-decode.c: New/generated. * Makefile.am (TARGET_LIBOPCODES_CFILES): Add msp430-decode.c. (MAINTAINER_CLEANFILES): Likewise. Add rule to build msp430-decode.c frommsp430decode.opc using the opc2c program. * Makefile.in: Regenerate. * configure.in: Add msp430-decode.lo to msp430 architecture files. * configure: Regenerate. * msp430-decode.h: New. commit 8eaac0c2c003423056f33308d6bc7e268af8fbc0 Author: Nick Clifton Date: Fri Jun 21 10:59:12 2013 +0000 * msp430: New Directory. * configure.tgt: Add it. * configure: Regenerate. * gennltvals.sh: Add msp430 support. * nltvals.def: Regenerate. * Makefile.in: New. * aclocal.m4: Generate. * config.in: Generate. * configure.ac: New. * configure: Generate. * msp430-sim.c: New. * msp430-sim.h: New. * sim-main.h: New. * trace.c: New. * trace.h: New. commit 5c5458af8483dc197098ad3e90502a4b2a9746ad Author: gdbadmin Date: Fri Jun 21 00:00:32 2013 +0000 *** empty log message *** commit 90b6ecf12677bc912c2fb47b933fa34d2881bb39 Author: Alan Modra Date: Fri Jun 21 00:00:04 2013 +0000 daily update commit a5224da88eb910b367a96bdc0c42a100781fabfe Author: Doug Evans Date: Thu Jun 20 22:16:28 2013 +0000 symtab/15652 * dwarf2read.c (try_open_dwop_file): New arg search_cwd. All callers updated. (open_dwp_file): If we can't find the dwp file, search the basename in debug-file-directory. commit 128c4f26098823e2f0253ca8d24d46fe14691877 Author: Doug Evans Date: Thu Jun 20 21:58:57 2013 +0000 * dwarf2read.c (struct dwp_file): Fix comment. (open_and_init_dwp_file): Set dwp_file->name to bfd's file name. commit f114db4d2eba0fba283c82ec1bd9d882bc49ce9b Author: Doug Evans Date: Thu Jun 20 20:12:58 2013 +0000 * source.c (openp): Document OPF_TRY_CWD_FIRST+OPF_SEARCH_IN_PATH better. commit 27ef916ae7ad89e01eb4ef7b24fd7be452b96e72 Author: yufeng Date: Thu Jun 20 16:01:34 2013 +0000 bfd/ * bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'. * bfd-in2.h: Re-generated. * elf64-aarch64.c (RELOC_SECTION): Removed. (SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto. (AARCH64_ELF_OS_ABI_VERSION): Ditto. (elf64_aarch64_link_hash_traverse): Ditto. (elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the comment. opcodes/ * aarch64-dis.c (EMBEDDED_ENV): Remove the check on it. (SYMTAB_AVAILABLE): Removed. (#include "elf/aarch64.h): Ditto. commit 51f2383cef7d1b3dc06836200ee56af7cd4efa01 Author: qiyao Date: Thu Jun 20 06:49:06 2013 +0000 gdb/ * breakpoint.c (create_breakpoint): Fix code indentation. commit ccadbb00440d6633f3be910c3894b4a2e628dd23 Author: qiyao Date: Thu Jun 20 06:46:10 2013 +0000 gdb/ * breakpoint.c (create_breakpoints_sal_default): Remove parameter 'lsal'. Update declaration. (bkpt_create_breakpoints_sal): Caller update. (tracepoint_create_breakpoints_sal): Likewise. commit 63a1873ab1963c9f60c495a297711aebb538b15c Author: qiyao Date: Thu Jun 20 00:39:10 2013 +0000 Teach -data-list-register-values to not include unavailable registers This patch adds an option --skip-unavailable to MI command -data-list-register-values, so that unavailable registers are not displayed (on the context of traceframes). The old -data-list-register-values command behaves like -data-list-register-values x 0 8 ^done,register-values=[{number="0",value=""},{number="8",value="0x80483de"}] With this patch, an option --skip-unavailable is added, -data-list-register-values --skip-unavailable x 0 8 ^done,register-values=[{number="8",value="0x80483de"}] gdb: 2013-06-20 Pedro Alves Yao Qi * NEWS: Mention the new option '--skip-unavailable' of command -data-list-register-values. * mi/mi-main.c (mi_cmd_data_list_register_values): Accept the --skip-unavailable option. Adjust to use output_register. (output_register): Add new 'skip_unavailable' parameter. Handle it. gdb/doc: 2013-06-20 Pedro Alves * gdb.texinfo (GDB/MI Data Manipulation) <-data-list-register-values>: Document the --skip-unavailable option. gdb/testsuite: 2013-06-20 Yao Qi * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo' and set an action. (test_trace_unavailable): Test command -data-list-register-values in the context of traceframe and with option --skip-unavailable. * gdb.trace/trace-unavailable.c (foo): New. (main): Call it. * gdb.mi/gdb2549.exp: Update matching pattern. commit 7980062fe95e0138ef29beb5e496885f071a8b38 Author: gdbadmin Date: Thu Jun 20 00:00:32 2013 +0000 *** empty log message *** commit 6f60387731a8855367034a910d14047d4ce1f613 Author: Alan Modra Date: Thu Jun 20 00:00:04 2013 +0000 daily update commit 315a19370d66e46d8a7a16bd71aa331c3622341e Author: Mike Frysinger Date: Wed Jun 19 22:29:36 2013 +0000 gdb: clean up x86 cpuid implementations We've currently got 3 files doing open coded implementations of cpuid. Each has its own set of workarounds and varying levels of how well they're written and are generally hardcoded to specific cpuid functions. If you try to build the latest gdb as a PIE on an i386 system, the build will fail because one of them lacks PIC workarounds (wrt ebx). Specifically, we have: common/linux-btrace.c: two copies of cpuid asm w/specific args, one has no workarounds while the other implicitly does to avoid memcpy go32-nat.c: two copies of cpuid asm w/specific args, one has workarounds to avoid memcpy gdb/testsuite/gdb.arch/i386-cpuid.h: one general cpuid asm w/many workarounds copied from older gcc Fortunately, that last header there is pretty damn good -- it handles lots of edge cases, the code is nice & tight (uses gcc asm operands rather than manual movs), and is already almost a general library type header. It's also the basis of what is now the public cpuid.h that is shipped with gcc-4.3+. So what I've done is pull that test header out and into gdb/common/ (not sure if there's a better place), synced to the version found in gcc-4.8.0, put a wrapper API around it, and then cut over all the existing call points to this new header. Since the func already has support for "is cpuid supported on this proc", it makes it trivial to push the i386/x86_64 ifdefs down into this wrapper API too. Now it can be safely used for all targets and gcc will elide the unused code for us. I've verified the gdb.arch testsuite still passes, and this code compiles for an armv7a host as well as x86_64. The go32-nat code has been left ifdef-ed out until someone can test & verify the new stuff works (and if it doesn't, figure out how to make the new code work). URL: https://bugs.gentoo.org/467806 Signed-off-by: Mike Frysinger commit 2bc75af3916835a6b202a7fda7522208dc118ce0 Author: Doug Evans Date: Wed Jun 19 22:20:58 2013 +0000 * symfile.c (symfile_bfd_open): Delete unnecessary declaration. (get_section_index): Ditto. commit 0252e90ede531c864c0e079c45df7218680f71d6 Author: Luis Machado Date: Wed Jun 19 20:37:26 2013 +0000 * gdb.base/subst.exp: Delete default rules before further tests. commit 71978859f63b2ef422d2b2a02d43e4f510a92260 Author: Tom Tromey Date: Wed Jun 19 19:07:16 2013 +0000 * breakpoint.c (_initialize_breakpoint): Remove trailing \n from "dprintf" help. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 7 + bfd/ChangeLog | 287 ++ bfd/Makefile.am | 25 +- bfd/Makefile.in | 27 +- bfd/archures.c | 1 + bfd/bfd-in.h | 22 +- bfd/bfd-in2.h | 354 +- bfd/config.bfd | 42 +- bfd/configure | 6 +- bfd/configure.in | 6 +- bfd/cpu-aarch64.c | 10 +- bfd/elf32-arm.c | 6 - bfd/elf32-mips.c | 5 +- bfd/elf32-nios2.c | 6 - bfd/{elf64-aarch64.c => elfnn-aarch64.c} | 2877 ++++++-------- bfd/elfxx-aarch64.c | 522 +++ bfd/elfxx-aarch64.h | 47 + bfd/elfxx-mips.c | 1271 +++++- bfd/elfxx-mips.h | 4 + bfd/hash.c | 7 +- bfd/libbfd.h | 108 +- bfd/reloc.c | 359 +- bfd/targets.c | 10 + bfd/version.h | 2 +- configure | 6 +- configure.ac | 6 +- gdb/ChangeLog | 379 ++ gdb/Makefile.in | 16 +- gdb/NEWS | 15 + gdb/aarch64-tdep.c | 2 +- gdb/arm-symbian-tdep.c | 2 +- gdb/arm-tdep.c | 2 +- gdb/ax-gdb.h | 1 + gdb/breakpoint.c | 138 +- gdb/breakpoint.h | 4 + gdb/common/create-version.sh | 47 + gdb/common/filestuff.c | 2 - gdb/common/gdb_vecs.h | 2 + gdb/common/i386-cpuid.h | 63 + .../i386-cpuid.h => common/i386-gcc-cpuid.h} | 140 +- gdb/common/linux-btrace.c | 46 +- gdb/{ => common}/version.h | 0 gdb/common/version.in | 1 + gdb/configure.tgt | 5 + gdb/copyright.py | 2 +- gdb/corelow.c | 2 +- gdb/ctf.c | 12 + gdb/doc/ChangeLog | 40 + gdb/doc/Makefile.in | 15 +- gdb/doc/gdb.texinfo | 136 +- gdb/doc/gdbint.texinfo | 119 +- gdb/doublest.c | 49 +- gdb/dwarf2loc.c | 2 - gdb/dwarf2read.c | 55 +- gdb/exceptions.c | 2 +- gdb/exceptions.h | 2 +- gdb/features/traceframe-info.dtd | 5 +- gdb/gdbserver/ChangeLog | 33 + gdb/gdbserver/Makefile.in | 12 +- gdb/gdbserver/configure | 10 + gdb/gdbserver/configure.ac | 8 + gdb/gdbserver/gdbreplay.c | 5 +- gdb/gdbserver/server.h | 5 +- gdb/gdbserver/tracepoint.c | 12 +- gdb/gnulib/Makefile.in | 2 +- gdb/gnulib/aclocal.m4 | 9 + gdb/gnulib/config.in | 305 ++ gdb/gnulib/configure | 2716 ++++++++++++- gdb/gnulib/configure.ac | 2 +- gdb/gnulib/import/Makefile.am | 360 ++- gdb/gnulib/import/Makefile.in | 614 +++- gdb/gnulib/import/float+.h | 147 + gdb/gnulib/import/float.c | 33 + gdb/gnulib/import/float.in.h | 188 + gdb/gnulib/import/fpucw.h | 108 + gdb/gnulib/import/frexp.c | 168 + .../trace-unavailable.c => gnulib/import/frexpl.c} | 39 +- gdb/gnulib/import/isnan.c | 177 + .../import/isnand-nolibm.h} | 47 +- .../trace-unavailable.c => gnulib/import/isnand.c} | 31 +- gdb/gnulib/import/isnanl-nolibm.h | 33 + .../trace-unavailable.c => gnulib/import/isnanl.c} | 32 +- .../trace-unavailable.c => gnulib/import/itold.c} | 34 +- gdb/gnulib/import/m4/exponentd.m4 | 116 + gdb/gnulib/import/m4/exponentl.m4 | 98 + gdb/gnulib/import/m4/float_h.m4 | 98 + gdb/gnulib/import/m4/fpieee.m4 | 54 + gdb/gnulib/import/m4/frexp.m4 | 170 + gdb/gnulib/import/m4/frexpl.m4 | 231 ++ gdb/gnulib/import/m4/gnulib-cache.m4 | 3 +- gdb/gnulib/import/m4/gnulib-comp.m4 | 60 + gdb/gnulib/import/m4/isnand.m4 | 96 + gdb/gnulib/import/m4/isnanl.m4 | 255 ++ gdb/gnulib/import/m4/math_h.m4 | 353 ++ gdb/gnulib/import/math.c | 3 + gdb/gnulib/import/math.in.h | 2275 ++++++++++ gdb/gnulib/update-gnulib.sh | 4 +- gdb/go32-nat.c | 22 + gdb/hppa-hpux-tdep.c | 22 +- gdb/hppa-linux-tdep.c | 2 +- gdb/hppa-tdep.c | 11 +- gdb/hppa-tdep.h | 10 +- gdb/hppabsd-tdep.c | 2 +- gdb/infrun.c | 52 - gdb/mi/mi-cmds.c | 2 + gdb/mi/mi-cmds.h | 1 + gdb/mi/mi-main.c | 356 ++- gdb/mips-linux-tdep.c | 29 +- gdb/mips-tdep.c | 33 +- gdb/mips-tdep.h | 10 + gdb/msp430-tdep.c | 1041 +++++ gdb/nios2-tdep.c | 2 +- gdb/nto-tdep.c | 2 +- gdb/objfiles.c | 8 +- gdb/objfiles.h | 12 +- gdb/parser-defs.h | 1 + gdb/remote.c | 21 +- gdb/s390-tdep.c | 2 +- gdb/sh-tdep.c | 2 +- gdb/solib-dsbt.c | 2 +- gdb/solib-frv.c | 2 +- gdb/solib-svr4.c | 2 +- gdb/solib-target.c | 2 +- gdb/source.c | 7 +- gdb/sparc-tdep.c | 2 +- gdb/symfile.c | 4 - gdb/target.c | 25 - gdb/target.h | 2 - gdb/testsuite/ChangeLog | 192 + gdb/testsuite/boards/native-extended-gdbserver.exp | 3 + gdb/testsuite/boards/native-gdbserver.exp | 3 + gdb/testsuite/boards/native-stdio-gdbserver.exp | 3 + gdb/testsuite/gdb.arch/i386-avx.c | 2 +- gdb/testsuite/gdb.arch/i386-avx.exp | 2 +- gdb/testsuite/gdb.arch/i386-sse.c | 5 +- gdb/testsuite/gdb.arch/i386-sse.exp | 2 +- gdb/testsuite/gdb.base/corefile.exp | 8 +- gdb/testsuite/gdb.base/default.exp | 3 +- .../dprintf-next.c} | 24 +- gdb/testsuite/gdb.base/dprintf-next.exp | 36 + .../dprintf-non-stop.c} | 24 +- gdb/testsuite/gdb.base/dprintf-non-stop.exp | 67 + gdb/testsuite/gdb.base/dprintf.exp | 4 - gdb/testsuite/gdb.base/maint.exp | 24 +- gdb/testsuite/gdb.base/subst.exp | 6 + gdb/testsuite/gdb.mi/gdb2549.exp | 2 +- gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 2 +- gdb/testsuite/gdb.server/ext-attach.exp | 10 + gdb/testsuite/gdb.trace/actions.exp | 3 +- .../gdb.trace/mi-trace-frame-collected.exp | 156 + gdb/testsuite/gdb.trace/mi-trace-unavailable.exp | 36 + gdb/testsuite/gdb.trace/trace-unavailable.c | 5 + gdb/testsuite/gdb.trace/tsv.exp | 22 + gdb/tic6x-tdep.c | 2 +- gdb/tracepoint.c | 339 +- gdb/tracepoint.h | 51 +- gdb/tui/tui-regs.c | 7 + gdb/value.c | 4 +- gdb/value.h | 7 +- gdb/version.in | 1 - include/elf/ChangeLog | 9 + include/elf/aarch64.h | 136 +- include/elf/mips.h | 10 +- include/opcode/ChangeLog | 14 + include/opcode/mips.h | 11 +- include/opcode/msp430-decode.h | 130 + opcodes/ChangeLog | 36 + opcodes/Makefile.am | 5 + opcodes/Makefile.in | 6 + opcodes/aarch64-dis.c | 5 - opcodes/configure | 2 +- opcodes/configure.in | 2 +- opcodes/micromips-opc.c | 9 + opcodes/mips-dis.c | 83 +- opcodes/msp430-decode.c | 4327 ++++++++++++++++++++ opcodes/msp430-decode.opc | 590 +++ opcodes/po/POTFILES.in | 3 + opcodes/po/opcodes.pot | 430 ++- opcodes/rx-decode.c | 2 +- opcodes/rx-decode.opc | 2 +- sim/ChangeLog | 6 + sim/bfin/ChangeLog | 12 + sim/bfin/bfin-sim.c | 27 +- sim/common/ChangeLog | 12 + sim/common/Make-common.in | 8 +- sim/common/create-version.sh | 33 + sim/common/gennltvals.sh | 4 + sim/common/nltvals.def | 31 + sim/configure | 8 + sim/configure.tgt | 3 + sim/moxie/ChangeLog | 4 + sim/moxie/Makefile.in | 2 +- sim/msp430/ChangeLog | 12 + sim/msp430/Makefile.in | 66 + sim/msp430/aclocal.m4 | 90 + sim/msp430/config.in | 92 + {gdb/gdbserver => sim/msp430}/configure | 3067 +++++--------- sim/msp430/configure.ac | 32 + sim/msp430/msp430-sim.c | 1425 +++++++ .../trace-unavailable.c => sim/msp430/msp430-sim.h | 35 +- sim/msp430/sim-main.h | 120 + sim/msp430/trace.c | 318 ++ .../trace-unavailable.c => sim/msp430/trace.h | 38 +- sim/ppc/ChangeLog | 6 + sim/ppc/Makefile.in | 8 +- sim/rx/ChangeLog | 5 + sim/rx/rx.c | 3 +- sim/testsuite/sim/bfin/ChangeLog | 17 + sim/testsuite/sim/bfin/run-tests.sh | 2 +- sim/testsuite/sim/bfin/se_all32bitopcodes.S | 15 +- sim/testsuite/sim/bfin/se_allopcodes.h | 5 +- sim/testsuite/sim/bfin/testutils.inc | 2 +- 212 files changed, 24975 insertions(+), 5366 deletions(-) rename bfd/{elf64-aarch64.c => elfnn-aarch64.c} (72%) create mode 100644 bfd/elfxx-aarch64.c create mode 100644 bfd/elfxx-aarch64.h create mode 100755 gdb/common/create-version.sh create mode 100644 gdb/common/i386-cpuid.h rename gdb/{testsuite/gdb.arch/i386-cpuid.h => common/i386-gcc-cpuid.h} (59%) rename gdb/{ => common}/version.h (100%) create mode 100644 gdb/common/version.in create mode 100644 gdb/gnulib/import/float+.h create mode 100644 gdb/gnulib/import/float.c create mode 100644 gdb/gnulib/import/float.in.h create mode 100644 gdb/gnulib/import/fpucw.h create mode 100644 gdb/gnulib/import/frexp.c copy gdb/{testsuite/gdb.trace/trace-unavailable.c => gnulib/import/frexpl.c} (58%) create mode 100644 gdb/gnulib/import/isnan.c copy gdb/{testsuite/gdb.trace/trace-unavailable.c => gnulib/import/isnand-nolibm.h} (50%) copy gdb/{testsuite/gdb.trace/trace-unavailable.c => gnulib/import/isnand.c} (60%) create mode 100644 gdb/gnulib/import/isnanl-nolibm.h copy gdb/{testsuite/gdb.trace/trace-unavailable.c => gnulib/import/isnanl.c} (60%) copy gdb/{testsuite/gdb.trace/trace-unavailable.c => gnulib/import/itold.c} (57%) create mode 100644 gdb/gnulib/import/m4/exponentd.m4 create mode 100644 gdb/gnulib/import/m4/exponentl.m4 create mode 100644 gdb/gnulib/import/m4/float_h.m4 create mode 100644 gdb/gnulib/import/m4/fpieee.m4 create mode 100644 gdb/gnulib/import/m4/frexp.m4 create mode 100644 gdb/gnulib/import/m4/frexpl.m4 create mode 100644 gdb/gnulib/import/m4/isnand.m4 create mode 100644 gdb/gnulib/import/m4/isnanl.m4 create mode 100644 gdb/gnulib/import/m4/math_h.m4 create mode 100644 gdb/gnulib/import/math.c create mode 100644 gdb/gnulib/import/math.in.h create mode 100644 gdb/msp430-tdep.c copy gdb/testsuite/{gdb.trace/trace-unavailable.c => gdb.base/dprintf-next.c} (74%) create mode 100644 gdb/testsuite/gdb.base/dprintf-next.exp copy gdb/testsuite/{gdb.trace/trace-unavailable.c => gdb.base/dprintf-non-stop.c} (75%) create mode 100644 gdb/testsuite/gdb.base/dprintf-non-stop.exp create mode 100644 gdb/testsuite/gdb.trace/mi-trace-frame-collected.exp delete mode 100644 gdb/version.in create mode 100644 include/opcode/msp430-decode.h create mode 100644 opcodes/msp430-decode.c create mode 100644 opcodes/msp430-decode.opc create mode 100755 sim/common/create-version.sh create mode 100644 sim/msp430/ChangeLog create mode 100644 sim/msp430/Makefile.in create mode 100644 sim/msp430/aclocal.m4 create mode 100644 sim/msp430/config.in copy {gdb/gdbserver => sim/msp430}/configure (76%) create mode 100644 sim/msp430/configure.ac create mode 100644 sim/msp430/msp430-sim.c copy gdb/testsuite/gdb.trace/trace-unavailable.c => sim/msp430/msp430-sim.h (67%) create mode 100644 sim/msp430/sim-main.h create mode 100644 sim/msp430/trace.c copy gdb/testsuite/gdb.trace/trace-unavailable.c => sim/msp430/trace.h (59%) First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index ed3bc27..007f07b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-06-22 Richard Sandiford + + * configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*) + (mips*-*-ecoff*, mips*-*-pe*, mips*-*-irix* [v4 and earlier]) + (mips*-*-lnews*, mips*-*-riscos*): Add gas and ld to noconfigdirs. + * configure: Regenerate. + 2013-06-01 George Thomas * include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d3773c4..49a6fe6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,290 @@ +2013-06-28 Nick Clifton + + PR ld/15302 + * elf32-arm.c (allocate_dynrelocs_for_symbol): Revert previous patch. + +2013-06-27 Marcus Shawcroft + + * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Reserve one slot + in sgot. + (elfNN_aarch64_finish_dynamic_sections): Place the &_DYNAMIC reference + in sgot[0] rather than sgotplt[0]. + +2013-06-26 Yufeng Zhang + + * Makefile.am (elf32-aarch64.c): Add a #line cpp directive at the + beginning of the generated file. + (elf64-aarch64.c): Likewise. + * Makefile.in: Re-generated. + +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS): Add elfxx-aarch64.c. + (BFD64_BACKENDS_CFILES): Add elfxx-aarch64.lo. + * Makefile.in: Re-generated. + * configure.in (bfd_elf64_bigaarch64_vec): Add elfxx-aarch64.lo. + (bfd_elf64_littleaarch64_vec): Likewise. + (bfd_elf32_bigaarch64_vec): Likewise. + (bfd_elf32_littleaarch64_vec): Likewise. + * configure: Re-generated. + * elfxx-aarch64.c: New file; split from elf64-aarch64.c. + * elfxx-aarch64.h: New file. + * elfnn-aarch64.c: Include "elfxx-aarch64.h"; move the following + stuff to elfxx-aarch64.c. + (bfd_elf_aarch64_put_addend): Removed. + (PG_OFFSET, PG): Likewise. + (elfNN_aarch64_small_plt0_entry): Support ELF32. + (elfNN_aarch64_tlsdesc_small_plt_entry): Likewise. + (elf64_aarch64_grok_prstatus): Removed. + (elf_backend_grok_prstatus): Removed. + (insn32): Likewise. + (aarch64_unsigned_overflow): Likewise. + (aarch64_signed_overflow): Likewise. + (aarch64_resolve_relocation): Likewise. + (MASK): Likewise. + (decode_branch_ofs_26): Likewise. + (decode_cond_branch_ofs_19): Likewise. + (decode_ld_lit_ofs_19): Likewise. + (decode_tst_branch_ofs_14): Likewise. + (decode_movw_imm): Likewise. + (decode_adr_imm): Likewise. + (decode_add_imm): Likewise. + (reencode_branch_ofs_26): Likewise. + (reencode_cond_branch_ofs_19): Likewise. + (reencode_ld_lit_ofs_19): Likewise. + (reencode_tst_branch_ofs_14): Likewise. + (reencode_movw_imm): Likewise. + (reencode_adr_imm): Likewise. + (reencode_ldst_pos_imm): Likewise. + (reencode_add_imm): Likewise. + (reencode_movzn_to_movz): Likewise. + (reencode_movzn_to_movn): Likewise. + (aarch64_relocate): Update to call the new function names in + elfxx-aarch64.c. + (aarch64_calculate_got_entry_vma): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (elf64_aarch64_update_plt_entry): Likewise; change the type of the + parameter 'r_type' to bfd_reloc_code_real_type; rename to ... + (elf_aarch64_update_plt_entry): ... this. + (elfNN_aarch64_create_small_pltn_entry): Update. + (elfNN_aarch64_init_small_plt0_entry): Remove plt_got_base; add + bfd_vma plt_got_2nd_ent; update to call elf_aarch64_update_plt_entry. + (elfNN_aarch64_finish_dynamic_sections): Add plt_entry; update to + call elf_aarch64_update_plt_entry. + +2013-06-26 Yufeng Zhang + + * bfd-in2.h: Re-generated. + * elfnn-aarch64.c (HOWTO64, HOWTO32): New define. + (IS_AARCH64_TLS_RELOC): Change to be based on the + bfd reloc enumerators. + (IS_AARCH64_TLSDESC_RELOC): Likewise. + (PG, PG_OFFSET): Cast literal to bfd_vma. + (elf64_aarch64_howto_table): Removed. + (elf64_aarch64_howto_dynrelocs): Removed. + (elf64_aarch64_tls_howto_table): Removed. + (elf64_aarch64_tlsdesc_howto_table): Removed. + (elfNN_aarch64_howto_table): New table to host all howto entires.. + (R_AARCH64_*): Replaced by AARCH64_R (*) and AARCH64_R_STR (*). + (elfNN_aarch64_bfd_reloc_from_howto): New function. + (elfNN_aarch64_bfd_reloc_from_type): Ditto. + (struct elf_aarch64_reloc_map): New. + (elf_aarch64_reloc_map): New table. + (elfNN_aarch64_howto_from_bfd_reloc): New function. + (elfNN_aarch64_howto_from_type): Update to look up the new table + elfNN_aarch64_howto_table. + (struct elf64_aarch64_reloc_map): Remove. + (elf64_aarch64_reloc_map): Remove. + (elfNN_aarch64_reloc_type_lookup): Change to call + elfNN_aarch64_howto_from_bfd_reloc. + (elfNN_aarch64_reloc_name_lookup): Change to look up the new table + elfNN_aarch64_howto_table. + (aarch64_resolve_relocation): Refactor to switch on the bfd + reloc enumerators. + (bfd_elf_aarch64_put_addend): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (aarch64_tls_transition_without_check): Likewise. + (aarch64_reloc_got_type): Likewise. + (aarch64_can_relax_tls): Likewise. + (aarch64_tls_transition): Likewise. + (elfNN_aarch64_tls_relax): Likewise. + (elfNN_aarch64_final_link_relocate): Likewise. + (elfNN_aarch64_relocate_section): Likewise. + (elfNN_aarch64_gc_sweep_hook): Likewise. + (elfNN_aarch64_check_relocs): Likewise. + (aarch64_tls_transition): Change to return a bfd reloc enumerator. + * libbfd.h: Re-generated. + * reloc.c: Re-order the AArch64 bfd reloc enumerators. + (BFD_RELOC_AARCH64_RELOC_START) + (BFD_RELOC_AARCH64_RELOC_END) + (BFD_RELOC_AARCH64_LD_GOT_LO12_NC) + (BFD_RELOC_AARCH64_LD32_GOT_LO12_NC) + (BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC) + (BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC) + (BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC) + (BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC) + (BFD_RELOC_AARCH64_IRELATIVE): New relocs. + +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS): Add elf32-aarch64.lo. + (BUILD_CFILES): Add elf32-aarch64.c. + (elf32-aarch64.c): New rule for generating from elfnn-aarch64.c. + * Makefile.in: Re-generated. + * archures.c (bfd_mach_aarch64_ilp32): New define. + * bfd-in.h (bfd_elf32_aarch64_init_maps): New declaration. + (bfd_elf32_aarch64_set_options): Ditto. + (elf32_aarch64_setup_section_lists): Ditto. + (elf32_aarch64_next_input_section): Ditto. + (elf32_aarch64_size_stubs): Ditto. + (elf32_aarch64_build_stubs): Ditto. + * bfd-in2.h: Re-generated. + * config.bfd (aarch64-*-elf): Add bfd_elf32_littleaarch64_vec + and bfd_elf32_bigaarch64_vec. + (aarch64-*-linux*): Likewise. + (aarch64_be-*-elf): Likewise. + (aarch64_be-*-linux*): Likewise. + * configure.in (bfd_elf32_bigaarch64_vec) + (bfd_elf32_littleaarch64_vec): New. + * configure: Re-generated. + * cpu-aarch64.c (compatible): Don't allow mixing ilp32 objects with + lp64 ones. + (bfd_aarch64_arch_ilp32): New. + (bfd_aarch64_arch): Link to bfd_aarch64_arch_ilp32. + * elfnn-aarch64.c (ARCH_SIZE): New define. + (AARCH64_R, AARCH64_R_STR, LOG_FILE_ALIGN): New defines. + (GOT_ENTRY_SIZE): Re-define as (ARCH_SIZE / 8). + (elf64_aarch64_*): Rename to elfNN_aarch64_*. + (ELF64_R_*): Rename to ELFNN_R_*. + Plus other paramaterization. + * targets.c (bfd_elf32_bigaarch64_vec, bfd_elf32_littleaarch64_vec): + New declarations. + (_bfd_target_vector): Add bfd_elf32_bigaarch64_vec and + bfd_elf32_littleaarch64_vec. + +2013-06-26 Yufeng Zhang + + * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-aarch64.c. + (BUILD_CFILES): Add elf64-aarch64.c. + (elf64-aarch64.c): New rule for generating from elfnn-aarch64.c. + * Makefile.in: Re-generated. + * elf64-aarch64.c: Rename to ... + * elfnn-aarch64.c: ... this. + +2013-06-25 Maciej W. Rozycki + Paul Brook + + * elfxx-mips.h (_bfd_mips_elf_insn32): New prototype. + * elfxx-mips.c (mips_elf_link_hash_table): Add insn32 member. + (STUB_MOVE32_MICROMIPS, STUB_JALR32_MICROMIPS): New macros. + (MICROMIPS_INSN32_FUNCTION_STUB_NORMAL_SIZE): Likewise. + (MICROMIPS_INSN32_FUNCTION_STUB_BIG_SIZE): Likewise. + (micromips_insn32_o32_exec_plt0_entry): New variable. + (micromips_insn32_o32_exec_plt_entry): Likewise. + (_bfd_mips_elf_adjust_dynamic_symbol): Handle insn32 mode. + (mips_elf_estimate_stub_size): Likewise. + (_bfd_mips_elf_size_dynamic_sections): Likewise. + (_bfd_mips_elf_finish_dynamic_symbol): Likewise. + (mips_finish_exec_plt): Likewise. + (_bfd_mips_elf_relax_section): Likewise. + (_bfd_mips_elf_insn32): New function. + (_bfd_mips_elf_get_synthetic_symtab): Handle insn32 PLT. + +2013-06-24 Maciej W. Rozycki + + * elfxx-mips.h (_bfd_mips_elf_get_synthetic_symtab): New + prototype. + * elf32-mips.c (elf_backend_plt_sym_val): Remove macro. + (bfd_elf32_get_synthetic_symtab): New macro. + * elfxx-mips.c (plt_entry): New structure. + (mips_elf_link_hash_entry): Add use_plt_entry member. + (mips_elf_link_hash_table): Rename plt_entry_size member to + plt_mips_entry_size. Add plt_comp_entry_size, plt_mips_offset, + plt_comp_offset, plt_got_index entries and plt_header_is_comp + members. + (STUB_LW_MICROMIPS, STUB_MOVE_MICROMIPS): New macros. + (STUB_LUI_MICROMIPS, STUB_JALR_MICROMIPS): Likewise. + (STUB_ORI_MICROMIPS, STUB_LI16U_MICROMIPS): Likewise. + (STUB_LI16S_MICROMIPS): Likewise. + (MICROMIPS_FUNCTION_STUB_NORMAL_SIZE): Likewise. + (MICROMIPS_FUNCTION_STUB_BIG_SIZE): Likewise. + (micromips_o32_exec_plt0_entry): New variable. + (mips16_o32_exec_plt_entry): Likewise. + (micromips_o32_exec_plt_entry): Likewise. + (mips_elf_link_hash_newfunc): Initialize use_plt_entry. + (mips_elf_output_extsym): Update to use gotplt_union's plist + member rather than offset. + (mips_elf_gotplt_index): Likewise. Remove the VxWorks + restriction. Use MIPS_ELF_GOT_SIZE to calculate GOT address. + (mips_elf_count_got_symbols): Update to use gotplt_union's plist + member rather than offset. + (mips_elf_calculate_relocation): Handle MIPS16/microMIPS PLT + entries. + (_bfd_mips_elf_create_dynamic_sections): Don't set PLT sizes + here. + (mips_elf_make_plt_record): New function. + (_bfd_mips_elf_check_relocs): Update comment. Record occurences + of JAL relocations that might need a PLT entry. + (_bfd_mips_elf_adjust_dynamic_symbol): Update to use + gotplt_union's plist member rather than offset. Set individual + PLT entry sizes here. Handle MIPS16/microMIPS PLT entries. + Don't set the symbol's value in the symbol table for PLT + references here. Don't set the PLT or PLT GOT section sizes + here. + (mips_elf_estimate_stub_size): Handle microMIPS stubs. + (mips_elf_allocate_lazy_stub): Likewise. + (mips_elf_lay_out_lazy_stubs): Likewise. Define a _MIPS_STUBS_ + magic symbol. + (mips_elf_set_plt_sym_value): New function. + (_bfd_mips_elf_size_dynamic_sections): Set PLT header size and + PLT and PLT GOT section sizes here. Set the symbol values in + the symbol table for PLT references here. Handle microMIPS + annotation of the _PROCEDURE_LINKAGE_TABLE_ magic symbol. + (_bfd_mips_elf_finish_dynamic_symbol): Update to use + gotplt_union's plist member rather than offset. Handle + MIPS16/microMIPS PLT entries. Handle microMIPS stubs. + (_bfd_mips_vxworks_finish_dynamic_symbol): Update to use + gotplt_union's plist member rather than offset. Use + MIPS_ELF_GOT_SIZE to calculate GOT address. + (mips_finish_exec_plt): Handle microMIPS PLT. Return status. + (_bfd_mips_elf_finish_dynamic_sections): Handle result from + mips_finish_exec_plt. + (_bfd_mips_elf_link_hash_table_create): Update to use + gotplt_union's plist member rather than offset. + (_bfd_mips_elf_get_synthetic_symtab): New function. + +2013-06-24 Wawa + + PR 15657 + * hash.c (_bfd_stringtab_add): Copy the string if COPY is true. + +2013-06-23 Richard Sandiford + + * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Move MIPS ELF + files to... + (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): ...here. + * Makefile.in: Regenerate. + * config.bfd: Enclose all MIPS ELF targets in #ifdef BFD64. + Set want64 to true for them at the end. + * targets.c (_bfd_target_vector): Protect MIPS ELF targets with + #ifdef BFD64. + +2013-06-22 Sandra Loosemore + + * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't + set sh_entsize for PLT section. + +2013-06-20 Yufeng Zhang + + * bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'. + * bfd-in2.h: Re-generated. + * elf64-aarch64.c (RELOC_SECTION): Removed. + (SWAP_RELOC_IN, SWAP_RELOC_OUT): Ditto. + (AARCH64_ELF_OS_ABI_VERSION): Ditto. + (elf64_aarch64_link_hash_traverse): Ditto. + (elf64_aarch64_size_stubs): Change 'Aarch64' to 'AArch64' in the + comment. + 2013-06-19 Will Newton * configure: Regenerated. diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 6efe20f..6f0e477 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -346,7 +346,6 @@ BFD32_BACKENDS = \ elf32-mep.lo \ elf32-metag.lo \ elf32-microblaze.lo \ - elf32-mips.lo \ elf32-moxie.lo \ elf32-msp430.lo \ elf32-mt.lo \ @@ -375,7 +374,6 @@ BFD32_BACKENDS = \ elf32-xtensa.lo \ elf32.lo \ elflink.lo \ - elfxx-mips.lo \ elfxx-sparc.lo \ elfxx-tilegx.lo \ epoc-pe-arm.lo \ @@ -536,7 +534,6 @@ BFD32_BACKENDS_CFILES = \ elf32-mep.c \ elf32-metag.c \ elf32-microblaze.c \ - elf32-mips.c \ elf32-moxie.c \ elf32-msp430.c \ elf32-mt.c \ @@ -565,7 +562,6 @@ BFD32_BACKENDS_CFILES = \ elf32-xtensa.c \ elf32.c \ elflink.c \ - elfxx-mips.c \ elfxx-sparc.c \ elfxx-tilegx.c \ epoc-pe-arm.c \ @@ -642,7 +638,9 @@ BFD32_BACKENDS_CFILES = \ # elf32-ia64.c requires a 64-bit bfd_vma, and hence can not be put in # BFD32_BACKENDS. BFD64_BACKENDS = \ + elf32-aarch64.lo \ elf64-aarch64.lo \ + elfxx-aarch64.lo \ aix5ppc-core.lo \ aout64.lo \ coff-alpha.lo \ @@ -650,6 +648,7 @@ BFD64_BACKENDS = \ coff64-rs6000.lo \ demo64.lo \ elf32-ia64.lo \ + elf32-mips.lo \ elf32-score.lo \ elf32-score7.lo \ elf64-alpha.lo \ @@ -668,6 +667,7 @@ BFD64_BACKENDS = \ elf64.lo \ elfn32-mips.lo \ elfxx-ia64.lo \ + elfxx-mips.lo \ mach-o-x86-64.lo \ mmo.lo \ nlm32-alpha.lo \ @@ -680,13 +680,13 @@ BFD64_BACKENDS = \ vms-alpha.lo BFD64_BACKENDS_CFILES = \ - elf64-aarch64.c \ aix5ppc-core.c \ aout64.c \ coff-alpha.c \ coff-x86_64.c \ coff64-rs6000.c \ demo64.c \ + elf32-mips.c \ elf32-score.c \ elf32-score7.c \ elf64-alpha.c \ @@ -703,7 +703,9 @@ BFD64_BACKENDS_CFILES = \ elf64-x86-64.c \ elf64.c \ elfn32-mips.c \ + elfxx-aarch64.c \ elfxx-ia64.c \ + elfxx-mips.c \ mach-o-x86-64.c \ mmo.c \ nlm32-alpha.c \ @@ -764,6 +766,7 @@ SOURCE_CFILES = \ $(OPTIONAL_BACKENDS_CFILES) BUILD_CFILES = \ + elf32-aarch64.c elf64-aarch64.c \ elf32-ia64.c elf64-ia64.c peigen.c pepigen.c pex64igen.c CFILES = $(SOURCE_CFILES) $(BUILD_CFILES) @@ -912,6 +915,18 @@ elf64-target.h : elfxx-target.h sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new mv -f elf64-target.new elf64-target.h +elf32-aarch64.c : elfnn-aarch64.c + rm -f elf32-aarch64.c + echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf32-aarch64.new + sed -e s/NN/32/g < $(srcdir)/elfnn-aarch64.c >> elf32-aarch64.new + mv -f elf32-aarch64.new elf32-aarch64.c + +elf64-aarch64.c : elfnn-aarch64.c + rm -f elf64-aarch64.c + echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf64-aarch64.new + sed -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c >> elf64-aarch64.new + mv -f elf64-aarch64.new elf64-aarch64.c + elf32-ia64.c : elfnn-ia64.c rm -f elf32-ia64.c sed -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new diff --git a/bfd/Makefile.in b/bfd/Makefile.in index e54cf57..8a38a76 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -648,7 +648,6 @@ BFD32_BACKENDS = \ elf32-mep.lo \ elf32-metag.lo \ elf32-microblaze.lo \ - elf32-mips.lo \ elf32-moxie.lo \ elf32-msp430.lo \ elf32-mt.lo \ @@ -677,7 +676,6 @@ BFD32_BACKENDS = \ elf32-xtensa.lo \ elf32.lo \ elflink.lo \ - elfxx-mips.lo \ elfxx-sparc.lo \ elfxx-tilegx.lo \ epoc-pe-arm.lo \ @@ -838,7 +836,6 @@ BFD32_BACKENDS_CFILES = \ elf32-mep.c \ elf32-metag.c \ elf32-microblaze.c \ - elf32-mips.c \ elf32-moxie.c \ elf32-msp430.c \ elf32-mt.c \ @@ -867,7 +864,6 @@ BFD32_BACKENDS_CFILES = \ elf32-xtensa.c \ elf32.c \ elflink.c \ - elfxx-mips.c \ elfxx-sparc.c \ elfxx-tilegx.c \ epoc-pe-arm.c \ @@ -945,7 +941,9 @@ BFD32_BACKENDS_CFILES = \ # elf32-ia64.c requires a 64-bit bfd_vma, and hence can not be put in # BFD32_BACKENDS. BFD64_BACKENDS = \ + elf32-aarch64.lo \ elf64-aarch64.lo \ + elfxx-aarch64.lo \ aix5ppc-core.lo \ aout64.lo \ coff-alpha.lo \ @@ -953,6 +951,7 @@ BFD64_BACKENDS = \ coff64-rs6000.lo \ demo64.lo \ elf32-ia64.lo \ + elf32-mips.lo \ elf32-score.lo \ elf32-score7.lo \ elf64-alpha.lo \ @@ -971,6 +970,7 @@ BFD64_BACKENDS = \ elf64.lo \ elfn32-mips.lo \ elfxx-ia64.lo \ + elfxx-mips.lo \ mach-o-x86-64.lo \ mmo.lo \ nlm32-alpha.lo \ @@ -983,13 +983,13 @@ BFD64_BACKENDS = \ vms-alpha.lo BFD64_BACKENDS_CFILES = \ - elf64-aarch64.c \ aix5ppc-core.c \ aout64.c \ coff-alpha.c \ coff-x86_64.c \ coff64-rs6000.c \ demo64.c \ + elf32-mips.c \ elf32-score.c \ elf32-score7.c \ hooks/post-receive -- Repository for Project Archer.