The branch, archer-jankratochvil-man has been updated via 04852dcc21a221f421f28a2b43e2c26263bf3af0 (commit) via ea67b93000b39491c09f38c27b6ac3464027d314 (commit) via 27ec0096275ed47b32fe4f297648ce9f8ea9230c (commit) via 871d76f17d4bcd93091c4203af28dc9c096d8abd (commit) via 443a6353c89a7f4aeaab7466929f8084b3d1b14b (commit) via a2c0323a2aaa911c3f6ff83ec79bd12e8f911e3a (commit) via 9e804a6dbdda1b9f7d4df77863222d6a0a0a0155 (commit) via e88e2dd9eb982a0c4291717ba6b81819bbfb168b (commit) via 7ff4a059e681241ecdda3b0a1450bfeef889f13c (commit) via d6cc6800612b4117f54756e4d5eac728def2bf26 (commit) via 27bdd355796758e81d43f4cd20ecc6712bfa0402 (commit) via 41c04933225dc7c247ee408ce480f244cc8f5757 (commit) via 41df4d44de4daadaddecac7269bab5a21e03c524 (commit) via fc3a9b20804d763b71524e66e3908c631862d8b7 (commit) via 35b8b551d217d3ee4af7711cfa9a1bce6c8817df (commit) via 03f93a192577b51399c08a0a55cbb572d7b434c6 (commit) via 66e7a4aacb8d043f7cdd06570310771234794704 (commit) via bbe463b1028d93bc13fe25690f49f4e9883f9b4a (commit) via e36ce674726ad929c0ca19c64638410763721f90 (commit) via 8365ea4b9616d0d315bb29db42ac52cf9de6bb0f (commit) via 0666c31aeb21d0b9529e80d0fc15aadb826215ca (commit) via 1c629fe0eed5d3e4600680bed64f65e61756485f (commit) via a99f51c0fa659b4f38f12629d8496159f41432d9 (commit) via 53a0055fe28139eef927892739fdddd2429f5b9d (commit) via d2c197313a0deae442c82411a5a8a96d6275c9f9 (commit) via f14c4191dd9a911ebe3ea38226e520b3d56faae3 (commit) via 697b258f3efaedff028acc1666d85815cb9992f7 (commit) via 0e03af0b3d2c1b5a7dc1221ce7faaedb5d74b661 (commit) via e208dc684db1f93757ac121b34cad674a1bdb0ac (commit) via fc5614933398444e17750828f26d8fec0e19cfc6 (commit) via 1a0cbf6a950399c9be396743effc2404829b2c35 (commit) via bd8fd7b1a8cbb4719c183f1f2ad4d3d3fe6f5951 (commit) via dc0a67a97aa8fdfffeeb359479399839ca01f66f (commit) via d25b4446a3b22bcc5ee22538110d9f757c9ea357 (commit) via 72c65c04409a5d56fca71a7cff99f3be3bfda4b7 (commit) via 13927d4d6c57e85b4b8b7857841d2732725e0f31 (commit) via ddbe4ab3e82af4c6428c6e51d0ad87e9a0cd5725 (commit) via 726511398209b80fff22e2faf2919c9d986a488b (commit) via 247bc0e2ba807d03e92efae4bda12a0f0bbe1d49 (commit) via baca768db0617f13b0c0fb2ae8708c9ba1db75eb (commit) via 0b2e20369678b2abe472bfbd4aa6e2e46b8c9f9f (commit) via eecd1738518f4743b077307b4ee1a0074f68b3c8 (commit) via 25442e5d273c6a5d4f377f76bbe59818d10a42c2 (commit) via c806ceee16e60ca66c913b5aab75465e7aa2353b (commit) via 8f769923bc4fbed4505cd8f95a12f18bfac1ab1d (commit) via 5551633e4eb834bbbeca0d5aed10f06fbb760ef8 (commit) via 701c95b4752dbb1b4274802614e4ea2f97b3cbb9 (commit) via b4ee248cdfba33a2cba64fb69b2c6a648be263d1 (commit) via aaa84d8871b7689d7e5645d6cc38b23f38da3e3a (commit) via 1b76ca4e895073686a1b31a843d1ba9ea53d135d (commit) via 5d24fb4bf68a5a73461b907ebf9bad9e23bf3a96 (commit) via 44ed4ae0cf0931d8fbecb54c2a86ae90d3ea8f36 (commit) via faf3483c1c5635d0b472c324727f397c61048177 (commit) via 9516b7a27cedfe824ae545c0161b21de45f9c9fb (commit) via d5b583e5512d6f0a143a21c385d9d8d08e0d5079 (commit) via e910d5726b76ab0fae4495cd5f33e7060590959e (commit) via 3e604179f7b76e194ea7a79431dddef0e97bbbe9 (commit) via 96c6499e6b3dde9651f70ea25cd354af99a80e0e (commit) via 1e0435b3cbc08fc411e0a9e1f5c1ee53151949d3 (commit) via fc04c708f7c1c4375875f8e06a5631b82b5af8e4 (commit) via cda9acf77fb97221988b2f83187d9b0a2dc2d607 (commit) via a02b304ffa088189966503bbcdf62e0bf818cd68 (commit) via 948bd7ac017364916424806e5cd39d211affe407 (commit) via e6c081ab2f37103e33d261618ab01650a55d9ae0 (commit) via 19a4647775865fa080f1ed49a0c8808bb3cd0a95 (commit) via 4eda3517ffa9b4e851b9d0dcbb25d6bfcc51a27c (commit) via 65e40143146022fd4108a157f530621485cb7579 (commit) via eb5054e1dfa1e34230d869ab8cb03b8aa7688352 (commit) via 7eb9f7cdf7c1709fd10ff1f3a82024a9057c9064 (commit) via 0545281e8e0aef7222b6f943f08e3009ef76ebc6 (commit) via bbd07c787c959329c2fac126ca3764b396e433ec (commit) via 59c3faf79f0d90ada48a0e25824580fb893c9215 (commit) via b9df7c1ff924c3d7f7e4783e9341f69772e7b425 (commit) via a3b8b6081b8f0f16dea038650304a6e616f9a407 (commit) via 71b5ed0e704389fb61b66e594e579227396e1bd4 (commit) via 42dc318b93acb03e063d7424e8f8a25fba7ae999 (commit) via c1b86fa4506e494ba59c57607e4e25f73a365242 (commit) via 3764736da1c709ee6a22a2c883deaa1806273aa1 (commit) via 21082d0188b4d2ca2b7b48278c29616938d9b369 (commit) via 7789d22fc045990a6bc829bef593c59726514a23 (commit) via d3592bbe6f1b875db9c821bc06450551c532f701 (commit) via 45cd7fd280c0daff217c42b33d622b873c93d2c7 (commit) via 70e06204b839e470bc79f1a4065f1ecf63aa00f3 (commit) via 37c6ec6e800d6fdede5e0bcaca7c2e3b438487c4 (commit) via 6549087748ddfe99225a2d28f469753796c19f9e (commit) via bd85279e053f624e366420b43eb3a118403b9d3e (commit) via 54bd79e416a1489e6f3c2f7365c9fd295a098baf (commit) via 198b669079cab819db9e36cded9069238f62c09f (commit) via 09c74408fdb1360ccf21fbf4a2a6e9f09a5707aa (commit) via e00281e7cc90a470a74a48de6b5c56d090a6d30c (commit) via cc75345bbbf80985832f1f9cc7bfeb95d24933f6 (commit) via c89cae7d2cd3bfdad3da696b4982a74267f7a0b8 (commit) via a7ef2f50a32e165106a8d18e647109a8fb7c93e6 (commit) via ba7db65593cb622d355ad79fa54b8cd0f90e7891 (commit) via e5e191fe328762c5b28347757bad8e4199b64ffa (commit) via f3376895828a4a9c22219157263ebf2d404b0a91 (commit) via c59900b8ae833d5609778c3146b3b5e3e3eee59c (commit) via cf68143bd769ff38e29dde56f2722f2d2fbfd9b9 (commit) via 99b55bf531b2074c61c3ef998ee6a2ee0a952803 (commit) via 23f2f70f1cb461808f1eb03f334a3488d5fb5c32 (commit) via 12bcab2df52ecd5f129effe097084439334dcd98 (commit) via eaae37beaf518a830507c48e08cf697b1906f7b9 (commit) via ad39e0ec36b790b5a89561020696bbd6a710ccd2 (commit) via 65d3c8db4b5e4607207ff13b78eb2abcc2142a3c (commit) via 6e72c8173f39533e63fc04d9acb967bac9d82cbb (commit) via 463a91fa1befff4bb9c9bda3de8f05d8df2d5f9f (commit) via 8e39c12ce0096231dbc16acdbf6df0174820de1a (commit) via a632f2745ddb14160c9578576b73bc8d094a8255 (commit) via 9872795f680219a31da598a98e8fa3923d282fdb (commit) via 002321cb4346e33a09da28900062e308d6935d3e (commit) via 1b5974a46c7357fb9ce020354bfe5f42422da291 (commit) via dd719f6543bb928eb8ded7d4b185fe4f93065f52 (commit) via 08b2773ea95d8fb09a7dab5838f86f6e24b03bfd (commit) via 1f8a1ced4eefa4c6052a3e4566781527373eff45 (commit) via 39b93559981072aa31534d1a5496fa920e8fa694 (commit) via 97fbce91e3152a8ba19a3fbb1b15611a32c7c113 (commit) via 0388c14511bde6c7d2c086c6c93d22cc69aef2bc (commit) via 17a248fd23bee0530a5417f7cd2419b827db1a4b (commit) via f1d35dd9d4615cb02ff48b05de00ebad807a55a5 (commit) via 3af10bda37f027413b31561ef063165d1b416920 (commit) via d7f3b78e654fd97148e6f2eceb0a1827266e282c (commit) via 736fc81225cf5e9d13fe9bb1f393d9ec26819db2 (commit) via 51bd2deaef08de7eb7e0ae200df9baa4151b5c78 (commit) via 6896f9db9842dbc4ddc5a2401848067ad039a627 (commit) via feb14741659989cbdad1195948746198e21f0f11 (commit) via df6fe63921e065f17ba6ca430bfa9dfb9ee333ee (commit) via 019f1dcb8e8bf4b76bb0a99541cf2b65645ffd4c (commit) via a87f362139de1b284d4e87e5458c3c48bab0fb21 (commit) via 0fa3f7cc26157ac4472ce52eaa198d711c51b551 (commit) via 50572d76286baf04e29e6a1ee1a88cb3159790da (commit) via 9938efe5ad66a33424c21a110e862f5695adce67 (commit) via 39053f2aadca35cad2917c6460afa1dce6fb426b (commit) via 42b99600f648a2cf79c57fe9212b7fa3ec27b17d (commit) via 32877fa14d5a882ebe1865afbd73bf13e7a9aab9 (commit) via f8df54137e171da39264f0ef32a4adbf2000161a (commit) via 9b3fb4795fec483c99e91f836f8d634116000321 (commit) via c5d1f18a09fd38f3bbe26f5b8049c8d9f914fa52 (commit) via 0da462514a01205302e1a34bd9cdfc7bec87b814 (commit) via a92d1f522c964f92a465fda2a4af5a509def0312 (commit) via d36a05d0bccfa05c14e22197b8b5e06000f675dd (commit) via c6bbaa204f6aca87078c870466761f04bb36a0ea (commit) via a2e6198cadbfd940db8b50e9fef50294f6bf25fe (commit) via 5ed8be30e764e729919164b12784e80bef77f302 (commit) via 1761ba0c97ff6bccef2782e1e77ba279d1cf5c11 (commit) via cc2c1c5ed956746392329459e5beb03a678d7e5d (commit) via 4b4293e11bea784251c1f79f602b67490cff5953 (commit) via 148115edb5c4eec8878fa00c655e962b1fdf4c8d (commit) via 6801e5babd27618f3f7cf5ee8143c7b0d13d3862 (commit) via 67f9c41cbb1585e0b21a4537595212818edb9efb (commit) via 241c8df0d023dc1ded9f17f494f2901ad663ad23 (commit) via 1666412afbfb0047bf0fb2f7e5789494eeed44f8 (commit) from 99b2d5b9ac648029bb92f67bf90f1b16120c3167 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 04852dcc21a221f421f28a2b43e2c26263bf3af0 Author: Jan Kratochvil Date: Thu Apr 4 17:52:58 2013 +0200 . commit ea67b93000b39491c09f38c27b6ac3464027d314 Author: Jan Kratochvil Date: Thu Apr 4 17:27:05 2013 +0200 . commit 27ec0096275ed47b32fe4f297648ce9f8ea9230c Merge: 99b2d5b 871d76f Author: Jan Kratochvil Date: Thu Apr 4 10:30:39 2013 +0200 Merge remote-tracking branch 'gdb/master' into archer-jankratochvil-man commit 871d76f17d4bcd93091c4203af28dc9c096d8abd Author: qiyao Date: Thu Apr 4 02:16:04 2013 +0000 gdb/testsuite/ * gdb.server/server-kill.exp: Use command 'tstatus' instead of 'step'. commit 443a6353c89a7f4aeaab7466929f8084b3d1b14b Author: DJ Delorie Date: Thu Apr 4 01:02:59 2013 +0000 merge from gcc commit a2c0323a2aaa911c3f6ff83ec79bd12e8f911e3a Author: gdbadmin Date: Thu Apr 4 00:00:32 2013 +0000 *** empty log message *** commit 9e804a6dbdda1b9f7d4df77863222d6a0a0a0155 Author: Alan Modra Date: Wed Apr 3 23:00:04 2013 +0000 daily update commit e88e2dd9eb982a0c4291717ba6b81819bbfb168b Author: Doug Evans Date: Wed Apr 3 19:45:00 2013 +0000 * dwarf2read.c (read_die_and_siblings_1): Renamed from read_die_and_siblings. (read_die_and_siblings): New function. (read_cutu_die_from_dwo): Dump die if requested. (read_die_and_children): Call read_full_die_1 and read_die_and_siblings_1. (read_full_die): Dump die if requested. * dwarf2read.c (read_comp_units_from_section): Add debugging printf. commit 7ff4a059e681241ecdda3b0a1450bfeef889f13c Author: Doug Evans Date: Wed Apr 3 19:11:01 2013 +0000 * dwarf2read.c (struct dwo_file): New member comp_dir. Rename member name to dwo_name. All uses updated. (hash_dwo_file): Include comp_dir in computation. (eq_dwo_file): Ditto. (lookup_dwo_file_slot): New arg comp_dir. All callers updated. (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto. commit d6cc6800612b4117f54756e4d5eac728def2bf26 Author: Doug Evans Date: Wed Apr 3 18:48:53 2013 +0000 * psymtab.c (read_psymtabs_with_fullname): Don't call psymtab_to_fullname if the basenames are different. commit 27bdd355796758e81d43f4cd20ecc6712bfa0402 Author: Jan Kratochvil Date: Wed Apr 3 18:28:49 2013 +0000 gdb/ * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname". New entry about "fullname" presence. commit 41c04933225dc7c247ee408ce480f244cc8f5757 Author: DJ Delorie Date: Wed Apr 3 18:21:40 2013 +0000 merge from gcc commit 41df4d44de4daadaddecac7269bab5a21e03c524 Author: Pedro Alves Date: Wed Apr 3 18:04:33 2013 +0000 NEWS: Mention x86_64/Cygwin as new native configuration too. x86_64/Cygwin is only mentioned as a new target, but we gained support for building a native x86_64/Cygwin debugger too. gdb/ 2013-04-03 Pedro Alves * NEWS: Mention x86_64/Cygwin as new native configuration. commit fc3a9b20804d763b71524e66e3908c631862d8b7 Author: Nick Clifton Date: Wed Apr 3 14:42:09 2013 +0000 * elf32-v850.c (v850_elf_is_target_special_symbol): New function. (bfd_elf32_bfd_is_target_special_symbol): Define. * v850.h (V850_INVERSE_PCREL): Define. * v850-dis.c (print_value): With V850_INVERSE_PCREL compute the destination address by subtracting the operand from the current address. * v850-opc.c (insert_u16_loop): Disallow negative offsets. Store a positive value in the insn. (extract_u16_loop): Do not negate the returned value. (D16_LOOP): Add V850_INVERSE_PCREL flag. (ceilf.sw): Remove duplicate entry. (cvtf.hs): New entry. (cvtf.sh): Likewise. (fmaf.s): Likewise. (fmsf.s): Likewise. (fnmaf.s): Likewise. (fnmsf.s): Likewise. (maddf.s): Restrict to E3V5 architectures. (msubf.s): Likewise. (nmaddf.s): Likewise. (nmsubf.s): Likewise. commit 35b8b551d217d3ee4af7711cfa9a1bce6c8817df Author: Nick Clifton Date: Wed Apr 3 14:21:17 2013 +0000 * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use elf64_aarch64_locals to get local GOT reference counts. * ld-aarch64/gc-relocs-tlsle.s: New gc section test. * ld-aarch64/gc-relocs-tlsle.s: Likewise * ld-aarch64/gc-relocs-tlsgd.s: Likewise * ld-aarch64/gc-relocs-tlsdesc.s: Likewise * ld-aarch64/gc-relocs-312.s: Likewise * ld-aarch64/gc-relocs-311.s: Likewise * ld-aarch64/gc-relocs-309.s: Likewise * ld-aarch64/gc-start.s: Likewise * ld-aarch64/gc-got-relocs.d: Update expected objdump * ld-aarch64/gc-tls-relocs.d: Likewise * ld-aarch64/aarch64-elf.exp: add test commit 03f93a192577b51399c08a0a55cbb572d7b434c6 Author: qiyao Date: Wed Apr 3 10:11:46 2013 +0000 gdb/testsuite/ * gdb.trace/mi-traceframe-changed.exp: Update tfile name to "tfile-basic.tf". (test_tfind_tfile): Likewise. commit 66e7a4aacb8d043f7cdd06570310771234794704 Author: qiyao Date: Wed Apr 3 03:43:54 2013 +0000 gdb/testsuite/ * gdb.trace/tfile.c (write_basic_trace_file): Pass argument "tfile-basic.tf" instead of "basic.tf". (write_error_trace_file): Pass argument "tfile-error.tf" instead of "error.tf". * gdb.trace/tfile.exp: Update tfile names to "tfile-basic.tf" and "tfile-error.tf". commit bbe463b1028d93bc13fe25690f49f4e9883f9b4a Author: Sandra Loosemore Date: Wed Apr 3 01:40:19 2013 +0000 2013-04-02 Sandra Loosemore gdb/testsuite/ * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow empty directory in file for breakpoint hit. commit e36ce674726ad929c0ca19c64638410763721f90 Author: gdbadmin Date: Wed Apr 3 00:00:32 2013 +0000 *** empty log message *** commit 8365ea4b9616d0d315bb29db42ac52cf9de6bb0f Author: DJ Delorie Date: Tue Apr 2 23:29:50 2013 +0000 * elf32-rl78.c (GET_RELOC): Assert that there are relocs to get. (rl78_elf_relax_section): Only fetch the next reloc if there is one expected. commit 0666c31aeb21d0b9529e80d0fc15aadb826215ca Author: Alan Modra Date: Tue Apr 2 23:00:05 2013 +0000 daily update commit 1c629fe0eed5d3e4600680bed64f65e61756485f Author: Doug Evans Date: Tue Apr 2 21:18:40 2013 +0000 * dwarf2read.c (read_structure_type): Fix typo in comment. commit a99f51c0fa659b4f38f12629d8496159f41432d9 Author: Pedro Alves Date: Tue Apr 2 17:52:08 2013 +0000 NEWS/manual: Missing documentation for new commands in 7.6. I hacked "apropos" to dump the whole set of commands (just make it accept the entry string as regex), and then diffed the output of 7.5 vs 7.6, --enable-targets=all builds. That allowed then checking whether some commands had not been mentioned in NEWS or the manual. These are what I found missing. We've been a bit negligent in requiring documentation bits for debug commands. gdb/ 2013-04-02 Pedro Alves * NEWS: Mention "set/show debug aarch64", "set/show debug coff-pe-read" and "set/show debug mach-o". gdb/doc/ 2013-04-02 Pedro Alves * gdb.texinfo (Debugging Output): Document "set/show debug aarch64", "set/show debug coff-pe-read" and "set/show debug mach-o". commit 53a0055fe28139eef927892739fdddd2429f5b9d Author: Pedro Alves Date: Tue Apr 2 17:48:48 2013 +0000 Add missing NEWS and manual bits for "set trace-buffer-size". Add missing mention of the QTBuffer::size packet configuration command, in both NEWS and manual. gdb/ 2013-04-02 Pedro Alves * NEWS: Mention "set/show remote trace-buffer-size-packet". gdb/doc/ 2013-04-02 Pedro Alves * gdb.texinfo (Remote Configuration) : Add entry for "trace-buffer-size". commit d2c197313a0deae442c82411a5a8a96d6275c9f9 Author: Eli Zaretskii Date: Tue Apr 2 17:44:27 2013 +0000 Fix list of files submitted to "make TAGS". * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h. gdb_string.h is now in common/. commit f14c4191dd9a911ebe3ea38226e520b3d56faae3 Author: Pedro Alves Date: Tue Apr 2 15:19:06 2013 +0000 NEWS: Move "set debug notification" and "set trace-buffer-size" under "New options". The "New commands" section reads: "New commands (for set/show, see "New options" below)" gdb/ 2013-04-02 Pedro Alves * NEWS: Move "set debug notification" and "set trace-buffer-size" under "New options". commit 697b258f3efaedff028acc1666d85815cb9992f7 Author: Jan Kratochvil Date: Tue Apr 2 14:09:08 2013 +0000 gdb/ Revert this patch: PR gdb/15275 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH. commit 0e03af0b3d2c1b5a7dc1221ce7faaedb5d74b661 Author: Pedro Alves Date: Tue Apr 2 13:51:06 2013 +0000 unpush the remote target if serial_write fails. PR gdb/15275 notes that when debugging with a remote connection over a serial link and the link is disconnected, say by disconnecting USB serial port, the GDB quit command no longer works: (gdb) tar ext /dev/ttyACM0 &"tar ext /dev/ttyACM0\n" ~"Remote debugging using /dev/ttyACM0\n" ^done (gdb) set debug remote 1 &"set debug remote 1\n" ^done (gdb) quit &"quit\n" &"Sending packet: $qTStatus#49..." &"putpkt: write failed: Input/output error.\n" ^error,msg="putpkt: write failed: Input/output error." (gdb) (gdb) quit &"quit\n" &"Sending packet: $qTStatus#49..." &"putpkt: write failed: Input/output error.\n" ^error,msg="putpkt: write failed: Input/output error." This is not reproducible with TCP connections, as with that, sending doesn't error out, but instead the error is detected on the subsequent readchar. When that read fails, we unpush the remote target, and throw TARGET_CLOSE_ERROR. To address PR gdb/15275, instead of catching the error in remote_get_trace_status as presently done (which leaves this same issue latent for another packet to trip on), or of making ser-unix.c fake success too on failed writes, so we'd get to readchar detecting the error on serial ports too, better let the error propagate out of serial_write, and catch it at the remote.c level, throwing away the target if writing fails too, instead of delaying that until the next read. gdb/ 2013-04-02 Pedro Alves PR gdb/15275 * remote.c (send_interrupt_sequence): Use remote_serial_write. (remote_serial_write): New function. (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write. commit e208dc684db1f93757ac121b34cad674a1bdb0ac Author: jiwang Date: Tue Apr 2 02:49:55 2013 +0000 gdb/ChangeLog: * NEWS: Mention TILE-Gx in "New native configurations" and "New targets" sections. commit fc5614933398444e17750828f26d8fec0e19cfc6 Author: gdbadmin Date: Tue Apr 2 00:00:02 2013 +0000 *** empty log message *** commit 1a0cbf6a950399c9be396743effc2404829b2c35 Author: Doug Evans Date: Mon Apr 1 23:17:40 2013 +0000 * dwarf2read.c (lookup_signatured_type_at_offset): Delete. (process_enumeration_scope): Simplify. commit bd8fd7b1a8cbb4719c183f1f2ad4d3d3fe6f5951 Author: Alan Modra Date: Mon Apr 1 23:00:05 2013 +0000 daily update commit dc0a67a97aa8fdfffeeb359479399839ca01f66f Author: Doug Evans Date: Mon Apr 1 22:36:08 2013 +0000 * dwarf2read.c (struct dwarf2_per_cu_data): Move member type_unit_group ... (struct signatured_type): ... to here. (sig_type_ptr): New typedef. (type_unit_group): Delete member 't.first_cu'. Move member 'tus' out of union 't'. All uses updated. (dw2_get_file_names_reader): Assert not called for a type unit. (dw2_get_file_names): Assert not called for a type unit or type unit group. (build_type_psymtabs_reader): Assert called for a type unit. (build_type_psymtab_dependencies): Assert called for a type unit group. commit d25b4446a3b22bcc5ee22538110d9f757c9ea357 Author: Aleksandar Ristovski Date: Mon Apr 1 20:11:19 2013 +0000 Fix whitespace errors from last commit. commit 72c65c04409a5d56fca71a7cff99f3be3bfda4b7 Author: Doug Evans Date: Mon Apr 1 16:42:14 2013 +0000 * dwarf2read.c (free_dwo_file): Add comment. (dwarf2_per_objfile_free): Unref dwp bfd. commit 13927d4d6c57e85b4b8b7857841d2732725e0f31 Author: Aleksandar Ristovski Date: Mon Apr 1 12:53:01 2013 +0000 Fix coff-pe-read.c to compile with Wunused. * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'. (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'. (read_pe_exported_syms): Remove unused 'exportix'. (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries', 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata', 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'. Reference: http://sourceware.org/ml/gdb-patches/2013-03/msg01081.html commit ddbe4ab3e82af4c6428c6e51d0ad87e9a0cd5725 Author: Aleksandar Ristovski Date: Mon Apr 1 12:48:03 2013 +0000 Cleanup: remove unused - breakpoint, buildsym * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'. (print_it_watchpoint): Remove unused 'bl'. (say_where): Remove unused 'uiout'. (bpstat_remove_breakpoint_callback): Remove unused 'uiout'. (bkpt_breakpoint_hit): Remove unused 'b'. (internal_bkpt_print_it): Remove unused 'uiout'. * buildsym.c (augment_type_symtab): Remove unused 'i'. Reference: http://sourceware.org/ml/gdb-patches/2013-03/msg01080.html commit 726511398209b80fff22e2faf2919c9d986a488b Author: tdaitx Date: Mon Apr 1 04:05:35 2013 +0000 gdb/ChangeLog 2013-03-01 Tiago Stürmer Daitx * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function. (ppc64_sysv_abi_push_dummy_call): Handle complex arguments. commit 247bc0e2ba807d03e92efae4bda12a0f0bbe1d49 Author: gdbadmin Date: Mon Apr 1 00:00:32 2013 +0000 *** empty log message *** commit baca768db0617f13b0c0fb2ae8708c9ba1db75eb Author: Alan Modra Date: Sun Mar 31 23:00:05 2013 +0000 daily update commit 0b2e20369678b2abe472bfbd4aa6e2e46b8c9f9f Author: Mike Frysinger Date: Sun Mar 31 00:39:34 2013 +0000 sim: frv/m32r: back out hard failure when dv-sockser is not available These sims have optional support for the dv-sockser model, so do not make them hard failures. The Makefile made it seem like they didn't actually support things dynamically, but a further code dive into the source and the Makefile shows that things work out. commit eecd1738518f4743b077307b4ee1a0074f68b3c8 Author: gdbadmin Date: Sun Mar 31 00:00:03 2013 +0000 *** empty log message *** commit 25442e5d273c6a5d4f377f76bbe59818d10a42c2 Author: Alan Modra Date: Sat Mar 30 23:00:05 2013 +0000 daily update commit c806ceee16e60ca66c913b5aab75465e7aa2353b Author: Alan Modra Date: Sat Mar 30 10:14:14 2013 +0000 PR ld/15323 bfd/ * elf-m10300.c (mn10300_elf_check_relocs): Set non_ir_ref for global symbols referenced by relocs. * elf32-arm.c (elf32_arm_check_relocs): Likewise. * elf32-bfin.c (bfin_check_relocs): Likewise. * elf32-cr16.c (cr16_elf_check_relocs): Likewise. * elf32-cris.c (cris_elf_check_relocs): Likewise. * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. * elf32-fr30.c (fr30_elf_check_relocs): Likewise. * elf32-frv.c (elf32_frv_check_relocs): Likewise. * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. * elf32-i370.c (i370_elf_check_relocs): Likewise. * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. * elf32-lm32.c (lm32_elf_check_relocs): Likewise. * elf32-m32c.c (m32c_elf_check_relocs): Likewise. * elf32-m32r.c (m32r_elf_check_relocs): Likewise. * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. * elf32-m68k.c (elf_m68k_check_relocs): Likewise. * elf32-mcore.c (mcore_elf_check_relocs): Likewise. * elf32-metag.c (elf_metag_check_relocs): Likewise. * elf32-microblaze.c (microblaze_elf_check_relocs): Likewise. * elf32-moxie.c (moxie_elf_check_relocs): Likewise. * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. * elf32-mt.c (mt_elf_check_relocs): Likewise. * elf32-nios2.c (nios2_elf32_check_relocs): Likewise. * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. * elf32-ppc.c (ppc_elf_check_relocs): Likewise. * elf32-rl78.c (rl78_elf_check_relocs): Likewise. * elf32-s390.c (elf_s390_check_relocs): Likewise. * elf32-score.c (s3_bfd_score_elf_check_relocs): Likewise. * elf32-score7.c (s7_bfd_score_elf_check_relocs): Likewise. * elf32-sh.c (sh_elf_check_relocs): Likewise. * elf32-tic6x.c (elf32_tic6x_check_relocs): Likewise. * elf32-tilepro.c (tilepro_elf_check_relocs): Likewise. * elf32-v850.c (v850_elf_check_relocs): Likewise. * elf32-vax.c (elf_vax_check_relocs): Likewise. * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. * elf64-aarch64.c (elf64_aarch64_check_relocs): Likewise. * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. * elf64-ia64-vms.c (elf64_ia64_check_relocs): Likewise. * elf64-mmix.c (mmix_elf_check_relocs): Likewise. * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. * elf64-s390.c (elf_s390_check_relocs): Likewise. * elf64-sh64.c (sh_elf64_check_relocs): Likewise. * elfnn-ia64.c (elfNN_ia64_check_relocs): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. Don't test indirect/warning links for NULL. ld/testsuite/ * ld-plugin/lto.exp (pr15323a.c): Compile without -flto rather than using -r to effectively strip out lto info. commit 8f769923bc4fbed4505cd8f95a12f18bfac1ab1d Author: H.J. Lu Date: Sat Mar 30 00:38:39 2013 +0000 Set non_ir_ref if a symbol is referenced by a non-shared object bfd/ PR ld/15323 * elf32-i386.c (elf_i386_check_relocs): Set non_ir_ref if a symbol is referenced by a non-shared object. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. ld/testsuite/ PR ld/15323 * ld-plugin/lto.exp (lto_link_tests): Add pr15323a-r.o. (lto_run_tests): Add a test for PR ld/15323. * ld-plugin/pr15323.out: New file. * ld-plugin/pr15323a.c: Likewise. * ld-plugin/pr15323b.c: Likewise. commit 5551633e4eb834bbbeca0d5aed10f06fbb760ef8 Author: gdbadmin Date: Sat Mar 30 00:00:32 2013 +0000 *** empty log message *** commit 701c95b4752dbb1b4274802614e4ea2f97b3cbb9 Author: Alan Modra Date: Fri Mar 29 23:00:05 2013 +0000 daily update commit b4ee248cdfba33a2cba64fb69b2c6a648be263d1 Author: Doug Evans Date: Fri Mar 29 21:47:51 2013 +0000 * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file. Delete arg is_dwp. All callers updated. (open_dwp_file): New function. (open_and_init_dwp_file): Call it. (get_dwp_file): New function. (lookup_dwo_cutu): Call it. commit aaa84d8871b7689d7e5645d6cc38b23f38da3e3a Author: Doug Evans Date: Fri Mar 29 21:42:04 2013 +0000 * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and unnecessary, cleanup. commit 1b76ca4e895073686a1b31a843d1ba9ea53d135d Author: Doug Evans Date: Fri Mar 29 18:46:07 2013 +0000 * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. commit 5d24fb4bf68a5a73461b907ebf9bad9e23bf3a96 Author: Doug Evans Date: Fri Mar 29 17:48:47 2013 +0000 * dwarf2read.c (read_cutu_die_from_dwo): New function. (lookup_dwo_unit): New function. (init_cutu_and_read_dies): Move DWO handling to new functions. commit 44ed4ae0cf0931d8fbecb54c2a86ae90d3ea8f36 Author: Doug Evans Date: Fri Mar 29 16:55:57 2013 +0000 * dwarf2read.c (struct signatured_type): Tweak comment. (struct dwo_unit): Tweak comment. (create_debug_types_hash_table): Tweak comment. Reformat long line. (create_dwo_debug_info_hash_table): Tweak comment. (dwarf2_per_cu_offset_and_type): Tweak comment. commit faf3483c1c5635d0b472c324727f397c61048177 Author: Doug Evans Date: Fri Mar 29 16:38:52 2013 +0000 * dwarf2read.c (lookup_signatured_type): Remove complaint about missing .debug_types section. commit 9516b7a27cedfe824ae545c0161b21de45f9c9fb Author: qiyao Date: Fri Mar 29 15:21:22 2013 +0000 gdb/ 2013-03-29 Yao Qi * corelow.c: Include "completer.h". (_initialize_corelow): Call add_target_with_completer with argument 'filename_completer'. * tracepoint.c: Likewise. * exec.c (_initialize_exec): Likewise. * target.c (add_target): Rename to ... (add_target_with_completer): ... this. Call set_cmd_completer if parameter completer is not NULL. (add_target): New. * target.h: Include "command.h". (add_target_with_completer): Declare it. gdb/testsuite: 2013-03-29 Yao Qi * gdb.base/completion.exp: Test completion of commands "target core", "target tfile" and "target exec". * gdb.trace/tfile.exp: Test completion of command "target tfile". commit d5b583e5512d6f0a143a21c385d9d8d08e0d5079 Author: Joel Brobecker Date: Fri Mar 29 02:04:14 2013 +0000 Ignore __fu__ symbols from COFF symbol tables The debugger sometimes prints strange function names for given addresses. For instance, with the following source code... 4 procedure Foo is 5 A : Integer; 6 begin 7 Do_Nothing (A'Address); 8 end Foo; ... we can see... (gdb) info line 5 Line 5 of "foo.adb" starts at address 0x4017ca <_ada_foo+6> and ends at 0x4017d2 <_fu29__system__scalar_values__is_is4+7>. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _fu29__system__scalar_values__is_is4 is an artificial symbol generated by the linker, and interferes with the pc-to-symbol resolution. There isn't much in the general minimal_symbol data that could help us identify them, so this patch changes the COFF reader to simply ignore them. gdb/ChangeLog: * coffread.c (is_import_fixup_symbol): New function. (record_minimal_symbol): Use is_import_fixup_symbol to detect import fixup symbols, and discard them. gdb/testsuite/ChangeLog: * gdb.ada/win_fu_syms: New testcase. commit e910d5726b76ab0fae4495cd5f33e7060590959e Author: Doug Evans Date: Fri Mar 29 00:35:19 2013 +0000 * dwarf2read.c (create_debug_types_hash_table): Don't allocate the types hash table until we know we need it. commit 3e604179f7b76e194ea7a79431dddef0e97bbbe9 Author: Doug Evans Date: Fri Mar 29 00:18:31 2013 +0000 * dwarf2read.c (create_addrmap_from_index): Complain about bad CU index numbers. commit 96c6499e6b3dde9651f70ea25cd354af99a80e0e Author: Doug Evans Date: Fri Mar 29 00:11:09 2013 +0000 * dwarf2read.c (dw2_get_file_names): Delete arg "objfile". All callers updated. (dw2_print_stats): Print #read CUs too. (dump_die_shallow): Print signatured types better. testsuite/ * gdb.base/maint.exp (maint print statistics): Update expected output. commit 1e0435b3cbc08fc411e0a9e1f5c1ee53151949d3 Author: gdbadmin Date: Fri Mar 29 00:00:32 2013 +0000 *** empty log message *** commit fc04c708f7c1c4375875f8e06a5631b82b5af8e4 Author: Kaz Kojima Date: Thu Mar 28 23:52:44 2013 +0000 * elf32-sh.c (sh_elf_relocate_section): Suppress warnings for R_SH_REL32 relocations against undefined weak symbols. commit cda9acf77fb97221988b2f83187d9b0a2dc2d607 Author: Alan Modra Date: Thu Mar 28 23:00:05 2013 +0000 daily update commit a02b304ffa088189966503bbcdf62e0bf818cd68 Author: Doug Evans Date: Thu Mar 28 22:59:47 2013 +0000 * dwarf2read.c (struct dwarf2_per_cu_data): Rename member info_or_types_section to section. All uses updated. (struct dwo_unit): Ditto. commit 948bd7ac017364916424806e5cd39d211affe407 Author: Pedro Alves Date: Thu Mar 28 21:58:02 2013 +0000 Stop sending qTStatus if the target doesn't recognize it; add packet configuration command. GDB currently sends a qTStatus even if the target previously replied an empty packet to a previous qTStatus. If the target doesn't recognize the packet, there's no point in trying again. The machinery we have in place is packet_ok, which has the nice side effect of forcing one to install a configuration command/knob for the packet in question, which is often handy when you need to debug things, and/or emulate a target that doesn't support the packet, or even, it can be used as workaround for the old broken kgdb's that return error to qTSTatus instead of an empty packet. gdb/ 2013-03-28 Pedro Alves * NEWS (New options): New section. (New options): Mention set/show remote trace-status-packet. * remote.c (PACKET_qTStatus): New enumeration value. (remote_get_trace_status): Skip sending qTStatus if the packet is disabled. Use packet_ok. (_initialize_remote): Register a configuration command for qTStatus packet. gdb/doc/ 2013-03-28 Pedro Alves * gdb.texinfo (Remote Configuration) : Add entry for "trace-status". commit e6c081ab2f37103e33d261618ab01650a55d9ae0 Author: Eli Zaretskii Date: Thu Mar 28 21:07:56 2013 +0000 Fix Doug Evans's commit of 2013-03-21. * gdb.texinfo (Maintenance Commands): Use @enumerate, not "@table @bullet", which is invalid (makeinfo 5.1 barfs). commit 19a4647775865fa080f1ed49a0c8808bb3cd0a95 Author: Doug Evans Date: Thu Mar 28 18:17:38 2013 +0000 * symfile.c (find_separate_debug_file): Add comment. (terminate_after_last_dir_separator): Tweak comment. commit 4eda3517ffa9b4e851b9d0dcbb25d6bfcc51a27c Author: Doug Evans Date: Thu Mar 28 17:41:02 2013 +0000 * dwarf2read.c (create_partial_symtab): Add forward decl. (create_partial_symtab): Move to be closer to other psymtab functions. (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto. commit 65e40143146022fd4108a157f530621485cb7579 Author: Doug Evans Date: Thu Mar 28 17:35:01 2013 +0000 * dwarf2read.c (dwarf2_physname): Move declaration to better spot. (compute_symtab_includes): Remove unnecessary forward declaration. (die_needs_namespace): Add comment marking group of functions for dwarf2 name computation. commit eb5054e1dfa1e34230d869ab8cb03b8aa7688352 Author: Doug Evans Date: Thu Mar 28 17:25:47 2013 +0000 * typeprint.c (_initialize_typeprint): Improve type help text. commit 7eb9f7cdf7c1709fd10ff1f3a82024a9057c9064 Author: Doug Evans Date: Thu Mar 28 16:39:08 2013 +0000 * python/python.c (finish_python_initialization): Provide suggestion for how to tell gdb to find its python files. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 5 + bfd/ChangeLog | 227 ++++ bfd/elf-bfd.h | 33 +- bfd/elf-m10300.c | 8 +- bfd/elf.c | 6 +- bfd/elf32-arm.c | 19 +- bfd/elf32-bfin.c | 12 +- bfd/elf32-cr16.c | 8 +- bfd/elf32-cris.c | 8 +- bfd/elf32-d10v.c | 4 + bfd/elf32-dlx.c | 4 + bfd/elf32-fr30.c | 4 + bfd/elf32-frv.c | 4 + bfd/elf32-h8300.c | 11 +- bfd/elf32-hppa.c | 8 +- bfd/elf32-i370.c | 4 + bfd/elf32-i386.c | 7 +- bfd/elf32-iq2000.c | 4 + bfd/elf32-lm32.c | 8 +- bfd/elf32-m32c.c | 4 + bfd/elf32-m32r.c | 8 +- bfd/elf32-m68hc1x.c | 4 + bfd/elf32-m68k.c | 8 +- bfd/elf32-mcore.c | 4 + bfd/elf32-metag.c | 8 +- bfd/elf32-microblaze.c | 8 +- bfd/elf32-moxie.c | 4 + bfd/elf32-msp430.c | 4 + bfd/elf32-mt.c | 4 + bfd/elf32-nios2.c | 8 +- bfd/elf32-openrisc.c | 4 + bfd/elf32-ppc.c | 150 ++- bfd/elf32-rl78.c | 16 +- bfd/elf32-s390.c | 9 +- bfd/elf32-score.c | 4 + bfd/elf32-score7.c | 4 + bfd/elf32-sh-symbian.c | 57 +- bfd/elf32-sh.c | 16 +- bfd/elf32-sparc.c | 4 +- bfd/elf32-tic6x.c | 4 + bfd/elf32-tilepro.c | 8 +- bfd/elf32-v850.c | 12 + bfd/elf32-vax.c | 8 +- bfd/elf32-xstormy16.c | 4 + bfd/elf32-xtensa.c | 8 +- bfd/elf64-aarch64.c | 27 +- bfd/elf64-alpha.c | 7 +- bfd/elf64-hppa.c | 10 +- bfd/elf64-ia64-vms.c | 7 +- bfd/elf64-mmix.c | 4 + bfd/elf64-ppc.c | 276 +++-- bfd/elf64-s390.c | 9 +- bfd/elf64-sh64.c | 4 + bfd/elf64-sparc.c | 4 +- bfd/elf64-x86-64.c | 47 +- bfd/elflink.c | 369 +++---- bfd/elfnn-ia64.c | 7 +- bfd/elfxx-mips.c | 14 +- bfd/elfxx-sparc.c | 5 + bfd/elfxx-tilegx.c | 8 +- bfd/elfxx-tilegx.h | 4 +- bfd/version.h | 2 +- gdb/ChangeLog | 441 +++++++ gdb/Makefile.in | 6 +- gdb/NEWS | 56 +- gdb/breakpoint.c | 8 - gdb/buildsym.c | 1 - gdb/c-exp.y | 43 + gdb/cli/cli-setshow.c | 33 +- gdb/cli/cli-setshow.h | 6 +- gdb/coff-pe-read.c | 31 +- gdb/coffread.c | 43 + gdb/contrib/cc-with-tweaks.sh | 2 + gdb/corelow.c | 3 +- gdb/cris-tdep.c | 18 +- gdb/ctf.c | 3 +- gdb/dcache.c | 24 +- gdb/doc/ChangeLog | 39 + gdb/doc/gdb.texinfo | 316 +++--- gdb/dwarf2read.c | 1288 ++++++++++++--------- gdb/eval.c | 30 +- gdb/event-top.c | 1 + gdb/exceptions.h | 4 + gdb/exec.c | 2 +- gdb/expression.h | 5 +- gdb/gdbserver/ChangeLog | 5 + gdb/gdbserver/linux-low.c | 2 - gdb/hppa-hpux-tdep.c | 40 +- gdb/linux-nat.c | 4 - gdb/main.c | 26 +- gdb/maint.c | 291 +++++- gdb/{windows-nat.h => maint.h} | 21 +- gdb/opencl-lang.c | 13 +- gdb/ppc-sysv-tdep.c | 196 ++-- gdb/psymtab.c | 6 +- gdb/python/python.c | 8 +- gdb/record-btrace.c | 4 + gdb/record-full.c | 56 +- gdb/record.c | 103 ++- gdb/remote.c | 115 ++- gdb/rs6000-nat.c | 2 - gdb/ser-tcp.c | 4 +- gdb/source.c | 8 +- gdb/symfile.c | 6 +- gdb/target.c | 22 +- gdb/target.h | 4 + gdb/testsuite/ChangeLog | 113 ++ gdb/testsuite/gdb.ada/win_fu_syms.exp | 35 + gdb/testsuite/gdb.ada/win_fu_syms/foo.adb | 23 + gdb/testsuite/gdb.ada/win_fu_syms/pck.adb | 21 + gdb/testsuite/gdb.ada/win_fu_syms/pck.ads | 19 + gdb/testsuite/gdb.base/completion.exp | 7 + gdb/testsuite/gdb.base/dprintf.exp | 2 +- gdb/testsuite/gdb.base/list.exp | 43 +- gdb/testsuite/gdb.base/list0.c | 2 +- gdb/testsuite/gdb.base/maint.exp | 22 +- gdb/testsuite/gdb.btrace/enable.exp | 11 + gdb/testsuite/gdb.cp/m-static.cc | 9 + gdb/testsuite/gdb.cp/m-static.exp | 17 + gdb/testsuite/gdb.cp/ovsrch.exp | 2 +- gdb/testsuite/gdb.server/server-kill.c | 24 + gdb/testsuite/gdb.server/server-kill.exp | 45 + gdb/testsuite/gdb.trace/actions.c | 17 + gdb/testsuite/gdb.trace/circ.c | 17 + gdb/testsuite/gdb.trace/collection.c | 17 + gdb/testsuite/gdb.trace/mi-traceframe-changed.exp | 9 +- gdb/testsuite/gdb.trace/tfile.c | 21 +- gdb/testsuite/gdb.trace/tfile.exp | 27 +- gdb/testsuite/gdb.trace/trace-buffer-size.exp | 2 +- gdb/testsuite/lib/gdb.exp | 4 +- gdb/top.c | 93 +- gdb/tracepoint.c | 3 +- gdb/typeprint.c | 7 +- gdb/utils.c | 145 +-- gdb/utils.h | 14 +- gdb/version.in | 2 +- gdb/windows-nat.c | 16 +- gdb/windows-nat.h | 4 + include/ChangeLog | 7 + include/demangle.h | 6 + include/opcode/ChangeLog | 17 + include/opcode/tic6x-insn-formats.h | 424 +++++++- include/opcode/tic6x-opcode-table.h | 1123 ++++++++++++++++++ include/opcode/tic6x.h | 114 ++- include/opcode/v850.h | 3 + libdecnumber/ChangeLog | 4 + libdecnumber/configure | 2 +- libiberty/ChangeLog | 21 + libiberty/configure | 4 +- libiberty/cp-demangle.c | 182 +++- libiberty/testsuite/demangle-expected | 16 +- opcodes/ChangeLog | 33 + opcodes/i386-dis.c | 8 +- opcodes/tic6x-dis.c | 512 +++++++- opcodes/v850-dis.c | 3 + opcodes/v850-opc.c | 24 +- sim/bfin/ChangeLog | 9 + sim/bfin/aclocal.m4 | 58 +- sim/bfin/configure | 82 +- sim/bfin/configure.ac | 12 +- sim/common/ChangeLog | 11 + sim/common/acinclude.m4 | 60 +- sim/cris/ChangeLog | 4 + sim/cris/configure | 67 +- sim/frv/ChangeLog | 18 + sim/frv/Makefile.in | 5 +- sim/frv/configure | 127 ++- sim/frv/configure.ac | 4 + sim/iq2000/ChangeLog | 10 + sim/iq2000/configure | 130 ++- sim/iq2000/configure.ac | 8 + sim/lm32/ChangeLog | 4 + sim/lm32/configure | 67 +- sim/m32r/ChangeLog | 19 + sim/m32r/Makefile.in | 5 +- sim/m32r/configure | 126 ++- sim/m32r/configure.ac | 3 + sim/m32r/tconfig.in | 3 - sim/m68hc11/ChangeLog | 9 + sim/m68hc11/configure | 69 +- sim/m68hc11/configure.ac | 2 +- sim/mips/ChangeLog | 11 + sim/mips/config.in | 7 + sim/mips/configure | 80 +- sim/mips/configure.ac | 11 +- sim/mips/tconfig.in | 4 + sim/mn10300/ChangeLog | 12 + sim/mn10300/config.in | 7 + sim/mn10300/configure | 189 +++- sim/mn10300/configure.ac | 8 + sim/mn10300/tconfig.in | 3 + sim/sh64/ChangeLog | 10 + sim/sh64/configure | 131 ++- sim/sh64/configure.ac | 9 + src-release | 2 +- 195 files changed, 7415 insertions(+), 2176 deletions(-) copy gdb/{windows-nat.h => maint.h} (55%) create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms.exp create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms/foo.adb create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms/pck.adb create mode 100644 gdb/testsuite/gdb.ada/win_fu_syms/pck.ads create mode 100644 gdb/testsuite/gdb.server/server-kill.c create mode 100644 gdb/testsuite/gdb.server/server-kill.exp First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index a276e71..07594a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-03-22 Mike Frysinger + + * src-release (VER): Change bfd/configure.in sed to use the new + `bfd/configure --version` output. + 2013-02-15 Yufeng Zhang * configure.ac: Sync with GCC repo. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8439b55..c2a14b0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,230 @@ +2013-04-03 Nick Clifton + + * elf32-v850.c (v850_elf_is_target_special_symbol): New function. + (bfd_elf32_bfd_is_target_special_symbol): Define. + +2013-04-03 Venkataramanan Kumar + + * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use + elf64_aarch64_locals to get local GOT reference counts. + +2013-04-02 DJ Delorie + + * elf32-rl78.c (GET_RELOC): Assert that there are relocs to get. + (rl78_elf_relax_section): Only fetch the next reloc if there is + one expected. + +2013-03-30 Alan Modra + + PR ld/15323 + * elf-m10300.c (mn10300_elf_check_relocs): Set non_ir_ref for + global symbols referenced by relocs. + * elf32-arm.c (elf32_arm_check_relocs): Likewise. + * elf32-bfin.c (bfin_check_relocs): Likewise. + * elf32-cr16.c (cr16_elf_check_relocs): Likewise. + * elf32-cris.c (cris_elf_check_relocs): Likewise. + * elf32-d10v.c (elf32_d10v_check_relocs): Likewise. + * elf32-dlx.c (elf32_dlx_check_relocs): Likewise. + * elf32-fr30.c (fr30_elf_check_relocs): Likewise. + * elf32-frv.c (elf32_frv_check_relocs): Likewise. + * elf32-hppa.c (elf32_hppa_check_relocs): Likewise. + * elf32-i370.c (i370_elf_check_relocs): Likewise. + * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise. + * elf32-lm32.c (lm32_elf_check_relocs): Likewise. + * elf32-m32c.c (m32c_elf_check_relocs): Likewise. + * elf32-m32r.c (m32r_elf_check_relocs): Likewise. + * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise. + * elf32-m68k.c (elf_m68k_check_relocs): Likewise. + * elf32-mcore.c (mcore_elf_check_relocs): Likewise. + * elf32-metag.c (elf_metag_check_relocs): Likewise. + * elf32-microblaze.c (microblaze_elf_check_relocs): Likewise. + * elf32-moxie.c (moxie_elf_check_relocs): Likewise. + * elf32-msp430.c (elf32_msp430_check_relocs): Likewise. + * elf32-mt.c (mt_elf_check_relocs): Likewise. + * elf32-nios2.c (nios2_elf32_check_relocs): Likewise. + * elf32-openrisc.c (openrisc_elf_check_relocs): Likewise. + * elf32-ppc.c (ppc_elf_check_relocs): Likewise. + * elf32-rl78.c (rl78_elf_check_relocs): Likewise. + * elf32-s390.c (elf_s390_check_relocs): Likewise. + * elf32-score.c (s3_bfd_score_elf_check_relocs): Likewise. + * elf32-score7.c (s7_bfd_score_elf_check_relocs): Likewise. + * elf32-sh.c (sh_elf_check_relocs): Likewise. + * elf32-tic6x.c (elf32_tic6x_check_relocs): Likewise. + * elf32-tilepro.c (tilepro_elf_check_relocs): Likewise. + * elf32-v850.c (v850_elf_check_relocs): Likewise. + * elf32-vax.c (elf_vax_check_relocs): Likewise. + * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise. + * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise. + * elf64-aarch64.c (elf64_aarch64_check_relocs): Likewise. + * elf64-alpha.c (elf64_alpha_check_relocs): Likewise. + * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. + * elf64-ia64-vms.c (elf64_ia64_check_relocs): Likewise. + * elf64-mmix.c (mmix_elf_check_relocs): Likewise. + * elf64-ppc.c (ppc64_elf_check_relocs): Likewise. + * elf64-s390.c (elf_s390_check_relocs): Likewise. + * elf64-sh64.c (sh_elf64_check_relocs): Likewise. + * elfnn-ia64.c (elfNN_ia64_check_relocs): Likewise. + * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise. + * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. + * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise. Don't + test indirect/warning links for NULL. + +2013-03-29 H.J. Lu + + PR ld/15323 + * elf32-i386.c (elf_i386_check_relocs): Set non_ir_ref if a + symbol is referenced by a non-shared object. + * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. + +2013-03-28 Joe Seymour + + * elf32-sh.c (sh_elf_relocate_section): Suppress warnings for + R_SH_REL32 relocations against undefined weak symbols. + +2013-03-28 Alan Modra + + * elf64-ppc.c (struct ppc_dyn_relocs): New. + (ppc64_elf_check_relocs): Separate dynrel counts for local syms + into ifunc and non-ifunc. + (dec_dynrel_count): Pass in sym rather than sym_sec. Handle + separate ifunc/non-ifunc dynrel counts. + (allocate_got): Always use reliplt for ifunc. + (allocate_dynrelocs): Likewise. + (ppc64_elf_size_dynamic_sections): Likewise. + (ppc64_elf_layout_multitoc): Likewise. + (ppc64_elf_relocate_section): Likewise. + +2013-03-28 Alan Modra + + * elf32-ppc.c (struct ppc_dyn_relocs): New. + (ppc_elf_check_relocs): Separate dynrel counts for local syms + into ifunc and non-ifunc. + (allocate_dynrelocs): Always put ifunc relocs into reliplt. + (ppc_elf_size_dynamic_sections): Likewise. + (ppc_elf_relocate_section): Likewise. + +2013-03-28 Alan Modra + + * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. + (struct elf_backend_data ): Add + bfd_link_info* and asection* params. + (_bfd_elf_reloc_type_class): Likewise. + * elf.c (_bfd_elf_reloc_type_class): Likewise. + * elflink.c (elf_link_sort_cmp2): Sort first on reloc class. + (elf_link_sort_relocs): Update elf_backed_reloc_type_class call. + * elf32-ppc.c (ppc_elf_reloc_type_class): Return reloc_class_ifunc + for any reliplt reloc. Don't return reloc_class_plt for + R_PPC_REL24 and R_PPC_ADDR24. + * elf64-ppc.c (allocate_got): Formatting. + (ppc64_elf_reloc_type_class): Return reloc_class_ifunc for any + reliplt reloc. + * elf-m10300.c, * elf32-arm.c, * elf32-bfin.c, * elf32-cr16.c, + * elf32-cris.c, * elf32-hppa.c, * elf32-i386.c, * elf32-lm32.c, + * elf32-m32r.c, * elf32-m68k.c, * elf32-metag.c, * elf32-nios2.c, + * elf32-s390.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilepro.c, + * elf32-vax.c, * elf32-xtensa.c, * elf64-aarch64.c, * elf64-alpha.c, + * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-s390.c, * elf64-sparc.c, + * elf64-x86-64.c, * elfnn-ia64.c, * elfxx-tilegx.c, * elfxx-tilegx.h: + Add extra params to the various reloc_type_class functions. + +2013-03-27 Alan Modra + + * elf32-ppc.c (ppc_elf_check_relocs): Set PLT_IFUNC in local got + masks for all local ifunc syms. + (allocate_dynrelocs): Don't use htab->relgot for ifunc. + (ppc_elf_size_dynamic_sections): Likewise. + (ppc_elf_relocate_section): Likewise. + +2013-03-27 Will Newton + + * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a + dynamic reloc for symbols with dynindx == -1. + (allocate_dynrelocs_for_symbol): Avoid allocating space for a + dynamic reloc for symbols with dynindx == -1. + +2013-03-27 Will Newton + + * elf32-arm.c (elf32_arm_final_link_relocate): Avoid emitting a + dynamic reloc for non-default visibility undefined weaks. + (allocate_dynrelocs_for_symbol): Avoid allocating space for a + dynamic reloc for non-default visibility undefined weaks. + +2013-03-26 Alan Modra + + * elflink.c (_bfd_elf_add_default_symbol): Preserve section + over _bfd_elf_merge_symbol calls. + +2013-03-26 Alan Modra + + * elflink.c (elf_link_add_object_symbols): Add assertion for + common override alignment check code. Formatting. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Set old_alignment for + usual common symbols as well as for dynamic. Add poldbfd param. + Save old bfd. Adjust callers. + (_bfd_elf_add_default_symbol): Add poldbfd param. Pass "section" + and "value" by value, not pointer. Adjust caller. + (elf_link_add_object_symbols): Combine undef_bfd and old_bfd vars. + Delete code to set same. Use old_bfd and old_alignment from + _bfd_elf_merge_symbol instead. Add default symbol before + alignment and size checks. Wrap overlong lines. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_add_default_symbol): Delete "override" param. + (elf_link_add_object_symbols): Don't call _bfd_elf_add_default_symbol + when override is true. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Use local var holding value + of *sym_hash. + +2013-03-25 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Don't discard TLS symbols here. + Wrap long lines. + (elf_link_add_object_symbols): Discard TLS symbols for --just-syms + early in symbol loop. + +2013-03-25 Alan Modra + + * elf-bfd.h (struct elf_backend_data ): Update proto. + (_bfd_elf_init_reloc_shdr): Delete. + * elf.c (_bfd_elf_init_reloc_shdr): Make static. + * elf64-x86-64.c (elf_x86_64_merge_symbol): Trim parameters to + just what is needed. + * elflink.c (_bfd_elf_merge_symbol): Update bed->merge_symbol call. + +2013-03-23 Alan Modra + + * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration. + * elflink.c (_bfd_elf_merge_symbol): Make static. + * elf32-sh-symbian.c (sh_symbian_relocate_section): Don't call + _bfd_elf_merge_symbol, call _bfd_generic_link_add_one_symbol. + +2013-03-23 Alan Modra + + PR ld/15270 + * elflink.c (elf_link_add_object_symbols): Don't set def_regular + or ref_regular for BFD_PLUGIN owned syms, or have them affect + def_dynamic/ref_dynamic. + (_bfd_elf_fix_symbol_flags): Don't set def_regular for BFD_PLUGIN + owned syms. + +2013-03-22 David S. Miller + + * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of + hwcaps attribute. + +2013-03-22 Achille Fouilleul + + PR ld/14902 + * elf32-h8300.c (elf32_h8_relax_delete_bytes): Fix off by one + errors adjusting relocs and symbols. + 2013-03-21 Michael Schewe * elf32-h8300 (h8_relax_section): Add new relaxation of mov diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 3f068bb..3b4bd6f 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -641,7 +641,8 @@ enum elf_reloc_type_class { reloc_class_normal, reloc_class_relative, reloc_class_plt, - reloc_class_copy + reloc_class_copy, + reloc_class_ifunc }; struct elf_reloc_cookie @@ -1128,7 +1129,7 @@ struct elf_backend_data /* This function returns class of a reloc type. */ enum elf_reloc_type_class (*elf_backend_reloc_type_class) - (const Elf_Internal_Rela *); + (const struct bfd_link_info *, const asection *, const Elf_Internal_Rela *); /* This function, if defined, removes information about discarded functions from other sections which mention them. */ @@ -1207,19 +1208,10 @@ struct elf_backend_data asection *(*common_section) (asection *); /* Return TRUE if we can merge 2 definitions. */ - bfd_boolean (*merge_symbol) (struct bfd_link_info *, - struct elf_link_hash_entry **, - struct elf_link_hash_entry *, - Elf_Internal_Sym *, asection **, - bfd_vma *, unsigned int *, - bfd_boolean *, bfd_boolean *, - bfd_boolean *, bfd_boolean *, - bfd_boolean *, bfd_boolean *, - bfd_boolean *, bfd_boolean *, - bfd *, asection **, - bfd_boolean *, bfd_boolean *, - bfd_boolean *, bfd_boolean *, - bfd *, asection **); + bfd_boolean (*merge_symbol) (struct elf_link_hash_entry *, + const Elf_Internal_Sym *, asection **, + bfd_boolean, bfd_boolean, + bfd *, const asection *); /* Return TRUE if symbol should be hashed in the `.gnu.hash' section. */ bfd_boolean (*elf_hash_symbol) (struct elf_link_hash_entry *); @@ -1786,7 +1778,8 @@ extern bfd_boolean _bfd_elf_can_make_relative (bfd *input_bfd, struct bfd_link_info *info, asection *eh_frame_section); extern enum elf_reloc_type_class _bfd_elf_reloc_type_class - (const Elf_Internal_Rela *); + (const struct bfd_link_info *, const asection *, + const Elf_Internal_Rela *); extern bfd_vma _bfd_elf_rela_local_sym (bfd *, Elf_Internal_Sym *, asection **, Elf_Internal_Rela *); extern bfd_vma _bfd_elf_rel_local_sym @@ -1919,8 +1912,6 @@ extern int _bfd_elf_sizeof_headers (bfd *, struct bfd_link_info *); extern bfd_boolean _bfd_elf_new_section_hook (bfd *, asection *); -extern bfd_boolean _bfd_elf_init_reloc_shdr - (bfd *, struct bfd_elf_section_reloc_data *, asection *, bfd_boolean); extern const struct bfd_elf_special_section *_bfd_elf_get_special_section (const char *, const struct bfd_elf_special_section *, unsigned int); extern const struct bfd_elf_special_section *_bfd_elf_get_sec_type_attr @@ -1993,12 +1984,6 @@ extern bfd_boolean _bfd_elf_eh_frame_present extern bfd_boolean _bfd_elf_maybe_strip_eh_frame_hdr (struct bfd_link_info *); -extern bfd_boolean _bfd_elf_merge_symbol - (bfd *, struct bfd_link_info *, const char *, Elf_Internal_Sym *, - asection **, bfd_vma *, bfd_boolean *, unsigned int *, - struct elf_link_hash_entry **, bfd_boolean *, - bfd_boolean *, bfd_boolean *, bfd_boolean *); - extern bfd_boolean _bfd_elf_hash_symbol (struct elf_link_hash_entry *); extern long _bfd_elf_link_lookup_local_dynindx diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 6171feb..c0a9309 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -1084,6 +1084,10 @@ mn10300_elf_check_relocs (bfd *abfd, while (h->root.type == bfd_link_hash_indirect || h->root.type == bfd_link_hash_warning) h = (struct elf_link_hash_entry *) h->root.u.i.link; + + /* PR15323, ref flags aren't set for references in the same + object. */ + h->root.non_ir_ref = 1; } r_type = ELF32_R_TYPE (rel->r_info); @@ -5532,7 +5536,9 @@ _bfd_mn10300_elf_finish_dynamic_sections (bfd * output_bfd, properly. */ static enum elf_reloc_type_class -_bfd_mn10300_elf_reloc_type_class (const Elf_Internal_Rela *rela) +_bfd_mn10300_elf_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED, + const asection *rel_sec ATTRIBUTE_UNUSED, + const Elf_Internal_Rela *rela) { switch ((int) ELF32_R_TYPE (rela->r_info)) { diff --git a/bfd/elf.c b/bfd/elf.c index 3ba7e5f..bf05ae0 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -2521,7 +2521,7 @@ _bfd_elf_single_rel_hdr (asection *sec) USE_RELA_P is TRUE, we use RELA relocations; otherwise, we use REL relocations. */ -bfd_boolean +static bfd_boolean _bfd_elf_init_reloc_shdr (bfd *abfd, struct bfd_elf_section_reloc_data *reldata, asection *asect, @@ -9756,7 +9756,9 @@ bfd_get_elf_phdrs (bfd *abfd, void *phdrs) } enum elf_reloc_type_class -_bfd_elf_reloc_type_class (const Elf_Internal_Rela *rela ATTRIBUTE_UNUSED) +_bfd_elf_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED, + const asection *rel_sec ATTRIBUTE_UNUSED, + const Elf_Internal_Rela *rela ATTRIBUTE_UNUSED) { return reloc_class_normal; } diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 78c2d1d..9fff630 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -9139,7 +9139,7 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto, { Elf_Internal_Rela outrel; - if (!SYMBOL_REFERENCES_LOCAL (info, h)) + if (h->dynindx != -1 && !SYMBOL_REFERENCES_LOCAL (info, h)) { /* If the symbol doesn't resolve locally in a static object, we have an undefined reference. If the @@ -9158,7 +9158,9 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto, { if (dynreloc_st_type == STT_GNU_IFUNC) outrel.r_info = ELF32_R_INFO (0, R_ARM_IRELATIVE); - else if (info->shared) + else if (info->shared && + (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT + || h->root.type != bfd_link_hash_undefweak)) outrel.r_info = ELF32_R_INFO (0, R_ARM_RELATIVE); else outrel.r_info = 0; @@ -12463,6 +12465,10 @@ elf32_arm_check_relocs (bfd *abfd, struct bfd_link_info *info, while (h->root.type == bfd_link_hash_indirect || h->root.type == bfd_link_hash_warning) h = (struct elf_link_hash_entry *) h->root.u.i.link; + + /* PR15323, ref flags aren't set for references in the + same object. */ + h->root.non_ir_ref = 1; } } @@ -13272,7 +13278,7 @@ allocate_dynrelocs_for_symbol (struct elf_link_hash_entry *h, void * inf) if ((tls_type & GOT_TLS_GD) && indx != 0) elf32_arm_allocate_dynrelocs (info, htab->root.srelgot, 1); } - else if (!SYMBOL_REFERENCES_LOCAL (info, h)) + else if (indx != -1 && !SYMBOL_REFERENCES_LOCAL (info, h)) { if (htab->root.dynamic_sections_created) /* Reserve room for the GOT entry's R_ARM_GLOB_DAT relocation. */ @@ -13284,7 +13290,8 @@ allocate_dynrelocs_for_symbol (struct elf_link_hash_entry *h, void * inf) they all resolve dynamically instead. Reserve room for the GOT entry's R_ARM_IRELATIVE relocation. */ elf32_arm_allocate_irelocs (info, htab->root.srelgot, 1); - else if (info->shared) + else if (info->shared && (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT + || h->root.type != bfd_link_hash_undefweak)) /* Reserve room for the GOT entry's R_ARM_RELATIVE relocation. */ elf32_arm_allocate_dynrelocs (info, htab->root.srelgot, 1); } @@ -14429,7 +14436,9 @@ elf32_arm_post_process_headers (bfd * abfd, struct bfd_link_info * link_info ATT } static enum elf_reloc_type_class -elf32_arm_reloc_type_class (const Elf_Internal_Rela *rela) +elf32_arm_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED, + const asection *rel_sec ATTRIBUTE_UNUSED, + const Elf_Internal_Rela *rela) { switch ((int) ELF32_R_TYPE (rela->r_info)) { diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index a42d3a4..d3d0f1c 100644 --- a/bfd/elf32-bfin.c +++ b/bfd/elf32-bfin.c @@ -1187,7 +1187,13 @@ bfin_check_relocs (bfd * abfd, if (r_symndx < symtab_hdr->sh_info) h = NULL; else - h = sym_hashes[r_symndx - symtab_hdr->sh_info]; + { + h = sym_hashes[r_symndx - symtab_hdr->sh_info]; + + /* PR15323, ref flags aren't set for references in the same + object. */ + h->root.non_ir_ref = 1; + } switch (ELF32_R_TYPE (rel->r_info)) { @@ -1301,7 +1307,9 @@ bfin_check_relocs (bfd * abfd, } static enum elf_reloc_type_class -elf32_bfin_reloc_type_class (const Elf_Internal_Rela * rela) +elf32_bfin_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED, + const asection *rel_sec ATTRIBUTE_UNUSED, + const Elf_Internal_Rela * rela) { switch ((int) ELF32_R_TYPE (rela->r_info)) { diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c index 449775b..8ed5af1 100644 --- a/bfd/elf32-cr16.c +++ b/bfd/elf32-cr16.c @@ -725,6 +725,10 @@ cr16_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, while (h->root.type == bfd_link_hash_indirect || h->root.type == bfd_link_hash_warning) h = (struct elf_link_hash_entry *) h->root.u.i.link; + + /* PR15323, ref flags aren't set for references in the same + object. */ + h->root.non_ir_ref = 1; } /* Some relocs require a global offset table. */ @@ -2916,7 +2920,9 @@ error_return: properly. */ static enum elf_reloc_type_class -_bfd_cr16_elf_reloc_type_class (const Elf_Internal_Rela *rela) +_bfd_cr16_elf_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED, + const asection *rel_sec ATTRIBUTE_UNUSED, + const Elf_Internal_Rela *rela) { switch ((int) ELF32_R_TYPE (rela->r_info)) { diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index 7af0255..f40a079 100644 hooks/post-receive -- Repository for Project Archer.