This is the mail archive of the
archer-commits@sourceware.org
mailing list for the Archer project.
[SCM] master: * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp, gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp, gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp, gdb.server/ext-run.exp, gdb.server/file-transfer.exp, gdb.server/server-mon.exp, gdb.server/server-run.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/deltrace.exp, gdb.trace/infotrace.exp, gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp, gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Use a unique name for the compiled executable.
- From: jkratoch at sourceware dot org
- To: archer-commits at sourceware dot org
- Date: 9 Jun 2009 21:44:28 -0000
- Subject: [SCM] master: * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp, gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp, gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp, gdb.server/ext-run.exp, gdb.server/file-transfer.exp, gdb.server/server-mon.exp, gdb.server/server-run.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/deltrace.exp, gdb.trace/infotrace.exp, gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp, gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Use a unique name for the compiled executable.
The branch, master has been updated
via 05bd28a1266bccb328641243751b99149a84d97f (commit)
via 565c9aa33e55e8e0e69ab465960933814e5962b2 (commit)
via 6d39bcf37f783e342726eed04d1ae3a40ad79df4 (commit)
via 4c31272dcf0f40289a1a3e9d16e5ee991153317a (commit)
via 372af84868fde99f15c4db8786b66e1778b698b6 (commit)
via 76503562fb1712ba45e5cc6d6c376ed86cccb1e9 (commit)
via c7cba6373f7692b9ffe4a7746c6ce95bbcf11d68 (commit)
via 8b15c70b94fa6212b80152f0de488e79bedad5d7 (commit)
via eae12918c2c6620a96b86f9a6612473dfbb6da33 (commit)
via 312fb671d5f76672f0a0a4c674064952843b5797 (commit)
via e83f4f0b6910c27e3d1e6c50dcc04ddd8f68e509 (commit)
via 685b55f764ce7b80bf4eef9e5f92218122453170 (commit)
via 7ee5d55b96c060075710bfdea08ce5d9d57a4d0b (commit)
via 074f3a486ea46e1d067453576539e040f985d604 (commit)
via bc01dce949f1ec4ce53ca670b683adaede5d1b87 (commit)
via b81319240b4a1a714084699e0535b25ae00f28ba (commit)
via 57f72d1723df488f34e9178341852938f301f3e9 (commit)
via bf27a1ec0e149e218c0a381c0b042a7656fd8497 (commit)
via 592c43f5653189b1ac108e487eb9e0042ebd2c0c (commit)
via b36e6aa11412cde83ded346d55e8bdd0f876ec7f (commit)
via 8a0f8bd77ef79343086cec51a87f7665227bf478 (commit)
via c737c68b548d9f779baff5d49d6513a996c9aa73 (commit)
via 6ce3aa262f3cc58533632996970bb30943dbafd1 (commit)
via bf675113da4a123fceca551e31386433a23512f6 (commit)
via eb2e2438ffe1232319d73657570d74726d7ce91b (commit)
via f489d277483737a05eb37cbfe6c922e57bdd5947 (commit)
via 74be40a6fe5885d05289bff6e40e69c33183dc4c (commit)
via 34aabb20445d257f995a7f978b12f555e59eb02e (commit)
via fde63f98995baeb7e99dd3dbf445d75479c26763 (commit)
via 34014599a92bf094a5a58f4d6b27ee159e006c93 (commit)
via 8ce94a1e94e57161644178e91284d20b4199c74a (commit)
via 51224dc570bfebdb7d1dc1c12a706758cf44d6b7 (commit)
via 5d56be8d948d513bb471495f9cc8057c66896740 (commit)
via 858d628d55bc64cadb0a47787e236aee7486f3b3 (commit)
via bc6adcd1f8cceed14e4b244c6796210d2905ce35 (commit)
via 4c7cbb0a2338dbd815667ce0a517c6a4e4a07065 (commit)
via a3c9ee0006fd9734f396c8753500aba05c2133a4 (commit)
via dd57c53d8f54ca0793696ee70482e4669b006308 (commit)
via 351ae25bf0052adb20a7fe51baac6d615abb0068 (commit)
via 9fddf096a5c4873cb46f48bb621ebe66b96d1843 (commit)
via ad80246e559bf16a5d1d30ac8fb3b1978f033f9c (commit)
via 27a0a2c5bd6bdef0bf5bb53d98d0ea6d2f0696c7 (commit)
via 32d7e7fbdc648fcf81cb0f484070344b5e78d223 (commit)
via a23ef5405428e7fe07b4c01ffb1b33000cfacf09 (commit)
via bf4cd77781349b1968616919a12e96b7c74158e8 (commit)
via 77a91124678352c6cd265a189d9e4e9d9323ed8c (commit)
via bc5284cc19ee108242a81b378fcdec6a7691170a (commit)
via 0f12dbcf00ef0b056552f3d30cdfd4663b864cfc (commit)
via 2a8342d67bd977626f44b23a77b46b8293db37d0 (commit)
via 9b78a3616c3ee29f31bfb7daa8d31b4413656dce (commit)
via ea4154c95adef19e78ebaf863fe13dc70636c5cc (commit)
via f68839aaf768188364094f818573495522e66260 (commit)
via e54933a8ab019fbfbd7c7dd6535edad07e25317c (commit)
via 168706ddf9cdf51463ca7e94065d0d1d9f49253b (commit)
via d4c3859e9db37c08cbbf8a007aaf5acaac0848d7 (commit)
via 8306ebb06129191e761824190d242dea45bc4be8 (commit)
via 3cc052ca78860cd389acd5bc814bc0c3bfa578fd (commit)
via 01fd408740e4fe1df642d1536272295d2ca3c833 (commit)
via 048afcd4b95a23ea0ac1cc1df4559860e297796d (commit)
via 60413c457f4d4b381843d6a89c6be865f2cf990d (commit)
via 954a9ab9b93b7607291994bc8f1edd249abd5cf8 (commit)
via 3e71f11fa7b4f4807dfbacb341acc533d12cf5bc (commit)
via 5166d8949e0d58843dffea14b569a27452139cf1 (commit)
via ad1d71b4c2c22c9ade23c661081878f797a86e6f (commit)
via 47211f4a31ff3189bdfc7f4d2deaf6af5c10acc3 (commit)
via 845223f98bd0213365a9de0f352065a6a4b00027 (commit)
via 9f389f7f1218f394e9c8040d204b8a8b5815d013 (commit)
via d0841a7a0349a41128ca895bc04ad346a13883f9 (commit)
via 8fea4e1c2debf5f2602f96de502f35662c73e182 (commit)
via e2b12342b77073638798f3d51f160fa44eacda04 (commit)
via 8bbd6636b6945f701870d267c76f19cd27056831 (commit)
via 69203a1a77818f59613d2e3b17c829924418a9fa (commit)
via 8d4cbb4579424356215c550a5a49644fc6818a9c (commit)
via 77a26251319202d42eb4ddb4604c707ad2ffa179 (commit)
via a3a214309d65d485294811c2b73c8d29a1f95919 (commit)
via 3c9eb299025292769a09d9868c17ac621d232602 (commit)
via 53ad60e6dd9c7ad33571f8db1558729ebb04aab5 (commit)
via 2ec3d727a7305d1dbb28f1fee1ef02450ee82845 (commit)
from 6959c5dd85756c341bf41599a3442c9e18d78746 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 05bd28a1266bccb328641243751b99149a84d97f
Author: Daniel Jacobowitz <dan@debian.org>
Date: Tue Jun 9 17:12:42 2009 +0000
* gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
gdb.server/server-mon.exp, gdb.server/server-run.exp,
gdb.trace/actions.exp, gdb.trace/backtrace.exp,
gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
gdb.trace/while-stepping.exp: Use a unique name for the compiled
executable.
commit 565c9aa33e55e8e0e69ab465960933814e5962b2
Author: Tristan Gingold <gingold@adacore.com>
Date: Tue Jun 9 07:37:18 2009 +0000
2009-06-09 Tristan Gingold <gingold@adacore.com>
* mach-o.h (bfd_mach_o_symtab_command): Remove stabs_segment
and stabstr_segment fields.
(mach_o_be_vec, mach_o_le_vec): Removed
(bfd_mach_o_version): New prototype.
* mach-o.c (bfd_mach_o_version): Make this function public.
(mach_o_wide_p): New function.
(bfd_mach_o_wide_p): Ditto.
(bfd_mach_o_convert_section_name_to_bfd): Add prefix only for
weird names.
(bfd_mach_o_convert_section_name_to_mach_o): Fix typo in comment.
Search in the list only if the name starts with a dot.
(bfd_mach_o_write_header): Use mach_o_wide_p instead of hard-coded
test. Check bfd_seek status.
(bfd_mach_o_scan_write_thread): Check bfd_seek status.
(bfd_mach_o_scan_write_section_32): Ditto.
(bfd_mach_o_scan_write_section_64): Ditto.
(bfd_mach_o_scan_write_section): Removed.
(bfd_mach_o_scan_write_segment): Split into ...
(bfd_mach_o_scan_write_segment_32): ... this and ...
(bfd_mach_o_scan_write_segment_64): ... this. Check bfd_seek status.
(bfd_mach_o_scan_write_symtab_symbols): Moved into ...
(bfd_mach_o_scan_write_symtab): ... this. Write symtab from BFD
symbol table. Now returns a boolean.
(bfd_mach_o_write_contents): Set filetype. Check bfd_seek status.
Adjust for status type.
(bfd_mach_o_build_commands): Use mach_o_wide_p instead of hard-coded
test. Write symbol table. Numbers the sections.
(bfd_mach_o_read_header): Check bfd_seek status.
Use mach_o_wide_p instead of hard-coded test.
(bfd_mach_o_scan_read_section_32): Check bfd_seek status.
(bfd_mach_o_scan_read_section_64): Ditto.
(bfd_mach_o_scan_read_symtab_symbol): Ditto. Check bfd_seek status.
Use BFD_MACH_O_N_TYPE instead of hard-coded value. Correctly
handled common symbols.
(bfd_mach_o_scan_read_symtab_strtab): Check bfd_seek status.
(bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
(bfd_mach_o_scan_read_dylinker): Ditto.
(bfd_mach_o_scan_read_dylib): Ditto.
(bfd_mach_o_scan_read_thread): Ditto.
(bfd_mach_o_scan_read_symtab): Ditto.
Do not create a section for the stabs.
(bfd_mach_o_scan_read_uuid): Check bfd_seek status.
(bfd_mach_o_scan_read_segment): Ditto.
(bfd_mach_o_scan_read_command): Ditto.
(bfd_mach_o_scan_start_address): Ditto.
(bfd_mach_o_scan): Use mach_o_wide_p instead of hard-coded test.
(bfd_mach_o_archive_p): Check bfd_seek status.
(bfd_mach_o_core_fetch_environment): Ditto.
* mach-o-i386.c (bfd_mach_o_i386_mkobject): Don't set filetype.
commit 6d39bcf37f783e342726eed04d1ae3a40ad79df4
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue Jun 9 00:00:33 2009 +0000
*** empty log message ***
commit 4c31272dcf0f40289a1a3e9d16e5ee991153317a
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Jun 9 00:00:05 2009 +0000
daily update
commit 372af84868fde99f15c4db8786b66e1778b698b6
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Mon Jun 8 16:05:12 2009 +0000
* breakpoint.c (_initialize_breakpoint): Remove "bu" command alias of
"ubreak" command that does not exist.
commit 76503562fb1712ba45e5cc6d6c376ed86cccb1e9
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Mon Jun 8 15:45:33 2009 +0000
* cli/cli-decode.c (add_alias_cmd): Correct assertion.
commit c7cba6373f7692b9ffe4a7746c6ce95bbcf11d68
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Jun 8 00:00:04 2009 +0000
daily update
commit 8b15c70b94fa6212b80152f0de488e79bedad5d7
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Jun 8 00:00:03 2009 +0000
*** empty log message ***
commit eae12918c2c6620a96b86f9a6612473dfbb6da33
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 22:52:44 2009 +0000
* hppa-tdep.c (_initialize_hppa_tdep): Add declaration.
commit 312fb671d5f76672f0a0a4c674064952843b5797
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 22:33:24 2009 +0000
2009-06-07 Pedro Alves <pedro@codesourcery.com>
* procfs.h: New.
* proc-utils.h (procfs_first_available): Don't declare here.
* sol-thread.c: Include procfs.h instead of sys/procfs.h and
proc-utils.h.
* procfs.c: Include procfs.h.
(procfs_target): Make it public. Don't register
procfs_can_use_hw_breakpoint here.
(proc_set_watchpoint): Check for PCWATCH or PIOCSWATCH being
defined instead of TARGET_HAS_HARDWARE_WATCHPOINTS.
(procfs_can_use_hw_breakpoint): Remove check of
TARGET_HAS_HARDWARE_WATCHPOINTS.
(procfs_use_watchpoints): Register procfs_can_use_hw_breakpoint
here.
(_initialize_procfs): Don't add the procfs target here.
* i386-sol2-nat.c: Include target.h and procfs.h.
(_initialize_amd64_sol2_nat): Install the procfs target here,
customized with watchpoints support.
* irix5-nat.c: Include target.h.
(_initialize_core_irix5): Rename to ...
(_initialize_irix5_nat): ... this. Install the procfs target
here, customized with watchpoints support.
* alpha-nat.c: Include procfs.h.
(_initialize_core_alpha): Rename to...
(_initialize_alpha_nat): ... this. Install the procfs target
here, customized with watchpoints support.
* sparc-sol2-nat.c: Include target.h and procfs.h.
(_initialize_sparc_sol2_nat): New.
* config/i386/nm-i386sol2.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* config/sparc/nm-sol2.h (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete.
* config/mips/irix5.mh (NAT_FILE): Delete.
* config/mips/irix6.mh (NAT_FILE): Delete.
* config/mips/nm-irix5.h: Delete.
2009-06-07 Pedro Alves <pedro@codesourcery.com>
* gdbint.texinfo (TARGET_HAS_HARDWARE_WATCHPOINTS): Delete all
references.
commit e83f4f0b6910c27e3d1e6c50dcc04ddd8f68e509
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 19:50:51 2009 +0000
* gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
defined before referencing it.
commit 685b55f764ce7b80bf4eef9e5f92218122453170
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 19:07:08 2009 +0000
* auxv.c (procfs_xfer_auxv): Change type of the `object' argument
to enum target_object. Cleanup comments.
* auxv.h: Include "target.h". Cleanup comments to not mention
NATIVE_XFER_AUXV anymore.
commit 7ee5d55b96c060075710bfdea08ce5d9d57a4d0b
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 18:41:40 2009 +0000
* inferior.h (procfs_first_available): Move declaration to...
* proc-utils.h: ... here.
* sol-thread.c: Include procfs.h and proc-utils.h.
commit 074f3a486ea46e1d067453576539e040f985d604
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 17:58:24 2009 +0000
* inferior.h (proc_iterate_over_mappings): Delete declaration.
* nto-tdep.h (proc_iterate_over_mappings): Delete declaration.
* procfs.c (proc_iterate_over_mappings): Delete.
commit bc01dce949f1ec4ce53ca670b683adaede5d1b87
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 16:46:48 2009 +0000
* target.h (struct target_ops): Make to_has_all_memory,
to_has_memory, to_has_stack, to_has_registers and to_has_execution
methods instead of variables.
(target_has_all_memory_1, target_has_memory_1, target_has_stack_1)
(target_has_registers_1, target_has_execution_1): Declare
functions.
(target_has_all_memory): Rewrite to call target_has_all_memory_1.
(target_has_memory): Rewrite to call target_has_memory_1.
(target_has_stack): Rewrite to call target_has_all_stack_1.
(target_has_registers): Rewrite to call target_has_registers_1.
(target_has_execution): Rewrite to call target_has_execution_1.
(default_child_has_all_memory, default_child_has_memory)
(default_child_has_stack, default_child_has_registers)
(default_child_has_execution): Declare.
(target_mark_running, target_mark_exited): Delete declarations.
* target.c (default_child_has_all_memory,
default_child_has_memory, default_child_has_stack,
default_child_has_registers, default_child_has_execution): New.
(target_has_all_memory_1, target_has_memory_1, target_has_stack_1,
target_has_registers_1, target_has_execution_1): New.
(add_target): Default the to_has_all_memory, to_has_all_memory,
to_has_memory, to_has_stack, to_has_registers and to_has_execution
callbacks to return 0.
(update_current_target): Do not inherit to_has_all_memory,
to_has_memory, to_has_stack, to_has_registers or to_has_execution.
(target_mark_running, target_mark_exited): Delete.
(memory_xfer_partial): Adjust.
(target_read_memory, target_write_memory, target_search_memory):
Dispatch to the the top-most target, not the flattened
current_target.
(target_info): Adjust.
(init_dummy_target): Install return_zero as callback for
to_has_all_memory, to_has_memory, to_has_stack, to_has_registers,
to_has_execution.
(set_maintenance_target_async_permitted): Use have_live_inferiors
instead of target_has_execution.
* target-memory.c (target_write_memory_blocks): Dispatch memory
writes to the the top-most target, not the flattened
current_target.
* breakpoint.c (insert_breakpoints): Don't check for
target_has_execution here.
(update_global_location_list): Check if there are live inferiors
to debug instead of target_has_execution.
* infcmd.c (kill_command, detach_command): Check if there are
inferiors instead of target_has_execution.
* inferior.h (have_live_inferiors): Declare.
* inferior.c (have_live_inferiors): New.
* infrun.c (normal_stop): Don't check for target_has_execution to
finish the thread states.
* thread.c (is_thread_state, is_stopped, is_exited, is_running)
(any_running, is_executing): Remove checks for
target_has_execution.
* top.c (kill_or_detach): Don't try to kill core inferiors.
(quit_target): Don't check for target_has_execution.
* corelow.c (core_has_memory, core_has_stack, core_has_registers):
New.
(init_core_ops): Install core_has_memory, core_has_stack and
core_has_registers.
* exec.c (exec_has_memory): New.
(init_exec_ops): Install exec_has_memory.
* remote.c (remote_add_inferior): Don't call target_mark_running.
(remote_start_remote): Don't call target_mark_exited or call
target_mark_running.
(remote_open_1): Use have_inferiors instead of
target_has_execution. Don't use target_mark_exited.
(init_remote_ops): Install deafult_child_has_all_memory,
default_child_has_memory, default_child_has_stack,
default_child_has_registers, default_child_has_execution.
* bsd-kvm.c (bsd_kvm_return_one): New.
(bsd_kvm_add_target): Register bsd_kvm_return_one as
to_has_memory, to_has_stack and to_has_registers callbacks.
* remote-m32r-sdi.c (m32r_return_one): New.
(init_m32r_ops): Register it.
* inf-child.c (inf_child_target): Adjust to register
default_child_has_all_memory, default_child_has_memory,
default_child_has_stack, default_child_has_registers,
default_child_has_execution callbacks.
* gnu-nat.c (init_gnu_ops): Likewise.
* go32-nat.c (init_go32_ops): Likewise.
* hpux-thread.c (init_hpux_thread_ops): Likewise.
* monitor.c (init_base_monitor_ops): Likewise.
* nto-procfs.c (init_procfs_ops): Likewise.
* remote-mips.c (_initialize_remote_mips): Likewise.
* windows-nat.c (init_windows_ops): Likewise.
* remote-sim.c (gdbsim_create_inferior): Don't use
target_mark_running or target_mark_exited.
(gdbsim_mourn_inferior): Don't call target_mark_exited.
(init_gdbsim_ops): Adjust to register
default_child_has_all_memory, default_child_has_memory,
default_child_has_stack, default_child_has_registers,
default_child_has_execution callbacks.
* linux-nat.c (linux_nat_xfer_partial): If reading memory, and
there's no inferior selected, defer to a lower stratum.
commit b81319240b4a1a714084699e0535b25ae00f28ba
Author: Pedro Alves <pedro@codesourcery.com>
Date: Sun Jun 7 16:09:28 2009 +0000
Tiny formatting fix.
commit 57f72d1723df488f34e9178341852938f301f3e9
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Jun 7 00:00:34 2009 +0000
*** empty log message ***
commit bf27a1ec0e149e218c0a381c0b042a7656fd8497
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Jun 7 00:00:08 2009 +0000
daily update
commit 592c43f5653189b1ac108e487eb9e0042ebd2c0c
Author: H.J. Lu <hjl@lucon.org>
Date: Sat Jun 6 22:39:24 2009 +0000
bfd/
2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_link_hash_table): Add irelifunc.
(elf_i386_link_hash_table_create): Initialize irelifunc.
(elf_i386_check_relocs): Updated. Set up irelifunc for
shared objects.
(elf_i386_allocate_dynrelocs): Use irelifunc for dynamic
relocation for non-GOT reference of STT_GNU_IFUNC symbol in
shared objects.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_link_hash_table): Add irelifunc.
(elf64_x86_64_link_hash_table_create): Initialize irelifunc.
(elf64_x86_64_check_relocs): Updated. Set up irelifunc for
shared objects.
(elf64_x86_64_allocate_dynrelocs): Use irelifunc for dynamic
relocation for non-GOT reference of STT_GNU_IFUNC symbol in
shared objects.
(elf64_x86_64_relocate_section): Likewise.
* elf-bfd.h (_bfd_elf_create_static_ifunc_sections): Renamed to
...
(_bfd_elf_create_ifunc_sections): This.
* elflink.c (_bfd_elf_create_static_ifunc_sections): Renamd to
...
(_bfd_elf_create_ifunc_sections): This. Create .rel[a].ifunc
for shared objects.
ld/
2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
commit b36e6aa11412cde83ded346d55e8bdd0f876ec7f
Author: Anthony Green <green@redhat.com>
Date: Sat Jun 6 13:02:21 2009 +0000
Print moxie addresses nicely.
commit 8a0f8bd77ef79343086cec51a87f7665227bf478
Author: H.J. Lu <hjl@lucon.org>
Date: Sat Jun 6 11:48:11 2009 +0000
2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Make room for dynamic
relocation for R_386_32 against STT_GNU_IFUNC symbol when
building shared object. Check info->executable instead of
!info->shared when setting non_got_ref.
(elf_i386_allocate_dynrelocs): Allocate dynamic relocation
for non-GOT reference of STT_GNU_IFUNC symbol in shared
object. Allocate GOT relocation agsinst STT_GNU_IFUNC
symbol if needed.
(elf_i386_relocate_section): Output dynamic relocation for
R_386_32 against STT_GNU_IFUNC symbol to get the real
function address when building shared object.
(elf_i386_finish_dynamic_symbol): Output R_386_GLOB_DAT
relocation for STT_GNU_IFUNC symbol in shared object.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Make room for
dynamic relocation for R_X86_64_64 against STT_GNU_IFUNC
symbol when building shared object. Check info->executable
instead of !info->shared when setting non_got_ref.
(elf64_x86_64_allocate_dynrelocs): Allocate dynamic relocation
for non-GOT reference of STT_GNU_IFUNC symbol in shared
library. Allocate GOT relocation agsinst STT_GNU_IFUNC symbol
if needed.
(elf64_x86_64_relocate_section): Output dynamic relocation
for R_X86_64_64 against STT_GNU_IFUNC symbol to get the real
function address when building shared object.
(elf64_x86_64_finish_dynamic_symbol): Output R_X86_64_GLOB_DAT
relocation for STT_GNU_IFUNC symbol in shared object.
commit c737c68b548d9f779baff5d49d6513a996c9aa73
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Jun 6 07:48:02 2009 +0000
bfd/
* Makefile.am: Run "make dep-am".
(BFD32_BACKENDS): Add mach-o-i386.lo.
(BFD32_BACKENDS_CFILES): Add mach-o-i386.c.
* Makefile.in: Regenerate.
commit 6ce3aa262f3cc58533632996970bb30943dbafd1
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Jun 6 06:36:52 2009 +0000
* elf32-spu.c (spu_elf_relocate_section): Match overlay number
when looking for soft-icache stubs.
commit bf675113da4a123fceca551e31386433a23512f6
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat Jun 6 00:00:33 2009 +0000
*** empty log message ***
commit eb2e2438ffe1232319d73657570d74726d7ce91b
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Jun 6 00:00:05 2009 +0000
daily update
commit f489d277483737a05eb37cbfe6c922e57bdd5947
Author: Tom Tromey <tromey@redhat.com>
Date: Fri Jun 5 19:43:01 2009 +0000
* varobj.c (update_dynamic_varobj_children): Wrap error text in
_().
(install_visualizer): Likewise.
(varobj_set_visualizer): Likewise.
commit 74be40a6fe5885d05289bff6e40e69c33183dc4c
Author: Vladimir Prus <vladimir@codesourcery.com>
Date: Fri Jun 5 18:34:21 2009 +0000
* mi/mi-main.c (mi_cmd_exec_continue)
(mi_cmd_exec_interrupt): Adjust parsing of thread group
ids to current reality, where they don't have any 'p' prefix.
commit 34aabb20445d257f995a7f978b12f555e59eb02e
Author: Aleksandar Ristovski <aristovski@qnx.com>
Date: Fri Jun 5 18:08:52 2009 +0000
* corelow.c (core_open): Check for core_gdbarch before calling
gdbarch_target_signal_from_host.
commit fde63f98995baeb7e99dd3dbf445d75479c26763
Author: Tom Tromey <tromey@redhat.com>
Date: Fri Jun 5 17:18:37 2009 +0000
* c-exp.y (parse_number): Don't use K&R definition.
(yylex): Likewise.
(yyerror): Likewise.
commit 34014599a92bf094a5a58f4d6b27ee159e006c93
Author: Tristan Gingold <gingold@adacore.com>
Date: Fri Jun 5 09:19:44 2009 +0000
2009-06-05 Tristan Gingold <gingold@adacore.com>
* mach-o.h: Update copyright year.
(bfd_mach_o_mach_header_magic): New enum.
(bfd_mach_o_cpu_subtype): Now an enum.
(BFD_MACH_O_HEADER_SIZE, BFD_MACH_O_HEADER_64_SIZE): New macros.
(BFD_MACH_O_SECTION_SIZE, BFD_MACH_O_SECTION_64_SIZE): Ditto.
(BFD_MACH_O_LC_SEGMENT_SIZE, BFD_MACH_O_LC_SEGMENT_64_SIZE): Ditto.
(bfd_mach_o_load_command): Field type_required is now a boolean.
Reindent prototypes.
(bfd_mach_o_object_p, bfd_mach_o_core_p): Remove.
(bfd_mach_o_bfd_copy_private_symbol_data): Add a prototype.
(bfd_mach_o_bfd_copy_private_section_data): Ditto.
(bfd_mach_o_bfd_copy_private_bfd_data): Ditto.
(bfd_mach_o_get_symtab_upper_bound): Ditto.
(bfd_mach_o_canonicalize_symtab): Ditto.
(bfd_mach_o_get_symbol_info): Ditto.
(bfd_mach_o_print_symbol): Ditto.
(bfd_mach_o_bfd_print_private_bfd_data): Ditto.
(bfd_mach_o_make_empty_symbol): Ditto.
(bfd_mach_o_write_contents): Ditto.
* mach-o.c (bfd_mach_o_object_p, bfd_mach_o_core_p,
bfd_mach_o_mkobject): Defines.
(bfd_mach_o_valid): Returns FALSE/TRUE instead of 0/1.
Do not check with target vector but with flavour.
(struct mach_o_section_name_xlat): New declaration.
(dwarf_section_names_xlat): Ditto.
(text_section_names_xlat): Ditto.
(data_section_names_xlat): Ditto.
(struct mach_o_segment_name_xlat): Ditto.
(segsec_names_xlat): Ditto.
(bfd_mach_o_convert_section_name_to_bfd): New function.
(bfd_mach_o_convert_section_name_to_mach_o): Ditto.
(bfd_mach_o_bfd_copy_private_symbol_data): Make it public.
(bfd_mach_o_bfd_copy_private_section_data): Ditto.
(bfd_mach_o_bfd_copy_private_bfd_data): Ditto.
Accept any input and output flavour. Do not share private data
anymore.
(bfd_mach_o_count_symbols): Add a comment.
(bfd_mach_o_get_symtab_upper_bound): Make it public.
(bfd_mach_o_canonicalize_symtab): Ditto.
(bfd_mach_o_get_symbol_info): Ditto.
(bfd_mach_o_print_symbol): Ditto.
(bfd_mach_o_write_header): Now returns a boolean instead of an int.
Use constants instead of hard-coded values.
(bfd_mach_o_scan_write_section_32): Use constants instead of hard-coded
values.
(bfd_mach_o_scan_write_section_64): Ditto.
(bfd_mach_o_scan_write_segment): Ditto.
Do not copy sections anymore.
(bfd_mach_o_write_contents): Make it public.
Remove dead code. Rewrite typeflag assignment.
(bfd_mach_o_build_commands): New function.
(bfd_mach_o_set_section_contents): Ditto.
(bfd_mach_o_make_empty_symbol): Make it public.
(bfd_mach_o_read_header): Make it static.
Convert to bfd_boolean.
Use constants instead of hard-coded values.
(bfd_mach_o_make_bfd_section): Call
bfd_mach_o_convert_section_name_to_bfd to create name.
(bfd_mach_o_scan_read_section_32): Use constants instead of hard-coded
values.
(bfd_mach_o_scan_read_section_64): Ditto.
(bfd_mach_o_scan_read_segment): Do not create a bfd section for
a segment anymore. Use constants instead of hard-coded values.
(bfd_mach_o_scan_read_command): Fix style.
(bfd_mach_o_scan): Use constants instead of hard-coded values.
Get rid of BFD_IO_FUNCS.
(bfd_mach_o_mkobject_init): Renamed from bfd_mach_o_mkobject.
(bfd_mach_o_header_p): Created from bfd_mach_o_object_p.
(bfd_mach_o_gen_object_p): New function, replaces bfd_mach_o_object_p.
(bfd_mach_o_object_p): Removed.
(bfd_mach_o_gen_core_p): New function, replaces ...
(bfd_mach_o_core_p): ... deleted.
(bfd_mach_o_bfd_print_private_bfd_data): Make it public.
* mach-o-i386.c: New file.
* config.bfd: Use mach_o_i386_vec as targ_defvec for ix86-darwin.
* configure.in (TDEFINES): Add mach_o_i386_vec.
* configure: Regenerated.
* targets.c: Add mach_o_i386_vec.
* mach-o.c: Update copyright years.
(BFD_IO_FUNCS): Remove (was not used).
(bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr, bfd_mach_o_slurp_armap
bfd_mach_o_slurp_extended_name_table,
bfd_mach_o_construct_extended_name_table,
bfd_mach_o_truncate_arname, bfd_mach_o_write_armap,
bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt,
bfd_mach_o_update_armap_timestamp, bfd_mach_o_close_and_cleanup,
bfd_mach_o_bfd_free_cached_info, bfd_mach_o_new_section_hook,
bfd_mach_o_get_section_contents_in_window,
bfd_mach_o_bfd_is_local_label_name,
bfd_mach_o_bfd_is_target_special_symbol,
bfd_mach_o_bfd_is_local_label_name, bfd_mach_o_get_lineno,
bfd_mach_o_find_nearest_line, bfd_mach_o_find_inliner_info,
bfd_mach_o_bfd_make_debug_symbol, bfd_mach_o_read_minisymbols,
bfd_mach_o_minisymbol_to_symbol,
bfd_mach_o_bfd_get_relocated_section_contents,
bfd_mach_o_bfd_relax_section, bfd_mach_o_bfd_link_hash_table_create,
bfd_mach_o_bfd_link_hash_table_free, bfd_mach_o_bfd_link_add_symbols,
bfd_mach_o_bfd_link_just_syms, bfd_mach_o_bfd_final_link,
bfd_mach_o_bfd_link_split_section, bfd_mach_o_set_arch_mach,
bfd_mach_o_bfd_merge_private_bfd_data,
bfd_mach_o_bfd_set_private_flags, bfd_mach_o_get_section_contents,
bfd_mach_o_bfd_gc_sections, bfd_mach_o_bfd_merge_sections,
bfd_mach_o_bfd_is_group_section, bfd_mach_o_bfd_discard_group,
bfd_mach_o_section_already_linked, bfd_mach_o_bfd_define_common_symbol,
bfd_mach_o_bfd_copy_private_header_data,
bfd_mach_o_core_file_matches_executable_p): Move these defines ...
* mach-o-target.c: ... here.
Update copyright years.
commit 8ce94a1e94e57161644178e91284d20b4199c74a
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Jun 5 00:00:05 2009 +0000
daily update
commit 51224dc570bfebdb7d1dc1c12a706758cf44d6b7
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri Jun 5 00:00:03 2009 +0000
*** empty log message ***
commit 5d56be8d948d513bb471495f9cc8057c66896740
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Jun 4 21:56:22 2009 +0000
gdb/
* varobj.c (varobj_update): Fix out of scope varobjs to not to change.
commit 858d628d55bc64cadb0a47787e236aee7486f3b3
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Thu Jun 4 15:15:48 2009 +0000
* gdbint.texinfo: Rename formal parameters to gdbarch function
protoypes from "current_gdbarch" to "gdbarch".
commit bc6adcd1f8cceed14e4b244c6796210d2905ce35
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Thu Jun 4 12:28:38 2009 +0000
* symtab.h: Rename SYMBOL_OPS to SYMBOL_COMPUTED_OPS.
* ax-gdb.c (gen_var_ref): Likewise.
* findvar.c (read_var_value, symbol_read_needs_frame): Likewise.
* printcmd.c (address_info): Likewise.
* dwarf2loc.c (dwarf_expr_frame_base): Likewise.
* dwarf2read.c (dwarf2_symbol_mark_computed): Likewise.
* symtab.h: Rename struct symbol_ops to struct symbol_computed_ops.
* dwarf2loc.h: Likewise.
* dwarf2loc.c (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Likewise.
* symtab.h: (struct symbol_register_ops): New struct definition.
(struct symbol): Make "ops" member a union of symbol_computed_ops and
symbol_register_ops callback pointers.
(SYMBOL_REGISTER_OPS): New macro.
* tracepoint.c: Include "objfiles.h".
(scope_info, collect_symbol): Use SYMBOL_REGISTER_OPS register_number
callback to retrieve register numbers.
* ax-gdb.c (gen_var_ref): Likewise.
* findvar.c (read_var_value): Likewise.
* printcmd.c (address_info): Likewise.
* coffread.c (coff_reg_to_regnum): New function.
(coff_register_funcs): New static variable.
(process_coff_symbol): Do not call gdbarch_sdb_reg_to_regnum.
Install SYMBOL_REGISTER_OPS callbacks.
* mdebugread.c (mdebug_reg_to_regnum): New function.
(mdebug_register_funcs): New static variable.
(parse_symbol): Do not call gdbarch_ecoff_reg_to_regnum.
Install SYMBOL_REGISTER_OPS callbacks.
* stabsread.c (stab_reg_to_regnum): New function.
(stab_register_funcs): New static variable.
(define_symbol): Do not call gdbarch_stab_reg_to_regnum.
Install SYMBOL_REGISTER_OPS callbacks.
commit 4c7cbb0a2338dbd815667ce0a517c6a4e4a07065
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Jun 4 06:56:41 2009 +0000
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq.
* Makefile.in: Regenerate.
commit a3c9ee0006fd9734f396c8753500aba05c2133a4
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Jun 4 06:51:11 2009 +0000
* dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq.
Run "make dep-am".
* Makefile.in: Regenerate.
commit dd57c53d8f54ca0793696ee70482e4669b006308
Author: Doug Evans <dje@google.com>
Date: Thu Jun 4 00:50:16 2009 +0000
* symfile.c (reread_symbols): Reset psymtabs_addrmap to NULL
after discarding its contents.
commit 351ae25bf0052adb20a7fe51baac6d615abb0068
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Thu Jun 4 00:00:33 2009 +0000
*** empty log message ***
commit 9fddf096a5c4873cb46f48bb621ebe66b96d1843
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Jun 4 00:00:04 2009 +0000
daily update
commit ad80246e559bf16a5d1d30ac8fb3b1978f033f9c
Author: DJ Delorie <dj@delorie.com>
Date: Wed Jun 3 21:02:16 2009 +0000
merge from gcc
commit 27a0a2c5bd6bdef0bf5bb53d98d0ea6d2f0696c7
Author: Pedro Alves <pedro@codesourcery.com>
Date: Wed Jun 3 18:50:36 2009 +0000
* target.c: Include "exec.h".
(update_current_target): Don't inherit to_sections or
to_sections_end.
(target_get_section_table): New.
(target_section_by_addr): Fetch the section table from the passed
in target.
(memory_xfer_partial): Handle unmapped overlay sections before
anything else. Get the overlay mapped address here. Adjust to
use section_table_xfer_memory_partial.
(get_target_memory): Request a TARGET_OBJECT_RAW_MEMORY object
instead of TARGET_OBJECT_MEMORY.
(target_resize_to_sections): Delete.
(remove_target_sections): Adjust to remove target sections from
`current_target_sections', and use resize_section_table.
* target.h (struct target_ops) <to_sections, to_sections_end>:
Remove fields.
<to_get_section_table>: New method.
(xfer_memory, print_section_info): Delete declarations.
(struct target_section_table): New type.
(target_get_section_table): Declare.
(target_resize_to_sections): Delete declaration.
(remove_target_sections): Delete declaration.
* bfd-target.c (target_bfd_xfer_partial): Get the section table
from to_data.
(target_bfd_get_section_table): New.
(target_bfd_xclose): Adjust.
(target_bfd_reopen): Store the section table in the to_data field.
* corelow.c (core_data): New.
(core_close): Adjust to release core_data and its sections.
(core_open): Allocate core_data, and build its target sections
table.
(deprecated_core_resize_section_table): New.
(core_files_info): Pass core_data to print_section_info.
(core_xfer_partial): Adjust to use
section_table_xfer_memory_partial for TARGET_OBJECT_MEMORY xfers.
(init_core_ops): Do not install a deprecated_xfer_memory callback
anymore.
* solib.c (update_solib_list): Add the shared library sections
to the current target sections table.
* exec.c (current_target_sections_1): New global.
(current_target_sections): New global.
(exec_close_1): New function, refactored from exec_close. Remove
the exec_bfd's sections from the current target sections table.
Adjust to not use to_sections.
(exec_close): Remove all target sections. Call exec_close_1.
(exec_file_clear): Use exec_close_1 instead of unpushing the
target.
(exec_file_attach): Likewise. Adjust to not use to_sections. Add
exec_bfd's sections to the current target sections table. Don't
push the exec_ops target here.
(resize_section_table): New.
(add_target_sections): New.
(remove_target_sections): Moved here.
(section_table_xfer_memory): Adjust to implement the xfer_partial
interface, and rename to...
(section_table_xfer_memory_partial): ... this, replacing the
current function of that same name.
(exec_get_section_table): New.
(exec_xfer_partial): New.
(xfer_memory): Delete.
(print_section_info): Replace the target_ops parameter by a
target_section_table parameter.
(exec_files_info, set_section_command, exec_set_section_address):
Adjust to use the current sections table.
(init_exec_ops): Do not register a deprecated_xfer_memory
callback. Register to_xfer_partial and to_get_section_table
callbacks.
* infrun.c (handle_inferior_event): Update comments around
solib_add.
* rs6000-nat.c (xcoff_relocate_core): Adjust to use
deprecated_core_resize_section_table.
* exec.h (resize_section_table): Declare.
(section_table_xfer_memory_partial): Add const char * argument.
(remove_target_sections): Declare here.
(add_target_sections): Declare.
(print_section_info): Declare here.
* gdbcore.h (deprecated_core_resize_section_table): Declare.
commit 32d7e7fbdc648fcf81cb0f484070344b5e78d223
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Jun 3 18:16:43 2009 +0000
* value.h (struct internalvar): Remove.
(get_internalvar_integer): Add prototype.
(set_internalvar_integer): Add prototype.
(clear_internalvar): Add prototype.
* value.c (struct internalvar): Move here. Add type member. Remove
endian member. Add union_internalvar member instead of value member.
(init_if_undefined_command): Use intvar->type.
(create_internalvar): Do not initialize value/endian, but type.
(create_internalvar_type_lazy): Call create_internalvar.
(value_of_internalvar): Handle host-side internalvar contents.
(set_internalvar_component): Likewise.
(set_internalvar): Likewise.
(get_internalvar_integer): New function.
(clear_internalvar): Likewise.
(set_internalvar_integer): Likewise.
(preserve_values): Handle host-side internalvar contents.
* breakpoint.c (set_breakpoint_count, set_tracepoint_count): Call
set_internalvar_integer instead of set_internalvar.
* findcmd.c (find_command): Likewise.
* infrun.c (handle_inferior_event): Likewise.
* source.c (forward_search_command, reverse_search_command): Likewise.
* tracepoint.c (set_traceframe_num, set_tracepoint_num,
set_traceframe_context): Likewise.
* printcmd.c (x_command): Call clear_internalvar instead of
set_internalvar.
* tracepoint.c (set_traceframe_context): Likewise.
* breakpoint.c (get_number_trailer): Call get_internalvar_integer
instead of value_of_internalvar.
* linespec.c (decode_dollar): Likewise.
* expprint.c (dump_subexp_body_standard): Use internalvar_name
instead of accessing internalvar private elements.
* valops.c (value_assign): Copy from original source instead of
accessing internalvar private elements.
commit a23ef5405428e7fe07b4c01ffb1b33000cfacf09
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Jun 3 18:10:06 2009 +0000
* scm-lang.c (builtin_type_scm): Remove.
(scm_lookup_name): Add GDBARCH parameter. Use it instead of
objfile architecture. Use per-architecture builtin_scm_type instead
of builtin_type_scm.
(evaluate_exp): Pass expression architecture to scm_lookup_name.
(scm_get_field): Add SIZE parameter. Use it instead of
TYPE_LENGTH (builtin_type_scm).
(build_scm_types): New function.
(scm_type_data): New variable.
(builtin_scm_type): New function.
(_initialize_scheme_language): Do not initialize builtin_type_scm.
Register build_scm_types as post-init function for scm_type_data.
* scm-exp.c (scm_lreadr): Use per-architecture builtin_scm_type
instead of builtin_type_scm.
* scm-lang.h (SCM_CAR, SCM_CDR): Pass SCM_SIZE to scm_get_field.
(scm_get_field): Add SIZE paramter.
(scm_scmval_print): Remove prototype.
(builtin_type_scm): Remove.
(struct builtin_scm_type): Add structure definition.
(builtin_scm_type): Add prototype.
* scm-valprint.c (scm_inferior_print): Add TYPE parameter. Use it
instead of builtin_core_addr type; do not use objfile architecture.
(scm_scmlist_print): Add TYPE parameter. Use it to define SCM_SIZE.
Pass type to scm_scmval_print.
(scm_ipruk): Add TYPE parameter. Use it to define SCM_SIZE.
(scm_scmval_print): Make static. Add TYPE parameter. Use it to
define SCM_SIZE. Pass type to scm_ipruk and scm_scmlist_print.
(scm_val_print): Pass type to scm_inferior_print and scm_scmval_print.
commit bf4cd77781349b1968616919a12e96b7c74158e8
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Jun 3 18:08:14 2009 +0000
ChangeLog:
* mdebugread.c (mdebug_type_void, mdebug_type_char, mdebug_type_short,
mdebug_type_int, mdebug_type_int_32, mdebug_type_int_64,
mdebug_type_long_32, mdebug_type_long_64, mdebug_type_long_long_64,
mdebug_type_unsigned_char, mdebug_type_unsigned_short,
mdebug_type_unsigned_int_32, mdebug_type_unsigned_int_64,
mdebug_type_unsigned_long_32, mdebug_type_unsigned_long_64,
mdebug_type_unsigned_long_long_64, mdebug_type_adr_32,
mdebug_type_adr_64, mdebug_type_float, mdebug_type_double,
mdebug_type_complex, mdebug_type_double_complex,
mdebug_type_fixed_dec, mdebug_type_float_dec, mdebug_type_string):
Remove.
(basic_type_data): New global variable.
(basic_type): New function.
(parse_type): Remove static basic type map map_bt. Call basic_type
to get basic types instead of using mdebug_type_ variables.
(parse_symbol): Use builtin types instead of mdebug_type_ variables.
(upgrade_type): Likewise.
(parse_procedure): Likewise.
(psymtab_to_symtab_1): Likewise.
(_initialize_mdebugread): Do not initialize mdebug_type_ variables.
Initialize basic_type_data.
include/coff/ChangeLog:
* symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
btAdr64, btInt64, btUInt64): New defines.
commit 77a91124678352c6cd265a189d9e4e9d9323ed8c
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Jun 3 17:47:54 2009 +0000
* dfp.h (decimal_binop): Convert LEN_RESULT to input parameter.
* dfp.c (promote_decimal): Remove.
(decimal_binop): Convert LEN_RESULT to input parameter.
Remove call to decimal_binop.
(decimal_compare): Remove call to decimal_binop.
* valarith.c (value_binop): Pass desired result type length
to decimal_binop.
commit bc5284cc19ee108242a81b378fcdec6a7691170a
Author: H.J. Lu <hjl@lucon.org>
Date: Wed Jun 3 16:58:11 2009 +0000
2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of
h->plt.refcount > 0 on STT_GNU_IFUNC symbol.
* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
commit 0f12dbcf00ef0b056552f3d30cdfd4663b864cfc
Author: Doug Evans <dje@google.com>
Date: Wed Jun 3 16:46:05 2009 +0000
* gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
* gdb.arch/i386-see.c: Ditto.
commit 2a8342d67bd977626f44b23a77b46b8293db37d0
Author: H.J. Lu <hjl@lucon.org>
Date: Wed Jun 3 12:35:17 2009 +0000
2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate
GOT entry for STT_GNU_IFUNC symbol with pointer equality.
(elf_i386_relocate_section): Adjust R_386_GOT32 relocation
against STT_GNU_IFUNC symbols for static executables.
(elf_i386_finish_dynamic_symbol): Load GOT entry with
PLT entry for STT_GNU_IFUNC symbol with pointer equality.
* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate
GOT entry for STT_GNU_IFUNC symbol with pointer equality.
(elf64_x86_64_finish_dynamic_symbol): Load GOT entry with
PLT entry for STT_GNU_IFUNC symbol with pointer equality.
commit 9b78a3616c3ee29f31bfb7daa8d31b4413656dce
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date: Wed Jun 3 05:40:47 2009 +0000
* Makefile.tpl (all): Avoid a trailing backslash.
* Makefile.in: Regenerate.
commit ea4154c95adef19e78ebaf863fe13dc70636c5cc
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Wed Jun 3 00:00:33 2009 +0000
*** empty log message ***
commit f68839aaf768188364094f818573495522e66260
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed Jun 3 00:00:04 2009 +0000
daily update
commit e54933a8ab019fbfbd7c7dd6535edad07e25317c
Author: Ben Elliston <bje@au.ibm.com>
Date: Tue Jun 2 23:00:59 2009 +0000
* config.sub, config.guess: Update from upstream sources.
commit 168706ddf9cdf51463ca7e94065d0d1d9f49253b
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date: Tue Jun 2 18:51:33 2009 +0000
bfd/
* coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined
symbols to be left unimported when linking statically.
* xcofflink.c (xcoff_link_add_symbols): Ignore global linkage
code when linking statically.
ld/testsuite/
* ld-powerpc/aix-glink-3.s, ld-powerpc/aix-glink-3a.s,
ld-powerpc/aix-glink-3b.s, ld-powerpc/aix-glink-3.dd,
ld-powerpc/aix-glink-3-32.d, ld-powerpc/aix-glink-3-64.d: New tests.
* ld-powerpc/aix52.exp: Run them. Move the lineno tests to maintain
alphabetical order.
commit d4c3859e9db37c08cbbf8a007aaf5acaac0848d7
Author: H.J. Lu <hjl@lucon.org>
Date: Tue Jun 2 17:31:40 2009 +0000
bfd/
2009-06-02 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Increment
got.refcount for R_386_GOT32/R_386_GOTOFF relocations
against STT_GNU_IFUNC symbol.
(elf_i386_allocate_dynrelocs): Set got.refcount to 0 if
local STT_GNU_IFUNC definition is used.
(elf_i386_relocate_section): Handle got.offset != -1 for
R_386_GOT32/R_386_GOTOFF relocations against STT_GNU_IFUNC
symbol.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Increment
got.refcount for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64
relocations against STT_GNU_IFUNC symbol.
(elf64_x86_64_allocate_dynrelocs): Set got.refcount to 0 if
local STT_GNU_IFUNC definition is used.
(elf64_x86_64_relocate_section): Handle got.offset != -1
for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 relocations against
STT_GNU_IFUNC symbol.
ld/testsuite/
2009-06-02 H.J. Lu <hongjiu.lu@intel.com>
* ld-ifunc/ifunc-5-i386.d: Renamed to ...
* ld-ifunc/ifunc-5a-i386.d: This.
* ld-ifunc/ifunc-5-x86-64.d: Renamed to ...
* ld-ifunc/ifunc-5a-x86-64.d: This.
* ld-ifunc/ifunc-5b-i386.d: New.
* ld-ifunc/ifunc-5b-x86-64.d: Likewise.
* ld-ifunc/ifunc-6a-i386.d: Likewise.
* ld-ifunc/ifunc-6a-x86-64.d: Likewise.
* ld-ifunc/ifunc-6b-i386.d: Likewise.
* ld-ifunc/ifunc-6b-x86-64.d: Likewise.
* ld-ifunc/ifunc-6-i386.s: Likewise.
* ld-ifunc/ifunc-6-x86-64.s: Likewise.
* ld-ifunc/ifunc-7a-i386.d: Likewise.
* ld-ifunc/ifunc-7a-x86-64.d: Likewise.
* ld-ifunc/ifunc-7b-i386.d: Likewise.
* ld-ifunc/ifunc-7b-x86-64.d: Likewise.
* ld-ifunc/ifunc-7-i386.s: Likewise.
* ld-ifunc/ifunc-7-x86-64.s: Likewise.
commit 8306ebb06129191e761824190d242dea45bc4be8
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Jun 2 16:31:58 2009 +0000
* po/nl.po: Updated Dutch translation.
commit 3cc052ca78860cd389acd5bc814bc0c3bfa578fd
Author: Alexandre Oliva <aoliva@redhat.com>
Date: Tue Jun 2 08:23:45 2009 +0000
* Makefile.tpl ([+compare-target+]): Compare all stage
directories, rather than just gcc.
* Makefile.in: Rebuilt.
commit 01fd408740e4fe1df642d1536272295d2ca3c833
Author: Tristan Gingold <gingold@adacore.com>
Date: Tue Jun 2 07:48:05 2009 +0000
2009-05-29 Tristan Gingold <gingold@adacore.com>
* ia64-gen.c (parse_resource_users, print_dependency_table,
add_dis_table_ent, finish_distable, insert_bit_table_ent,
add_dis_entry, compact_distree, gen_dis_table, completer_entries_eq,
get_prefix_len, compute_completer_bits, insert_opcode_dependencies,
insert_completer_entry, print_completer_entry, print_completer_table,
opcodes_eq, add_opcode_entry, shrink): Use ISO C syntax for functions.
commit 048afcd4b95a23ea0ac1cc1df4559860e297796d
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue Jun 2 05:00:32 2009 +0000
*** empty log message ***
commit 60413c457f4d4b381843d6a89c6be865f2cf990d
Author: DJ Delorie <dj@delorie.com>
Date: Mon Jun 1 19:40:32 2009 +0000
merge from gcc
commit 954a9ab9b93b7607291994bc8f1edd249abd5cf8
Author: Michael Snyder <msnyder@specifix.com>
Date: Mon Jun 1 19:31:50 2009 +0000
2009-05-29 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-always.exp: Change "1" to "on".
Add confirmation check.
commit 3e71f11fa7b4f4807dfbacb341acc533d12cf5bc
Author: H.J. Lu <hjl@lucon.org>
Date: Mon Jun 1 13:11:51 2009 +0000
bfd/
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10205
* elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
(elf_i386_reloc_type_lookup): Likewise.
(R_386_tls): Removed.
(R_386_irelative): New.
(R_386_vt_offset): Updated.
(elf_i386_rtype_to_howto): Likewise.
(elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
(elf_i386_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_allocate_dynrelocs): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf_i386_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rel.iplt sections for
STT_GNU_IFUNC symbols. Generate R_386_IRELATIVE relocation for
locally defined STT_GNU_IFUNC symbol.
* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
(x86_64_reloc_map): Likewise.
(R_X86_64_standard): Updated.
(elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
(elf64_x86_64_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf64_x86_64_adjust_dynamic_symbol): Likewise.
(elf64_x86_64_allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf64_x86_64_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rela.iplt sections for
STT_GNU_IFUNC symbols. Generate R_X86_64_IRELATIVE relocation
for locally defined STT_GNU_IFUNC symbol.
* reloc.c (BFD_RELOC_386_IRELATIVE): New.
(BFD_RELOC_X86_64_IRELATIVE): Likewise.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
include/elf/
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10205
* i386.h (R_386_IRELATIVE): New.
* x86-64.h (R_X86_64_IRELATIVE): Likewise.
ld/testsuite/
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10205
* ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
Use it on executable and shared library.
Run *.d.
* ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
library_func2.
(library_func): New.
* ld-ifunc/ifunc-1-x86.d: New.
* ld-ifunc/ifunc-1-x86.s: Likewise.
* ld-ifunc/ifunc-2-i386.d: Likewise.
* ld-ifunc/ifunc-2-i386.s: Likewise.
* ld-ifunc/ifunc-2-x86-64.d: Likewise.
* ld-ifunc/ifunc-2-x86-64.s: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.
* ld-ifunc/ifunc-3b-x86.d: Likewise.
* ld-ifunc/ifunc-3-x86.s: Likewise.
* ld-ifunc/ifunc-4-x86.d: Likewise.
* ld-ifunc/ifunc-4-x86.s: Likewise.
* ld-ifunc/ifunc-5-i386.d: Likewise.
* ld-ifunc/ifunc-5-i386.s: Likewise.
* ld-ifunc/ifunc-5-x86-64.d: Likewise.
* ld-ifunc/ifunc-5-x86-64.s: Likewise.
commit 5166d8949e0d58843dffea14b569a27452139cf1
Author: H.J. Lu <hjl@lucon.org>
Date: Mon Jun 1 12:53:00 2009 +0000
bfd/
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs.
(_bfd_elf_make_ifunc_reloc_section): Removed.
(_bfd_elf_is_ifunc_symbol): Likewise.
(_bfd_elf_create_static_ifunc_sections): New.
* elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC
symbol check to ...
(elf_link_add_object_symbols): Here.
(_bfd_elf_link_hash_hide_symbol): Don't clean plt on
STT_GNU_IFUNC symbol.
(elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol
if a STT_GNU_IFUNC symbol is referenced in a non-shared object.
(IFUNC_INFIX): Removed.
(get_ifunc_reloc_section_name): Likewise.
(_bfd_elf_make_ifunc_reloc_section): Likewise.
(_bfd_elf_is_ifunc_symbol): Likewise.
(_bfd_elf_create_static_ifunc_sections): New.
ld/
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
* scripttempl/elf.sc (PLT): Add "*(.iplt)".
(GOT): Add "*(.igot.plt)a" and "*(.igot)".
(GOTPLT): Add "*(.igot)".
(__rel_iplt_start): New.
(__rel_iplt_end): Likewise.
(__rela_iplt_start): Likewise.
(__rela_iplt_end): Likewise.
commit ad1d71b4c2c22c9ade23c661081878f797a86e6f
Author: Tristan Gingold <gingold@adacore.com>
Date: Mon Jun 1 08:12:19 2009 +0000
2009-06-01 Tristan Gingold <gingold@adacore.com>
* configure.tgt (avr): Set gdb_sim to use the simulator.
commit 47211f4a31ff3189bdfc7f4d2deaf6af5c10acc3
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Jun 1 00:00:09 2009 +0000
daily update
commit 845223f98bd0213365a9de0f352065a6a4b00027
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Jun 1 00:00:03 2009 +0000
*** empty log message ***
commit 9f389f7f1218f394e9c8040d204b8a8b5815d013
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun May 31 00:00:34 2009 +0000
*** empty log message ***
commit d0841a7a0349a41128ca895bc04ad346a13883f9
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun May 31 00:00:05 2009 +0000
daily update
commit 8fea4e1c2debf5f2602f96de502f35662c73e182
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Sat May 30 07:58:42 2009 +0000
* gdb.base/macscp.exp (info_macro): Return undefined if undefined.
(check_macro): Return 1 if undefined.
If first test fails, check if macro debug information is available,
and report unsupported test if no macro information is found.
commit e2b12342b77073638798f3d51f160fa44eacda04
Author: DJ Delorie <dj@delorie.com>
Date: Sat May 30 05:18:46 2009 +0000
merge from gcc
commit 8bbd6636b6945f701870d267c76f19cd27056831
Author: Doug Evans <dje@google.com>
Date: Sat May 30 00:19:12 2009 +0000
* infrun.c (prepare_to_proceed): Document. Assert !non_stop.
If scheduler-locking is enabled, we're not going to be singlestepping
any other previously stopped thread.
* gdb.threads/hand-call-in-threads.exp: New file.
* gdb.threads/hand-call-in-threads.c: New file.
commit 69203a1a77818f59613d2e3b17c829924418a9fa
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat May 30 00:00:34 2009 +0000
*** empty log message ***
commit 8d4cbb4579424356215c550a5a49644fc6818a9c
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat May 30 00:00:05 2009 +0000
daily update
commit 77a26251319202d42eb4ddb4604c707ad2ffa179
Author: DJ Delorie <dj@delorie.com>
Date: Fri May 29 21:01:50 2009 +0000
merge from gcc
commit a3a214309d65d485294811c2b73c8d29a1f95919
Author: Kai Tietz <kai.tietz@onevision.com>
Date: Fri May 29 20:19:14 2009 +0000
2009-05-29 Kai Tietz <kai.tietz@onevision.com>
* pex-win32.c (pex_win32_fdopenr): Set INHERIT to false.
commit 3c9eb299025292769a09d9868c17ac621d232602
Author: Pedro Alves <pedro@codesourcery.com>
Date: Fri May 29 19:06:11 2009 +0000
* mi/mi-interp.c (mi_on_resume): Initialize `count' to 0.
commit 53ad60e6dd9c7ad33571f8db1558729ebb04aab5
Author: H.J. Lu <hjl@lucon.org>
Date: Fri May 29 18:30:30 2009 +0000
2009-05-29 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (link_hash_newfunc): Add elf_i386_ prefix.
(create_got_section): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
(set_tls_module_base): Likewise.
(dtpoff_base): Likewise.
(tpoff): Likewise.
(elf_i386_link_hash_table_create): Updated.
(elf_i386_create_dynamic_sections): Likewise.
(elf_i386_check_relocs): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (link_hash_newfunc): Add elf64_x86_64_ prefix.
(create_got_section): Likewise.
(allocate_dynrelocs): Likewise.
(readonly_dynrelocs): Likewise.
(set_tls_module_base): Likewise.
(dtpoff_base): Likewise.
(tpoff): Likewise.
(elf64_x86_64_link_hash_table_create): Updated.
(elf64_x86_64_create_dynamic_sections): Likewise.
(elf64_x86_64_check_relocs): Likewise.
(elf64_x86_64_size_dynamic_sections): Likewise.
(elf64_x86_64_relocate_section): Likewise.
commit 2ec3d727a7305d1dbb28f1fee1ef02450ee82845
Author: Eli Zaretskii <eliz@gnu.org>
Date: Fri May 29 11:38:39 2009 +0000
* i386-tdep.c (i386_go32_init_abi): Use SVR4 register numbering
for stabs and COFF debug info.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 16 +
Makefile.in | 25 +-
Makefile.tpl | 14 +-
bfd/ChangeLog | 393 +++++++-
bfd/Makefile.am | 730 +++++++------
bfd/Makefile.in | 730 +++++++------
bfd/bfd-in2.h | 2 +
bfd/coff-rs6000.c | 2 +
bfd/config.bfd | 4 +-
bfd/configure | 1 +
bfd/configure.in | 1 +
bfd/dep-in.sed | 3 +-
bfd/elf-bfd.h | 10 +-
bfd/elf32-i386.c | 685 ++++++++++--
bfd/elf32-spu.c | 7 +-
bfd/elf64-x86-64.c | 687 ++++++++++--
bfd/elflink.c | 181 ++--
bfd/libbfd.h | 2 +
bfd/mach-o-i386.c | 68 ++
bfd/mach-o-target.c | 54 +-
bfd/mach-o.c | 1149 ++++++++++++--------
bfd/mach-o.h | 89 ++-
bfd/reloc.c | 4 +
bfd/targets.c | 2 +
bfd/version.h | 2 +-
bfd/xcofflink.c | 39 +-
config.guess | 51 +-
config.sub | 4 +-
gdb/ChangeLog | 451 ++++++++
gdb/alpha-nat.c | 11 +-
gdb/auxv.c | 11 +-
gdb/auxv.h | 21 +-
gdb/ax-gdb.c | 8 +-
gdb/bfd-target.c | 37 +-
gdb/breakpoint.c | 32 +-
gdb/bsd-kvm.c | 12 +-
gdb/c-exp.y | 11 +-
gdb/cli/cli-decode.c | 2 +-
gdb/coffread.c | 18 +-
gdb/config/i386/nm-i386sol2.h | 2 -
gdb/config/mips/irix5.mh | 1 -
gdb/config/mips/irix6.mh | 1 -
gdb/config/mips/nm-irix5.h | 21 -
gdb/config/sparc/nm-sol2.h | 9 -
gdb/configure.tgt | 5 +-
gdb/corelow.c | 84 ++-
gdb/dfp.c | 55 +-
gdb/dfp.h | 2 +-
gdb/doc/ChangeLog | 10 +
gdb/doc/gdbint.texinfo | 15 +-
gdb/dwarf2loc.c | 6 +-
gdb/dwarf2loc.h | 6 +-
gdb/dwarf2read.c | 4 +-
gdb/exec.c | 299 ++++--
gdb/exec.h | 26 +-
gdb/expprint.c | 2 +-
gdb/findcmd.c | 4 +-
gdb/findvar.c | 11 +-
gdb/gdbcore.h | 2 +
gdb/gnu-nat.c | 10 +-
gdb/go32-nat.c | 10 +-
gdb/hppa-tdep.c | 3 +
gdb/hpux-thread.c | 10 +-
gdb/i386-sol2-nat.c | 13 +
gdb/i386-tdep.c | 7 +
gdb/inf-child.c | 10 +-
gdb/infcmd.c | 12 +-
gdb/inferior.c | 8 +
gdb/inferior.h | 10 +-
gdb/infrun.c | 54 +-
gdb/irix5-nat.c | 12 +-
gdb/linespec.c | 13 +-
gdb/linux-nat.c | 6 +
gdb/mdebugread.c | 417 ++++----
gdb/mi/mi-interp.c | 2 +-
gdb/mi/mi-main.c | 4 +-
gdb/monitor.c | 10 +-
gdb/nto-procfs.c | 10 +-
gdb/nto-tdep.h | 2 -
gdb/printcmd.c | 26 +-
gdb/proc-utils.h | 4 +
gdb/procfs.c | 49 +-
gdb/{config/sparc/nm-sol2.h => procfs.h} | 25 +-
gdb/remote-m32r-sdi.c | 15 +-
gdb/remote-mips.c | 10 +-
gdb/remote-sim.c | 13 +-
gdb/remote.c | 65 +-
gdb/rs6000-nat.c | 3 +-
gdb/scm-exp.c | 2 +-
gdb/scm-lang.c | 51 +-
gdb/scm-lang.h | 22 +-
gdb/scm-valprint.c | 66 +-
gdb/sol-thread.c | 2 +-
gdb/solib.c | 20 +-
gdb/source.c | 8 +-
gdb/sparc-sol2-nat.c | 17 +
gdb/stabsread.c | 63 +-
gdb/symfile.c | 1 +
gdb/symtab.h | 31 +-
gdb/target-memory.c | 2 +-
gdb/target.c | 377 ++++---
gdb/target.h | 78 +-
gdb/testsuite/ChangeLog | 56 +
gdb/testsuite/gdb.arch/i386-sse.c | 55 +-
gdb/testsuite/gdb.arch/i386-sse.exp | 16 +-
gdb/testsuite/gdb.base/break-always.exp | 5 +-
gdb/testsuite/gdb.base/macscp.exp | 28 +-
gdb/testsuite/gdb.mi/mi-async.exp | 2 +-
gdb/testsuite/gdb.mi/mi-basics.exp | 2 +-
gdb/testsuite/gdb.mi/mi-break.exp | 2 +-
gdb/testsuite/gdb.mi/mi-cli.exp | 4 +-
gdb/testsuite/gdb.mi/mi-disassemble.exp | 2 +-
gdb/testsuite/gdb.mi/mi-eval.exp | 2 +-
gdb/testsuite/gdb.mi/mi-file-transfer.exp | 2 +-
gdb/testsuite/gdb.mi/mi-file.exp | 2 +-
gdb/testsuite/gdb.mi/mi-regs.exp | 2 +-
gdb/testsuite/gdb.mi/mi-return.exp | 2 +-
gdb/testsuite/gdb.mi/mi-simplerun.exp | 2 +-
gdb/testsuite/gdb.mi/mi-stepi.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-block.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-cmd.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-display.exp | 2 +-
gdb/testsuite/gdb.mi/mi-var-invalidate.exp | 4 +-
gdb/testsuite/gdb.mi/mi-watch.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-basics.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-break.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-cli.exp | 4 +-
gdb/testsuite/gdb.mi/mi2-disassemble.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-eval.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-file.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-regs.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-return.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-simplerun.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-stepi.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-var-block.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-var-child.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-var-cmd.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-var-display.exp | 2 +-
gdb/testsuite/gdb.mi/mi2-watch.exp | 2 +-
gdb/testsuite/gdb.server/ext-run.exp | 2 +-
gdb/testsuite/gdb.server/file-transfer.exp | 2 +-
gdb/testsuite/gdb.server/server-mon.exp | 2 +-
gdb/testsuite/gdb.server/server-run.exp | 2 +-
gdb/testsuite/gdb.threads/hand-call-in-threads.c | 127 +++
gdb/testsuite/gdb.threads/hand-call-in-threads.exp | 160 +++
gdb/testsuite/gdb.threads/manythreads.c | 3 +
gdb/testsuite/gdb.trace/actions.exp | 2 +-
gdb/testsuite/gdb.trace/backtrace.exp | 2 +-
gdb/testsuite/gdb.trace/deltrace.exp | 2 +-
gdb/testsuite/gdb.trace/infotrace.exp | 2 +-
gdb/testsuite/gdb.trace/packetlen.exp | 2 +-
gdb/testsuite/gdb.trace/passc-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/passcount.exp | 2 +-
gdb/testsuite/gdb.trace/report.exp | 2 +-
gdb/testsuite/gdb.trace/save-trace.exp | 2 +-
gdb/testsuite/gdb.trace/tfind.exp | 2 +-
gdb/testsuite/gdb.trace/tracecmd.exp | 2 +-
gdb/testsuite/gdb.trace/while-dyn.exp | 2 +-
gdb/testsuite/gdb.trace/while-stepping.exp | 2 +-
gdb/thread.c | 21 -
gdb/top.c | 16 +-
gdb/tracepoint.c | 64 +-
gdb/valarith.c | 26 +-
gdb/valops.c | 2 +-
gdb/value.c | 310 ++++--
gdb/value.h | 25 +-
gdb/varobj.c | 17 +-
gdb/version.in | 2 +-
gdb/windows-nat.c | 10 +-
include/ChangeLog | 13 +
include/ansidecl.h | 27 +-
include/coff/ChangeLog | 5 +
include/coff/symconst.h | 7 +
include/dyn-string.h | 15 +-
include/elf/ChangeLog | 6 +
include/elf/i386.h | 1 +
include/elf/x86-64.h | 1 +
include/fibheap.h | 11 +-
include/opcode/ChangeLog | 4 +
include/opcode/moxie.h | 2 +
libdecnumber/ChangeLog | 9 +
libdecnumber/decContext.h | 8 +
libdecnumber/decDPD.h | 8 +
libdecnumber/decNumber.h | 8 +
libdecnumber/dpd/decimal128.h | 8 +
libdecnumber/dpd/decimal32.h | 8 +
libdecnumber/dpd/decimal64.h | 8 +
libiberty/ChangeLog | 10 +
libiberty/pex-win32.c | 5 +
libiberty/snprintf.c | 16 +-
libiberty/vsnprintf.c | 16 +-
opcodes/ChangeLog | 24 +
opcodes/Makefile.am | 3 +-
opcodes/Makefile.in | 3 +-
opcodes/dep-in.sed | 3 +-
opcodes/ia64-gen.c | 82 +-
opcodes/moxie-dis.c | 11 +
opcodes/moxie-opc.c | 24 +-
opcodes/po/nl.po | 248 +++--
199 files changed, 6251 insertions(+), 3097 deletions(-)
create mode 100644 bfd/mach-o-i386.c
delete mode 100644 gdb/config/mips/nm-irix5.h
copy gdb/{config/sparc/nm-sol2.h => procfs.h} (51%)
create mode 100644 gdb/testsuite/gdb.threads/hand-call-in-threads.c
create mode 100644 gdb/testsuite/gdb.threads/hand-call-in-threads.exp
First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index adacc3d..a786e13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2009-06-03 Jerome Guitton <guitton@adacore.com>
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * Makefile.tpl (all): Avoid a trailing backslash.
+ * Makefile.in: Regenerate.
+
+2009-06-03 Ben Elliston <bje@au.ibm.com>
+
+ * config.sub, config.guess: Update from upstream sources.
+
+2009-06-02 Alexandre Oliva <aoliva@redhat.com>
+
+ * Makefile.tpl ([+compare-target+]): Compare all stage
+ directories, rather than just gcc.
+ * Makefile.in: Rebuilt.
+
2009-05-28 Doug Kwan <dougkwan@google.com>
* configure.ac: Support gold for target arm*-*-*.
diff --git a/Makefile.in b/Makefile.in
index aa34c89..fdc2d2e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -862,8 +862,9 @@ all:
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
@if gcc-bootstrap
; \
- fi
+ fi \
@endif gcc-bootstrap
+ && :
.PHONY: all-build
@@ -52210,15 +52211,16 @@ compare:
: $(MAKE); $(stage); \
rm -f .bad_compare ; \
echo Comparing stages 2 and 3 ; \
- cd stage3-gcc; \
- files=`find . -name "*$(objext)" -print` ; \
- cd .. ; \
+ sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
+ files=`find stage3-* -name "*$(objext)" -print | \
+ sed -n s,^stage$$sed-,,p` ; \
for file in $${files} ; do \
- f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
+ f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
+ if test ! -f $$f1; then continue; fi; \
$(do-compare) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \
@@ -52535,15 +52537,16 @@ compare3:
: $(MAKE); $(stage); \
rm -f .bad_compare ; \
echo Comparing stages 3 and 4 ; \
- cd stage4-gcc; \
- files=`find . -name "*$(objext)" -print` ; \
- cd .. ; \
+ sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
+ files=`find stage4-* -name "*$(objext)" -print | \
+ sed -n s,^stage$$sed-,,p` ; \
for file in $${files} ; do \
- f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
+ f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
+ if test ! -f $$f1; then continue; fi; \
$(do-compare3) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \
diff --git a/Makefile.tpl b/Makefile.tpl
index e683ebc..f543003 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -628,8 +628,9 @@ all:
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
@if gcc-bootstrap
; \
- fi
+ fi \
@endif gcc-bootstrap
+ && :
.PHONY: all-build
[+ FOR build_modules +]
@@ -1426,15 +1427,16 @@ do-clean: clean-stage[+id+]
: $(MAKE); $(stage); \
rm -f .bad_compare ; \
echo Comparing stages [+prev+] and [+id+] ; \
- cd stage[+id+]-gcc; \
- files=`find . -name "*$(objext)" -print` ; \
- cd .. ; \
+ sed=`echo stage[+id+] | sed 's,^stage,,;s,.,.,g'`; \
+ files=`find stage[+id+]-* -name "*$(objext)" -print | \
+ sed -n s,^stage$$sed-,,p` ; \
for file in $${files} ; do \
- f1=$$r/stage[+prev+]-gcc/$$file; f2=$$r/stage[+id+]-gcc/$$file; \
+ f1=$$r/stage[+prev+]-$$file; f2=$$r/stage[+id+]-$$file; \
+ if test ! -f $$f1; then continue; fi; \
$(do-[+compare-target+]) > /dev/null 2>&1; \
if test $$? -eq 1; then \
case $$file in \
- ./cc*-checksum$(objext) | ./libgcc/* ) \
+ gcc/cc*-checksum$(objext) | ./libgcc/* | ./gcc/ada/*tools/*) \
echo warning: $$file differs ;; \
*) \
echo $$file differs >> .bad_compare ;; \
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 774dc3f..296493b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,390 @@
+2009-06-09 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.h (bfd_mach_o_symtab_command): Remove stabs_segment
+ and stabstr_segment fields.
+ (mach_o_be_vec, mach_o_le_vec): Removed
+ (bfd_mach_o_version): New prototype.
+
+ * mach-o.c (bfd_mach_o_version): Make this function public.
+ (mach_o_wide_p): New function.
+ (bfd_mach_o_wide_p): Ditto.
+ (bfd_mach_o_convert_section_name_to_bfd): Add prefix only for
+ weird names.
+ (bfd_mach_o_convert_section_name_to_mach_o): Fix typo in comment.
+ Search in the list only if the name starts with a dot.
+ (bfd_mach_o_write_header): Use mach_o_wide_p instead of hard-coded
+ test. Check bfd_seek status.
+ (bfd_mach_o_scan_write_thread): Check bfd_seek status.
+ (bfd_mach_o_scan_write_section_32): Ditto.
+ (bfd_mach_o_scan_write_section_64): Ditto.
+ (bfd_mach_o_scan_write_section): Removed.
+ (bfd_mach_o_scan_write_segment): Split into ...
+ (bfd_mach_o_scan_write_segment_32): ... this and ...
+ (bfd_mach_o_scan_write_segment_64): ... this. Check bfd_seek status.
+ (bfd_mach_o_scan_write_symtab_symbols): Moved into ...
+ (bfd_mach_o_scan_write_symtab): ... this. Write symtab from BFD
+ symbol table. Now returns a boolean.
+ (bfd_mach_o_write_contents): Set filetype. Check bfd_seek status.
+ Adjust for status type.
+ (bfd_mach_o_build_commands): Use mach_o_wide_p instead of hard-coded
+ test. Write symbol table. Numbers the sections.
+ (bfd_mach_o_read_header): Check bfd_seek status.
+ Use mach_o_wide_p instead of hard-coded test.
+ (bfd_mach_o_scan_read_section_32): Check bfd_seek status.
+ (bfd_mach_o_scan_read_section_64): Ditto.
+ (bfd_mach_o_scan_read_symtab_symbol): Ditto. Check bfd_seek status.
+ Use BFD_MACH_O_N_TYPE instead of hard-coded value. Correctly
+ handled common symbols.
+ (bfd_mach_o_scan_read_symtab_strtab): Check bfd_seek status.
+ (bfd_mach_o_scan_read_dysymtab_symbol): Ditto.
+ (bfd_mach_o_scan_read_dylinker): Ditto.
+ (bfd_mach_o_scan_read_dylib): Ditto.
+ (bfd_mach_o_scan_read_thread): Ditto.
+ (bfd_mach_o_scan_read_symtab): Ditto.
+ Do not create a section for the stabs.
+ (bfd_mach_o_scan_read_uuid): Check bfd_seek status.
+ (bfd_mach_o_scan_read_segment): Ditto.
+ (bfd_mach_o_scan_read_command): Ditto.
+ (bfd_mach_o_scan_start_address): Ditto.
+ (bfd_mach_o_scan): Use mach_o_wide_p instead of hard-coded test.
+ (bfd_mach_o_archive_p): Check bfd_seek status.
+ (bfd_mach_o_core_fetch_environment): Ditto.
+
+ * mach-o-i386.c (bfd_mach_o_i386_mkobject): Don't set filetype.
+
+2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_link_hash_table): Add irelifunc.
+ (elf_i386_link_hash_table_create): Initialize irelifunc.
+ (elf_i386_check_relocs): Updated. Set up irelifunc for
+ shared objects.
+ (elf_i386_allocate_dynrelocs): Use irelifunc for dynamic
+ relocation for non-GOT reference of STT_GNU_IFUNC symbol in
+ shared objects.
+ (elf_i386_relocate_section): Likewise.
+
+ * elf64-x86-64.c (elf64_x86_64_link_hash_table): Add irelifunc.
+ (elf64_x86_64_link_hash_table_create): Initialize irelifunc.
+ (elf64_x86_64_check_relocs): Updated. Set up irelifunc for
+ shared objects.
+ (elf64_x86_64_allocate_dynrelocs): Use irelifunc for dynamic
+ relocation for non-GOT reference of STT_GNU_IFUNC symbol in
+ shared objects.
+ (elf64_x86_64_relocate_section): Likewise.
+
+ * elf-bfd.h (_bfd_elf_create_static_ifunc_sections): Renamed to
+ ...
+ (_bfd_elf_create_ifunc_sections): This.
+
+ * elflink.c (_bfd_elf_create_static_ifunc_sections): Renamed to
+ ...
+ (_bfd_elf_create_ifunc_sections): This. Create .rel[a].ifunc
+ for shared objects.
+
+2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_check_relocs): Make room for dynamic
+ relocation for R_386_32 against STT_GNU_IFUNC symbol when
+ building shared object. Check info->executable instead of
+ !info->shared when setting non_got_ref.
+ (elf_i386_allocate_dynrelocs): Allocate dynamic relocation
+ for non-GOT reference of STT_GNU_IFUNC symbol in shared
+ object. Allocate GOT relocation agsinst STT_GNU_IFUNC
+ symbol if needed.
+ (elf_i386_relocate_section): Output dynamic relocation for
+ R_386_32 against STT_GNU_IFUNC symbol to get the real
+ function address when building shared object.
+ (elf_i386_finish_dynamic_symbol): Output R_386_GLOB_DAT
+ relocation for STT_GNU_IFUNC symbol in shared object.
+
+ * elf64-x86-64.c (elf64_x86_64_check_relocs): Make room for
+ dynamic relocation for R_X86_64_64 against STT_GNU_IFUNC
+ symbol when building shared object. Check info->executable
+ instead of !info->shared when setting non_got_ref.
+ (elf64_x86_64_allocate_dynrelocs): Allocate dynamic relocation
+ for non-GOT reference of STT_GNU_IFUNC symbol in shared
+ library. Allocate GOT relocation agsinst STT_GNU_IFUNC symbol
+ if needed.
+ (elf64_x86_64_relocate_section): Output dynamic relocation
+ for R_X86_64_64 against STT_GNU_IFUNC symbol to get the real
+ function address when building shared object.
+ (elf64_x86_64_finish_dynamic_symbol): Output R_X86_64_GLOB_DAT
+ relocation for STT_GNU_IFUNC symbol in shared object.
+
+2009-06-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * Makefile.am: Run "make dep-am".
+ (BFD32_BACKENDS): Add mach-o-i386.lo.
+ (BFD32_BACKENDS_CFILES): Add mach-o-i386.c.
+ * Makefile.in: Regenerate.
+
+2009-06-06 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (spu_elf_relocate_section): Match overlay number
+ when looking for soft-icache stubs.
+
+2009-06-05 Tristan Gingold <gingold@adacore.com>
+
+ * mach-o.h: Update copyright year.
+ (bfd_mach_o_mach_header_magic): New enum.
+ (bfd_mach_o_cpu_subtype): Now an enum.
+ (BFD_MACH_O_HEADER_SIZE, BFD_MACH_O_HEADER_64_SIZE): New macros.
+ (BFD_MACH_O_SECTION_SIZE, BFD_MACH_O_SECTION_64_SIZE): Ditto.
+ (BFD_MACH_O_LC_SEGMENT_SIZE, BFD_MACH_O_LC_SEGMENT_64_SIZE): Ditto.
+ (bfd_mach_o_load_command): Field type_required is now a boolean.
+ Reindent prototypes.
+ (bfd_mach_o_object_p, bfd_mach_o_core_p): Remove.
+ (bfd_mach_o_bfd_copy_private_symbol_data): Add a prototype.
+ (bfd_mach_o_bfd_copy_private_section_data): Ditto.
+ (bfd_mach_o_bfd_copy_private_bfd_data): Ditto.
+ (bfd_mach_o_get_symtab_upper_bound): Ditto.
+ (bfd_mach_o_canonicalize_symtab): Ditto.
+ (bfd_mach_o_get_symbol_info): Ditto.
+ (bfd_mach_o_print_symbol): Ditto.
+ (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
+ (bfd_mach_o_make_empty_symbol): Ditto.
+ (bfd_mach_o_write_contents): Ditto.
+
+ * mach-o.c (bfd_mach_o_object_p, bfd_mach_o_core_p,
+ bfd_mach_o_mkobject): Defines.
+ (bfd_mach_o_valid): Returns FALSE/TRUE instead of 0/1.
+ Do not check with target vector but with flavour.
+ (struct mach_o_section_name_xlat): New declaration.
+ (dwarf_section_names_xlat): Ditto.
+ (text_section_names_xlat): Ditto.
+ (data_section_names_xlat): Ditto.
+ (struct mach_o_segment_name_xlat): Ditto.
+ (segsec_names_xlat): Ditto.
+ (bfd_mach_o_convert_section_name_to_bfd): New function.
+ (bfd_mach_o_convert_section_name_to_mach_o): Ditto.
+ (bfd_mach_o_bfd_copy_private_symbol_data): Make it public.
+ (bfd_mach_o_bfd_copy_private_section_data): Ditto.
+ (bfd_mach_o_bfd_copy_private_bfd_data): Ditto.
+ Accept any input and output flavour. Do not share private data
+ anymore.
+ (bfd_mach_o_count_symbols): Add a comment.
+ (bfd_mach_o_get_symtab_upper_bound): Make it public.
+ (bfd_mach_o_canonicalize_symtab): Ditto.
+ (bfd_mach_o_get_symbol_info): Ditto.
+ (bfd_mach_o_print_symbol): Ditto.
+ (bfd_mach_o_write_header): Now returns a boolean instead of an int.
+ Use constants instead of hard-coded values.
+ (bfd_mach_o_scan_write_section_32): Use constants instead of hard-coded
+ values.
+ (bfd_mach_o_scan_write_section_64): Ditto.
+ (bfd_mach_o_scan_write_segment): Ditto.
+ Do not copy sections anymore.
+ (bfd_mach_o_write_contents): Make it public.
+ Remove dead code. Rewrite typeflag assignment.
+ (bfd_mach_o_build_commands): New function.
+ (bfd_mach_o_set_section_contents): Ditto.
+ (bfd_mach_o_make_empty_symbol): Make it public.
+ (bfd_mach_o_read_header): Make it static.
+ Convert to bfd_boolean.
+ Use constants instead of hard-coded values.
+ (bfd_mach_o_make_bfd_section): Call
+ bfd_mach_o_convert_section_name_to_bfd to create name.
+ (bfd_mach_o_scan_read_section_32): Use constants instead of hard-coded
+ values.
+ (bfd_mach_o_scan_read_section_64): Ditto.
+ (bfd_mach_o_scan_read_segment): Do not create a bfd section for
+ a segment anymore. Use constants instead of hard-coded values.
+ (bfd_mach_o_scan_read_command): Fix style.
+ (bfd_mach_o_scan): Use constants instead of hard-coded values.
+ Get rid of BFD_IO_FUNCS.
+ (bfd_mach_o_mkobject_init): Renamed from bfd_mach_o_mkobject.
+ (bfd_mach_o_header_p): Created from bfd_mach_o_object_p.
+ (bfd_mach_o_gen_object_p): New function, replaces bfd_mach_o_object_p.
+ (bfd_mach_o_object_p): Removed.
+ (bfd_mach_o_gen_core_p): New function, replaces ...
+ (bfd_mach_o_core_p): ... deleted.
+ (bfd_mach_o_bfd_print_private_bfd_data): Make it public.
+
+ * mach-o-i386.c: New file.
+ * config.bfd: Use mach_o_i386_vec as targ_defvec for ix86-darwin.
+ * configure.in (TDEFINES): Add mach_o_i386_vec.
+ * configure: Regenerated.
+ * targets.c: Add mach_o_i386_vec.
+
+ * mach-o.c: Update copyright years.
+ (BFD_IO_FUNCS): Remove (was not used).
+ (bfd_mach_o_mkarchive, bfd_mach_o_read_ar_hdr, bfd_mach_o_slurp_armap
+ bfd_mach_o_slurp_extended_name_table,
+ bfd_mach_o_construct_extended_name_table,
+ bfd_mach_o_truncate_arname, bfd_mach_o_write_armap,
+ bfd_mach_o_get_elt_at_index, bfd_mach_o_generic_stat_arch_elt,
+ bfd_mach_o_update_armap_timestamp, bfd_mach_o_close_and_cleanup,
+ bfd_mach_o_bfd_free_cached_info, bfd_mach_o_new_section_hook,
+ bfd_mach_o_get_section_contents_in_window,
+ bfd_mach_o_bfd_is_local_label_name,
+ bfd_mach_o_bfd_is_target_special_symbol,
+ bfd_mach_o_bfd_is_local_label_name, bfd_mach_o_get_lineno,
+ bfd_mach_o_find_nearest_line, bfd_mach_o_find_inliner_info,
+ bfd_mach_o_bfd_make_debug_symbol, bfd_mach_o_read_minisymbols,
+ bfd_mach_o_minisymbol_to_symbol,
+ bfd_mach_o_bfd_get_relocated_section_contents,
+ bfd_mach_o_bfd_relax_section, bfd_mach_o_bfd_link_hash_table_create,
+ bfd_mach_o_bfd_link_hash_table_free, bfd_mach_o_bfd_link_add_symbols,
+ bfd_mach_o_bfd_link_just_syms, bfd_mach_o_bfd_final_link,
+ bfd_mach_o_bfd_link_split_section, bfd_mach_o_set_arch_mach,
+ bfd_mach_o_bfd_merge_private_bfd_data,
+ bfd_mach_o_bfd_set_private_flags, bfd_mach_o_get_section_contents,
+ bfd_mach_o_bfd_gc_sections, bfd_mach_o_bfd_merge_sections,
+ bfd_mach_o_bfd_is_group_section, bfd_mach_o_bfd_discard_group,
+ bfd_mach_o_section_already_linked, bfd_mach_o_bfd_define_common_symbol,
+ bfd_mach_o_bfd_copy_private_header_data,
+ bfd_mach_o_core_file_matches_executable_p): Move these defines ...
+ * mach-o-target.c: ... here.
+ Update copyright years.
+
+2009-06-04 Alan Modra <amodra@bigpond.net.au>
+
+ * dep-in.sed: Don't use \n in replacement part of s command.
+ * Makefile.am (DEP1): LC_ALL for uniq.
+ Run "make dep-am".
+ * Makefile.in: Regenerate.
+
+2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_allocate_dynrelocs): Remove check of
+ h->plt.refcount > 0 on STT_GNU_IFUNC symbol.
+ * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
+
+2009-06-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_allocate_dynrelocs): Allocate
+ GOT entry for STT_GNU_IFUNC symbol with pointer equality.
+ (elf_i386_relocate_section): Adjust R_386_GOT32 relocation
+ against STT_GNU_IFUNC symbols for static executables.
+ (elf_i386_finish_dynamic_symbol): Load GOT entry with
+ PLT entry for STT_GNU_IFUNC symbol with pointer equality.
+
+ * elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Allocate
+ GOT entry for STT_GNU_IFUNC symbol with pointer equality.
+ (elf64_x86_64_finish_dynamic_symbol): Load GOT entry with
+ PLT entry for STT_GNU_IFUNC symbol with pointer equality.
+
+2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * coff-rs6000.c (xcoff_ppc_relocate_section): Allow undefined
+ symbols to be left unimported when linking statically.
+ * xcofflink.c (xcoff_link_add_symbols): Ignore global linkage
+ code when linking statically.
+
+2009-06-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_check_relocs): Increment
+ got.refcount for R_386_GOT32/R_386_GOTOFF relocations
+ against STT_GNU_IFUNC symbol.
+ (elf_i386_allocate_dynrelocs): Set got.refcount to 0 if
+ local STT_GNU_IFUNC definition is used.
+ (elf_i386_relocate_section): Handle got.offset != -1 for
+ R_386_GOT32/R_386_GOTOFF relocations against STT_GNU_IFUNC
+ symbol.
+
+ * elf64-x86-64.c (elf64_x86_64_check_relocs): Increment
+ got.refcount for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64
+ relocations against STT_GNU_IFUNC symbol.
+ (elf64_x86_64_allocate_dynrelocs): Set got.refcount to 0 if
+ local STT_GNU_IFUNC definition is used.
+ (elf64_x86_64_relocate_section): Handle got.offset != -1
+ for R_X86_64_GOTPCREL/R_X86_64_GOTPCREL64 relocations against
+ STT_GNU_IFUNC symbol.
+
+2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/10205
+ * elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
+ (elf_i386_reloc_type_lookup): Likewise.
+ (R_386_tls): Removed.
+ (R_386_irelative): New.
+ (R_386_vt_offset): Updated.
+ (elf_i386_rtype_to_howto): Likewise.
+ (elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
+ (elf_i386_link_hash_table_create): Initialize igotplt,
+ iplt and irelplt.
+ (elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
+ (elf_i386_adjust_dynamic_symbol): Likewise.
+ (elf_i386_allocate_dynrelocs): Likewise.
+ (elf_i386_relocate_section): Likewise.
+ (elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
+ sections.
+ (elf_i386_finish_dynamic_symbol): When building a static
+ executable, use .iplt, .igot.plt and .rel.iplt sections for
+ STT_GNU_IFUNC symbols. Generate R_386_IRELATIVE relocation for
+ locally defined STT_GNU_IFUNC symbol.
+
+ * elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
+ (x86_64_reloc_map): Likewise.
+ (R_X86_64_standard): Updated.
+ (elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
+ (elf64_x86_64_link_hash_table_create): Initialize igotplt,
+ iplt and irelplt.
+ (elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
+ (elf64_x86_64_adjust_dynamic_symbol): Likewise.
+ (elf64_x86_64_allocate_dynrelocs): Likewise.
+ (elf64_x86_64_relocate_section): Likewise.
+ (elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
+ sections.
+ (elf64_x86_64_finish_dynamic_symbol): When building a static
+ executable, use .iplt, .igot.plt and .rela.iplt sections for
+ STT_GNU_IFUNC symbols. Generate R_X86_64_IRELATIVE relocation
+ for locally defined STT_GNU_IFUNC symbol.
+
+ * reloc.c (BFD_RELOC_386_IRELATIVE): New.
+ (BFD_RELOC_X86_64_IRELATIVE): Likewise.
+
+ * bfd-in2.h: Regenerated.
+ * libbfd.h: Likewise.
+
+2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf-bfd.h (struct bfd_elf_section_data): Remove indirect_relocs.
+ (_bfd_elf_make_ifunc_reloc_section): Removed.
+ (_bfd_elf_is_ifunc_symbol): Likewise.
+ (_bfd_elf_create_static_ifunc_sections): New.
+
+ * elflink.c (_bfd_elf_adjust_dynamic_symbol): Move STT_GNU_IFUNC
+ symbol check to ...
+ (elf_link_add_object_symbols): Here.
+ (_bfd_elf_link_hash_hide_symbol): Don't clean plt on
+ STT_GNU_IFUNC symbol.
+ (elf_link_output_extsym): Call elf_backend_finish_dynamic_symbol
+ if a STT_GNU_IFUNC symbol is referenced in a non-shared object.
+ (IFUNC_INFIX): Removed.
+ (get_ifunc_reloc_section_name): Likewise.
+ (_bfd_elf_make_ifunc_reloc_section): Likewise.
+ (_bfd_elf_is_ifunc_symbol): Likewise.
+ (_bfd_elf_create_static_ifunc_sections): New.
+
+2009-05-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (link_hash_newfunc): Add elf_i386_ prefix.
+ (create_got_section): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (readonly_dynrelocs): Likewise.
+ (set_tls_module_base): Likewise.
+ (dtpoff_base): Likewise.
+ (tpoff): Likewise.
+ (elf_i386_link_hash_table_create): Updated.
+ (elf_i386_create_dynamic_sections): Likewise.
+ (elf_i386_check_relocs): Likewise.
+ (elf_i386_size_dynamic_sections): Likewise.
+ (elf_i386_relocate_section): Likewise.
+
+ * elf64-x86-64.c (link_hash_newfunc): Add elf64_x86_64_ prefix.
hooks/post-receive
--
Repository for Project Archer.