Pedro Alves [Sat, 14 Mar 2009 01:38:08 +0000 (01:38 +0000)]
2009-03-14 Pedro Alves <pedro@codesourcery.com>
gdb/
* remote.c (PACKET_qAttached): New.
(remote_query_attached): New.
(remote_add_inferior): Add new `attached' argument. Handle it.
(remote_notice_new_inferior, remote_start_remote): Adjust to pass
-1 to remote_add_inferior in new parameter.
(extended_remote_attach_1): Adjust to pass 1 to
remote_add_inferior in the new parameter.
(extended_remote_create_inferior_1): Adjust to pass 0 to
remote_add_inferior in the new parameter.
(_initialize_remote): Add "set/show remote query-attached-packet"
commands.
2009-03-14 Pedro Alves <pedro@codesourcery.com>
gdb/gdbserver/
* server.c (handle_query): Handle "qAttached".
2009-03-14 Pedro Alves <pedro@codesourcery.com>
gdb/doc/
* gdb.texinfo (Remote Configuration): Document query-attached.
(General Query Packets): Document qAttached.
Alan Modra [Sat, 14 Mar 2009 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 14 Mar 2009 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Ian Lance Taylor [Fri, 13 Mar 2009 21:30:06 +0000 (21:30 +0000)]
* fileread.cc (Input_file::open): Remove options parameter.
Change all callers.
(Input_file::open_binary): Likewise.
* script.cc (read_input_script): Likewise.
* readsyms.h (class Read_symbols): Remove options_ field. Remove
options parameter from constructor. Change all callers.
(class Read_script): Likewise.
* fileread.h (class Input_file): Update declarations.
* script.h (read_input_script): Update declaration.
Tom Tromey [Fri, 13 Mar 2009 21:02:58 +0000 (21:02 +0000)]
* symtab.c (lookup_symbol_in_language): Use a cleanup.
Doug Evans [Fri, 13 Mar 2009 17:26:59 +0000 (17:26 +0000)]
* exceptions.h: Clean up some comments on catch_exceptions usage.
* exceptions.c: Ditto. Plus mark catch_errors as superseded by
catch_exceptions.
H.J. Lu [Fri, 13 Mar 2009 13:39:57 +0000 (13:39 +0000)]
bfd/
2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/9945
* elf.c (assign_section_numbers): Generate symbol table if there
is any relocation in output.
(_bfd_elf_compute_section_file_positions): Likewise.
binutils/
2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/9945
* objcopy.c (copy_object): Clear HAS_RELOC when stripping all.
Nick Clifton [Fri, 13 Mar 2009 11:34:43 +0000 (11:34 +0000)]
PR 9934
* elf-bfd.h (NUM_SHDR_ENTRIES): Cope with an empty section.
* elflink.c (elf_link_read_relocs_from_section): Use
NUM_SHDR_ENTRIES. Gracefully handle the case where there are
relocs but no symbol table.
* elf32-arm.c (elf32_arm_check_relocs): Likewise.
Vladimir Prus [Fri, 13 Mar 2009 10:55:08 +0000 (10:55 +0000)]
* gdb.mi/mi-cli.exp: Adjust for output difference in
sync and async modes.
Nick Clifton [Fri, 13 Mar 2009 09:00:59 +0000 (09:00 +0000)]
* lib/ld-lib.exp (run_dump_test): Add verbose to list of globals.
Replace call to verbose_eval with a test of verbose level. If
greater than 2 always dump the contents of the dumpfile. If equal
to 2 only dump the contents if the regexp diff failed.
(proc verbose_eval): Delete.
Nathan Sidwell [Fri, 13 Mar 2009 07:57:47 +0000 (07:57 +0000)]
* Makefile.in, hostio-errno.c, errno.c, xtensa-xtregs.c: Change to
GPLv3, update license URL.
Joel Brobecker [Fri, 13 Mar 2009 02:34:13 +0000 (02:34 +0000)]
* source.c (source_full_path_of): Constify parameter filename.
* defs.h (source_full_path_of): Update declaration accordingly.
Joel Brobecker [Fri, 13 Mar 2009 02:30:55 +0000 (02:30 +0000)]
* ada-lang.c (ada_evaluate_subexp): Merge case BINOP_REM and
BINOP_MOD cases with the handling of case BINOP_DIV and BINOP_MUL.
Remove useless op value checks when EVAL_AVOID_SIDE_EFFECTS.
Joel Brobecker [Fri, 13 Mar 2009 02:24:38 +0000 (02:24 +0000)]
* gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
that was checked in by mistake. Remove loading of ada.exp, since
this is not necessary in this case.
Joel Brobecker [Fri, 13 Mar 2009 02:15:36 +0000 (02:15 +0000)]
* gdb.ada/ptype_arith_binop.exp: New testcase.
Joel Brobecker [Fri, 13 Mar 2009 02:15:01 +0000 (02:15 +0000)]
* ada-lang.c (ada_evaluate_subexp) <BINOP_DIV>: make sure to
promote the operands when noside is EVAL_AVOID_SIDE_EFFECTS.
Joel Brobecker [Fri, 13 Mar 2009 01:52:33 +0000 (01:52 +0000)]
Fix the author name in the last entry.
Joel Brobecker [Fri, 13 Mar 2009 01:51:17 +0000 (01:51 +0000)]
* ada-tasks.c (ada_task_is_alive): Move up and make static.
* ada-lang.h (ada_task_is_alive): Remove declaration.
Joel Brobecker [Fri, 13 Mar 2009 01:28:05 +0000 (01:28 +0000)]
* ada-lang.c (ada_delta): Change the type of numerators and
denominators to DOUBLEST, as they may not fit into a long.
(scaling_factor): Ditto.
Joel Brobecker [Fri, 13 Mar 2009 01:13:33 +0000 (01:13 +0000)]
Improve the last changelog entry.
Joel Brobecker [Fri, 13 Mar 2009 01:12:21 +0000 (01:12 +0000)]
* language.c (lang_bool_type): Return a builtin bool type in the
Ada case.
Joel Brobecker [Fri, 13 Mar 2009 00:57:52 +0000 (00:57 +0000)]
* ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: For tagged
types, if we are unable to determine the actual symbol type
from its tag, then use the static approximation instead.
gdbadmin [Fri, 13 Mar 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 13 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Thu, 12 Mar 2009 23:42:05 +0000 (23:42 +0000)]
* gdb.ada/mod_from_name: New testcase.
Joel Brobecker [Thu, 12 Mar 2009 23:41:16 +0000 (23:41 +0000)]
Fix crash printing packed record with packed array.
* ada-lang.c (ada_modulus_from_name): New function.
(ada_modulus): In the case where the type length is bigger than
the size of the type used to hold the bounds, try determining
the modulus from the type name.
(ada_value_primitive_packed_val): Fix bug in the computation of
ntarg causing an out-of-buffer invalid access.
Joel Brobecker [Thu, 12 Mar 2009 23:19:35 +0000 (23:19 +0000)]
* gdb.ada/tick_last_segv: New testcase.
Joel Brobecker [Thu, 12 Mar 2009 23:17:33 +0000 (23:17 +0000)]
Fix segfault when printing short_integer'last.
* ada-lang.c (ada_find_any_type): Search in the primitive types
if a symbol could not be found.
Joel Brobecker [Thu, 12 Mar 2009 22:53:38 +0000 (22:53 +0000)]
* ada-tasks.c (task_states,long_task_states): Add new states
Activating and Acceptor_Delay_Sleep. Update the description
of state Acceptor_Sleep.
Joel Brobecker [Thu, 12 Mar 2009 22:29:30 +0000 (22:29 +0000)]
Fix a build failure on Darwin following some changes in
the profile of some target_ops methods.
* darwin-nat.c (darwin_kill_inferior): Add target_ops parameter
where missing.
(darwin_stop_inferior, darwin_detach): Likewise.
Vladimir Prus [Thu, 12 Mar 2009 20:16:06 +0000 (20:16 +0000)]
* gdb.mi/mi-cli.exp: Remove debug print.
Vladimir Prus [Thu, 12 Mar 2009 20:08:04 +0000 (20:08 +0000)]
Include token in ^running notification for CLI commands.
* mi/mi-main.c (mi_execute_command): Set current_token here.
(mi_cmd_execute): Do not set current_token here.
Vladimir Prus [Thu, 12 Mar 2009 19:54:54 +0000 (19:54 +0000)]
Fix MI timings.
* mi/mi-main.c (mi_print_timing_maybe): New.
(captured_mi_execute_command): Simplify. Output timings to
CLI commands, too.
(mi_execute_async_cli_command): Do not print timings.
* mi/mi-main.h (mi_print_timing_maybe): Declare.
* mi/mi-interp.c (mi_on_normal_stop): Call mi_print_timing_maybe.
Joel Brobecker [Thu, 12 Mar 2009 17:56:20 +0000 (17:56 +0000)]
* xcoffread.c (process_linenos): Check if the line in the
include table refers to the main source file and, if so,
add them to the main subfile.
Joel Brobecker [Thu, 12 Mar 2009 17:44:29 +0000 (17:44 +0000)]
Fix a build failure on AIX introduced after a change in the profile
of some of the "methods" in the target_ops structure.
* aix-thread.c: Add missing target_ops parameter throughout.
Implement Ada task switching on AIX.
* aix-thread.c (aix_thread_get_ada_task_ptid): New function.
(init_aix_thread_ops): Set aix_thread_ops.to_get_ada_task_ptid.
H.J. Lu [Thu, 12 Mar 2009 17:13:41 +0000 (17:13 +0000)]
2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
PR ld/9938
* elf32-i386.c (elf_i386_check_tls_transition): Use strncmp
to check ___tls_get_addr.
* elf64-x86-64.c (elf64_x86_64_check_tls_transition): Use
strncmp to check __tls_get_addr.
Andrew Stubbs [Thu, 12 Mar 2009 10:57:18 +0000 (10:57 +0000)]
2009-03-12 Andrew Stubbs <ams@codesourcery.com>
* dwarf2.c (read_section): Always check the offset, even when the
section has been read before.
gdbadmin [Thu, 12 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 12 Mar 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Joseph Myers [Wed, 11 Mar 2009 22:49:54 +0000 (22:49 +0000)]
* binutils-all/objdump.W, binutils-all/objdump.s: Don't match
literal "tmpdir/" in expected output.
Daniel Jacobowitz [Wed, 11 Mar 2009 20:26:02 +0000 (20:26 +0000)]
* breakpoint.c (bpstat_check_breakpoint_conditions): Use
value_mark and value_free_to_mark.
* objfiles.c (free_objfile): Call objfile_free_data before
freeing the BFD.
H.J. Lu [Wed, 11 Mar 2009 16:42:23 +0000 (16:42 +0000)]
2009-03-11 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_tls_transition): Fix a typo in
comments.
Chris Demetriou [Wed, 11 Mar 2009 04:36:40 +0000 (04:36 +0000)]
[bfd/ChangeLog]
2009-03-11 Chris Demetriou <cgd@google.com>
* bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
* bfd-in2.h: Regenerate.
* archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT
flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file
mode.
(bsd_write_armap): Likewise.
(_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT
flag is set, do nothing.
(coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0
for timestamp.
[binutils/ChangeLog]
2009-03-11 Chris Demetriou <cgd@google.com>
* ar.c (deterministic): New global variable.
(main): Recognize new 'D' option, which enables 'deterministic mode'.
(usage): Document new 'D' option.
(write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's
flags if deterministic mode was requested.
* doc/binutils.texi (ar): Document deterministic mode ('D' option).
[binutils/testsuite/ChangeLog]
2009-03-11 Chris Demetriou <cgd@google.com>
* binutils-all/ar.exp (deterministic_archive): New test.
Hans-Peter Nilsson [Wed, 11 Mar 2009 03:22:44 +0000 (03:22 +0000)]
* config/tc-cris.c (cris_create_short_jump): Remove prototype.
Rename, changing all callers, to...
(md_create_short_jump): Adjust head comment. Assert
word-sized-branch distance for v32. Bail out calling as_fatal for
compatibility mode here.
(md_create_long_jump): ...not here.
* config/tc-cris.h (md_create_short_jump): Do not define.
Hans-Peter Nilsson [Wed, 11 Mar 2009 03:17:32 +0000 (03:17 +0000)]
* gas/cris/rd-bkw5.d, gas/cris/rd-bkw5.s, gas/cris/rd-bkw5b.d,
gas/cris/rd-bkw5bpic.d, gas/cris/rd-bkw5bv32.d,
gas/cris/rd-bkw5bv32pic.d, gas/cris/rd-bkw5pic.d,
gas/cris/rd-bkw5v32.d, gas/cris/rd-bkw5v32pic.d: New tests.
Ulrich Weigand [Wed, 11 Mar 2009 00:18:02 +0000 (00:18 +0000)]
* elf32-spu.c (find_function_stack_adjust): Handle sf instruction
used to update stack pointer.
gdbadmin [Wed, 11 Mar 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 11 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Tue, 10 Mar 2009 14:40:36 +0000 (14:40 +0000)]
* gas/cris/rd-bkw4.d, gas/cris/rd-bkw4v32.d, gas/cris/rd-bkw4.s:
New test.
Hans-Peter Nilsson [Tue, 10 Mar 2009 14:38:03 +0000 (14:38 +0000)]
* write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
the jump table for multiple overflowing entries with the same
target, handle base symbols being different.
(relax_segment) <case rs_broken_word, second loop>: Whenever a
single entry overflows, arrange to redirect all entries with the
same target.
Nick Clifton [Tue, 10 Mar 2009 09:21:01 +0000 (09:21 +0000)]
Add Spanish translation to gold.
Update Indonesian translation for opcodes.
Hui Zhu [Tue, 10 Mar 2009 08:53:53 +0000 (08:53 +0000)]
* disasm.c (gdb_disassembly): Remove unused argument
"line_num".
* disasm.h (gdb_disassembly): Ditto.
* cli/cli-cmds.c (print_disassembly): Ditto.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Ditto.
Alan Modra [Tue, 10 Mar 2009 06:53:46 +0000 (06:53 +0000)]
include/opcode/
* ppc.h (ppc_parse_cpu): Declare.
opcodes/
* ppc-dis.c: Include "opintl.h".
(struct ppc_mopt, ppc_opts): New.
(ppc_parse_cpu): New function.
(powerpc_init_dialect): Use it.
(print_ppc_disassembler_options): Dump options from ppc_opts.
Internationalize message.
gas/
* config/tc-ppc.c (parse_cpu): Delete.
(md_parse_option, ppc_machine): Use ppc_parse_cpu.
gas/testsuite/
* gas/ppc/altivec_and_spe.d (objdump): Add -Maltivec.
* gas/ppc/common.d: Adjust for -Mcom not including -Mppc.
H.J. Lu [Tue, 10 Mar 2009 00:48:10 +0000 (00:48 +0000)]
binutils/
2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/9933
* objcopy.c (filter_symbols): Properly handle common symbols
in relocatable file.
binutils/testsuite/
2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/9933
* binutils-all/copy-4.d: New.
* binutils-all/objcopy.exp: Run copy-4.
gdbadmin [Tue, 10 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 10 Mar 2009 00:00:08 +0000 (00:00 +0000)]
daily update
Paul Pluzhnikov [Mon, 9 Mar 2009 22:38:37 +0000 (22:38 +0000)]
2009-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
* solib.c (solib_contains_address_p): New function.
(solib_name_from_address): Use it.
* printcmd.c (display_uses_solib_p): Use it.
* solib.h (solib_contains_address_p): Declare it.
Jan Kratochvil [Mon, 9 Mar 2009 22:35:44 +0000 (22:35 +0000)]
* varobj.c (free_variable): Call value_free.
Jan Kratochvil [Mon, 9 Mar 2009 18:53:48 +0000 (18:53 +0000)]
PR gdb/9873:
* dwarf2read.c (dwarf_decode_macros): New variable `at_commandline'.
Move the variable `macinfo_type' out of the loop. Create a new
processing pass before the current one to pre-create `current_file'.
New complaint on misplaced zero/non-zero definitions/includes.
Skip first DW_MACINFO_start_file with `at_commandline' set.
H.J. Lu [Mon, 9 Mar 2009 18:33:42 +0000 (18:33 +0000)]
2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
PR gas/9915
* config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
(LOCAL_LABELS_FB): Undefine befoe define.
Vladimir Prus [Mon, 9 Mar 2009 13:19:19 +0000 (13:19 +0000)]
* solib.c (reload_shared_libraries): Give
inferior a chance to reset solib breakpoint.
Reinit frame cache.
Christopher Faylor [Mon, 9 Mar 2009 05:35:56 +0000 (05:35 +0000)]
Minor formatting change
gdbadmin [Mon, 9 Mar 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 9 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Christopher Faylor [Sun, 8 Mar 2009 21:01:52 +0000 (21:01 +0000)]
* windows-nat.c (dr): Redefine to use largest possible integer which holds a
pointer.
(cygwin_set_dr): Avoid coercion.
* windows-nat.c (windows_create_inferior): implement --tty handling on
non-cygwin.
Alan Modra [Sun, 8 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 8 Mar 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Dave Anglin [Sat, 7 Mar 2009 23:42:28 +0000 (23:42 +0000)]
* ld-elf/empty2.d: Remove xfail for hppa*-*-*.
* ld-elf/merge.d: Change xfail for hppa to hppa*64*-*-*.
Dave Anglin [Sat, 7 Mar 2009 23:38:13 +0000 (23:38 +0000)]
PR binutils/9921
* som.c (som_bfd_derive_misc_symbol_info): Set symbol type ST_ABSOLUTE
for unknown symbols in absolute section.
Alan Modra [Sat, 7 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 7 Mar 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Cary Coutant [Fri, 6 Mar 2009 23:12:37 +0000 (23:12 +0000)]
* options.cc (parse_short_option): Keep dash_z from registering itself.
Paul Pluzhnikov [Fri, 6 Mar 2009 18:51:05 +0000 (18:51 +0000)]
2009-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
Rename solib_address to solib_name_from_address.
* breakpoint.c (insert_bp_location, disable_breakpoints_in_shlibs)
(disable_breakpoints_in_unloaded_shlib): Update.
* printcmd.c (display_uses_solib_p): Likewise.
* stack.c (print_frame): Likewise.
* solib.c: Rename.
* solib.h: Rename.
Nick Clifton [Fri, 6 Mar 2009 12:14:40 +0000 (12:14 +0000)]
Updated Spanish translations.
Christophe Lyon [Fri, 6 Mar 2009 08:57:58 +0000 (08:57 +0000)]
09-03-05 Christophe Lyon <christophe.lyon@st.com>
bfd/
* elf32-arm.c (group_sections): Take next section size into
account before accepting to group it.
testsuite/
* ld-arm/arm-elf.exp: Add new farcall-group-limit test.
* ld-arm/farcall-group-limit.d: New file.
* ld-arm/farcall-group3.s: New file.
* ld-arm/farcall-group4.s: New file.
gdbadmin [Fri, 6 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 6 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Paul Pluzhnikov [Thu, 5 Mar 2009 23:45:14 +0000 (23:45 +0000)]
2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
* printcmd.c (do_one_display): Reparse exp_string.
(display_uses_solib_p): New function.
(clear_dangling_display_expressions): New function.
(_initialize_printcmd): Add observer.
* solib.c (no_shared_libraries): Swap order of calls to
clear_solib and objfile_purge_solibs.
Joel Brobecker [Thu, 5 Mar 2009 23:42:32 +0000 (23:42 +0000)]
Implement the target-specific part of Ada tasking support
on Tru64.
* dec-thread.c (dec_thread_get_ada_task_ptid): New function.
(init_dec_thread_ops): Set the to_get_ada_task_ptid method.
Joel Brobecker [Thu, 5 Mar 2009 23:37:20 +0000 (23:37 +0000)]
Get rid of the global "base_target" and use "find_target_beneath"
to find the underlying target.
* dec-thread.c (base_target): Delete.
(enable_dec_thread): Remove assignement to base_target.
(dec_thread_detach, dec_thread_wait, dec_thread_wait)
(dec_thread_fetch_registers, dec_thread_store_registers)
(dec_thread_mourn_inferior, dec_thread_pid_to_str):
Update the function profile if necessary.
Use find_target_beneath to call the same method but from
the underlying target, removing the need for "base_target".
* dec-thread.c (dec_thread_get_regsets, dec_thread_set_regsets):
Fix a copy/paste error in a few debug traces...
* solib-osf.c (init_so): Use a simpler method for computing
the size of lm_info structure. This also gets rid of warning
emitted by the compiler.
Pedro Alves [Thu, 5 Mar 2009 23:11:11 +0000 (23:11 +0000)]
* gdb.texinfo (Background Execution): Better describe the set
target-async command.
(Maintenance Commands): Delete description of the `maint set/show
linux-async' and `maint set/show remote-async' commands.
Pedro Alves [Thu, 5 Mar 2009 22:37:11 +0000 (22:37 +0000)]
gdb/
2009-03-05 Pedro Alves <pedro@codesourcery.com>
* breakpoint.c (check_duplicates_for): Skip permanent breakpoints
duplicates of permanent breakpoints.
gdb/testsuite/
2009-03-05 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
Christophe Lyon [Thu, 5 Mar 2009 17:28:21 +0000 (17:28 +0000)]
2009-03-05 Christophe Lyon <christophe.lyon@st.com>
bfd/
* elf32-arm.c (arm_type_of_stub): Handle long branches targetting
PLT entries.
(elf32_arm_final_link_relocate): Likewise.
testsuite/
* ld-arm/arm-elf.exp: Add 2 more tests to check long branch stubs
in PLT context.
* ld-arm/farcall-mixed-app-v5.d: New file.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-app.r: Likewise.
* ld-arm/farcall-mixed-app.s: Likewise.
* ld-arm/farcall-mixed-app.sym: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/farcall-mixed-lib.r: Likewise.
Nick Clifton [Thu, 5 Mar 2009 16:31:50 +0000 (16:31 +0000)]
* objdump.c (disassemble_section): If the computed next offset is
not beyond the current offset then just continue to the end.
Joseph Myers [Thu, 5 Mar 2009 15:27:59 +0000 (15:27 +0000)]
gas:
* read.c (s_fill, s_space, s_float_space, float_cons, stringer,
s_incbin): Call md_cons_align (1).
gas/testsuite:
* gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New.
Alan Modra [Thu, 5 Mar 2009 01:04:56 +0000 (01:04 +0000)]
PR 9923
* peXXigen.c (_bfd_XXi_final_link_postscript): Check h->root.type.
gdbadmin [Thu, 5 Mar 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 5 Mar 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Pedro Alves [Wed, 4 Mar 2009 22:52:00 +0000 (22:52 +0000)]
Wrap long line.
Pedro Alves [Wed, 4 Mar 2009 22:50:59 +0000 (22:50 +0000)]
* inferior.h (notice_new_inferior): Declare.
* infcmd.c (notice_new_inferior): New.
* remote.c (remote_add_inferior, remote_add_thread): New.
(notice_new_inferiors): Rename to...
(remote_notice_new_inferior): ... this. Add RUNNING argument.
Use remote_add_thread instead of add_thread, passing it the
RUNNING argument. Add an inferior with remote_add_inferior. If
we just learned about an inferior, call notice_new_inferior.
(record_currthread): Adjust.
(remote_threads_info): Adjust to use remote_notice_new_inferior.
(remote_start_remote, extended_remote_attach_1): Use remote_add_inferior.
(process_stop_reply): Adjust. Call remote_notice_new_inferior
after handling expedited registers and watchpoint state.
(extended_remote_create_inferior_1): Use remote_add_inferior.
Aleksandar Ristovski [Wed, 4 Mar 2009 17:58:34 +0000 (17:58 +0000)]
* infcmd.c (registers_info): Remove register number case.
Nick Clifton [Wed, 4 Mar 2009 16:15:43 +0000 (16:15 +0000)]
* config/tc-alpha.c (alpha_prologue_label): Only define for ELF
based targets.
(s_alpha_comm): Only define "temp" and "log_align" local variables
for EVAX targets.
Tristan Gingold [Wed, 4 Mar 2009 15:18:41 +0000 (15:18 +0000)]
2009-03-04 Tristan Gingold <gingold@adacore.com>
* MAINTAINERS: Add myself as VMS maintainer.
Ian Lance Taylor [Wed, 4 Mar 2009 06:46:27 +0000 (06:46 +0000)]
PR 9918
* target-reloc.h (relocate_section): Pass output_section to
relocate.
* i386.cc (Target_i386::should_apply_static_reloc): Add
output_section parameter. Change all callers.
(Target_i386::Relocate::relocate): Add output_section parameter.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.
* sparc.cc (Target_sparc::Relocate::relocate): Likewise.
* powerpc.cc (Target_powerpc::Relocate::relocate): Likewise.
* testsuite/two_file_shared.sh: New script.
* testsuite/Makefile.am (check_SCRIPTS): Add two_file_shared.sh.
(check_DATA): Add two_file_shared.dbg.
(two_file_shared.dbg): New target.
* testsuite/Makefile.in: Rebuild.
Alan Modra [Wed, 4 Mar 2009 05:50:50 +0000 (05:50 +0000)]
include/elf/
* ppc.h (R_PPC_TLSGD, R_PPC_TLSLD): Add new relocs.
* ppc64.h (R_PPC64_TLSGD, R_PPC64_TLSLD): Add new relocs.
bfd/
* reloc.c (BFD_RELOC_PPC_TLSGD, BFD_RELOC_PPC_TLSLD): New.
* section.c (struct bfd_section): Add has_tls_get_addr_call.
(BFD_FAKE_SECTION): Init new flag.
* ecoff.c (bfd_debug_section): Likewise.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_TLSGD and R_PPC_TLSLD.
(ppc_elf_reloc_type_lookup): Handle new relocs.
(ppc_elf_check_relocs): Set has_tls_get_addr_call on finding such
without marker relocs.
(ppc_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
if section has no old-style calls.
(ppc_elf_relocate_section): Set tls_mask for non-tls relocs too.
Don't try to optimize new-style __tls_get_addr call when handling
arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
relocs.
* elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_TLSGD, R_PPC64_TLSLD.
(ppc64_elf_reloc_type_lookup): Handle new relocs.
(ppc64_elf_check_relocs): Set has_tls_get_addr_call on finding such
without marker relocs.
(ppc64_elf_tls_optimize): Allow out-of-order __tls_get_addr relocs
if section has no old-style calls. Set toc_ref for new relocs as
appropriate.
(ppc64_elf_relocate_section): Set tls_mask for non-tls relocs too.
Don't try to optimize new-style __tls_get_addr call when handling
arg setup relocs. Instead do so for R_PPC_TLSGD and R_PPC_TLSLD
relocs.
gas/
* config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
have non-zero addend.
(md_assemble): Parse args of __tls_get_addr calls.
(md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
ld/testsuite/
* ld-powerpc/tlsmark.s, * ld-powerpc/tlsmark.d: New test.
* ld-powerpc/tlsmark32.s, * ld-powerpc/tlsmark32.d: New test.
* ld-powerpc/powerpc.exp: Run them.
Alan Modra [Wed, 4 Mar 2009 02:10:34 +0000 (02:10 +0000)]
bfd/
PR 6768
* configure.in: Test for ld --as-needed support. Link shared
libbfd against libm.
* configure: Regenerate.
opcodes/
PR 6768
* configure.in: Test for ld --as-needed support. Link shared
libopcodes against libm.
* configure: Regenerate.
Alan Modra [Wed, 4 Mar 2009 01:16:15 +0000 (01:16 +0000)]
missing from make dep-am commit
Peter Bergner [Wed, 4 Mar 2009 01:00:53 +0000 (01:00 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
instructions from newer processors are listed before older ones.
gdbadmin [Wed, 4 Mar 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 4 Mar 2009 00:00:05 +0000 (00:00 +0000)]
daily update