From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15820 invoked by alias); 14 May 2013 13:54:25 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 15802 invoked by uid 306); 14 May 2013 13:54:25 -0000 Date: Tue, 14 May 2013 13:54:00 -0000 Message-ID: <20130514135424.15580.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] tromey/gcc-pr-55608-fallout: automatically dereference synthetic pointers when printing X-Git-Refname: refs/heads/tromey/gcc-pr-55608-fallout X-Git-Reftype: branch X-Git-Oldrev: 22348cff7880dfd0c47f9100f5d0bbe977e41182 X-Git-Newrev: 936cb089be1cb6f79063fd3b4200a6ac9d74db4e X-SW-Source: 2013-q2/txt/msg00068.txt.bz2 List-Id: The branch, tromey/gcc-pr-55608-fallout has been updated discards 22348cff7880dfd0c47f9100f5d0bbe977e41182 (commit) discards 6516256d31709f64d3eadb741766559d83557ec2 (commit) discards eb90275158895afda21e71938891baef1a5426a1 (commit) discards 14c2fd404eaeaa52ef95d6c7a5f35ec7fcc01375 (commit) discards f2bc6bbaf5e0c063f268e32acd612b7ad1825f42 (commit) discards 71fe9a8483ec29b29c7f34e03867a670a56b7b6a (commit) discards e90b2149603f40e944df56c9c43befefdc76ce2c (commit) via 936cb089be1cb6f79063fd3b4200a6ac9d74db4e (commit) via 047bd5a85ec05c3e757ae54b2ec0f0b3bcb69d94 (commit) via f39e776c70fd81a769af4010cf0ea6c73d2ae26f (commit) via b7b21175961e89d402475f8315ebd41d38a8b1e1 (commit) via 4561066c2ca4b9803f61aa3d5ab922eacf9074e6 (commit) via 18ff964b7afe30af7c370dc755bab2ba4f6904d1 (commit) via 0b6d485333eaecc80f2ee1c526d00afc34545568 (commit) via 85d1ecb8e8c205ad9920ec7d9122e1f41a8722e6 (commit) via 99625c81b71b4ebde9922688db0c52533ad9169a (commit) via 9ff19ea62ce51ec67ab3fe646aec8a5b3d8b06ce (commit) via 599663b891b44af7854305c29b2e5c9036d3d18a (commit) via a9fd162da6d20785d86daf2963c175d7b31b1502 (commit) via 81160eb832e138cbbbaefcb1a618b833e0cba067 (commit) via e093c20cb935fd6cfd50166fce1f476f61cdedb4 (commit) via 5f44153b7e6247e1a59ada51f4ff56f9ba43d019 (commit) via 6043f67954e86f417874a92239683afc05acc197 (commit) via 3f9c92cea940830cd60a14f0918fc8881c10a11a (commit) via 16231982db16e600b6678b7ba8a50db941f71448 (commit) via c9d9bd917e99201f16e2d7da4b8637d37df66224 (commit) via f9faafae8750b071370766a40e9e1204d667285c (commit) via a2d6e67eab0c21881486166bb23a22a759cbfe0f (commit) via c4d847ed07a5b98bc1d22e1053ae6723278a5ade (commit) via 2b6f779f35f31109cd1fa7e847153d463f1b21ba (commit) via 4ab6caae50b7dd03fdd35f9b63f74323098d1d1a (commit) via 7698b6278eabefc34834cd51a04f8c821d6daed4 (commit) via 6ac38df064fe8efd580ebb9426bbedd343de78c5 (commit) via 77c8328144b9f4724ec07ec612e65bdbd20b04fb (commit) via 6fccee683ae32b5ba453daf063581d6819deeaef (commit) via f039214ffb9514ec16feb28d1f2471b1e1325a0e (commit) via 9f206662f66c7097aff7ef70925f409825a75bdb (commit) via b55209d9a23dfc4e2f563a0b6bdd674f18d908d5 (commit) via c7c855256383b1c3fd1e34704e19e462c603f25b (commit) via 271c6e6cca0e1a275fc9300f004cd51dc1b5433d (commit) via d0dde44e0059b3fbfd55efaf87116ee382d775b4 (commit) via 95615b4a2932c1cbb5e8314afa4f43b1c38a9ee8 (commit) via 485edc33433aae5742e8cc4fbefdeea586dd7623 (commit) via 6b0f6001d42f7626cccaf964ce7e218efbc02176 (commit) via de8127d5c010f93939533769c6adc6e55cec9630 (commit) via bf21d1963b2a80db660b586ff2bf5fe372b28268 (commit) via 808e8fdc1d868072ed6cd214603d690d93597c31 (commit) via 69258f21f6ff1184208c2d3e1110ababc781bec3 (commit) via fa23708ed5f8249d38948f8d5269bfbbca088417 (commit) via 390e57deb940ca7330a27b33d1e89652362295fb (commit) via 17e668f7b1ca5ce96a51886433cb751a0e6a2a2e (commit) via cd402a50a7be87d91aa0b0b6e4aa09da6527bbd2 (commit) via 8f10c3cb14e9a12eee7080c48e4f1404a6bd75b4 (commit) via d9fc67bdef1d95429ac87b80ce9ee6cbcf536878 (commit) via 9811ffc67ae31043fa2140ab167083f3c299f308 (commit) via 658b1ee171991584f177badbe08216007220ee9b (commit) via 5cfeb4fbc6e51fe4f3e1a89bfc2e9f0f76ffa644 (commit) via d7761df5830ad220cf0ff47e927879d8be7b77c4 (commit) via 4ef075f1ce5709607742403fb09c9ec83c85d381 (commit) via 071db9fe6db5df2a5997bf873e5f3ce28739c607 (commit) via 76d89bfcab8015a6363fad057408d4dc73c342f9 (commit) via 24158df9a7c93227c2df45c4211b01d363c6ffb4 (commit) via 3ae4170839d072180476bd01b747d95d0b63ed12 (commit) via 364608b10bfbcf8943f5e18808734ddcc9206cd4 (commit) via 7040211e0e969a8cc08934eeec37e67468015079 (commit) via b8f263742a5673f4ddf988bf93b65274168dc8d9 (commit) via 5fa94527e555568c45ddee87fbf6cffe68890a1b (commit) via 21d0dc4e8b695d4640942eccb0be44b4267e1f9a (commit) via fa3c0d517f8c36110983288ef2f3cf4bbf4a7f36 (commit) via e012852a9958f732e79d687fc712ec3aba597198 (commit) via 616e118a7e18a8eef32b846b7e9d7d4197cec627 (commit) via 28ec3e247cc22ecd040eccc138171e6b5746b211 (commit) via 1abe07e6a2c57536afbe6f0ddb14f3e9b1d83509 (commit) via 1fead7632f25000bedff5f753a32b9987117d66a (commit) via 30d53ace28f23643886348bbd13a78d92c305237 (commit) via b0ebc73aab236db66ed9baa3a3c1f5ad6336d3c5 (commit) via d11968d37d20ed65dc9432822b83e948d95b46fe (commit) via 07c04815e9ba61fb80dfa8b09c88eaabf432126e (commit) via 9476ac0cbd9ac8410ce1541b5ea0edae425ef3d5 (commit) via fdf76be874627e0dde995e5555e2c6926bf88db7 (commit) via b490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97 (commit) via d9b323ee990314df7981c2d599e932606abc74a4 (commit) via 1bd49fda93db2805d821307ac8cf65e01d5b54a4 (commit) via 8a3b4bbdafa5b601e0af356dc73b88b06c6d7332 (commit) via 8ef0b952c0422658fb407917888d4c98fa55117f (commit) via faa73d425d03b16dcbb3d7135872558c1852dd45 (commit) via a9fce1bc95601cd0521adb498a5c3d00a2f41aed (commit) via f38f5ec74d176ff96ee2a3e642a2920d0e130d20 (commit) via dc40faa5c564ede6b8f901bc1a7dee76c18c2861 (commit) via 1b8065336312d4e5b9ef920db43f77f972be4ce7 (commit) via 96e1ff24b57219e6dffbb90cc023e4cf5027a688 (commit) via 7862bb5d7eb447f0ae4279d04aedf05bcc254526 (commit) via cb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d (commit) via ad8562bf2c2e0d54f691ab4bd6e81de0143e02a8 (commit) via b9f55e3156d158077c25cff30d68ab07cb85984d (commit) via 2a76aec91cbf604b4320ff1cf0bc4576a4c916fa (commit) via f715391fbc62f5406db7ff23c6db5b8b5bdbd08f (commit) via 4f9c83799fdc146d90c2424ed1cbfcfd4b74147a (commit) via 9b3730b42180d941c99d31df0db47867bf6398cd (commit) via 94777abfb8f831fd0dadc9b0572eb097fd50bea3 (commit) via b395cb33dba6c1bf90226e31de32a59c319963b7 (commit) via 64b107b6b447c11b4a7891470930e364df930e7a (commit) via 322c436665d75aaeadadbcb1e3e05b12b437b08c (commit) via bdefcb14adb0f892bb613a8e891a031775fe6dff (commit) via 20e2838e70a394df2bcc6867b20cf5986eed6b4a (commit) via 1121c709b97fe993a34cdec5fd527898704fb8eb (commit) via 10033b6300129b4662b199a3903da79677c2ddd0 (commit) via cbc2f1cd213ffcc8d77dbed2654f5eb013182f2f (commit) via 548fe3aeed52402480a707202c78933b7f0d3748 (commit) via 1d1e0c44fe05d65f68f73a77e29b1474a9ddfb95 (commit) via ef40e27e0cee297fac4f7a247ff40f39433fbaf0 (commit) via 16c0b11b02771012bf4514ba955f681e5994ce3c (commit) via f48fd02843a2da4e0421d9dfa00686d300a71e16 (commit) via 3efe260e9d1d0ce992494820b3a6d180a998917e (commit) via 029d1bad2ac0ff638ecab4b1bb8f737bdb44b417 (commit) via 82b03c1289c0b95aa5daf168251b51458a996b76 (commit) via 3fe4aa22545a548d3064fa3ea4e88e8369e45e51 (commit) via bbafb912fa731c7d09c5ebcbeaffb49b5cb9337a (commit) via bdc44b2ac9424ef0d2fbfdd7b78f73d7933b4289 (commit) via 8747f6ed71b9139b1a79ab62202e36537664344d (commit) via e603b201022b4d2668be888f882d685b79198380 (commit) via ddbcc3e74124ccca7a8ad8a1e75070790de3776f (commit) via 51c07ff177513a01184013d85875c328732a68d2 (commit) via b78790fc3bd1677ea0825df100c5bf524846053a (commit) via 9c081aa6576570099ede776f98678bd0f7345928 (commit) via c343590706cffe0cb91c6efda33ad32f9a11d092 (commit) via d910abfa3b84b0b89abf9039596d783ff00e766d (commit) via 86398324bfc747b2e5ad4689f5fdd2448dbd9fb1 (commit) via 7de1158dc2a54a50bf2d47c2674fa80214ebe36b (commit) via 9ba6e858651d1a124dc20a2e772090669f47e7f0 (commit) via 7742f4f5e38efacdb8b0c018c2837fcb4a1ec8b7 (commit) via abd8ed39e861452889728d3fc970af008866f11d (commit) via 79cef858b75b1eaf117a952ea6d6825c4d237e02 (commit) via e33a3f1a2e9dedab71d27c029beba8815bcebd1f (commit) via 7278f246a92191c8fae5abd0c45bc00e6c35b1ca (commit) via 9fcd69680e6da8bd60cc1073d69d4604c63f3bd7 (commit) via 77664a6d7cfa893614de5d28b9ca8b26e6b5a874 (commit) via e96330f8a0b100e9c264977ccd36cecfad66888f (commit) via b66173eafa56bfa8ddfbfc2bb7c66d97c56046b0 (commit) via 1bb9f1a19b407289a832608705980821074cd84d (commit) via f07777f3d6fdeeb0bf54c3411bb9212cf2db8cca (commit) via 31c5013d4a2abb9e4bff9e46c0782daf7edd1fd7 (commit) via 0a9e8954b7385596ca4d650c3a9457cd94a9f0c3 (commit) via 842809252f742c8e84195742cfa8f8c8490d19a8 (commit) via 157e1b7c1618d417b1d980fd747a64b4dbd637d5 (commit) via b3115258ab45c340a5bcb74a821e6715d7c6c580 (commit) via ddabd64d2b6eef792b324de723f5a3de542c2145 (commit) via 1ef6af4459a5ed937df08728a316b5e77f9b5718 (commit) via cc173028ea3382ae3e4663f669221835e35a87d0 (commit) via 13773b30f16fb5c84903139b4018696d900284f3 (commit) via 7d9c6579c7a3041c73f4e4b161952480990c32a1 (commit) via 73a9ac437a8d796367b459e9f299228de48db46a (commit) via 5f84f6446697d2462a51977edff7523d6adc8af7 (commit) via 334e3f5577eda59dbb1547bad8a58a57cb8a2667 (commit) via 922f3816b2e61b8b496d5fbc1a45888f292a0734 (commit) via a770c2cf10da51a32de765b248f8c974620fbdea (commit) via 87a92a2b9ae99df3543a06f06697dc463db11d2a (commit) via 6c7bdada280a511749a750246b45c7200d1cb099 (commit) via 590909ea9631090e227a57ef7e7ef75ac39748fd (commit) via ca61fe229aa2e5c6c33fa60b28e68039bd6abf01 (commit) via aefc7d03c760358b9f048f0d0ef0d04f7cb79805 (commit) via 6330ab576e18fb97912839fc116c7babb5fd8c70 (commit) via ce8a701215fa121e038199d49a6054aac86ec7f6 (commit) via b9159f3f27c1d944eb546b31b43bec73b4f275ec (commit) via 41041102676146d1b4c1045e3475245e67c86eff (commit) via d6743957be0be6636ecd73ba454379bcf347a65f (commit) via 39fcd2fdc410efdf2356201b976f21c074b7bd65 (commit) via 6176274447234dcc9ebcb7e7aefe0cee8367d86c (commit) via ff7d34eae75e033cdd4cc39c2b19cc8659ff9acf (commit) via a0a7241421d97061b1e691cdf5657a24f3390c2c (commit) via 97106f3b3295e83abf1ab3dc3e3ce03dbdd0ff54 (commit) via 737ce405fa3dfce6f73d5028788d1dbc11c15655 (commit) via ad06d02eef76b374305e65e1c6c4d4a2c0c752eb (commit) via 056cef676aa35c35516932443545ad24aa0231cc (commit) via 9bf5cd53792ab6d5e0113d7c40cf10148fe614bb (commit) via eb0cef962ccce4c456e6fa87cfbc8f113eec4afb (commit) via d1debb56c4486497d184ac21c081f47c714f5f0f (commit) via ffc9246b7b8b1ba1c665ca8deb8c7a59dc129d1d (commit) via 032553c640bd155aa4fe35b0ff31879a1903f39d (commit) via 9969e593c6d5c36472dc999f322510bdf042f241 (commit) via 888cf48cd5de386c518fc6880280466b8bc58be2 (commit) via 0203b21844827c8cb09a1f01cd1ec2af6d77c140 (commit) via e40163f78b1c283325520ff1d2eec78cc06ef278 (commit) via 5cea280c6df6c447c2fb32d01e2b6e0a0d178a5f (commit) via e4e998fbc0c8ed7c45e322560711d38f38186c0b (commit) via 038edce9d30490ef69495290a8861085a458545f (commit) via c3a3c5fe4b9ba9dce63c2aa5e78a0729c33f49cd (commit) via de8259ea19c9457b0fcc9118d37a3ced3ddaf998 (commit) via a9c3a3df0662cb0ed15321000107c8c1aa768cdc (commit) from 22348cff7880dfd0c47f9100f5d0bbe977e41182 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 936cb089be1cb6f79063fd3b4200a6ac9d74db4e Author: Tom Tromey Date: Wed Mar 27 10:49:54 2013 -0600 automatically dereference synthetic pointers when printing This automatically dereferences synthetic pointers when printing. However it has weird effects sometimes: (gdb) p c $2 = (byte *) No frame selected. and doesn't print strings properly yet (gdb) p c $1 = (byte *) 114 'r' commit 047bd5a85ec05c3e757ae54b2ec0f0b3bcb69d94 Author: Tom Tromey Date: Tue Apr 23 11:45:11 2013 -0600 Fix PR symtab/15391 PR symtab/15391 is a failure with the DW_OP_GNU_implicit_pointer feature. I tracked it down to a logic error in read_pieced_value. The code truncates this_size_bits according to the type size and offset too early -- it should do it after taking bits_to_skip into account. This patch fixes the bug. While testing this, I also tripped across a latent bug because indirect_pieced_value does not sign-extend where needed. This patch fixes this bug as well. Built and regtested on x86-64 Fedora 18. New test cases included; this required a minor addition to the DWARF assembler. Note that the DWARF CU made by implptrpiece.exp uses a funny pointer size in order to show the sign-extension bug on all platforms. * dwarf2loc.c (read_pieced_value): Truncate this_size_bits after taking bits_to_skip into account. Sign extend byte_offset. * gdb.dwarf2/implptrpiece.exp: New file. * gdb.dwarf2/implptrconst.exp (d): New variable. Print d. * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece. commit f39e776c70fd81a769af4010cf0ea6c73d2ae26f Author: Tom Tromey Date: Wed Mar 27 07:14:52 2013 -0600 add README.archer ----------------------------------------------------------------------- Summary of changes: COPYING.NEWLIB | 31 + ChangeLog | 9 + bfd/ChangeLog | 142 + bfd/archures.c | 13 +- bfd/bfd-in2.h | 24 + bfd/bfd.c | 4 +- bfd/coffcode.h | 6 + bfd/config.bfd | 8 +- bfd/configure | 1 + bfd/configure.in | 3 +- bfd/cpu-msp430.c | 46 +- bfd/ecoff.c | 6 +- bfd/elf-bfd.h | 5 +- bfd/elf-ifunc.c | 48 +- bfd/elf32-arm.c | 2962 ++++++++++---------- bfd/elf32-i386.c | 3 +- bfd/elf32-mips.c | 4 +- bfd/elf32-msp430.c | 1833 +++++++++++-- bfd/elf32-tic6x.c | 5 +- bfd/elf32-v850.c | 2 +- bfd/elf64-aarch64.c | 30 +- bfd/elf64-mips.c | 27 +- bfd/elf64-ppc.c | 29 +- bfd/elf64-x86-64.c | 1 + bfd/elflink.c | 101 +- bfd/elfn32-mips.c | 27 +- bfd/libbfd.h | 15 + bfd/reloc.c | 30 + bfd/targets.c | 6 +- bfd/version.h | 2 +- bfd/vms-alpha.c | 2 +- config.guess | 25 +- config.sub | 23 +- config/ChangeLog | 10 + config/bootstrap-asan.mk | 1 + config/dfp.m4 | 2 +- config/picflag.m4 | 4 +- gdb/ChangeLog | 675 +++++- gdb/MAINTAINERS | 1 + gdb/Makefile.in | 23 +- gdb/NEWS | 13 + gdb/amd64-darwin-tdep.c | 1 - gdb/break-catch-sig.c | 10 +- gdb/breakpoint.c | 41 +- gdb/cleanups.c | 1 + gdb/cli/cli-decode.c | 3 + gdb/common/filestuff.c | 55 +- gdb/common/filestuff.h | 13 +- gdb/common/linux-btrace.c | 70 +- gdb/config/powerpc/aix.mh | 5 +- gdb/config/rs6000/nm-rs6000.h | 50 - gdb/configure | 10 +- gdb/configure.ac | 10 +- gdb/configure.tgt | 13 +- gdb/contrib/ari/gdb_ari.sh | 8 +- gdb/corelow.c | 18 - gdb/darwin-nat.c | 135 +- gdb/data-directory/Makefile.in | 4 + gdb/dbxread.c | 2 +- gdb/doc/ChangeLog | 54 + gdb/doc/gdb.texinfo | 996 +++++++- gdb/doc/gdbint.texinfo | 90 +- gdb/dwarf2loc.c | 16 +- gdb/dwarf2read.c | 144 +- gdb/elfread.c | 4 +- gdb/eval.c | 12 +- gdb/event-top.c | 1 + gdb/exec.c | 120 - gdb/features/Makefile | 2 + gdb/features/library-list-aix.dtd | 18 + gdb/features/nios2-cpu.xml | 59 + gdb/features/nios2-linux.c | 71 + gdb/features/nios2-linux.xml | 13 + gdb/features/nios2.c | 69 + gdb/features/nios2.xml | 12 + gdb/gcore.c | 5 +- gdb/gdbserver/ChangeLog | 18 + gdb/gdbserver/Makefile.in | 4 + gdb/gdbserver/ax.c | 1 + gdb/gdbserver/configure.srv | 9 + gdb/gdbserver/linux-nios2-low.c | 234 ++ gdb/gdbserver/tracepoint.c | 2 + gdb/i386gnu-nat.c | 15 +- gdb/ia64-tdep.c | 8 +- gdb/inf-ttrace.c | 11 + gdb/infcmd.c | 14 +- gdb/infrun.c | 4 - gdb/m32r-tdep.c | 8 +- gdb/machoread.c | 2 +- gdb/mep-tdep.c | 9 +- gdb/mi/mi-cmd-stack.c | 229 ++- gdb/mi/mi-cmds.c | 1 + gdb/mi/mi-cmds.h | 1 + gdb/nios2-linux-tdep.c | 233 ++ gdb/nios2-tdep.c | 1637 +++++++++++ gdb/nios2-tdep.h | 80 + gdb/objfiles.c | 7 +- gdb/objfiles.h | 2 +- gdb/opencl-lang.c | 11 +- gdb/ppc-linux-nat.c | 13 +- gdb/psympriv.h | 4 +- gdb/psymtab.c | 20 +- gdb/python/lib/gdb/FrameDecorator.py | 285 ++ gdb/python/lib/gdb/FrameIterator.py | 45 + gdb/python/lib/gdb/__init__.py | 2 + gdb/python/lib/gdb/command/frame_filters.py | 461 +++ gdb/python/lib/gdb/frames.py | 229 ++ gdb/python/py-framefilter.c | 1528 ++++++++++ gdb/python/py-objfile.c | 60 + gdb/python/py-progspace.c | 60 + gdb/python/py-utils.c | 22 + gdb/python/python-internal.h | 3 + gdb/python/python.c | 9 + gdb/python/python.h | 66 + gdb/regformats/nios2-linux.dat | 53 + gdb/remote.c | 3 +- gdb/rl78-tdep.c | 16 +- gdb/rs6000-aix-tdep.c | 35 +- gdb/rs6000-lynx178-tdep.c | 14 +- gdb/rs6000-nat.c | 770 ++---- gdb/rs6000-tdep.h | 4 - gdb/sol-thread.c | 68 +- gdb/solib-aix.c | 841 ++++++ gdb/{sparc-sol-thread.c => solib-aix.h} | 31 +- gdb/solib-dsbt.c | 191 +- gdb/solib-frv.c | 6 +- gdb/solib-ia64-hpux.c | 3 +- gdb/solib-svr4.c | 9 + gdb/solib-target.c | 2 +- gdb/solib.c | 23 +- gdb/solist.h | 5 + gdb/somread.c | 3 +- gdb/source.c | 8 +- gdb/stabsread.h | 3 +- gdb/stack.c | 126 +- gdb/symfile.c | 129 +- gdb/symfile.h | 22 +- gdb/target-descriptions.c | 33 +- gdb/target.h | 2 + gdb/testsuite/ChangeLog | 148 +- gdb/testsuite/gdb.arch/gcore.c | 70 - gdb/testsuite/gdb.arch/system-gcore.exp | 215 -- gdb/testsuite/gdb.arch/vsx-regs.exp | 33 +- gdb/testsuite/gdb.base/catch-signal.c | 2 + gdb/testsuite/gdb.base/catch-signal.exp | 13 + gdb/testsuite/gdb.base/default.exp | 2 + gdb/testsuite/gdb.base/exprs.c | 1 + gdb/testsuite/gdb.base/exprs.exp | 4 + gdb/testsuite/gdb.base/gcore.exp | 34 +- gdb/testsuite/gdb.base/pending.exp | 3 + gdb/testsuite/gdb.base/setshow.exp | 9 + .../{catch-signal.c => solib-search-lib1.c} | 47 +- .../{catch-signal.c => solib-search-lib2.c} | 47 +- .../shr2.c => gdb.base/solib-search.c} | 27 +- gdb/testsuite/gdb.base/solib-search.exp | 186 ++ .../gdb.base/solib-search.h} | 24 +- gdb/testsuite/gdb.dwarf2/implptrconst.exp | 17 +- gdb/testsuite/gdb.dwarf2/implptrpiece.exp | 9 +- gdb/testsuite/gdb.dwarf2/nostaticblock.exp | 59 + gdb/testsuite/gdb.gdb/complaints.exp | 126 +- gdb/testsuite/gdb.gdb/observer.exp | 125 +- gdb/testsuite/gdb.gdb/selftest.exp | 24 +- gdb/testsuite/gdb.gdb/xfullpath.exp | 125 +- gdb/testsuite/gdb.linespec/linespec.exp | 4 + gdb/testsuite/gdb.python/py-framefilter-gdb.py.in | 48 + gdb/testsuite/gdb.python/py-framefilter-mi.c | 138 + gdb/testsuite/gdb.python/py-framefilter-mi.exp | 179 ++ gdb/testsuite/gdb.python/py-framefilter.c | 155 + gdb/testsuite/gdb.python/py-framefilter.exp | 239 ++ gdb/testsuite/gdb.python/py-framefilter.py | 117 + gdb/testsuite/gdb.reverse/{shr2.c => shr.h} | 24 +- gdb/testsuite/gdb.reverse/{shr2.c => shr1.c} | 20 +- gdb/testsuite/gdb.reverse/shr2.c | 2 + gdb/testsuite/gdb.reverse/solib-precsave.exp | 59 +- gdb/testsuite/gdb.reverse/solib-reverse.c | 25 +- gdb/testsuite/gdb.reverse/solib-reverse.exp | 59 +- gdb/testsuite/gdb.threads/gcore-thread.exp | 33 +- gdb/testsuite/gdb.threads/wp-replication.c | 163 ++ gdb/testsuite/gdb.threads/wp-replication.exp | 151 + gdb/testsuite/gdb.trace/circ.exp | 363 ++- .../{gdb.reverse/shr2.c => gdb.trace/qtro.c} | 25 +- gdb/testsuite/gdb.trace/qtro.exp | 173 ++ gdb/testsuite/gdb.trace/status-stop.exp | 10 +- gdb/testsuite/gdb.xml/maint_print_struct.exp | 35 + gdb/testsuite/gdb.xml/maint_print_struct.xml | 26 + gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 + gdb/testsuite/lib/gdb.exp | 43 + .../xfullpath.exp => lib/selftest-support.exp} | 138 +- gdb/tracepoint.c | 2 + gdb/v850-tdep.c | 309 ++- gdb/version.in | 2 +- gdb/windows-nat.c | 11 +- gdb/xcoffread.c | 88 +- gdb/xcoffsolib.c | 182 -- gdb/xcoffsolib.h | 65 - include/ChangeLog | 5 + include/elf/ChangeLog | 6 + include/elf/mips.h | 5 +- include/elf/msp430.h | 47 +- include/opcode/ChangeLog | 13 + include/opcode/mips.h | 17 +- include/opcode/msp430.h | 70 +- libiberty/ChangeLog | 8 + libiberty/hashtab.c | 13 +- opcodes/ChangeLog | 33 + opcodes/aarch64-asm.c | 1 - opcodes/aarch64-opc.c | 6 +- opcodes/mips-dis.c | 19 +- opcodes/mips-opc.c | 26 +- opcodes/msp430-dis.c | 712 ++++- opcodes/nios2-opc.c | 2 +- opcodes/ppc-opc.c | 9 +- sim/ChangeLog | 4 - sim/bfin/ChangeLog | 4 + sim/bfin/configure | 3 +- sim/common/ChangeLog | 6 + sim/common/acinclude.m4 | 3 +- sim/cr16/ChangeLog | 4 + sim/cr16/configure | 3 +- sim/cris/ChangeLog | 4 + sim/cris/configure | 3 +- sim/d10v/ChangeLog | 4 + sim/d10v/configure | 3 +- sim/igen/ChangeLog | 4 + sim/igen/configure | 3 +- sim/m68hc11/ChangeLog | 4 + sim/m68hc11/configure | 3 +- sim/mips/ChangeLog | 4 + sim/mips/configure | 3 +- sim/mn10300/ChangeLog | 4 + sim/mn10300/configure | 3 +- sim/ppc/ChangeLog | 10 + sim/ppc/ppc-instructions | 13 - sim/v850/ChangeLog | 8 + sim/v850/configure | 3 +- sim/v850/v850.igen | 8 +- 236 files changed, 16327 insertions(+), 5101 deletions(-) delete mode 100644 gdb/config/rs6000/nm-rs6000.h create mode 100644 gdb/features/library-list-aix.dtd create mode 100644 gdb/features/nios2-cpu.xml create mode 100644 gdb/features/nios2-linux.c create mode 100644 gdb/features/nios2-linux.xml create mode 100644 gdb/features/nios2.c create mode 100644 gdb/features/nios2.xml create mode 100644 gdb/gdbserver/linux-nios2-low.c create mode 100644 gdb/nios2-linux-tdep.c create mode 100644 gdb/nios2-tdep.c create mode 100644 gdb/nios2-tdep.h create mode 100644 gdb/python/lib/gdb/FrameDecorator.py create mode 100644 gdb/python/lib/gdb/FrameIterator.py create mode 100644 gdb/python/lib/gdb/command/frame_filters.py create mode 100644 gdb/python/lib/gdb/frames.py create mode 100644 gdb/python/py-framefilter.c create mode 100644 gdb/regformats/nios2-linux.dat create mode 100644 gdb/solib-aix.c rename gdb/{sparc-sol-thread.c => solib-aix.h} (54%) delete mode 100644 gdb/testsuite/gdb.arch/gcore.c delete mode 100644 gdb/testsuite/gdb.arch/system-gcore.exp copy gdb/testsuite/gdb.base/{catch-signal.c => solib-search-lib1.c} (54%) copy gdb/testsuite/gdb.base/{catch-signal.c => solib-search-lib2.c} (54%) copy gdb/testsuite/{gdb.reverse/shr2.c => gdb.base/solib-search.c} (68%) create mode 100644 gdb/testsuite/gdb.base/solib-search.exp copy gdb/{rs6000-tdep.h => testsuite/gdb.base/solib-search.h} (58%) create mode 100644 gdb/testsuite/gdb.dwarf2/nostaticblock.exp create mode 100644 gdb/testsuite/gdb.python/py-framefilter-gdb.py.in create mode 100644 gdb/testsuite/gdb.python/py-framefilter-mi.c create mode 100644 gdb/testsuite/gdb.python/py-framefilter-mi.exp create mode 100644 gdb/testsuite/gdb.python/py-framefilter.c create mode 100644 gdb/testsuite/gdb.python/py-framefilter.exp create mode 100644 gdb/testsuite/gdb.python/py-framefilter.py copy gdb/testsuite/gdb.reverse/{shr2.c => shr.h} (74%) copy gdb/testsuite/gdb.reverse/{shr2.c => shr1.c} (75%) create mode 100644 gdb/testsuite/gdb.threads/wp-replication.c create mode 100644 gdb/testsuite/gdb.threads/wp-replication.exp copy gdb/testsuite/{gdb.reverse/shr2.c => gdb.trace/qtro.c} (75%) create mode 100644 gdb/testsuite/gdb.trace/qtro.exp create mode 100644 gdb/testsuite/gdb.xml/maint_print_struct.exp create mode 100644 gdb/testsuite/gdb.xml/maint_print_struct.xml copy gdb/testsuite/{gdb.gdb/xfullpath.exp => lib/selftest-support.exp} (55%) delete mode 100644 gdb/xcoffsolib.c delete mode 100644 gdb/xcoffsolib.h First 500 lines of diff: diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB index 6849eb5..73379ff 100644 --- a/COPYING.NEWLIB +++ b/COPYING.NEWLIB @@ -894,3 +894,34 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +(40) - Altera Corportion (nios2-* targets) + +Copyright (c) 2003 Altera Corporation +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + o Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + o Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + o Neither the name of Altera Corporation nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER, +AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR +TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/ChangeLog b/ChangeLog index 8f8e1fb..2d6d310 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2013-05-06 Sandra Loosemore + + * COPYING.NEWLIB: Add Altera Corporation copyright. + +2013-04-29 Jan-Benedict Glaw + + * config.guess: Update from config repo. + * config.sub: Ditto. + 2013-04-22 Jan-Benedict Glaw * Makefile.def: Sync with GCC. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0c62889..eb254b7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,145 @@ +2013-05-10 Joel Brobecker + + * coffcode.h (styp_to_sec_flags) [RS6000COFF_C]: Add handling + of STYP_EXCEPT, STYP_LOADER and STYP_TYPCHK sections. + +2013-05-09 Joel Brobecker + + * bfd.c (_bfd_default_error_handler): Replace use of putc + by fputc. Add comment explaining why. + +2013-05-09 Alan Modra + + * elflink.c (elf_link_add_object_symbols): Don't omit reading + of symbols when hashes already exist. + +2013-05-07 Will Newton + + * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a + plt_header_size argument for ports where it differs from + plt_entry_size. + * elf-bfd.h: Likewise. + * elf32-i386.c: Pass plt_header_size to + _bfd_elf_allocate_ifunc_dyn_relocs. + * elf64-x86-64.c: Likewise. + +2013-05-07 Will Newton + + * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused + function. + * elf-bfd.h: Likewise. + +2013-05-06 Paul Brook + + * elf64-mips.c (elf_mips_gnu_pcrel32): New. + (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup, + mips_elf64_rtype_to_howto): Handle R_MIPS_PC32. + * elfn32-mips.c (elf_mips_gnu_pcrel32): New. + (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup, + mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32. + +2013-05-06 Alan Modra + + * elf64-ppc.c (opd_entry_value): Handle case where symbol + hashes are not available. + +2013-05-06 Alan Modra + + * elflink.c (elf_link_add_object_symbols): Don't save symbol + hashes around loading as-needed library. Zero them on allocation, + and restore to initial all-zero state if library not needed. + Arrange to reuse hashes if we load library again later. + +2013-05-04 Richard Sandiford + + * elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto): + Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc. + * elfn32-mips.c: Likewise. + * elf64-mips.c: Likewise. + +2013-05-02 Nick Clifton + + * archures.c: Add some more MSP430 machine numbers. + * config.bfd (msp430): Define targ_selvecs. + * configure.in: Add bfd_elf32_msp430_ti_vec. + * cpu-msp430.c: Add some more MSP430 machine numbers. + * elf32-msp430.c Add support for MSP430X relocations. + Add support for TI compiler generated relocations. + Add support for sym_diff relocations. + Add support for relaxing out of range short branches into long + branches. + Add support for MSP430 attribute section. + * reloc.c: Add MSP430X relocations. + * targets.c: Add bfd_elf32_msp430_ti_vec. + * bfd-in2.h: Regenerate. + * configure: Regenerate. + * libbfd.h: Regenerate. + +2013-05-01 Maciej W. Rozycki + + * config.bfd: Replace alpha*-*-linuxecoff* pattern with + alpha*-*-linux*ecoff*. + +2013-04-30 Olaf Flebbe + + PR binutils/15417 + * elflink.c (elf_link_add_object_symbols): Initialise 'idx' to + zero. + +2013-04-30 Alan Modra + + * elflink.c (bfd_elf_record_link_assignment): Dont make + STV_INTERNAL symbols STV_HIDDEN. + +2013-04-29 Nick Clifton + + * elflink.c (_bfd_elf_gc_mark_extra_sections): Remove mark from + fragmented .debug_line sections associated with unmarked code + sections. + +2013-04-29 Will Newton + + * elf32-arm.c (elf32_arm_populate_plt_entry): Call + elf32_arm_add_dynreloc when emitting R_ARM_IRELATIVE relocs. + +2013-04-29 Will Newton + + * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation + error check up and add error message. + +2013-04-26 Will Newton + + * elf64-aarch64.c (elf64_aarch64_check_relocs): Remove dead code. + +2013-04-25 Alan Modra + + * config.bfd: Add powerpc64le-linux. + +2013-04-24 H.J. Lu + + * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for + x86_64-*-elf*. + +2013-04-24 Roland McGrath + + * elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p, + allocate space for PLT header even if IS_IPLT_ENTRY. + (arm_nacl_put_plt0): New function, broken out of ... + (elf32_arm_finish_dynamic_sections): ... here. Call it. + If HTAB->nacl_p, set up the PLT header in .iplt too. + (elf32_arm_output_arch_local_syms): If HTAB->nacl_p, write + a mapping symbol for the start of .iplt too. + +2013-04-19 Luca Pizzamiglio + + * ecoff.c (_bfd_ecoff_sizeof_headers): Cast the return value of + BFD_ALIGN to int. + * elf32-tic6x.c (elf32_tic6x_size_dynamic_sections): Remove unused + variables. + * elf32-v850.c (v850_elf_relax_section): Redefine the type of 'i' + to bfd_vma. + * vms-alpha.c (evax_bfd_print_etir): Initialize sec_len. + 2013-04-22 Alan Modra PR ld/15382 diff --git a/bfd/archures.c b/bfd/archures.c index 0be72da..f7cef8b 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -1,7 +1,5 @@ /* BFD library support routines for architectures. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, - 2012, 2013 Free Software Foundation, Inc. + Copyright 1990-2013 Free Software Foundation, Inc. Hacked by John Gilmore and Steve Chamberlain of Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -437,7 +435,12 @@ DESCRIPTION .#define bfd_mach_msp14 14 .#define bfd_mach_msp15 15 .#define bfd_mach_msp16 16 +.#define bfd_mach_msp20 20 .#define bfd_mach_msp21 21 +.#define bfd_mach_msp22 22 +.#define bfd_mach_msp23 23 +.#define bfd_mach_msp24 24 +.#define bfd_mach_msp26 26 .#define bfd_mach_msp31 31 .#define bfd_mach_msp32 32 .#define bfd_mach_msp33 33 @@ -445,6 +448,10 @@ DESCRIPTION .#define bfd_mach_msp42 42 .#define bfd_mach_msp43 43 .#define bfd_mach_msp44 44 +.#define bfd_mach_msp430x 45 +.#define bfd_mach_msp46 46 +.#define bfd_mach_msp47 47 +.#define bfd_mach_msp54 54 . bfd_arch_xc16x, {* Infineon's XC16X Series. *} .#define bfd_mach_xc16x 1 .#define bfd_mach_xc16xl 2 diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 5c4e9c4..0050f46 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -2170,7 +2170,12 @@ enum bfd_architecture #define bfd_mach_msp14 14 #define bfd_mach_msp15 15 #define bfd_mach_msp16 16 +#define bfd_mach_msp20 20 #define bfd_mach_msp21 21 +#define bfd_mach_msp22 22 +#define bfd_mach_msp23 23 +#define bfd_mach_msp24 24 +#define bfd_mach_msp26 26 #define bfd_mach_msp31 31 #define bfd_mach_msp32 32 #define bfd_mach_msp33 33 @@ -2178,6 +2183,10 @@ enum bfd_architecture #define bfd_mach_msp42 42 #define bfd_mach_msp43 43 #define bfd_mach_msp44 44 +#define bfd_mach_msp430x 45 +#define bfd_mach_msp46 46 +#define bfd_mach_msp47 47 +#define bfd_mach_msp54 54 bfd_arch_xc16x, /* Infineon's XC16X Series. */ #define bfd_mach_xc16x 1 #define bfd_mach_xc16xl 2 @@ -4918,6 +4927,21 @@ a matching LO8XG part. */ BFD_RELOC_MSP430_16_BYTE, BFD_RELOC_MSP430_2X_PCREL, BFD_RELOC_MSP430_RL_PCREL, + BFD_RELOC_MSP430_ABS8, + BFD_RELOC_MSP430X_PCR20_EXT_SRC, + BFD_RELOC_MSP430X_PCR20_EXT_DST, + BFD_RELOC_MSP430X_PCR20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_EXT_SRC, + BFD_RELOC_MSP430X_ABS20_EXT_DST, + BFD_RELOC_MSP430X_ABS20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_ADR_SRC, + BFD_RELOC_MSP430X_ABS20_ADR_DST, + BFD_RELOC_MSP430X_PCR16, + BFD_RELOC_MSP430X_PCR20_CALL, + BFD_RELOC_MSP430X_ABS16, + BFD_RELOC_MSP430_ABS_HI16, + BFD_RELOC_MSP430_PREL31, + BFD_RELOC_MSP430_SYM_DIFF, /* Relocations used by the Altera Nios II core. */ BFD_RELOC_NIOS2_S16, diff --git a/bfd/bfd.c b/bfd/bfd.c index 10bc319..8d0580c 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -733,7 +733,9 @@ _bfd_default_error_handler (const char *fmt, ...) vfprintf (stderr, new_fmt, ap); va_end (ap); - putc ('\n', stderr); + /* On AIX, putc is implemented as a macro that triggers a -Wunused-value + warning, so use the fputc function to avoid it. */ + fputc ('\n', stderr); fflush (stderr); } diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 9d9c992..2a1a172 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -795,6 +795,12 @@ styp_to_sec_flags (bfd *abfd ATTRIBUTE_UNUSED, else if (styp_flags & STYP_PAD) sec_flags = 0; #ifdef RS6000COFF_C + else if (styp_flags & STYP_EXCEPT) + sec_flags |= SEC_LOAD; + else if (styp_flags & STYP_LOADER) + sec_flags |= SEC_LOAD; + else if (styp_flags & STYP_TYPCHK) + sec_flags |= SEC_LOAD; else if (styp_flags & STYP_DWARF) sec_flags |= SEC_DEBUGGING; #endif diff --git a/bfd/config.bfd b/bfd/config.bfd index 10820e2..ebc9d40 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -202,7 +202,7 @@ case "${targ}" in targ_selvecs=nlm32_alpha_vec want64=true ;; - alpha*-*-linuxecoff*) + alpha*-*-linux*ecoff*) targ_defvec=ecoffalpha_little_vec targ_selvecs=bfd_elf64_alpha_vec want64=true @@ -644,7 +644,7 @@ case "${targ}" in ;; x86_64-*-elf*) targ_defvec=bfd_elf64_x86_64_vec - targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386coff_vec" + targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" want64=true ;; x86_64-*-dragonfly*) @@ -1134,6 +1134,7 @@ case "${targ}" in msp430-*-*) targ_defvec=bfd_elf32_msp430_vec + targ_selvecs=bfd_elf32_msp430_ti_vec ;; ns32k-pc532-mach* | ns32k-pc532-ux*) @@ -1242,7 +1243,8 @@ case "${targ}" in targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec" want64=true ;; - powerpc64le-*-elf* | powerpcle-*-elf64*) + powerpc64le-*-elf* | powerpcle-*-elf64* | powerpc64le-*-linux* | \ + powerpc64le-*-*bsd*) targ_defvec=bfd_elf64_powerpcle_vec targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec" want64=true diff --git a/bfd/configure b/bfd/configure index 24f6fd3..5fc08e4 100755 --- a/bfd/configure +++ b/bfd/configure @@ -15292,6 +15292,7 @@ do bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;; bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; + bfd_elf32_msp430_ti_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec) diff --git a/bfd/configure.in b/bfd/configure.in index d9bef83..befcf27 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl Copyright 2012 Free Software Foundation +dnl Copyright 2012-2013 Free Software Foundation dnl dnl This file is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -789,6 +789,7 @@ do bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;; bfd_elf32_mt_vec) tb="$tb elf32-mt.lo elf32.lo $elf" ;; bfd_elf32_msp430_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; + bfd_elf32_msp430_ti_vec) tb="$tb elf32-msp430.lo elf32.lo $elf" ;; bfd_elf32_nbigmips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec) diff --git a/bfd/cpu-msp430.c b/bfd/cpu-msp430.c index 09c0e54..73b6e66 100644 --- a/bfd/cpu-msp430.c +++ b/bfd/cpu-msp430.c @@ -1,6 +1,5 @@ /* BFD library support routines for the MSP architecture. - Copyright (C) 2002, 2003, 2005, 2007, 2012 - Free Software Foundation, Inc. + Copyright (C) 2002-2013 Free Software Foundation, Inc. Contributed by Dmitry Diky This file is part of BFD, the Binary File Descriptor library. @@ -82,29 +81,56 @@ static const bfd_arch_info_type arch_info_struct[] = /* msp430x16x. */ N (16, bfd_mach_msp16, "msp:16", FALSE, & arch_info_struct[7]), + /* msp430x20x. */ + N (16, bfd_mach_msp20, "msp:20", FALSE, & arch_info_struct[8]), + /* msp430x21x. */ - N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[8]), + N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[9]), + + /* msp430x22x. */ + N (16, bfd_mach_msp22, "msp:22", FALSE, & arch_info_struct[10]), + + /* msp430x23x. */ + N (16, bfd_mach_msp23, "msp:23", FALSE, & arch_info_struct[11]), + + /* msp430x24x. */ + N (16, bfd_mach_msp24, "msp:24", FALSE, & arch_info_struct[12]), + + /* msp430x26x. */ + N (16, bfd_mach_msp26, "msp:26", FALSE, & arch_info_struct[13]), /* msp430x31x. */ - N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[9]), + N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[14]), /* msp430x32x. */ - N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[10]), + N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[15]), /* msp430x33x. */ - N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[11]), + N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[16]), /* msp430x41x. */ - N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[12]), + N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[17]), /* msp430x42x. */ - N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[13]), + N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[18]), /* msp430x43x. */ - N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[14]), + N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[19]), /* msp430x44x. */ - N (16, bfd_mach_msp43, "msp:44", FALSE, NULL) + N (16, bfd_mach_msp43, "msp:44", FALSE, & arch_info_struct[20]), + + /* msp430x46x. */ + N (16, bfd_mach_msp46, "msp:46", FALSE, & arch_info_struct[21]), + + /* msp430x47x. */ + N (16, bfd_mach_msp47, "msp:47", FALSE, & arch_info_struct[22]), + + /* msp430x54x. */ + N (16, bfd_mach_msp54, "msp:54", FALSE, & arch_info_struct[23]), + + N (32, bfd_mach_msp430x, "msp:430X", FALSE, NULL) + }; const bfd_arch_info_type bfd_msp430_arch = diff --git a/bfd/ecoff.c b/bfd/ecoff.c index eaf8ada..5add50c 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1,7 +1,5 @@ /* Generic ECOFF (Extended-COFF) routines. - Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 - Free Software Foundation, Inc. + Copyright 1990-2013 Free Software Foundation, Inc. Original version by Per Bothner. Full support added by Ian Lance Taylor, ian@cygnus.com. @@ -1888,7 +1886,7 @@ _bfd_ecoff_sizeof_headers (bfd *abfd, ret = (bfd_coff_filhsz (abfd) + bfd_coff_aoutsz (abfd) + c * bfd_coff_scnhsz (abfd)); - return BFD_ALIGN (ret, 16); + return (int) BFD_ALIGN (ret, 16); } /* Get the contents of a section. */ diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index b643dbc..4a67d02 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h hooks/post-receive -- Repository for Project Archer.