From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20942 invoked by alias); 25 Jun 2011 17:54:38 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 20798 invoked by uid 9674); 25 Jun 2011 17:54:36 -0000 Date: Sat, 25 Jun 2011 17:54:00 -0000 Message-ID: <20110625175435.20783.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-entryval: Merge remote-tracking branch 'gdb/master' into archer-jankratochvil-entryval X-Git-Refname: refs/heads/archer-jankratochvil-entryval X-Git-Reftype: branch X-Git-Oldrev: 1b8fd50a2e42d78c90a9a3403bcec8dd43e6fefb X-Git-Newrev: a19cd5c2c4605f43baa059966926b9d6d29bab38 X-SW-Source: 2011-q2/txt/msg00063.txt.bz2 List-Id: The branch, archer-jankratochvil-entryval has been updated via a19cd5c2c4605f43baa059966926b9d6d29bab38 (commit) via 363b9c078c99ce62c2221ab80da7d246a445d21c (commit) via 67db9a8d425bfc3f8936db0e55b963b168276a73 (commit) via c1f67a9021d2a1969271953017c6f12f3bdef143 (commit) via cef65feedf2d0c916fc652019514ab2af6359c92 (commit) via 8dc2a7c3a814204bb80c18384b883d51fa18db2b (commit) via 60b24d7d94369cc4d74a721dbf7beff39c2a3cc9 (commit) via c5c16d1eca9df2dd4b784a52a702a784009624d0 (commit) via 9d71aff6d2aaf996a40ece05cea894f226741aec (commit) via e1da6f94d4d23dad87bfeb2b37b513b7a74f9d08 (commit) via d19f1403ac8eb747be618b55837630cc80e0cad7 (commit) via e5d6c919ca5e3ac435781aa2a3d03012fbe75a27 (commit) via 0823e0bde5e84c0a27ed0c32b00fc18d36d6cf27 (commit) via bb3731548742ddcd7a0e97dc8204e0a5c821926f (commit) via c205f924b3bfe0da2917be3b7efdc123afe72f09 (commit) via 6fc569697af097174d69ceaf3b71ba9522795588 (commit) via 5d7688ca82dde51046a57c0a4ac15ac0ff1bcbcb (commit) via ac7eec5cfaf8a4dd364779df28b4f89cc2409a70 (commit) via 1b5dc898b91f68fa9934451e5830c79051c1d2fa (commit) via 806f1ca892c4cd3d1d76dd9d50bd0d148daa92bf (commit) via b88ff45f78da19b3eb8957e2e22a12d41dab1e4e (commit) via 06eeeadfef071235b4555fb0b68b95e0f698e2bf (commit) via b44090489cd809ca4806e6ff995d3e81bda7b3b7 (commit) via bc4114df6ae037169c9aff35b41cb478aef0db95 (commit) via 4c86c7593ae509c18ae6fb77f2b70bfd1e2756f5 (commit) via 154b8450272625dd694e94de666d65c2b10a6bdd (commit) via 2b92fefceaa024d06481e7e744a77b6305333441 (commit) via 050b8bdf9047cffbbdd4494fd43f61d95adcb5e9 (commit) via da9b132c8c1a41e681dfd4fb70c94585bb2a030f (commit) via bb1c3147ddeb61b3da5c1dc9e43b1e185b61cc37 (commit) via 211ba43f2667ffcd3b127cd75aab6314083ec78a (commit) via 84f6e6bccd62bcb2adff24272ab0ab3e82d75fc5 (commit) via f8693445be5d0845ffb729a530eb5bf2b2814956 (commit) via 6c009030ddb14d7efcab8ebd54d422e36d68a952 (commit) via f7dd52768b254ac1d111ad3e207a4501d52f0ccf (commit) via f319ea09e78c2ed6decf2b4102d5479d2f2311ed (commit) via 2987ad9967e350f3c0b0ce2cfd136d65368cf039 (commit) via 964fca32556de0df0f736944a033d94a9901ab95 (commit) via f00027dff9f37e202f9fe9559be77bb62a131a65 (commit) via 55066f0271b40fc765d44dfa5063c41698bee2d8 (commit) via c962cbad8818e9ad034067160b074e97f8b367cb (commit) via 1d239aae6458383f4e11ec0118915fc80266c542 (commit) via d953e9c969c0aad02ee4502c162e6b6598be374c (commit) via 970b5400c8c63d56773993ddb0238eff82182464 (commit) via 322d59cd257179e18d268b26186654dee3a1e817 (commit) via 7f49590066ab8a9d3de1f933f96baeb1d2bd6033 (commit) via d25b340f2422e3bcbbfaf3ea1c9e8bcb6835ec0b (commit) via d85391173658dc6dcbf1acc5edbe331b1296f572 (commit) via 925f3959c10fd4098b4fd7265504a171a16d8a08 (commit) via 4d2e8a320550e7efaec1cdb98ef9d67a7ca25fd7 (commit) via 29d066aa6b7a2c1c305df264617ae99660e3b31e (commit) via 783373fb16cbb88c189d3429df418d3795300fd7 (commit) via d84ecb34a451b1c7579899d06d6787140ae506c8 (commit) via cb27e4491e8f725d1417459e240371adb700b64a (commit) via fecc6d21eccf8c66549bd455117fd3e2a76327b8 (commit) via 8a3e5c1c1656a8f3231cfb527b23733a884ed16b (commit) via e688d095dcae33edd8f7a2347e430495e2e27cb3 (commit) via cf70314c466ee81b6699af887d1f15f36806a2e5 (commit) via eb893a01437d292046e2658f359283d6be92eaea (commit) via c4def346cd1811b28f236bca6146d11dd06fbcbc (commit) via cef05d4f05fc0aa9aab09c47a824cede33063d35 (commit) via 6c072e1d26a95fec213f1bfb7e9630d388dd4840 (commit) via 2b2d977921d538efe9d1ee96710fb0e0bdece67c (commit) via ac40faa305e495fcaff2e4d9420fdbe5cdd0662e (commit) via c30bf4601d21d93ae0f9ed31e237b0b8c03822c9 (commit) via f720bcda3e9d8725627934b8bd69245ac9dd8df6 (commit) via 78463a8243cd3d18352d9dffee269a0a97b55c71 (commit) via 9ac2eeaba2e238d44d8107468e3d5ed23407f768 (commit) via 35f74e78672e7fe550d4b9a02da7790aac964d8e (commit) via 2c17c8bf9a96cbbf87165133d4df5d10cb799e2c (commit) via f1aae0c57eea40b177ce6b73d1183f0f3f919706 (commit) via 23c8a64130bf784591ff5505f51e2d9d05815d9a (commit) via 73020efaf1860119c3775d1efd3e896ef0da2753 (commit) via a03c034dadca211c0c179497907a776a84b024f7 (commit) via 5c9cffe047056e7934e1f40779fffb8d525576d2 (commit) via bc9f981a27f494a0ccd1dd0e40fd21ed840c7d1f (commit) via 0d4c071184d3ab290c3a9b86070a76550c8e63a7 (commit) via a0069ae668a7aacbc3ffced73eb439f532d980de (commit) via 2c9c556617a7de8657c25b512d272c26b070ae22 (commit) via b5eb3d21f0191f13b72b880321f5f7cc2df602e2 (commit) via 7ad4069a7135c51a3ed46efdf511ed7fa1b93a58 (commit) via 1f3ad2ec0d023a1252460373f47a34f211bc58ea (commit) via fe868196e2ee8e2edd770fde2f127a63734ced71 (commit) via 68ae2479904c7fa8de17cac86931d30351b88d9d (commit) via b7b36e4106596a7751a923ab3e55c9b5b7934aaa (commit) via 7ae5c2898f11dbb34b29ba7e6e0ead5a02a15d2e (commit) via 962d7febf7bb03e6919a85d15ad3bc41bd37415d (commit) via b5e4dafb237b96fcc6ede7f6b78483b8533335fd (commit) via 6a722b0cb51951578c795fa1bcca51378d067336 (commit) via 5509b611232150ec506df685831b0c01c7dd14c5 (commit) via ab6c9ef17d423b57f3041e537c2d1853d36ab4b7 (commit) via 64d7baff107c4d76a6de924f4af83757bc6e2843 (commit) via 596066745d02713eb0b04b0c99eaf78234e6ccc3 (commit) via 58e3cb7a5d561b5070f99a860bfa8ad498b5bcb4 (commit) via 35d1f5b056044c054d80327449933ac5a87695a0 (commit) via 3a73b721676b4294f0bf3157b6b1bd9ee6f3b7c4 (commit) via 897b48d56d0eb5baa85c6223b95b50ec5db0753a (commit) via 73ffd889297954f134d22a4f7b8c8e103e1afc11 (commit) via 000c84fa5b270f8a5ec854c851e87934453c263f (commit) via fa0ad1f3fa99e7de723328c4645ff9ed60df7069 (commit) via c7a51001163138660845eb8a4008eeaf4ea9b35b (commit) via b0e28d368df806787829393db8277c9e8ddf934e (commit) via d5b397191d6242fa1b0941cdb328c421bf2b09a0 (commit) via a4258db70b2f727b2c0c06fceb162733a818834f (commit) via 00b384a74083a65a4f5165741968981372aff978 (commit) via bbfca40dd018d804e8816097b2fa13f2b3a50179 (commit) via 7820ac6214ef3149b3856f4b62c6e60595de9961 (commit) via 7c7bb3f686eb1f50e253f35bac963c1bb1dda9e4 (commit) via 60deb1b873953e7e8bad2727eda4234a99059995 (commit) via 320f68c107d8b3e7a184bd4dca3d5ce279c7d01b (commit) via 578be59f12947e1ce5d8f829cca25ffd5eaa0d52 (commit) via b304e1f3bb4fee38d829dbd85ea3c0f43399aa7c (commit) via 17b43a9509e2609bc3029e32170038cb0fde5fda (commit) via 8d4ef3e18bb9c253a0945f548ad2fa72100254a6 (commit) via e141c1ecc4555121f7a1537da8328d25cacc9958 (commit) from 1b8fd50a2e42d78c90a9a3403bcec8dd43e6fefb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit a19cd5c2c4605f43baa059966926b9d6d29bab38 Merge: 1b8fd50 363b9c0 Author: Jan Kratochvil Date: Sat Jun 25 19:53:46 2011 +0200 Merge remote-tracking branch 'gdb/master' into archer-jankratochvil-entryval commit 363b9c078c99ce62c2221ab80da7d246a445d21c Author: Jan Kratochvil Date: Sat Jun 25 00:43:15 2011 +0000 bfd/ * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize PLT_EH_FRAME. * elf32-i386.c (elf_i386_link_hash_table): Likewise. commit 67db9a8d425bfc3f8936db0e55b963b168276a73 Author: Alan Modra Date: Sat Jun 25 00:00:05 2011 +0000 daily update commit c1f67a9021d2a1969271953017c6f12f3bdef143 Author: gdbadmin Date: Sat Jun 25 00:00:02 2011 +0000 *** empty log message *** commit cef65feedf2d0c916fc652019514ab2af6359c92 Author: Tom Tromey Date: Fri Jun 24 19:47:37 2011 +0000 * varobj.c (update_dynamic_varobj_children): Make 'name' const. * symtab.h (lookup_struct, lookup_union, lookup_enum): Update. * python/python.c (gdbpy_parameter): Make 'arg' const. (execute_gdb_command): Likewise. (gdbpy_decode_line): Likewise. Copy it. (gdbpy_parse_and_eval): Make 'expr_string' const. Copy it. (gdbpy_write): Make 'arg' const. * python/py-type.c (typy_lookup_typename): Make 'type_name' const. (gdbpy_lookup_type): Likewise. * python/py-prettyprint.c (print_children): Make 'name' const. * python/py-param.c (parmpy_init): Make 'name' const. Copy it. * python/py-inferior.c (infpy_write_memory): Make 'buf_len' a Py_ssize_t. * python/py-function.c (fnpy_init): Make 'name' const. * python/py-cmd.c (cmdpy_init): Make 'name' const. Copy it. (gdbpy_string_to_argv): Make 'input' const. * python/py-breakpoint.c (bppy_init): Make 'spec' const. Copy it. * gdbtypes.h (lookup_typename): Update. * gdbtypes.c (lookup_typename): Make 'name' const. (lookup_struct): Likewise. (lookup_union): Likewise. (lookup_enum): Likewise. commit 8dc2a7c3a814204bb80c18384b883d51fa18db2b Author: Tom Tromey Date: Fri Jun 24 19:29:48 2011 +0000 * Makefile.in (HFILES_NO_SRCDIR): Add "common/" to gdb_thread_db.h. Move all common/ entries to be together. (TAGS): Don't depend on DEPFILES. commit 60b24d7d94369cc4d74a721dbf7beff39c2a3cc9 Author: Richard Henderson Date: Fri Jun 24 17:38:15 2011 +0000 PR ld/12928 * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Recover the tlsgd insn before swapping adjacent insns. commit c5c16d1eca9df2dd4b784a52a702a784009624d0 Author: Tristan Gingold Date: Fri Jun 24 15:22:36 2011 +0000 2011-06-24 Tristan Gingold * vms-alpha.c (alpha_vms_slurp_relocs): Add a guard for relocs in the absolute section. commit 9d71aff6d2aaf996a40ece05cea894f226741aec Author: Alan Modra Date: Fri Jun 24 03:36:39 2011 +0000 PR ld/12921 * elf.c (assign_file_positions_for_load_sections): Don't align sh_offset for all SHT_NOBITS sections here, just .tbss sections that don't get a PT_LOAD. commit e1da6f94d4d23dad87bfeb2b37b513b7a74f9d08 Author: Alan Modra Date: Fri Jun 24 00:00:05 2011 +0000 daily update commit d19f1403ac8eb747be618b55837630cc80e0cad7 Author: gdbadmin Date: Fri Jun 24 00:00:03 2011 +0000 *** empty log message *** commit e5d6c919ca5e3ac435781aa2a3d03012fbe75a27 Author: qiyao Date: Thu Jun 23 15:08:00 2011 +0000 2011-06-23 Yao Qi * infrun.c (start_remote): Move call init_wait_for_inferior to ... * remote.c (remote_start_remote): ... here. * monitor.c (monitor_open): ... here. commit 0823e0bde5e84c0a27ed0c32b00fc18d36d6cf27 Author: qiyao Date: Thu Jun 23 14:38:12 2011 +0000 2011-06-23 Yao Qi * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint 1.2 is disabled. KFAIL for uclinux. commit bb3731548742ddcd7a0e97dc8204e0a5c821926f Author: aburgess Date: Thu Jun 23 09:51:57 2011 +0000 http://sourceware.org/ml/gdb-patches/2011-06/msg00136.html 2011-06-23 Andrew Burgess * gdbtypes.c (append_composite_type_field_aligned): Fix calculation of bit position based on alignment. commit c205f924b3bfe0da2917be3b7efdc123afe72f09 Author: mpolacek Date: Thu Jun 23 09:51:10 2011 +0000 Fix races in mi2-var-display.exp. commit 6fc569697af097174d69ceaf3b71ba9522795588 Author: mpolacek Date: Thu Jun 23 09:45:24 2011 +0000 Fix races in mi2-return.exp. commit 5d7688ca82dde51046a57c0a4ac15ac0ff1bcbcb Author: mpolacek Date: Thu Jun 23 09:40:49 2011 +0000 Fix races in mi2-console.exp. commit ac7eec5cfaf8a4dd364779df28b4f89cc2409a70 Author: mpolacek Date: Thu Jun 23 09:38:14 2011 +0000 Fix races in mi2-basics.exp. commit 1b5dc898b91f68fa9934451e5830c79051c1d2fa Author: qiyao Date: Thu Jun 23 07:46:12 2011 +0000 gdb/testsuite/ * gdb.base/moribund-step.exp: Skip test if displaced stepping is not supported. * lib/gdb.exp (support_displaced_stepping): New. commit 806f1ca892c4cd3d1d76dd9d50bd0d148daa92bf Author: qiyao Date: Thu Jun 23 06:26:27 2011 +0000 2011-06-23 Yao Qi * gdb.threads/execl.exp: Skip on remote target. commit b88ff45f78da19b3eb8957e2e22a12d41dab1e4e Author: gdbadmin Date: Thu Jun 23 00:00:32 2011 +0000 *** empty log message *** commit 06eeeadfef071235b4555fb0b68b95e0f698e2bf Author: Alan Modra Date: Thu Jun 23 00:00:06 2011 +0000 daily update commit b44090489cd809ca4806e6ff995d3e81bda7b3b7 Author: Kaz Kojima Date: Wed Jun 22 22:02:15 2011 +0000 * elf32-sh.c (sh_elf_relocate_section): Allow R_SH_TLS_LE_32 for PIE. (sh_elf_check_relocs): Likewise. commit bc4114df6ae037169c9aff35b41cb478aef0db95 Author: DJ Delorie Date: Wed Jun 22 19:13:31 2011 +0000 merge from gcc commit 4c86c7593ae509c18ae6fb77f2b70bfd1e2756f5 Author: Pedro Alves Date: Wed Jun 22 17:53:43 2011 +0000 2011-06-22 Pedro Alves * breakpoint.c (bpstat_stop_status): Call the check_status breakpoint_ops method. (print_one_breakpoint_location): Also print the condition for Ada exception catchpoints. (allocate_bp_location): New, factored out from allocate_bp_location. (allocate_bp_location): Adjust. Call the owner breakpoint's allocate_location method, if there is one. (free_bp_location): Call the locations's dtor method, if there is one. (init_raw_breakpoint_without_location): New breakpoint_ops parameter. Use it. (set_raw_breakpoint_without_location): Adjust. (init_raw_breakpoint): New breakpoint_ops parameter. Pass it down. (set_raw_breakpoint): Adjust. (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) (catch_syscall_breakpoint_ops): Install NULL allocate_location, re_set and check_status methods. (init_catchpoint): Don't memset, initialize thread, addr_string and enable_state. Pass the ops down to init_raw_breakpoint. (install_catchpoint): Rename to ... (install_breakpoint): ... this, and make extern. (create_fork_vfork_event_catchpoint): Adjust. (catch_exec_breakpoint_ops): Install NULL allocate_location, re_set and check_status methods. (create_syscall_event_catchpoint): Adjust. (ranged_breakpoint_ops, watchpoint_breakpoint_ops) (masked_watchpoint_breakpoint_ops): Install NULL allocate_location, re_set and check_status methods. (catch_exec_command_1): Adjust. (gnu_v3_exception_catchpoint_ops): Install NULL allocate_location, re_set and check_status methods. (create_ada_exception_breakpoint): Rename to ... (init_ada_exception_breakpoint): ... this. Add a struct breakpoint parameter, and delete the exp_string, cond_string and cond parameters. Use init_raw_breakpoint, and don't install or mention the breakpoint yet. Don't clear breakpoint fields that init_raw_breakpoint already clears. (re_set_breakpoint): Delete, split into ... (breakpoint_re_set_default, prepare_re_set_context): ... these new functions. (breakpoint_re_set_one): Call the breakpoint's breakpoint_ops->re_set implementation, if there's one. Adjust. * breakpoint.h: Forward declare struct bpstats and struct bp_location. (struct bp_location_ops): New type. (struct bp_location): New field `ops'. (struct breakpoint_ops): New `allocate_location', `re_set' and `check_status' fields. Make `breakpoint_hit''s description match reality. (init_bp_location): Declare. (breakpoint_re_set_default): Declare. (create_ada_exception_breakpoint): Rename to ... (init_ada_exception_breakpoint): ... this. Add a struct breakpoint parameter, and delete the exp_string, cond_string and cond parameters. (install_breakpoint): Declare. * ada-lang.c: Include exceptions.h. : Update. (struct ada_catchpoint_location): New type. (ada_catchpoint_location_dtor): New function. (ada_catchpoint_location_ops): New global. (ada_catchpoint): New type. (create_excep_cond_exprs): New function. (dtor_exception, allocate_location_exception, re_set_exception) (should_stop_exception, check_status_exception): New functions. (print_one_exception, print_mention_exception) (print_recreate_exception): Adjust. (dtor_catch_exception, allocate_location_catch_exception) (re_set_catch_exception, check_status_catch_exception): New functions. (catch_exception_breakpoint_ops): Install them. (dtor_catch_exception_unhandled) (allocate_location_catch_exception_unhandled) (re_set_catch_exception_unhandled) (check_status_catch_exception_unhandled): New functions. (catch_exception_unhandled_breakpoint_ops): Install them. (dtor_catch_assert, allocate_location_catch_assert) (re_set_catch_assert, check_status_catch_assert): New functions. (catch_assert_breakpoint_ops): Install them. (ada_exception_catchpoint_p): Delete. (catch_ada_exception_command_split) (ada_exception_catchpoint_cond_string): Rename exp_string parameter to excep_string. Adjust. (ada_parse_catchpoint_condition): Delete. (ada_exception_sal): Rename the exp_string parameter to excep_string. Delete the cond_string and cond parameters. Adjust. (ada_decode_exception_location): Rename the exp_string parameter to excep_string. Delete the cond_string and cond parameters. Adjust. (create_ada_exception_catchpoint): New function. (catch_ada_exception_command, ada_decode_assert_location) (catch_assert_command): Adjust. * ada-lang.h (ada_exception_catchpoint_p): Delete declaration. commit 154b8450272625dd694e94de666d65c2b10a6bdd Author: Pedro Alves Date: Wed Jun 22 17:52:37 2011 +0000 2011-06-22 Pedro Alves * ada-lang.c: Include arch-utils.h. (ada_decode_exception_location): Make static. (catch_ada_exception_command): Moved here from breakpoint.c. (ada_decode_assert_location): Make static. (catch_assert_command): Moved here from breakpoint.c. (_initialize_ada_lang): Install the exception and assert catchpoint commands here. * ada-lang.h (ada_decode_exception_location) (ada_decode_assert_location): Delete declarations. * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to breakpoint.h. (create_ada_exception_breakpoint): Make extern. (catch_ada_exception_command, catch_assert_command): Moved to ada-lang.c. (add_catch_command): Make extern. (_initilize_breakpoint): Don't install the exception and assert catchpoint commands here. * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from breakpoint.c (add_catch_command, create_ada_exception_breakpoint): Declare. commit 2b92fefceaa024d06481e7e744a77b6305333441 Author: Pedro Alves Date: Wed Jun 22 17:16:41 2011 +0000 2011-06-22 Pedro Alves * breakpoint.c (init_raw_breakpoint_without_location): Don't add the breakpoint to the breakpoint chain here. (set_raw_breakpoint_without_location): Add the breakpoint to the breakpoint chain here. (init_raw_breakpoint): Adjust comments. (set_raw_breakpoint): Add the breakpoint to the breakpoint chain here. (init_catchpoint): Don't set the catchpoint's breakpoint number here. (install_catchpoint): New function. (create_fork_vfork_event_catchpoint) (create_syscall_event_catchpoint, catch_exec_command_1): Adjust to use install_catchpoint. commit 050b8bdf9047cffbbdd4494fd43f61d95adcb5e9 Author: Pedro Alves Date: Wed Jun 22 17:16:00 2011 +0000 2011-06-22 Pedro Alves * breakpoint.c (create_catchpoint_without_mention) (create_catchpoint): Delete. commit da9b132c8c1a41e681dfd4fb70c94585bb2a030f Author: Pedro Alves Date: Wed Jun 22 17:15:06 2011 +0000 2011-06-22 Pedro Alves * breakpoint.h (struct breakpoint): Delete field `exec_pathname'. * breakpoint.c (init_raw_breakpoint_without_location): Remove reference to exec_pathname. (struct exec_catchpoint): New type. (dtor_catch_exec): New function. (insert_catch_exec, print_it_catch_exec, print_one_catch_exec): Adjust. (catch_exec_breakpoint_ops): Install dtor_catch_syscall. (catch_exec_command_1): Adjust to use init_catchpoint. (delete_breakpoint): Remove reference to exec_pathname. commit bb1c3147ddeb61b3da5c1dc9e43b1e185b61cc37 Author: Pedro Alves Date: Wed Jun 22 17:14:28 2011 +0000 2011-06-22 Pedro Alves * breakpoint.h (struct breakpoint_ops): New field `dtor'. (struct breakpoint): Delete field `syscalls_to_be_caught'. * breakpoint.c (init_raw_breakpoint_without_location): Remove reference to syscalls_to_be_caught. (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops): Install a NULL `dtor'. (struct syscall_catchpoint): New type. (dtor_catch_syscall): New function. (insert_catch_syscall, remove_catch_syscall) (breakpoint_hit_catch_syscall, print_one_catch_syscall) (print_recreate_catch_syscall): Adjust. (catch_syscall_breakpoint_ops): Install dtor_catch_syscall. (catch_exec_breakpoint_ops): Install a NULL `dtor'. (create_syscall_event_catchpoint): Adjust to use init_catchpoint. (ranged_breakpoint_ops, watchpoint_breakpoint_ops) (masked_watchpoint_breakpoint_ops) (gnu_v3_exception_catchpoint_ops): Install a NULL `dtor'. (delete_breakpoint): Call the `dtor' breakpoint_ops method, if there is one. Remove references to syscalls_to_be_caught. (catching_syscall_number): Adjust. * ada-lang.c (catch_exception_breakpoint_ops) (catch_exception_unhandled_breakpoint_ops) (catch_assert_breakpoint_ops): Install a NULL `dtor'. commit 211ba43f2667ffcd3b127cd75aab6314083ec78a Author: Pedro Alves Date: Wed Jun 22 17:12:32 2011 +0000 2011-06-22 Pedro Alves * breakpoint.h (struct breakpoint): Delete forked_inferior_pid field. * breakpoint.c (init_raw_breakpoint_without_location): Remove reference to forked_inferior_pid. (struct fork_catchpoint): New type. (breakpoint_hit_catch_fork, print_it_catch_fork) (print_one_catch_fork, breakpoint_hit_catch_vfork) (print_it_catch_vfork, print_one_catch_vfork): Adjust. (create_fork_vfork_event_catchpoint): Adjust to use init_catchpoint. commit 84f6e6bccd62bcb2adff24272ab0ab3e82d75fc5 Author: Pedro Alves Date: Wed Jun 22 17:11:28 2011 +0000 2011-06-22 Pedro Alves * breakpoint.c (add_to_breakpoint_chain) (init_raw_breakpoint_without_location): New functions, factored out from ... (set_raw_breakpoint_without_location): ... this one. (init_raw_breakpoint): New function, factored out from set_raw_breakpoint and adjusted to use init_raw_breakpoint_without_location. (set_raw_breakpoint): Adjust. (init_catchpoint): New function, factored out from create_catchpoint_without_mention and adjusted to use init_raw_breakpoint. (create_catchpoint_without_mention): Adjust. commit f8693445be5d0845ffb729a530eb5bf2b2814956 Author: Richard Henderson Date: Wed Jun 22 16:18:24 2011 +0000 * elf64-alpha.c (elf64_alpha_check_relocs): No dynamic reloc for TPREL in a PIE image. (alpha_dynamic_entries_for_reloc): Likewise. (elf64_alpha_relocate_section): Allow TPREL in PIE images. (elf64_alpha_relax_got_load): Likewise. commit 6c009030ddb14d7efcab8ebd54d422e36d68a952 Author: mpolacek Date: Wed Jun 22 16:12:45 2011 +0000 Fix races in gdb.mi/mi-var-display.exp. commit f7dd52768b254ac1d111ad3e207a4501d52f0ccf Author: Ramana Radhakrishnan Date: Wed Jun 22 16:05:58 2011 +0000 2011-06-22 Ramana Radhakrishnan * elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32 for PIE. commit f319ea09e78c2ed6decf2b4102d5479d2f2311ed Author: mpolacek Date: Wed Jun 22 15:41:46 2011 +0000 Fix races in gdb.mi/mi-nsitrall.exp. commit 2987ad9967e350f3c0b0ce2cfd136d65368cf039 Author: mpolacek Date: Wed Jun 22 15:38:00 2011 +0000 Fix races in gdb.mi/mi-nsmoribund.exp. commit 964fca32556de0df0f736944a033d94a9901ab95 Author: mpolacek Date: Wed Jun 22 15:32:16 2011 +0000 Fix races in gdb.mi/mi-return.exp. commit f00027dff9f37e202f9fe9559be77bb62a131a65 Author: Jakub Jelinek Date: Wed Jun 22 15:03:18 2011 +0000 * dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref. * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset. Handle DW_OP_GNU_parameter_ref. commit 55066f0271b40fc765d44dfa5063c41698bee2d8 Author: Tom Tromey Date: Wed Jun 22 13:38:19 2011 +0000 * dwarf2expr.c (execute_stack_op) : Treat type argument of 0 specially. commit c962cbad8818e9ad034067160b074e97f8b367cb Author: qiyao Date: Wed Jun 22 10:09:21 2011 +0000 gdb/ * infrun.c (handle_inferior_event): Remove write-only local variable `sw_single_step_trap_p'. commit 1d239aae6458383f4e11ec0118915fc80266c542 Author: Mike Frysinger Date: Wed Jun 22 04:21:29 2011 +0000 sim: bfin: pass up result2/errcode with libgloss syscalls Now that the Blackfin libgloss code extracts the 2nd result and the error code from the R1/R2 registers, have the sim fill them up. Signed-off-by: Mike Frysinger commit d953e9c969c0aad02ee4502c162e6b6598be374c Author: gdbadmin Date: Wed Jun 22 00:00:33 2011 +0000 *** empty log message *** commit 970b5400c8c63d56773993ddb0238eff82182464 Author: H.J. Lu Date: Tue Jun 21 17:56:46 2011 +0000 Re-indent prefix_table. 2011-06-21 H.J. Lu * i386-dis.c (prefix_table): Re-indent PREFIX_VEX_0F388C and PREFIX_VEX_0F388E. commit 322d59cd257179e18d268b26186654dee3a1e817 Author: Alan Modra Date: Tue Jun 21 14:55:25 2011 +0000 * elflink.c (_bfd_elf_merge_symbol): Allow type changes for plugin symbols. Fix segfault on linker scrip defined syms. commit 7f49590066ab8a9d3de1f933f96baeb1d2bd6033 Author: Alan Modra Date: Tue Jun 21 00:00:06 2011 +0000 daily update commit d25b340f2422e3bcbbfaf3ea1c9e8bcb6835ec0b Author: gdbadmin Date: Tue Jun 21 00:00:03 2011 +0000 *** empty log message *** commit d85391173658dc6dcbf1acc5edbe331b1296f572 Author: Tom Tromey Date: Mon Jun 20 17:53:28 2011 +0000 * symtab.c (lookup_language_this): End loop if block is NULL. commit 925f3959c10fd4098b4fd7265504a171a16d8a08 Author: Nick Clifton Date: Mon Jun 20 16:50:51 2011 +0000 * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag. commit 4d2e8a320550e7efaec1cdb98ef9d67a7ca25fd7 Author: Jakub Jelinek Date: Mon Jun 20 13:18:44 2011 +0000 PR ld/12570 include/ * bfdlink.h (struct bfd_link_info): Add no_ld_generated_unwind_info option. ld/ * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO, OPTION_NO_LD_GENERATED_UNWIND_INFO): Define. (gld${EMULATION_NAME}_handle_option): Handle --ld-generated-unwind-info and --no-ld-generated-unwind-info. * ld.texinfo (--ld-generated-unwind-info, --no-ld-generated-unwind-info): Document. bfd/ * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations at all for linker created .eh_frame sections. (_bfd_elf_discard_section_eh_frame): Handle linker created .eh_frame sections with no relocations. * elf64-x86-64.c: Include dwarf2.h. (elf_x86_64_eh_frame_plt): New variable. (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, PLT_FDE_LEN_OFFSET): Define. (struct elf_x86_64_link_hash_table): Add plt_eh_frame field. (elf_x86_64_create_dynamic_sections): Create and fill in .eh_frame section for .plt section. (elf_x86_64_size_dynamic_sections): Write .plt section size into .eh_frame FDE covering .plt section. (elf_x86_64_finish_dynamic_sections): Write .plt section start into .eh_frame FDE covering .plt section. Call _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. (elf_backend_plt_alignment): Define to 4. * elf32-i386.c: Include dwarf2.h. (elf_i386_eh_frame_plt): New variable. (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, PLT_FDE_LEN_OFFSET): Define. (struct elf_i386_link_hash_table): Add plt_eh_frame field. (elf_i386_create_dynamic_sections): Create and fill in .eh_frame section for .plt section. (elf_i386_size_dynamic_sections): Write .plt section size into .eh_frame FDE covering .plt section. (elf_i386_finish_dynamic_sections): Write .plt section start into .eh_frame FDE covering .plt section. Call _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. (elf_backend_plt_alignment): Define to 4. ld/testsuite/ * ld-x86-64/x86-64.exp: Link some testcases with --no-ld-generated-unwind-info. * ld-x86-64/tlsbin.rd: Add --no-ld-generated-unwind-info to ld comment. * ld-x86-64/tlsdesc.dd: Likewise. * ld-x86-64/tlspic.dd: Likewise. * ld-x86-64/tlsdesc.sd: Likewise. * ld-x86-64/tlspic.rd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsbindesc.sd: Likewise. * ld-x86-64/tlsbin.td: Likewise. * ld-x86-64/tlsdesc.pd: Likewise. * ld-x86-64/tlsdesc.td: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlsbin.dd: Likewise. * ld-x86-64/tlsgdesc.rd: Likewise. * ld-x86-64/tlspic.sd: Likewise. * ld-x86-64/tlsbindesc.td: Likewise. * ld-x86-64/tlspic.td: Likewise. * ld-x86-64/tlsbin.sd: Likewise. * ld-x86-64/ilp32-4.d: Likewise. * ld-x86-64/tlsgdesc.dd: Add --no-ld-generated-unwind-info to ld comment. Adjust. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlsgd6.dd: Adjust. * ld-x86-64/tlsgd5.dd: Likewise. * ld-i386/i386.exp: Link some testcases with --no-ld-generated-unwind-info. * ld-i386/tlsbin.rd: Add --no-ld-generated-unwind-info to ld comment.. * ld-i386/tlsdesc.dd: Likewise. * ld-i386/tlspic.dd: Likewise. * ld-i386/tlsdesc.sd: Likewise. * ld-i386/tlsgdesc.dd: Likewise. * ld-i386/tlsnopic.sd: Likewise. * ld-i386/tlspic.rd: Likewise. * ld-i386/tlsdesc.rd: Likewise. * ld-i386/tlsbindesc.rd: Likewise. * ld-i386/tlsbindesc.sd: Likewise. * ld-i386/tlsbin.td: Likewise. * ld-i386/tlsdesc.td: Likewise. * ld-i386/tlsnopic.dd: Likewise. * ld-i386/tlsbindesc.dd: Likewise. * ld-i386/tlsbin.dd: Likewise. * ld-i386/tlsgdesc.rd: Likewise. * ld-i386/tlspic.sd: Likewise. * ld-i386/tlsnopic.rd: Likewise. * ld-i386/tlsbindesc.td: Likewise. * ld-i386/tlspic.td: Likewise. * ld-i386/tlsbin.sd: Likewise. commit 29d066aa6b7a2c1c305df264617ae99660e3b31e Author: Alan Modra Date: Mon Jun 20 00:00:05 2011 +0000 daily update commit 783373fb16cbb88c189d3429df418d3795300fd7 Author: gdbadmin Date: Mon Jun 20 00:00:03 2011 +0000 *** empty log message *** commit d84ecb34a451b1c7579899d06d6787140ae506c8 Author: H.J. Lu Date: Sun Jun 19 21:22:14 2011 +0000 Fix misc x32 bugs. bfd/ 2011-06-19 H.J. Lu * elf64-x86-64.c (elf_backend_post_process_headers): Defined for x32. binutils/testsuite/ 2011-06-19 H.J. Lu * binutils-all/elfedit-1.d: Updated for x32. gas/ 2011-06-19 H.J. Lu * configure.tgt: Support x32. ld/ 2011-06-19 H.J. Lu * configure.tgt: Support x32. ld/testsuite/ 2011-06-19 H.J. Lu * ld-elf/eh1.d: Skip x32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elfvsb/elfvsb.exp: Only xfail 64bit x86_64-*-linux*. * ld-shared/shared.exp: Likewise. * ld-ifunc/ifunc-1-local-x86.d: Support x32. * ld-ifunc/ifunc-1-x86.d: Likewise. * ld-ifunc/ifunc-3a-x86.d: Likewise. * ld-x86-64/pcrel16.d: Likewise. * ld-x86-64/x86-64.exp (x86_64tests): Add missing -melf_x86_64. commit cb27e4491e8f725d1417459e240371adb700b64a Author: gdbadmin Date: Sun Jun 19 00:00:33 2011 +0000 *** empty log message *** commit fecc6d21eccf8c66549bd455117fd3e2a76327b8 Author: Mike Frysinger Date: Sat Jun 18 22:03:09 2011 +0000 sim: bfin: set ASTAT AV/AVS when shifting accumulators overflow The LSHIFT/ASHIFT insns that work with accumulators lacked AV/AVS handling in the ASTAT register, so add it to match the hardware. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 8a3e5c1c1656a8f3231cfb527b23733a884ed16b Author: Mike Frysinger Date: Sat Jun 18 21:59:38 2011 +0000 sim: bfin: do not touch ASTAT[V] when shifting accumulators If we're shifting accumulators, we don't want to touch the V bit in ASTAT, so add size checks to the ashiftrt/lshiftrt helpers. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit e688d095dcae33edd8f7a2347e430495e2e27cb3 Author: Mike Frysinger Date: Sat Jun 18 21:58:08 2011 +0000 sim: bfin: do not extend accumulator in LSHIFT insns The logical shift insn does not sign extend before shifting, so we shouldn't either. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit cf70314c466ee81b6699af887d1f15f36806a2e5 Author: Mike Frysinger Date: Sat Jun 18 21:22:50 2011 +0000 sim: bfin: tweak saturation handling with TFU/FU modes and MM bit This too should have been squashed into an earlier change. It covers a few more cases in the V/VS saturation patch when working with TFU and FU modes of dsp insns. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit eb893a01437d292046e2658f359283d6be92eaea Author: Mike Frysinger Date: Sat Jun 18 20:59:54 2011 +0000 sim: bfin: handle large shift values with accumulator shift insns When the shift magnitude exceeds 32 bits, the values rotate around (since the hardware is actually a barrel shifter). So handle this edge case, update the corresponding AV bit in ASTAT which was missing previously, and tweak the AZ setting based on how the hardware behaves. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit c4def346cd1811b28f236bca6146d11dd06fbcbc Author: Mike Frysinger Date: Sat Jun 18 20:59:24 2011 +0000 sim: bfin: handle odd shift values with shift insns The shift magnitude is a 5-bit signed value. When it is between 0 and 15, then we do the requested shift, but when it is outside of that, we have to do the opposite. That means we flip between lshift and ashiftrt to match the hardware. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit cef05d4f05fc0aa9aab09c47a824cede33063d35 Author: Mike Frysinger Date: Sat Jun 18 20:27:26 2011 +0000 sim: bfin: add tests for recent dsp fixes Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 6c072e1d26a95fec213f1bfb7e9630d388dd4840 Author: Mike Frysinger Date: Sat Jun 18 20:10:57 2011 +0000 sim: bfin: fix M_IH saturation size This reverts the previous commit and does it right. This change got lost in the shuffle of patches I have pending. Basically the logic is to change the 32bit saturation (and then masked to 16bits) to a proper 16bit saturation. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 2b2d977921d538efe9d1ee96710fb0e0bdece67c Author: Mike Frysinger Date: Sat Jun 18 20:04:32 2011 +0000 sim: bfin: handle V/VS saturation in dsp mac insns Some saturation cases with dsp mac insns were not setting the V flag. So implement that part and split up the logic between the dual macs. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit ac40faa305e495fcaff2e4d9420fdbe5cdd0662e Author: Mike Frysinger Date: Sat Jun 18 19:44:14 2011 +0000 sim: bfin: handle the MM flag in M_IU/M_TFU modes with dsp insns Our handling of the M_IU/M_TFU modes are missing signed saturation when the MM flag is set, so add it to match the hardware behavior. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit c30bf4601d21d93ae0f9ed31e237b0b8c03822c9 Author: Mike Frysinger Date: Sat Jun 18 19:42:54 2011 +0000 sim: bfin: fix sign extension in dsp insns with MM flag After testing the hardware with all the different dsp flags, the MM flag triggers sign extension in all modes. So drop the limited use of it, and the local custom helper that was also extending unsigned values. We also can see that the flag checks in the mult/mac insns have the same behavior with sign extending, so add a helper func to keep the logic the same in both places. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit f720bcda3e9d8725627934b8bd69245ac9dd8df6 Author: Mike Frysinger Date: Sat Jun 18 19:24:57 2011 +0000 sim: bfin: fix dsp insns IH saturation/rounding behavior When using the IH modifier, we need to first saturate the value before rounding it, and then further saturate it a bit more. This makes the sim match the hardware behavior with these insns. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 78463a8243cd3d18352d9dffee269a0a97b55c71 Author: Mike Frysinger Date: Sat Jun 18 18:09:35 2011 +0000 sim: bfin: fix inverted changelog entry commit 9ac2eeaba2e238d44d8107468e3d5ed23407f768 Author: Mike Frysinger Date: Sat Jun 18 17:27:01 2011 +0000 sim: bfin: fix accumulator edge case saturation When the accumulator saturates, it needs to be greater than, but not equal to, the largest unsigned value as this is what the hardware does. Signed-off-by: Robin Getz Signed-off-by: Mike Frysinger commit 35f74e78672e7fe550d4b9a02da7790aac964d8e Author: Mike Frysinger Date: Sat Jun 18 17:20:38 2011 +0000 sim: bfin: use freeargv for freeing argvs Since the argv array was allocated with dupargv, it needs to be freed with freeargv to avoid leaks. Signed-off-by: Mike Frysinger commit 2c17c8bf9a96cbbf87165133d4df5d10cb799e2c Author: Mike Frysinger Date: Sat Jun 18 06:43:57 2011 +0000 opcodes: blackfin: fix style Signed-off-by: Mike Frysinger commit f1aae0c57eea40b177ce6b73d1183f0f3f919706 Author: gdbadmin Date: Sat Jun 18 00:00:33 2011 +0000 *** empty log message *** commit 23c8a64130bf784591ff5505f51e2d9d05815d9a Author: Alan Modra Date: Sat Jun 18 00:00:05 2011 +0000 daily update commit 73020efaf1860119c3775d1efd3e896ef0da2753 Author: Tom Tromey Date: Fri Jun 17 20:46:46 2011 +0000 * valops.c (value_of_this): Use lookup_language_this. * symtab.h (lookup_language_this): Declare. * symtab.c (lookup_language_this): New function. (lookup_symbol_aux): Use lookup_language_this. * ax-gdb.c (gen_expr) : Use lookup_language_this. commit a03c034dadca211c0c179497907a776a84b024f7 Author: Tom Tromey Date: Fri Jun 17 20:35:09 2011 +0000 * value.h (value_of_this): Update. (value_of_local): Remove. * valops.c (value_of_this): Rename from value_of_local. Change parameters. * p-exp.y (exp): Update. (variable): Likewise. * eval.c (evaluate_subexp_standard) : Use value_of_this. commit 5c9cffe047056e7934e1f40779fffb8d525576d2 Author: Tom Tromey Date: Fri Jun 17 20:24:21 2011 +0000 * valops.c (value_of_local): Complain if NAME is NULL. * std-operator.def (OP_OBJC_SELF): Remove. * parse.c (operator_length_standard) : Remove. * objc-exp.y (name_not_typename): Use OP_THIS. * expprint.c (print_subexp_standard) : Print language's name for "this". : Remove. * eval.c (evaluate_subexp_standard) : Remove. commit bc9f981a27f494a0ccd1dd0e40fd21ed840c7d1f Author: Andreas Schwab Date: Fri Jun 17 15:06:46 2011 +0000 * Makefile.am (MAINTAINERCLEANFILES): Move s390-opc.tab ... (MOSTLYCLEANFILES): ... here. * Makefile.in: Regenerate. commit 0d4c071184d3ab290c3a9b86070a76550c8e63a7 Author: gdbadmin Date: Fri Jun 17 00:00:32 2011 +0000 *** empty log message *** commit a0069ae668a7aacbc3ffced73eb439f532d980de Author: Alan Modra Date: Fri Jun 17 00:00:05 2011 +0000 daily update commit 2c9c556617a7de8657c25b512d272c26b070ae22 Author: H.J. Lu Date: Thu Jun 16 22:08:10 2011 +0000 Suport x32 gcore. 2011-06-16 H.J. Lu * elf64-x86-64.c: Include and CORE_HEADER if CORE_HEADER is defined. (elf_x86_64_write_core_note): New. (elf_backend_write_core_note): Likewise. * hosts/x86-64linux.h (uint64_t): New. (user_regsx32_struct): Likewise. (elf_gregx32_t): Likewise. (ELF_NGREGX32): Likewise. (elf_gregsetx32_t): Likewise. (elf_prstatusx32): Likewise. (prstatusx32_t): Likewise. (user_fpregs32_struct): Removed. (user_fpxregs32_struct): Likewise. (user32): Likewise. (elf_fpregset32_t): Likewise. (elf_fpxregset32_t): Likewise. (prgregset32_t): Likewise. (prfpregset32_t): Likewise. commit b5eb3d21f0191f13b72b880321f5f7cc2df602e2 Author: H.J. Lu Date: Thu Jun 16 17:42:59 2011 +0000 Support x32 core dump. 2011-06-16 H.J. Lu * elf64-x86-64.c (elf_x86_64_grok_prstatus): Support x32. (elf_x86_64_grok_psinfo): Likewise. commit 7ad4069a7135c51a3ed46efdf511ed7fa1b93a58 Author: Nick Clifton Date: Thu Jun 16 12:34:18 2011 +0000 * elf.c (elf_find_function): Fail if not provided with a symbol table. commit 1f3ad2ec0d023a1252460373f47a34f211bc58ea Author: Tristan Gingold Date: Thu Jun 16 05:54:07 2011 +0000 2011-06-16 Tristan Gingold * python/py-events.h (gdb_py_events): Make it extern. * python/py-evtregistry.c (gdb_py_events): Declare. commit fe868196e2ee8e2edd770fde2f127a63734ced71 Author: Hui Zhu Date: Thu Jun 16 02:19:43 2011 +0000 2011-06-16 Hui Zhu * remote.c (remote_trace_set_readonly_regions): Add check for remote_protocol_packets[PACKET_qXfer_traceframe_info].support before output warning. commit 68ae2479904c7fa8de17cac86931d30351b88d9d Author: Alan Modra Date: Thu Jun 16 00:00:06 2011 +0000 daily update commit b7b36e4106596a7751a923ab3e55c9b5b7934aaa Author: gdbadmin Date: Thu Jun 16 00:00:03 2011 +0000 *** empty log message *** commit 7ae5c2898f11dbb34b29ba7e6e0ead5a02a15d2e Author: Ulrich Weigand Date: Wed Jun 15 16:39:23 2011 +0000 * arm-linux-tdep.c: Include "auxv.h". (AT_HWCAP): Define. (ARM_LINUX_SIZEOF_VFP): Define. (arm_linux_supply_vfp): New function. (arm_linux_collect_vfp): Likewise. (arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections. (arm_linux_fpa_regset_sections): New variable. (arm_linux_vfp_regset_sections): Likewise. (arm_linux_core_read_description): New function. (arm_linux_init_abi): Install arm_linux_core_read_description and arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as appropriate for the architecture. * arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset". (tdesc_arm_with_m): Declare. (tdesc_arm_with_iwmmxt): Likewise. (tdesc_arm_with_vfpv2): Likewise. (tdesc_arm_with_vfpv3): Likewise. (tdesc_arm_with_neon): Likewise. * arm-linux-nat.c: Move features/*.c includes ... * arm-tdep.c: ... here. * arm-linux-nat.c (arm_linux_read_description): Move initializing target description data structures ... * arm-tdep.c (_initialize_arm_tdep): ... here. * arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3, HWCAP_VFPv3D16): Move definitions ... * arm-linux-tdep.h: ... here. commit 962d7febf7bb03e6919a85d15ad3bc41bd37415d Author: Ulrich Weigand Date: Wed Jun 15 16:36:52 2011 +0000 include/elf/ * common.h (NT_ARM_VFP): Define. bfd/ * elf-bfd.h (elfcore_write_arm_vfp): Add prototype. * elf.c (elfcore_grok_arm_vfp): New function. (elfcore_grok_note): Call it to handle NT_ARM_VFP notes. (elfcore_write_arm_vfp): New function. (elfcore_write_register_note): Call it to handle .reg-arm-vfp. binutils/ * readelf.c (get_note_type): Handle NT_ARM_VFP. commit b5e4dafb237b96fcc6ede7f6b78483b8533335fd Author: Richard Henderson Date: Wed Jun 15 15:04:11 2011 +0000 * elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Rename from elf64_alpha_merge_ind_symbols; adjust for the generic interface. (elf64_alpha_always_size_sections): Don't call elf64_alpha_merge_ind_symbols. (elf_backend_copy_indirect_symbol): New. commit 6a722b0cb51951578c795fa1bcca51378d067336 Author: Hui Zhu Date: Wed Jun 15 14:40:21 2011 +0000 2011-06-15 Hui Zhu * remote.c (remote_trace_set_readonly_regions): Add a check for target_buf_size. commit 5509b611232150ec506df685831b0c01c7dd14c5 Author: Alan Modra Date: Wed Jun 15 00:00:05 2011 +0000 daily update commit ab6c9ef17d423b57f3041e537c2d1853d36ab4b7 Author: gdbadmin Date: Wed Jun 15 00:00:02 2011 +0000 *** empty log message *** commit 64d7baff107c4d76a6de924f4af83757bc6e2843 Author: Tom Tromey Date: Tue Jun 14 18:53:13 2011 +0000 * coffread.c (coffread_objfile): Rename from current_objfile. * dbxread.c (dbxread_objfile): Rename from current_objfile. * mdebugread.c (mdebugread_objfile): Rename from current_objfile. commit 596066745d02713eb0b04b0c99eaf78234e6ccc3 Author: Tom Tromey Date: Tue Jun 14 18:44:39 2011 +0000 * jv-lang.c (jv_type_objfile_data_key, dynamics_objfile) (class_symtab): Remove. (jv_dynamics_progspace_key): New global. (jv_per_objfile_free): Reset program space data. Update assert. Don't clear globals. (get_dynamics_objfile): Use and set program space data. (get_java_class_symtab): Use get_dynamics_objfile. (add_class_symbol): Likewise. (java_link_class_type): Likewise. (java_object_type, jv_clear_object_type, set_java_object_type): Remove. (get_java_object_type): Update. Don't cache result. (is_object_type): Don't call set_java_object_type. (_initialize_java_language): Don't set jv_type_objfile_data_key; initialize jv_dynamics_progspace_key. commit 58e3cb7a5d561b5070f99a860bfa8ad498b5bcb4 Author: Tom Tromey Date: Tue Jun 14 16:49:40 2011 +0000 * symtab.h (current_objfile): Don't declare. * objfiles.h (current_objfile): Don't declare. * objfiles.c (current_objfile): Remove. * mdebugread.c (current_objfile): New file-scope global. * dbxread.c (current_objfile): New file-scope global. * coffread.c (current_objfile): New file-scope global. commit 35d1f5b056044c054d80327449933ac5a87695a0 Author: Alan Modra Date: Tue Jun 14 12:57:17 2011 +0000 PR ld/12887 * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Check sec_info_type before doing anything. (_bfd_elf_discard_section_eh_frame): Likewise. commit 3a73b721676b4294f0bf3157b6b1bd9ee6f3b7c4 Author: qiyao Date: Tue Jun 14 08:03:32 2011 +0000 gdb/testsuite/ * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1". commit 897b48d56d0eb5baa85c6223b95b50ec5db0753a Author: Alan Modra Date: Tue Jun 14 05:11:51 2011 +0000 * Makefile.in: Regenerate. commit 73ffd889297954f134d22a4f7b8c8e103e1afc11 Author: Alan Modra Date: Tue Jun 14 05:09:48 2011 +0000 * Makefile.am: Formatting. * Makefile.in: Regenerate. * configure.in (bfd_elf64_tilegx_vec): Add elfxx-tilegx.lo. * po/SRC-POTFILES.in: Regnerate. commit 000c84fa5b270f8a5ec854c851e87934453c263f Author: Alan Modra Date: Tue Jun 14 04:03:21 2011 +0000 * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Don't use PTR. (allocate_dynrelocs, readonly_dynrelocs): Replace PTR with void *. Don't handle warning symbols here. * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): As above. (allocate_dynrelocs, readonly_dynrelocs): As above. commit fa0ad1f3fa99e7de723328c4645ff9ed60df7069 Author: Alan Modra Date: Tue Jun 14 02:45:08 2011 +0000 PR ld/12851 * elflink.c (_bfd_elf_gc_mark_extra_sections): New function. (elf_gc_sweep): Don't treat debug and sections like .comment specially here. (bfd_elf_gc_sections): Treat note sections as gc roots only when not part of a group. Always call gc_mark_extra_sections. * elf-bfd.h (_bfd_elf_gc_mark_extra_sections): Declare. * elfxx-target.h (elf_backend_gc_mark_extra_sections): Default to _bfd_elf_gc_mark_extra_sections. * elf32-arm.c (elf32_arm_gc_mark_extra_sections): Call _bfd_elf_gc_mark_extra_sections. * elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): Likewise. commit c7a51001163138660845eb8a4008eeaf4ea9b35b Author: gdbadmin Date: Tue Jun 14 00:00:33 2011 +0000 *** empty log message *** commit b0e28d368df806787829393db8277c9e8ddf934e Author: Alan Modra Date: Tue Jun 14 00:00:05 2011 +0000 daily update commit d5b397191d6242fa1b0941cdb328c421bf2b09a0 Author: DJ Delorie Date: Mon Jun 13 23:01:42 2011 +0000 merge from gcc commit a4258db70b2f727b2c0c06fceb162733a818834f Author: DJ Delorie Date: Mon Jun 13 16:37:46 2011 +0000 merge from gcc commit 00b384a74083a65a4f5165741968981372aff978 Author: Nick Clifton Date: Mon Jun 13 15:57:17 2011 +0000 * elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local variable 'local_got_offsets'. * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. (tilegx_finish_dyn): Delete unused local variable 'abi_64_p'. commit bbfca40dd018d804e8816097b2fa13f2b3a50179 Author: Nick Clifton Date: Mon Jun 13 15:24:42 2011 +0000 * configure.ac (tilepro-*-*) New case. (tilegx-*-*): Likewise. * configure: Regenerate. commit 7820ac6214ef3149b3856f4b62c6e60595de9961 Author: Nick Clifton Date: Mon Jun 13 15:18:44 2011 +0000 * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. (ALL_MACHINE_CFILES): Add cpu-tilegx.c and cpu-tilepro.c. (BFD32_BACKENDS): Add elf32-tilegx.lo, elf32-tilepro.lo, and elfxx-tilegx.lo. (BFD32_BACKENDS_CFILES): Add elf32-tilegx.c elf32-tilepro.c, and elfxx-tilegx.c. (BFD64_BACKENDS): Add elf64-tilegx.lo. (BFD64_BACKENDS_CFILES): Add elf64-tilegx.c. * Makefile.in: Regenerate. * arctures.c (bfd_architecture): Define bfd_arch_tilepro, bfd_arch_tilegx, bfd_mach_tilepro, bfd_mach_tilegx. (bfd_arch_info): Add bfd_tilegx_arch, bfd_tilepro_arch. (bfd_archures_list): Add bfd_tilegx_arch, bfd_tilepro_arch. bfd-in2.h: Regenerate. * config.bfd: Handle tilegx-*-* and tilepro-*-*. * configure.in: Handle bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, and bfd_elf64_tilegx_vec. * configure: Regenerate. * elf-bfd.h (enum elf_target_id): Define TILEGX_ELF_DATA and TILEPRO_ELF_DATA. * libbfd.h: Regenerate. * reloc.c: Add BFD_RELOC_TILEPRO_{COPY, GLOB_DAT, JMP_SLOT, RELATIVE, BROFF_X1, JOFFLONG_X1, JOFFLONG_X1_PLT, IMM8_X0, IMM8_Y0, IMM8_X1, IMM8_Y1, DEST_IMM8_X1, MT_IMM15_X1, MF_IMM15_X1, IMM16_X0, IMM16_X1, IMM16_X0_LO, IMM16_X1_LO, IMM16_X0_HI, IMM16_X1_HI, IMM16_X0_HA, IMM16_X1_HA, IMM16_X0_PCREL, IMM16_X1_PCREL, IMM16_X0_LO_PCREL, IMM16_X1_LO_PCREL, IMM16_X0_HI_PCREL, IMM16_X1_HI_PCREL, IMM16_X0_HA_PCREL, IMM16_X1_HA_PCREL, IMM16_X0_GOT, IMM16_X1_GOT, IMM16_X0_GOT_LO, IMM16_X1_GOT_LO, IMM16_X0_GOT_HI, IMM16_X1_GOT_HI, IMM16_X0_GOT_HA, IMM16_X1_GOT_HA, MMSTART_X0, MMEND_X0, MMSTART_X1, MMEND_X1, SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, IMM16_X0_TLS_GD, IMM16_X1_TLS_GD, IMM16_X0_TLS_GD_LO, IMM16_X1_TLS_GD_LO, IMM16_X0_TLS_GD_HI, IMM16_X1_TLS_GD_HI, IMM16_X0_TLS_GD_HA, IMM16_X1_TLS_GD_HA, IMM16_X0_TLS_IE, IMM16_X1_TLS_IE, IMM16_X0_TLS_IE_LO, IMM16_X1_TLS_IE_LO, IMM16_X0_TLS_IE_HI, IMM16_X1_TLS_IE_HI, IMM16_X0_TLS_IE_HA, IMM16_X1_TLS_IE_HA, TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} Add BFD_RELOC_TILEGX_{HW0, HW1, HW2, HW3, HW0_LAST, HW1_LAST, HW2_LAST, COPY, GLOB_DAT, JMP_SLOT, RELATIVE, BROFF_X1, JUMPOFF_X1, JUMPOFF_X1_PLT, IMM8_X0, IMM8_Y0, IMM8_X1, IMM8_Y1, DEST_IMM8_X1, MT_IMM14_X1, MF_IMM14_X1, MMSTART_X0, MMEND_X0, SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, IMM16_X0_HW0, IMM16_X1_HW0, IMM16_X0_HW1, IMM16_X1_HW1, IMM16_X0_HW2, IMM16_X1_HW2, IMM16_X0_HW3, IMM16_X1_HW3, IMM16_X0_HW0_LAST, IMM16_X1_HW0_LAST, IMM16_X0_HW1_LAST, IMM16_X1_HW1_LAST, IMM16_X0_HW2_LAST, IMM16_X1_HW2_LAST, IMM16_X0_HW0_PCREL, IMM16_X1_HW0_PCREL, IMM16_X0_HW1_PCREL, IMM16_X1_HW1_PCREL, IMM16_X0_HW2_PCREL, IMM16_X1_HW2_PCREL, IMM16_X0_HW3_PCREL, IMM16_X1_HW3_PCREL, IMM16_X0_HW0_LAST_PCREL, IMM16_X1_HW0_LAST_PCREL, IMM16_X0_HW1_LAST_PCREL, IMM16_X1_HW1_LAST_PCREL, IMM16_X0_HW2_LAST_PCREL, IMM16_X1_HW2_LAST_PCREL, IMM16_X0_HW0_GOT, IMM16_X1_HW0_GOT, IMM16_X0_HW1_GOT, IMM16_X1_HW1_GOT, IMM16_X0_HW2_GOT, IMM16_X1_HW2_GOT, IMM16_X0_HW3_GOT, IMM16_X1_HW3_GOT, IMM16_X0_HW0_LAST_GOT, IMM16_X1_HW0_LAST_GOT, IMM16_X0_HW1_LAST_GOT, IMM16_X1_HW1_LAST_GOT, IMM16_X0_HW2_LAST_GOT, IMM16_X1_HW2_LAST_GOT, IMM16_X0_HW0_TLS_GD, IMM16_X1_HW0_TLS_GD, IMM16_X0_HW1_TLS_GD, IMM16_X1_HW1_TLS_GD, IMM16_X0_HW2_TLS_GD, IMM16_X1_HW2_TLS_GD, IMM16_X0_HW3_TLS_GD, IMM16_X1_HW3_TLS_GD, IMM16_X0_HW0_LAST_TLS_GD, IMM16_X1_HW0_LAST_TLS_GD, IMM16_X0_HW1_LAST_TLS_GD, IMM16_X1_HW1_LAST_TLS_GD, IMM16_X0_HW2_LAST_TLS_GD, IMM16_X1_HW2_LAST_TLS_GD, IMM16_X0_HW0_TLS_IE, IMM16_X1_HW0_TLS_IE, IMM16_X0_HW1_TLS_IE, IMM16_X1_HW1_TLS_IE, IMM16_X0_HW2_TLS_IE, IMM16_X1_HW2_TLS_IE, IMM16_X0_HW3_TLS_IE, IMM16_X1_HW3_TLS_IE, IMM16_X0_HW0_LAST_TLS_IE, IMM16_X1_HW0_LAST_TLS_IE, IMM16_X0_HW1_LAST_TLS_IE, IMM16_X1_HW1_LAST_TLS_IE, IMM16_X0_HW2_LAST_TLS_IE, IMM16_X1_HW2_LAST_TLS_IE, TLS_DTPMOD64, TLS_DTPOFF64, TLS_TPOFF64, TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} * targets.c (bfd_elf32_tilegx_vec): Declare. (bfd_elf32_tilepro_vec): Declare. (bfd_elf64_tilegx_vec): Declare. (bfd_target_vector): Add bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, and bfd_elf64_tilegx_vec. * cpu-tilegx.c: New file. * cpu-tilepro.c: New file. * elf32-tilepro.h: New file. * elf32-tilepro.c: New file. * elf32-tilegx.c: New file. * elf32-tilegx.h: New file. * elf64-tilegx.c: New file. * elf64-tilegx.h: New file. * elfxx-tilegx.c: New file. * elfxx-tilegx.h: New file. * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and config/tc-tilepro.c. (TARGET_CPU_HFILES): Add config/tc-tilegx.h and config/tc-tilepro.h. * Makefile.in: Regenerate. * configure.tgt (tilepro-*-*): New. (tilegx-*-*): Likewise. * config/tc-tilegx.c: New file. * config/tc-tilegx.h: Likewise. * config/tc-tilepro.h: Likewise. * config/tc-tilepro.c: Likewise. * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and c-tilepro.texi. * doc/Makefile.in: Regenerate. * doc/all.texi (TILEGX): Define. (TILEPRO): Define. * doc/as.texinfo: Add Tile-Gx and TILEPro documentation. Include c-tilegx.texi and c-tilepro.texi. * doc/c-tilegx.texi: New. * doc/c-tilepro.texi: New. * gas/tilepro/t_constants.s: New file. * gas/tilepro/t_constants.d: Likewise. * gas/tilepro/t_insns.s: Likewise. * gas/tilepro/tilepro.exp: Likewise. * gas/tilepro/t_insns.d: Likewise. * gas/tilegx/tilegx.exp: Likewise. * gas/tilegx/t_insns.d: Likewise. * gas/tilegx/t_insns.s: Likewise. * dis-asm.h (print_insn_tilegx): Declare. (print_insn_tilepro): Likewise. * tilegx.h: New file. * tilepro.h: New file. * common.h: Add EM_TILEGX. * tilegx.h: New file. * tilepro.h: New file. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and eelf32tilepro.c. (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c. (eelf32tilegx.c): New target. (eelf32tilepro.c): Likewise. (eelf64tilegx.c): Likewise. * Makefile.in: Regenerate. * configure.tgt: Handle tilegx-*-* and tilepro-*-*. * emulparams/elf32tilegx.sh: New file. * emulparams/elf64tilegx.sh: New file. * emulparams/elf32tilepro.sh: New file. * ld-elf/eh5.d: Don't run on tile*. * ld-srec/srec.exp: xfail on tile*. * ld-tilegx/external.s: New file. * ld-tilegx/reloc.d: New file. * ld-tilegx/reloc.s: New file. * ld-tilegx/tilegx.exp: New file. * ld-tilepro/external.s: New file. * ld-tilepro/reloc.d: New file. * ld-tilepro/reloc.s: New file. * ld-tilepro/tilepro.exp: New file. * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tilegx-dis.c, tilegx-opc.c, tilepro-dis.c, and tilepro-opc.c. * Makefile.in: Regenerate. * configure.in: Handle bfd_tilegx_arch and bfd_tilepro_arch. * configure: Regenerate. * disassemble.c (disassembler): Add ARCH_tilegx and ARCH_tilepro. * po/POTFILES.in: Regenerate. * tilegx-dis.c: New file. * tilegx-opc.c: New file. * tilepro-dis.c: New file. * tilepro-opc.c: New file. commit 7c7bb3f686eb1f50e253f35bac963c1bb1dda9e4 Author: Pedro Alves Date: Mon Jun 13 10:55:25 2011 +0000 2011-06-13 Pedro Alves gdb/ * top.h (line): Rename to ... (saved_command_line): ... this. (linesize): Rename to ... (saved_command_line_size): ... this. * top.c (line): Rename to ... (saved_command_line): ... this. (linesize): Rename to ... (saved_command_line_size): ... this. (dont_repeat, command_line_input, dont_repeat_command): Adjust. * event-top.c (command_line_handler): Adjust. * main.c (captured_main): Adjust. commit 60deb1b873953e7e8bad2727eda4234a99059995 Author: Alan Modra Date: Mon Jun 13 00:59:07 2011 +0000 * linker.c (bfd_link_hash_traverse): Follow warning symbol link. (_bfd_generic_link_write_global_symbol, fix_syms): Don't handle warning symbols here. * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. * elf32-arm.c (allocate_dynrelocs_for_symbol, elf32_arm_readonly_dynrelocs): Likewise. * elf32-bfin.c (bfin_discard_copies): Likewise. * elf32-cris.c (elf_cris_adjust_gotplt_to_got, elf_cris_discard_excess_dso_dynamics, elf_cris_discard_excess_program_dynamics): Likewise. * elf32-hppa.c (allocate_plt_static, allocate_dynrelocs, clobber_millicode_symbols, readonly_dynrelocs): Likewise. * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. * elf32-i386.c (elf_i386_allocate_dynrelocs, elf_i386_readonly_dynrelocs): Likewise. * elf32-lm32.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. * elf32-m32c.c (m32c_relax_plt_check, m32c_relax_plt_realloc): Likewise. * elf32-m32r.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. * elf32-m68k.c (elf_m68k_discard_copies): Likewise. * elf32-microblaze.c (allocate_dynrelocs): Likewise. * elf32-ppc.c (allocate_dynrelocs, maybe_set_textrel): Likewise. * elf32-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. * elf32-score.c (score_elf_sort_hash_table_f): Likewise. * elf32-score7.c (score_elf_sort_hash_table_f): Likewise. * elf32-sh.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. * elf32-tic6x.c (elf32_tic6x_allocate_dynrelocs, elf32_tic6x_readonly_dynrelocs): Likewise. * elf32-vax.c (elf_vax_discard_copies): Likewise. * elf32-xstormy16.c (xstormy16_relax_plt_check, xstormy16_relax_plt_realloc): Likewise. * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Likewise. * elf64-alpha.c (elf64_alpha_output_extsym, elf64_alpha_calc_got_offsets_for_symbol, elf64_alpha_calc_dynrel_sizes, elf64_alpha_size_rela_got_1): Likewise. * elf64-hppa.c (elf64_hppa_mark_exported_functions, allocate_global_data_opd, elf64_hppa_mark_milli_and_exported_functions, elf_hppa_unmark_useless_dynamic_symbols, elf_hppa_remark_useless_dynamic_symbols): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref, func_desc_adjust, adjust_opd_syms, adjust_toc_syms, allocate_dynrelocs, readonly_dynrelocs, merge_global_got, reallocate_got, undo_symbol_twiddle): Likewise. * elf64-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs, elf_x86_64_readonly_dynrelocs): Likewise. * elflink.c (elf_link_renumber_hash_table_dynsyms, elf_link_renumber_local_hash_table_dynsyms, _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, _bfd_elf_link_assign_sym_version, _bfd_elf_adjust_dynamic_symbol, _bfd_elf_link_sec_merge_syms, elf_adjust_dynstr_offsets, elf_collect_hash_codes, elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms, elf_gc_sweep_symbol, elf_gc_propagate_vtable_entries_used, elf_gc_smash_unused_vtentry_relocs, bfd_elf_gc_mark_dynamic_ref_symbol, elf_gc_allocate_got_offsets): Likewise. * elfnn-ia64.c (elfNN_ia64_global_dyn_info_free, elfNN_ia64_global_dyn_sym_thunk): Likewise. * elfxx-mips.c (mips_elf_check_symbols, mips_elf_output_extsym, mips_elf_sort_hash_table_f, allocate_dynrelocs): Likewise. * elfxx-sparc.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. * i386linux.c (linux_tally_symbols): Likewise. * m68klinux.c (linux_tally_symbols): Likewise. * sparclinux.c (linux_tally_symbols): Likewise. * sunos.c (sunos_scan_dynamic_symbol): Likewise. * xcofflink.c (xcoff_post_gc_symbol): Likewise. * elflink.c (elf_link_output_extsym): Make it a bfd_hash_traverse function. Update all callers. * aoutx.h (aout_link_write_other_symbol): Likewise. * pdp11.c (aout_link_write_other_symbol): Likewise. * cofflink.c (_bfd_coff_write_global_sym): Likewise. * ecoff.c (ecoff_link_write_external): Likewise. * xcofflink.c (xcoff_write_global_symbol): Likewise. * vms-alpha.c (alpha_vms_link_output_symbol): Likewise. Handle warning symbols. * ecoff.c (ecoff_link_hash_traverse): Delete. * coff-ppc.c (ppc_bfd_coff_final_link): Use bfd_hash_traverse for _bfd_coff_write_global_sym. * libcoff-in.h (_bfd_coff_write_global_sym): Update prototype. * libcoff.h: Regenerate. commit 320f68c107d8b3e7a184bd4dca3d5ce279c7d01b Author: gdbadmin Date: Mon Jun 13 00:00:33 2011 +0000 *** empty log message *** commit 578be59f12947e1ce5d8f829cca25ffd5eaa0d52 Author: Alan Modra Date: Mon Jun 13 00:00:05 2011 +0000 daily update commit b304e1f3bb4fee38d829dbd85ea3c0f43399aa7c Author: Mark Kettenis Date: Sun Jun 12 20:46:11 2011 +0000 * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call get_frame_func instead of get_frame_pc to determine the code address used to construct the frame ID. (i386_epilogue_frame_unwind_stop_reason): Fix coding style. (i386_epilogue_frame_this_id): Likewise. (i386_epilogue_frame_prev_register): New function. (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register. (i386_stack_tramp_frame_sniffer): Fix coding style. (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register. (i386_gdbarch_init): Fix comments. commit 17b43a9509e2609bc3029e32170038cb0fde5fda Author: Mark Kettenis Date: Sun Jun 12 18:21:54 2011 +0000 * i386-tdep.c (i386_match_insn_block): Use length of the proper instruction when walking back through the instruction stream. commit 8d4ef3e18bb9c253a0945f548ad2fa72100254a6 Author: Alan Modra Date: Sun Jun 12 00:00:05 2011 +0000 daily update commit e141c1ecc4555121f7a1537da8328d25cacc9958 Author: gdbadmin Date: Sun Jun 12 00:00:02 2011 +0000 *** empty log message *** ----------------------------------------------------------------------- Summary of changes: ChangeLog | 6 + bfd/ChangeLog | 351 + bfd/Makefile.am | 12 + bfd/Makefile.in | 18 + bfd/aoutx.h | 23 +- bfd/archures.c | 8 + bfd/bfd-in2.h | 176 + bfd/coff-ppc.c | 3 +- bfd/cofflink.c | 12 +- bfd/config.bfd | 13 + bfd/configure | 3 + bfd/configure.in | 3 + bfd/cpu-tilegx.c | 39 + bfd/cpu-tilepro.c | 39 + bfd/ecoff.c | 17 +- bfd/elf-bfd.h | 7 + bfd/elf-eh-frame.c | 64 +- bfd/elf-m10300.c | 5 +- bfd/elf.c | 66 +- bfd/elf32-arm.c | 25 +- bfd/elf32-bfin.c | 3 - bfd/elf32-cris.c | 11 +- bfd/elf32-hppa.c | 14 +- bfd/elf32-i370.c | 5 +- bfd/elf32-i386.c | 104 +- bfd/elf32-lm32.c | 11 +- bfd/elf32-m32c.c | 8 +- bfd/elf32-m32r.c | 11 +- bfd/elf32-m68k.c | 6 +- bfd/elf32-microblaze.c | 6 - bfd/elf32-ppc.c | 9 - bfd/elf32-s390.c | 13 +- bfd/elf32-score.c | 6 +- bfd/elf32-score7.c | 5 +- bfd/elf32-sh.c | 15 +- bfd/elf32-tic6x.c | 11 +- bfd/elf32-tilegx.c | 132 + bfd/elf32-tilegx.h | 38 + bfd/elf32-tilepro.c | 3604 ++++++++++ bfd/elf32-tilepro.h | 38 + bfd/elf32-vax.c | 6 +- bfd/elf32-xstormy16.c | 8 +- bfd/elf32-xtensa.c | 3 - bfd/elf64-alpha.c | 94 +- bfd/elf64-hppa.c | 29 +- bfd/elf64-ppc.c | 27 - bfd/elf64-s390.c | 11 +- bfd/elf64-sh64.c | 5 +- bfd/elf64-tilegx.c | 132 + bfd/elf64-tilegx.h | 38 + bfd/elf64-x86-64.c | 226 +- bfd/elflink.c | 153 +- bfd/elfnn-ia64.c | 6 - bfd/elfxx-mips.c | 16 +- bfd/elfxx-sparc.c | 12 +- bfd/elfxx-target.h | 2 +- bfd/elfxx-tilegx.c | 3957 +++++++++++ bfd/elfxx-tilegx.h | 97 + bfd/hosts/x86-64linux.h | 110 +- bfd/i386linux.c | 5 +- bfd/libbfd.h | 168 + bfd/libcoff-in.h | 4 +- bfd/libcoff.h | 4 +- bfd/linker.c | 35 +- bfd/m68klinux.c | 6 +- bfd/pdp11.c | 17 +- bfd/po/SRC-POTFILES.in | 6 + bfd/reloc.c | 342 + bfd/sparclinux.c | 6 +- bfd/sunos.c | 5 +- bfd/targets.c | 6 + bfd/version.h | 2 +- bfd/vms-alpha.c | 28 +- bfd/xcofflink.c | 10 +- configure | 3 + configure.ac | 3 + gdb/ChangeLog | 404 ++ gdb/Makefile.in | 11 +- gdb/ada-lang.c | 503 ++- gdb/ada-lang.h | 13 - gdb/arm-linux-nat.c | 20 - gdb/arm-linux-tdep.c | 101 + gdb/arm-linux-tdep.h | 9 + gdb/arm-tdep.c | 8 + gdb/arm-tdep.h | 9 +- gdb/ax-gdb.c | 15 +- gdb/breakpoint.c | 596 +- gdb/breakpoint.h | 100 +- gdb/coffread.c | 16 +- gdb/dbxread.c | 34 +- gdb/dwarf2expr.c | 5 +- gdb/eval.c | 6 +- gdb/event-top.c | 16 +- gdb/expprint.c | 13 +- gdb/gdbtypes.c | 17 +- gdb/gdbtypes.h | 2 +- gdb/i386-tdep.c | 58 +- gdb/infrun.c | 3 - gdb/jv-lang.c | 89 +- gdb/main.c | 4 +- gdb/mdebugread.c | 67 +- gdb/monitor.c | 2 + gdb/objc-exp.y | 4 +- gdb/objfiles.c | 1 - gdb/objfiles.h | 15 - gdb/p-exp.y | 4 +- gdb/parse.c | 1 - gdb/python/py-breakpoint.c | 15 +- gdb/python/py-cmd.c | 9 +- gdb/python/py-events.h | 2 +- gdb/python/py-evtregistry.c | 2 + gdb/python/py-function.c | 3 +- gdb/python/py-inferior.c | 3 +- gdb/python/py-param.c | 14 +- gdb/python/py-prettyprint.c | 2 +- gdb/python/py-type.c | 4 +- gdb/python/python.c | 22 +- gdb/remote.c | 26 +- gdb/std-operator.def | 5 - gdb/symtab.c | 39 +- gdb/symtab.h | 14 +- gdb/testsuite/ChangeLog | 62 +- gdb/testsuite/gdb.base/moribund-step.exp | 6 + gdb/testsuite/gdb.cp/mb-inline.exp | 14 +- gdb/testsuite/gdb.mi/mi-nsintrall.exp | 20 +- gdb/testsuite/gdb.mi/mi-nsmoribund.exp | 11 +- gdb/testsuite/gdb.mi/mi-return.exp | 6 +- gdb/testsuite/gdb.mi/mi-var-display.exp | 8 +- gdb/testsuite/gdb.mi/mi2-basics.exp | 53 +- gdb/testsuite/gdb.mi/mi2-console.exp | 7 +- gdb/testsuite/gdb.mi/mi2-return.exp | 6 +- gdb/testsuite/gdb.mi/mi2-var-display.exp | 8 +- gdb/testsuite/gdb.threads/execl.exp | 3 + gdb/testsuite/gdb.threads/ia64-sigill.exp | 1 - gdb/testsuite/lib/gdb.exp | 12 + gdb/top.c | 25 +- gdb/top.h | 4 +- gdb/valops.c | 49 +- gdb/value.h | 5 +- gdb/varobj.c | 2 +- gdb/version.in | 2 +- include/ChangeLog | 35 +- include/bfdlink.h | 4 + include/demangle.h | 8 +- include/dis-asm.h | 6 +- include/dwarf2.h | 2 + include/elf/ChangeLog | 15 + include/elf/common.h | 3 + include/elf/tilegx.h | 162 + include/elf/tilepro.h | 128 + include/opcode/ChangeLog | 29 +- include/opcode/bfin.h | 10 +- include/opcode/tilegx.h | 1302 ++++ include/opcode/tilepro.h | 1636 +++++ libiberty/ChangeLog | 30 +- libiberty/cp-demangle.c | 275 +- libiberty/strsignal.c | 4 +- libiberty/testsuite/demangle-expected | 32 +- libiberty/testsuite/test-demangle.c | 12 +- opcodes/ChangeLog | 31 +- opcodes/Makefile.am | 8 +- opcodes/Makefile.in | 12 +- opcodes/configure | 2 + opcodes/configure.in | 2 + opcodes/disassemble.c | 14 +- opcodes/i386-dis.c | 4 +- opcodes/po/POTFILES.in | 4 + opcodes/tilegx-dis.c | 135 + opcodes/tilegx-opc.c | 8055 +++++++++++++++++++++++ opcodes/tilepro-dis.c | 232 + opcodes/tilepro-opc.c |10183 +++++++++++++++++++++++++++++ sim/bfin/ChangeLog | 76 + sim/bfin/bfin-sim.c | 186 +- sim/bfin/interp.c | 6 +- sim/mn10300/ChangeLog | 4 + sim/mn10300/am33.igen | 2 +- sim/testsuite/sim/bfin/ChangeLog | 7 + sim/testsuite/sim/bfin/random_0019.S | 216 + sim/testsuite/sim/bfin/random_0020.S | 434 ++ sim/testsuite/sim/bfin/random_0021.S | 45 + sim/testsuite/sim/bfin/random_0022.S | 212 + sim/testsuite/sim/bfin/random_0023.S | 97 + sim/testsuite/sim/bfin/random_0024.S | 264 + sim/testsuite/sim/bfin/random_0026.S | 195 + sim/testsuite/sim/bfin/random_0027.S | 266 + sim/testsuite/sim/bfin/random_0028.S | 220 + sim/testsuite/sim/bfin/random_0029.S | 184 + sim/testsuite/sim/bfin/random_0030.S | 177 + sim/testsuite/sim/bfin/random_0032.S | 154 + sim/testsuite/sim/bfin/random_0035.S | 31 + 190 files changed, 36697 insertions(+), 1586 deletions(-) create mode 100644 bfd/cpu-tilegx.c create mode 100644 bfd/cpu-tilepro.c create mode 100644 bfd/elf32-tilegx.c create mode 100644 bfd/elf32-tilegx.h create mode 100644 bfd/elf32-tilepro.c create mode 100644 bfd/elf32-tilepro.h create mode 100644 bfd/elf64-tilegx.c create mode 100644 bfd/elf64-tilegx.h create mode 100644 bfd/elfxx-tilegx.c create mode 100644 bfd/elfxx-tilegx.h create mode 100644 include/elf/tilegx.h create mode 100644 include/elf/tilepro.h create mode 100644 include/opcode/tilegx.h create mode 100644 include/opcode/tilepro.h create mode 100644 opcodes/tilegx-dis.c create mode 100644 opcodes/tilegx-opc.c create mode 100644 opcodes/tilepro-dis.c create mode 100644 opcodes/tilepro-opc.c create mode 100644 sim/testsuite/sim/bfin/random_0019.S create mode 100644 sim/testsuite/sim/bfin/random_0020.S create mode 100644 sim/testsuite/sim/bfin/random_0021.S create mode 100644 sim/testsuite/sim/bfin/random_0022.S create mode 100644 sim/testsuite/sim/bfin/random_0023.S create mode 100644 sim/testsuite/sim/bfin/random_0024.S create mode 100644 sim/testsuite/sim/bfin/random_0026.S create mode 100644 sim/testsuite/sim/bfin/random_0027.S create mode 100644 sim/testsuite/sim/bfin/random_0028.S create mode 100644 sim/testsuite/sim/bfin/random_0029.S create mode 100644 sim/testsuite/sim/bfin/random_0030.S create mode 100644 sim/testsuite/sim/bfin/random_0032.S create mode 100644 sim/testsuite/sim/bfin/random_0035.S First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index 2693377..7875229 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-06-13 Walter Lee + + * configure.ac (tilepro-*-*) New case. + (tilegx-*-*): Likewise. + * configure: Regenerate. + 2011-06-06 Nick Clifton * config.sub: Sync from upstream. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1e72bf2..b3ffc1b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,354 @@ +2011-06-25 Jan Kratochvil + + * elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize + PLT_EH_FRAME. + * elf32-i386.c (elf_i386_link_hash_table): Likewise. + +2011-06-24 Richard Henderson + + PR ld/12928 + * elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Recover the + tlsgd insn before swapping adjacent insns. + +2011-06-24 Tristan Gingold + + * vms-alpha.c (alpha_vms_slurp_relocs): Add a guard for relocs in the + absolute section. + +2011-06-24 Alan Modra + + PR ld/12921 + * elf.c (assign_file_positions_for_load_sections): Don't align + sh_offset for all SHT_NOBITS sections here, just .tbss sections + that don't get a PT_LOAD. + +2011-06-22 Kaz Kojima + + * elf32-sh.c (sh_elf_relocate_section): Allow R_SH_TLS_LE_32 for PIE. + (sh_elf_check_relocs): Likewise. + +2011-06-22 Richard Henderson + + * elf64-alpha.c (elf64_alpha_check_relocs): No dynamic reloc for + TPREL in a PIE image. + (alpha_dynamic_entries_for_reloc): Likewise. + (elf64_alpha_relocate_section): Allow TPREL in PIE images. + (elf64_alpha_relax_got_load): Likewise. + +2011-06-22 Ramana Radhakrishnan + + * elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32 + for PIE. + +2011-06-22 Alan Modra + + * elflink.c (_bfd_elf_merge_symbol): Allow type changes for + plugin symbols. Fix segfault on linker scrip defined syms. + +2011-06-20 Jakub Jelinek + + PR ld/12570 + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations + at all for linker created .eh_frame sections. + (_bfd_elf_discard_section_eh_frame): Handle linker created + .eh_frame sections with no relocations. + * elf64-x86-64.c: Include dwarf2.h. + (elf_x86_64_eh_frame_plt): New variable. + (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, + PLT_FDE_LEN_OFFSET): Define. + (struct elf_x86_64_link_hash_table): Add plt_eh_frame field. + (elf_x86_64_create_dynamic_sections): Create and fill in + .eh_frame section for .plt section. + (elf_x86_64_size_dynamic_sections): Write .plt section size + into .eh_frame FDE covering .plt section. + (elf_x86_64_finish_dynamic_sections): Write .plt section + start into .eh_frame FDE covering .plt section. Call + _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. + (elf_backend_plt_alignment): Define to 4. + * elf32-i386.c: Include dwarf2.h. + (elf_i386_eh_frame_plt): New variable. + (PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET, + PLT_FDE_LEN_OFFSET): Define. + (struct elf_i386_link_hash_table): Add plt_eh_frame field. + (elf_i386_create_dynamic_sections): Create and fill in + .eh_frame section for .plt section. + (elf_i386_size_dynamic_sections): Write .plt section size + into .eh_frame FDE covering .plt section. + (elf_i386_finish_dynamic_sections): Write .plt section + start into .eh_frame FDE covering .plt section. Call + _bfd_elf_write_section_eh_frame on htab->plt_eh_frame section. + (elf_backend_plt_alignment): Define to 4. + +2011-06-19 H.J. Lu + + * elf64-x86-64.c (elf_backend_post_process_headers): Defined + for x32. + +2011-06-16 H.J. Lu + + * elf64-x86-64.c: Include and CORE_HEADER if + CORE_HEADER is defined. + (elf_x86_64_write_core_note): New. + (elf_backend_write_core_note): Likewise. + + * hosts/x86-64linux.h (uint64_t): New. + (user_regsx32_struct): Likewise. + (elf_gregx32_t): Likewise. + (ELF_NGREGX32): Likewise. + (elf_gregsetx32_t): Likewise. + (elf_prstatusx32): Likewise. + (prstatusx32_t): Likewise. + (user_fpregs32_struct): Removed. + (user_fpxregs32_struct): Likewise. + (user32): Likewise. + (elf_fpregset32_t): Likewise. + (elf_fpxregset32_t): Likewise. + (prgregset32_t): Likewise. + (prfpregset32_t): Likewise. + +2011-06-16 H.J. Lu + + * elf64-x86-64.c (elf_x86_64_grok_prstatus): Support x32. + (elf_x86_64_grok_psinfo): Likewise. + +2011-06-16 Nick Clifton + + * elf.c (elf_find_function): Fail if not provided with a symbol + table. + +2011-06-15 Ulrich Weigand + + * elf-bfd.h (elfcore_write_arm_vfp): Add prototype. + * elf.c (elfcore_grok_arm_vfp): New function. + (elfcore_grok_note): Call it to handle NT_ARM_VFP notes. + (elfcore_write_arm_vfp): New function. + (elfcore_write_register_note): Call it to handle .reg-arm-vfp. + +2011-06-14 Richard Henderson + + * elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Rename from + elf64_alpha_merge_ind_symbols; adjust for the generic interface. + (elf64_alpha_always_size_sections): Don't call + elf64_alpha_merge_ind_symbols. + (elf_backend_copy_indirect_symbol): New. + +2011-06-14 Alan Modra + + PR ld/12887 + * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Check sec_info_type + before doing anything. + (_bfd_elf_discard_section_eh_frame): Likewise. + +2011-06-14 Alan Modra + + * Makefile.am: Formatting. + * Makefile.in: Regenerate. + * configure.in (bfd_elf64_tilegx_vec): Add elfxx-tilegx.lo. + * po/SRC-POTFILES.in: Regnerate. + +2011-06-14 Alan Modra + + * elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Don't use PTR. + (allocate_dynrelocs, readonly_dynrelocs): Replace PTR with void *. + Don't handle warning symbols here. + * elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): As above. + (allocate_dynrelocs, readonly_dynrelocs): As above. + +2011-06-14 Alan Modra + + PR ld/12851 + * elflink.c (_bfd_elf_gc_mark_extra_sections): New function. + (elf_gc_sweep): Don't treat debug and sections like .comment + specially here. + (bfd_elf_gc_sections): Treat note sections as gc roots only when + not part of a group. Always call gc_mark_extra_sections. + * elf-bfd.h (_bfd_elf_gc_mark_extra_sections): Declare. + * elfxx-target.h (elf_backend_gc_mark_extra_sections): Default to + _bfd_elf_gc_mark_extra_sections. + * elf32-arm.c (elf32_arm_gc_mark_extra_sections): Call + _bfd_elf_gc_mark_extra_sections. + * elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): Likewise. + +2011-06-13 Nick Clifton + + * elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local + variable 'local_got_offsets'. + * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. + (tilegx_finish_dyn): Delete unused local variable 'abi_64_p'. + +2011-06-13 Walter Lee + + * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. + (ALL_MACHINE_CFILES): Add cpu-tilegx.c and cpu-tilepro.c. + (BFD32_BACKENDS): Add elf32-tilegx.lo, elf32-tilepro.lo, + and elfxx-tilegx.lo. + (BFD32_BACKENDS_CFILES): Add elf32-tilegx.c elf32-tilepro.c, and + elfxx-tilegx.c. + (BFD64_BACKENDS): Add elf64-tilegx.lo. + (BFD64_BACKENDS_CFILES): Add elf64-tilegx.c. + * Makefile.in: Regenerate. + * arctures.c (bfd_architecture): Define bfd_arch_tilepro, + bfd_arch_tilegx, bfd_mach_tilepro, bfd_mach_tilegx. + (bfd_arch_info): Add bfd_tilegx_arch, bfd_tilepro_arch. + (bfd_archures_list): Add bfd_tilegx_arch, bfd_tilepro_arch. + bfd-in2.h: Regenerate. + * config.bfd: Handle tilegx-*-* and tilepro-*-*. + * configure.in: Handle bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, + and bfd_elf64_tilegx_vec. + * configure: Regenerate. + * elf-bfd.h (enum elf_target_id): Define TILEGX_ELF_DATA and + TILEPRO_ELF_DATA. + * libbfd.h: Regenerate. + * reloc.c: Add BFD_RELOC_TILEPRO_{COPY, GLOB_DAT, JMP_SLOT, + RELATIVE, BROFF_X1, JOFFLONG_X1, JOFFLONG_X1_PLT, IMM8_X0, + IMM8_Y0, IMM8_X1, IMM8_Y1, DEST_IMM8_X1, MT_IMM15_X1, MF_IMM15_X1, + IMM16_X0, IMM16_X1, IMM16_X0_LO, IMM16_X1_LO, IMM16_X0_HI, + IMM16_X1_HI, IMM16_X0_HA, IMM16_X1_HA, IMM16_X0_PCREL, + IMM16_X1_PCREL, IMM16_X0_LO_PCREL, IMM16_X1_LO_PCREL, + IMM16_X0_HI_PCREL, IMM16_X1_HI_PCREL, IMM16_X0_HA_PCREL, + IMM16_X1_HA_PCREL, IMM16_X0_GOT, IMM16_X1_GOT, IMM16_X0_GOT_LO, + IMM16_X1_GOT_LO, IMM16_X0_GOT_HI, IMM16_X1_GOT_HI, + IMM16_X0_GOT_HA, IMM16_X1_GOT_HA, MMSTART_X0, MMEND_X0, + MMSTART_X1, MMEND_X1, SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, + IMM16_X0_TLS_GD, IMM16_X1_TLS_GD, IMM16_X0_TLS_GD_LO, + IMM16_X1_TLS_GD_LO, IMM16_X0_TLS_GD_HI, IMM16_X1_TLS_GD_HI, + IMM16_X0_TLS_GD_HA, IMM16_X1_TLS_GD_HA, IMM16_X0_TLS_IE, + IMM16_X1_TLS_IE, IMM16_X0_TLS_IE_LO, IMM16_X1_TLS_IE_LO, + IMM16_X0_TLS_IE_HI, IMM16_X1_TLS_IE_HI, IMM16_X0_TLS_IE_HA, + IMM16_X1_TLS_IE_HA, TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} + Add BFD_RELOC_TILEGX_{HW0, HW1, HW2, HW3, HW0_LAST, HW1_LAST, + HW2_LAST, COPY, GLOB_DAT, JMP_SLOT, RELATIVE, BROFF_X1, + JUMPOFF_X1, JUMPOFF_X1_PLT, IMM8_X0, IMM8_Y0, IMM8_X1, IMM8_Y1, + DEST_IMM8_X1, MT_IMM14_X1, MF_IMM14_X1, MMSTART_X0, MMEND_X0, + SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, IMM16_X0_HW0, + IMM16_X1_HW0, IMM16_X0_HW1, IMM16_X1_HW1, IMM16_X0_HW2, + IMM16_X1_HW2, IMM16_X0_HW3, IMM16_X1_HW3, IMM16_X0_HW0_LAST, + IMM16_X1_HW0_LAST, IMM16_X0_HW1_LAST, IMM16_X1_HW1_LAST, + IMM16_X0_HW2_LAST, IMM16_X1_HW2_LAST, IMM16_X0_HW0_PCREL, + IMM16_X1_HW0_PCREL, IMM16_X0_HW1_PCREL, IMM16_X1_HW1_PCREL, + IMM16_X0_HW2_PCREL, IMM16_X1_HW2_PCREL, IMM16_X0_HW3_PCREL, + IMM16_X1_HW3_PCREL, IMM16_X0_HW0_LAST_PCREL, + IMM16_X1_HW0_LAST_PCREL, IMM16_X0_HW1_LAST_PCREL, + IMM16_X1_HW1_LAST_PCREL, IMM16_X0_HW2_LAST_PCREL, + IMM16_X1_HW2_LAST_PCREL, IMM16_X0_HW0_GOT, IMM16_X1_HW0_GOT, + IMM16_X0_HW1_GOT, IMM16_X1_HW1_GOT, IMM16_X0_HW2_GOT, + IMM16_X1_HW2_GOT, IMM16_X0_HW3_GOT, IMM16_X1_HW3_GOT, + IMM16_X0_HW0_LAST_GOT, IMM16_X1_HW0_LAST_GOT, + IMM16_X0_HW1_LAST_GOT, IMM16_X1_HW1_LAST_GOT, + IMM16_X0_HW2_LAST_GOT, IMM16_X1_HW2_LAST_GOT, IMM16_X0_HW0_TLS_GD, + IMM16_X1_HW0_TLS_GD, IMM16_X0_HW1_TLS_GD, IMM16_X1_HW1_TLS_GD, + IMM16_X0_HW2_TLS_GD, IMM16_X1_HW2_TLS_GD, IMM16_X0_HW3_TLS_GD, + IMM16_X1_HW3_TLS_GD, IMM16_X0_HW0_LAST_TLS_GD, + IMM16_X1_HW0_LAST_TLS_GD, IMM16_X0_HW1_LAST_TLS_GD, + IMM16_X1_HW1_LAST_TLS_GD, IMM16_X0_HW2_LAST_TLS_GD, + IMM16_X1_HW2_LAST_TLS_GD, IMM16_X0_HW0_TLS_IE, + IMM16_X1_HW0_TLS_IE, IMM16_X0_HW1_TLS_IE, IMM16_X1_HW1_TLS_IE, + IMM16_X0_HW2_TLS_IE, IMM16_X1_HW2_TLS_IE, IMM16_X0_HW3_TLS_IE, + IMM16_X1_HW3_TLS_IE, IMM16_X0_HW0_LAST_TLS_IE, + IMM16_X1_HW0_LAST_TLS_IE, IMM16_X0_HW1_LAST_TLS_IE, + IMM16_X1_HW1_LAST_TLS_IE, IMM16_X0_HW2_LAST_TLS_IE, + IMM16_X1_HW2_LAST_TLS_IE, TLS_DTPMOD64, TLS_DTPOFF64, TLS_TPOFF64, + TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32} + * targets.c (bfd_elf32_tilegx_vec): Declare. + (bfd_elf32_tilepro_vec): Declare. + (bfd_elf64_tilegx_vec): Declare. + (bfd_target_vector): Add bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec, + and bfd_elf64_tilegx_vec. + * cpu-tilegx.c: New file. + * cpu-tilepro.c: New file. + * elf32-tilepro.h: New file. + * elf32-tilepro.c: New file. + * elf32-tilegx.c: New file. + * elf32-tilegx.h: New file. + * elf64-tilegx.c: New file. + * elf64-tilegx.h: New file. + * elfxx-tilegx.c: New file. + * elfxx-tilegx.h: New file. + +2011-06-13 Alan Modra + + * linker.c (bfd_link_hash_traverse): Follow warning symbol link. + (_bfd_generic_link_write_global_symbol, fix_syms): Don't handle + warning symbols here. + * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Likewise. + * elf32-arm.c (allocate_dynrelocs_for_symbol, + elf32_arm_readonly_dynrelocs): Likewise. + * elf32-bfin.c (bfin_discard_copies): Likewise. + * elf32-cris.c (elf_cris_adjust_gotplt_to_got, + elf_cris_discard_excess_dso_dynamics, + elf_cris_discard_excess_program_dynamics): Likewise. + * elf32-hppa.c (allocate_plt_static, allocate_dynrelocs, + clobber_millicode_symbols, readonly_dynrelocs): Likewise. + * elf32-i370.c (i370_elf_adjust_dynindx): Likewise. + * elf32-i386.c (elf_i386_allocate_dynrelocs, + elf_i386_readonly_dynrelocs): Likewise. + * elf32-lm32.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-m32c.c (m32c_relax_plt_check, m32c_relax_plt_realloc): Likewise. + * elf32-m32r.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-m68k.c (elf_m68k_discard_copies): Likewise. + * elf32-microblaze.c (allocate_dynrelocs): Likewise. + * elf32-ppc.c (allocate_dynrelocs, maybe_set_textrel): Likewise. + * elf32-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-score.c (score_elf_sort_hash_table_f): Likewise. + * elf32-score7.c (score_elf_sort_hash_table_f): Likewise. + * elf32-sh.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf32-tic6x.c (elf32_tic6x_allocate_dynrelocs, + elf32_tic6x_readonly_dynrelocs): Likewise. + * elf32-vax.c (elf_vax_discard_copies): Likewise. + * elf32-xstormy16.c (xstormy16_relax_plt_check, + xstormy16_relax_plt_realloc): Likewise. + * elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Likewise. + * elf64-alpha.c (elf64_alpha_output_extsym, + elf64_alpha_calc_got_offsets_for_symbol, + elf64_alpha_calc_dynrel_sizes, elf64_alpha_size_rela_got_1): Likewise. + * elf64-hppa.c (elf64_hppa_mark_exported_functions, + allocate_global_data_opd, elf64_hppa_mark_milli_and_exported_functions, + elf_hppa_unmark_useless_dynamic_symbols, + elf_hppa_remark_useless_dynamic_symbols): Likewise. + * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref, func_desc_adjust, + adjust_opd_syms, adjust_toc_syms, allocate_dynrelocs, + readonly_dynrelocs, merge_global_got, reallocate_got, + undo_symbol_twiddle): Likewise. + * elf64-s390.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * elf64-sh64.c (sh64_elf64_discard_copies): Likewise. + * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs, + elf_x86_64_readonly_dynrelocs): Likewise. + * elflink.c (elf_link_renumber_hash_table_dynsyms, + elf_link_renumber_local_hash_table_dynsyms, _bfd_elf_export_symbol, + _bfd_elf_link_find_version_dependencies, + _bfd_elf_link_assign_sym_version, _bfd_elf_adjust_dynamic_symbol, + _bfd_elf_link_sec_merge_syms, elf_adjust_dynstr_offsets, + elf_collect_hash_codes, elf_collect_gnu_hash_codes, + elf_renumber_gnu_hash_syms, elf_gc_sweep_symbol, + elf_gc_propagate_vtable_entries_used, + elf_gc_smash_unused_vtentry_relocs, bfd_elf_gc_mark_dynamic_ref_symbol, + elf_gc_allocate_got_offsets): Likewise. + * elfnn-ia64.c (elfNN_ia64_global_dyn_info_free, + elfNN_ia64_global_dyn_sym_thunk): Likewise. + * elfxx-mips.c (mips_elf_check_symbols, mips_elf_output_extsym, + mips_elf_sort_hash_table_f, allocate_dynrelocs): Likewise. + * elfxx-sparc.c (allocate_dynrelocs, readonly_dynrelocs): Likewise. + * i386linux.c (linux_tally_symbols): Likewise. + * m68klinux.c (linux_tally_symbols): Likewise. + * sparclinux.c (linux_tally_symbols): Likewise. + * sunos.c (sunos_scan_dynamic_symbol): Likewise. + * xcofflink.c (xcoff_post_gc_symbol): Likewise. + + * elflink.c (elf_link_output_extsym): Make it a bfd_hash_traverse + function. Update all callers. + * aoutx.h (aout_link_write_other_symbol): Likewise. + * pdp11.c (aout_link_write_other_symbol): Likewise. + * cofflink.c (_bfd_coff_write_global_sym): Likewise. + * ecoff.c (ecoff_link_write_external): Likewise. + * xcofflink.c (xcoff_write_global_symbol): Likewise. + * vms-alpha.c (alpha_vms_link_output_symbol): Likewise. Handle + warning symbols. + * ecoff.c (ecoff_link_hash_traverse): Delete. + * coff-ppc.c (ppc_bfd_coff_final_link): Use bfd_hash_traverse for + _bfd_coff_write_global_sym. + * libcoff-in.h (_bfd_coff_write_global_sym): Update prototype. + * libcoff.h: Regenerate. + 2011-06-10 Nick Clifton * elflink.c (_bfd_elf_link_create_dynamic_sections): If the diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 98772f0..90c0dd5 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -132,6 +132,8 @@ ALL_MACHINES = \ cpu-tic54x.lo \ cpu-tic6x.lo \ cpu-tic80.lo \ + cpu-tilegx.lo \ + cpu-tilepro.lo \ cpu-v850.lo \ cpu-vax.lo \ cpu-w65.lo \ @@ -204,6 +206,8 @@ ALL_MACHINES_CFILES = \ cpu-tic54x.c \ cpu-tic6x.c \ cpu-tic80.c \ + cpu-tilegx.c \ + cpu-tilepro.c \ cpu-v850.c \ cpu-vax.c \ cpu-w65.c \ @@ -319,6 +323,8 @@ BFD32_BACKENDS = \ elf32-sparc.lo \ elf32-spu.lo \ elf32-tic6x.lo \ + elf32-tilegx.lo \ + elf32-tilepro.lo \ elf32-v850.lo \ elf32-vax.lo \ elf32-xc16x.lo \ @@ -328,6 +334,7 @@ BFD32_BACKENDS = \ elflink.lo \ elfxx-mips.lo \ elfxx-sparc.lo \ + elfxx-tilegx.lo \ epoc-pe-arm.lo \ epoc-pei-arm.lo \ hp300bsd.lo \ @@ -500,6 +507,8 @@ BFD32_BACKENDS_CFILES = \ elf32-sparc.c \ elf32-spu.c \ elf32-tic6x.c \ + elf32-tilegx.c \ + elf32-tilepro.c \ elf32-v850.c \ elf32-vax.c \ elf32-xc16x.c \ @@ -509,6 +518,7 @@ BFD32_BACKENDS_CFILES = \ elflink.c \ elfxx-mips.c \ elfxx-sparc.c \ + elfxx-tilegx.c \ epoc-pe-arm.c \ epoc-pei-arm.c \ hp300bsd.c \ @@ -602,6 +612,7 @@ BFD64_BACKENDS = \ elf64-s390.lo \ elf64-sh64.lo \ elf64-sparc.lo \ + elf64-tilegx.lo \ elf64-x86-64.lo \ elf64.lo \ elfn32-mips.lo \ @@ -635,6 +646,7 @@ BFD64_BACKENDS_CFILES = \ elf64-s390.c \ elf64-sh64.c \ elf64-sparc.c \ + elf64-tilegx.c \ elf64-x86-64.c \ elf64.c \ elfn32-mips.c \ diff --git a/bfd/Makefile.in b/bfd/Makefile.in index eeb96d5..e2df7d2 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -431,6 +431,8 @@ ALL_MACHINES = \ cpu-tic54x.lo \ cpu-tic6x.lo \ cpu-tic80.lo \ + cpu-tilegx.lo \ + cpu-tilepro.lo \ cpu-v850.lo \ cpu-vax.lo \ cpu-w65.lo \ @@ -503,6 +505,8 @@ ALL_MACHINES_CFILES = \ cpu-tic54x.c \ cpu-tic6x.c \ cpu-tic80.c \ + cpu-tilegx.c \ + cpu-tilepro.c \ cpu-v850.c \ cpu-vax.c \ cpu-w65.c \ @@ -619,6 +623,8 @@ BFD32_BACKENDS = \ elf32-sparc.lo \ elf32-spu.lo \ elf32-tic6x.lo \ + elf32-tilegx.lo \ + elf32-tilepro.lo \ elf32-v850.lo \ elf32-vax.lo \ elf32-xc16x.lo \ @@ -628,6 +634,7 @@ BFD32_BACKENDS = \ elflink.lo \ elfxx-mips.lo \ elfxx-sparc.lo \ + elfxx-tilegx.lo \ epoc-pe-arm.lo \ epoc-pei-arm.lo \ hp300bsd.lo \ @@ -800,6 +807,8 @@ BFD32_BACKENDS_CFILES = \ elf32-sparc.c \ elf32-spu.c \ elf32-tic6x.c \ + elf32-tilegx.c \ + elf32-tilepro.c \ elf32-v850.c \ elf32-vax.c \ elf32-xc16x.c \ @@ -809,6 +818,7 @@ BFD32_BACKENDS_CFILES = \ elflink.c \ elfxx-mips.c \ elfxx-sparc.c \ + elfxx-tilegx.c \ epoc-pe-arm.c \ epoc-pei-arm.c \ hooks/post-receive -- Repository for Project Archer.