deliverable/binutils-gdb.git
15 years ago/bfd:
Eric B. Weddington [Tue, 3 Feb 2009 17:21:02 +0000 (17:21 +0000)] 
/bfd:
2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>

* elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.

15 years ago PR 9797
Nick Clifton [Tue, 3 Feb 2009 17:04:53 +0000 (17:04 +0000)] 
    PR 9797
        * ld.texinfo (Constants): Document the base-encoding suffixes
        supported in linker scripts.

15 years agobinutils/
H.J. Lu [Tue, 3 Feb 2009 15:56:59 +0000 (15:56 +0000)] 
binutils/

2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Move --as-needed change to ...
* ../ld/NEWS: Here.

ld/

2009-02-03  Alan Modra  <amodra@bigpond.net.au>

* NEWS: Mention --as-needed change.

15 years agobfd:
Joseph Myers [Tue, 3 Feb 2009 15:54:05 +0000 (15:54 +0000)] 
bfd:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am
and install-pdf-recursive targets. Define pdfdir.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate
* doc/Makefile.in: Regenerate.

binutils:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

etc:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* configure: Regenerate.

gas:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets.
* doc/Makefile.am: Define pdf__strip_dir. Add
install-pdf and install-pdf-am targets.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

gprof:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets. Define pdf__strip_dir.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.

ld:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* configure.in: AC_SUBST pdfdir.
* Makefile.am: Add install-pdf, install-pdf-am,
and install-pdf-recursive targets. Define pdf__strip_dir.
* po/Make-in: Add install-pdf target.
* configure: Regenerate.
* Makefile.in: Regenerate.

opcodes:
2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>

* Makefile.am: Add install-pdf target.
* po/Make-in: Add install-pdf target.
* Makefile.in: Regenerate.

15 years ago2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 3 Feb 2009 15:48:50 +0000 (15:48 +0000)] 
2009-02-03  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/9784
* NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.

* doc/binutils.texi: Document --prefix=PREFIX and
--prefix-strip=LEVEL.

* objdump.c: Include "filenames.h".
(prefix): New.
(prefix_strip): Likewise.
(prefix_length): Likewise.
(usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
(option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
(long_options): Likewise.
(show_line): Handle prefix and prefix_strip.
(main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.

* readelf.c (PATH_MAX): Moved to ...
* sysdep.h: Here.

15 years agonew files accidentally omitted from previous delta
Nick Clifton [Tue, 3 Feb 2009 14:48:32 +0000 (14:48 +0000)] 
new files accidentally omitted from previous delta

15 years ago M68K TLS support.
Nick Clifton [Tue, 3 Feb 2009 14:36:47 +0000 (14:36 +0000)] 
    M68K TLS support.

        ld/testsuite/
        * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
        * ld-m68k/got-multigot-14-ok.d: Update.
        * ld-m68k/m68k-got.exp: Update.
        * ld-m68k/got-negative-12-13-14-34-ok.d: Update.
        * ld-m68k/got-negative-14-ok.d: Update.
        * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
        * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
        * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
        * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
        New test sources.
        * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
        New test sources.
        * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
        * ld-m68k/m68k.exp: Run new tests.
        (merge isa-a isa-a:nodiv): Fix.

        gas/testsuite/
        * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
        * gas/m68k/all.exp: Run it.

        gas/
        * config/m68k-parse.h (enum pic_relocation): Add values for TLS
        relocations.
        * config/m68k-parse.y (yylex): Parse TLS relocations.
        * config/tc-m68k.c (m68k_elf_cons): New static function.
        (md_pseudo_table): Use it.
        (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
        relocations.
        (md_apply_fix): Fix to set thread local flag.
        (m68k_elf_suffix): New static function; helper for m68k_elf_cons.

        include/elf/
        * m68k.h: Map TLS relocations to numbers.

        bfd/
        * bfd-in2.h: Regenerate.
        * elf32-m68k.c: Handle 2-slot GOT entries.  Rename variables and
        fields from n_entries to n_slots where appropriate, update comments.
        (HOWTO): Add TLS relocations.
        (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
        (enum elf_m68k_got_offset_size): New enum.
        (struct elf_m68k_got_entry.type): Move field to ...
        (struct elf_m68k_got_entry_key): ... here.  Update all uses.
        (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
        functions.
        (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
        functions.
        (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
        fields into n_entries array.  Update comments.
        (elf_m68k_init_got): Simplify, update all uses.
        (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
        (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
        GOT entries; update name, update all uses.
        (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
        (elf_m68k_get_got_entry): Update.
        (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
        simplify.
        (elf_m68k_remove_got_entry_type): Simplify.
        (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
        (elf_m68k_can_merge_gots): Update.
        (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
        (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
        GOT entries, simplify.
        (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
        (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
        field, remove obsoleted local_n_entries field.
        (elf_m68k_partition_multi_got_2): New static function.
        (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
        update.
        (elf_m68k_remove_got_entry_type): Update.
        (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
        (elf_m68k_check_relocs): Handle TLS relocations.  Remove unnecessary
        update of sgot->size and srelgot->size.
        (elf_m68k_gc_sweep_hook): Update.
        (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
        (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
        TLS relocations.
        * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
        * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.

15 years ago PR 9779
Nick Clifton [Tue, 3 Feb 2009 10:58:46 +0000 (10:58 +0000)] 
    PR 9779
        * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
        indexed addressing for symbolic expressions.

15 years ago* elf32-mep.c (config_names): Regenerate configuration.
DJ Delorie [Tue, 3 Feb 2009 02:15:57 +0000 (02:15 +0000)] 
* elf32-mep.c (config_names): Regenerate configuration.

* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.

15 years ago * breakpoint (update_watchpoint): Minor comment adjustment.
Joel Brobecker [Tue, 3 Feb 2009 01:09:35 +0000 (01:09 +0000)] 
    * breakpoint (update_watchpoint): Minor comment adjustment.

15 years agoFix ChangeLog to point to the correct bug, PR gdb/9594.
Tom Tromey [Tue, 3 Feb 2009 01:09:01 +0000 (01:09 +0000)] 
Fix ChangeLog to point to the correct bug, PR gdb/9594.

gdb/testsuite
* gdb.cp/cpcompletion.exp: Name the test "pr9594".
* gdb.cp/pr2489.cc: Rename...
* gdb.cp/pr9594.cc: ... to this.

15 years agogdb
Tom Tromey [Tue, 3 Feb 2009 01:00:40 +0000 (01:00 +0000)] 
gdb
PR gdb/2489:
* completer.c (count_struct_fields): Count method names.
(add_struct_fields): Add matching method names.
gdb/testsuite
* gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
* gdb.cp/pr2489.cc: New file.
* gdb.cp/cpcompletion.exp: New file.

15 years agodaily update
Alan Modra [Tue, 3 Feb 2009 00:00:04 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 3 Feb 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
Doug Evans [Mon, 2 Feb 2009 23:18:05 +0000 (23:18 +0000)] 
* config/tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails.
(SC_PATH_TKCONFIG): Don't exit 0 if tkconfig fails.
(SC_LOAD_TCLCONFIG): Quote all uses of TCL_BIN_DIR, it may contain
"# no Tcl configs found".
(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.

* gdb/configure.ac (gdbkt): Check both no_tcl/no_tk first, before
doing any further tcl/tk configury.  Don't configure gdbtk if
tcl or tk check fails.
* gdb/aclocal.m4: Regenerate.
* gdb/configure: Regenerate.
* gdb/gdbtk/plugins/aclocal.m4: Regenerate.
* gdb/gdbtk/plugins/configure: Regenerate.

15 years agogdb
Tom Tromey [Mon, 2 Feb 2009 21:50:13 +0000 (21:50 +0000)] 
gdb
PR exp/9059:
* valops.c (find_overload_match): Follow typedefs before taking
address of object argument.
gdb/testsuite
PR exp/9059:
* gdb.cp/call-c.exp: Add regression test.
* gdb.cp/call-c.cc (FooHandle): New typedef.
(main): New variable 'handle'.

15 years ago * elf-bfd.h (bfd_elf_get_str_section): Don't declare.
Alan Modra [Mon, 2 Feb 2009 03:52:38 +0000 (03:52 +0000)] 
* elf-bfd.h (bfd_elf_get_str_section): Don't declare.
(bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise.
* elf.c (bfd_elf_get_str_section): Make static.
(bfd_elf_find_section): Delete.
* libbfd.h: Regenerate.

15 years agodaily update
Alan Modra [Mon, 2 Feb 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 2 Feb 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * target.h (target_waitstatus_to_string): Declare.
Doug Evans [Sun, 1 Feb 2009 23:31:03 +0000 (23:31 +0000)] 
* target.h (target_waitstatus_to_string): Declare.
* target.c (target_waitstatus_to_string): New function.  Copied from
debug_to_wait.  Add missing entries for TARGET_WAITKIND_SYSCALL_ENTRY,
TARGET_WAITKIND_SYSCALL_RETURN, TARGET_WAITKIND_IGNORE,
TARGET_WAITKIND_NO_HISTORY.
(debug_to_wait): Call it.
* infrun.c (wait_for_inferior): If debug_infrun, print result of
target_wait.
(fetch_inferior_event): Ditto.

15 years agobfd/
Jan Kratochvil [Sun, 1 Feb 2009 12:05:25 +0000 (12:05 +0000)] 
bfd/
* elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove.
(_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs.

ld/testsuite/
* ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'.
* ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.

15 years ago * script.cc (Lazy_demangler): New class.
Ian Lance Taylor [Sun, 1 Feb 2009 00:45:28 +0000 (00:45 +0000)] 
* script.cc (Lazy_demangler): New class.
        (Version_script_info::get_symbol_version_helper): Demangle a
symbol only once.

15 years agodaily update
Alan Modra [Sun, 1 Feb 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 1 Feb 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agobinutils/
Alan Modra [Sat, 31 Jan 2009 11:44:38 +0000 (11:44 +0000)] 
binutils/
* NEWS: Mention --as-needed change.
ld/
* ld.texinfo (--as-needed): Update.
bfd/
* elflink.c (on_needed_list): New function.
(elf_link_add_object_symbols): Link in --as-needed libs if they
satisfy undefined symbols in other libs.

15 years ago*** empty log message ***
gdbadmin [Sat, 31 Jan 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 31 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.
Tom Tromey [Fri, 30 Jan 2009 22:14:52 +0000 (22:14 +0000)] 
* Makefile.in (HFILES_NO_SRCDIR): Remove i386-cygwin-tdep.h.

15 years ago PR 8145.
Vladimir Prus [Fri, 30 Jan 2009 18:43:05 +0000 (18:43 +0000)] 
PR 8145.
* thread.c (do_captured_list_thread_ids): Report the current
thread id.

15 years ago * breakpoint.c (create_breakpoint, create_breakpoints)
Vladimir Prus [Fri, 30 Jan 2009 18:28:01 +0000 (18:28 +0000)] 
    * breakpoint.c (create_breakpoint, create_breakpoints)
(break_command_really, set_breakpoint): New parameter enabled.
(create_breakpoint, break_command_really): Make breakpoint
disabled if so requested.
* breakpoint.h (set_breakpoint): New parameter enabled.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Handle the -d option.

15 years ago2009-01-30 Julian Brown <julian@codesourcery.com>
Joseph Myers [Fri, 30 Jan 2009 01:32:25 +0000 (01:32 +0000)] 
2009-01-30  Julian Brown  <julian@codesourcery.com>

* elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with
EXEC_P or DYNAMIC flags, and skip sections which are being linked
with --just-symbols (-R).

15 years ago * dwarf2.c (read_rangelist): Use read_address to read low_pc and
Adam Nemet [Fri, 30 Jan 2009 01:04:47 +0000 (01:04 +0000)] 
* dwarf2.c (read_rangelist): Use read_address to read low_pc and
high_pc in order to properly sign-extend VMAs.

15 years ago * i386.cc (Target_i386::Relocate::relocate): Recognize non-PIC calls
Cary Coutant [Fri, 30 Jan 2009 00:21:46 +0000 (00:21 +0000)] 
* i386.cc (Target_i386::Relocate::relocate): Recognize non-PIC calls
to __tls_get_addr.
* x86_64.cc (Target_x86_64::Relocate::relocate): Likewise.

* ChangeLog: Fixed typo in previous ChangeLog entry (version 1.9).

15 years agodaily update
Alan Modra [Fri, 30 Jan 2009 00:00:31 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 30 Jan 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago2009-01-29 Andrew Jenner <andrew@codesourcery.com>
Joseph Myers [Thu, 29 Jan 2009 16:36:45 +0000 (16:36 +0000)] 
2009-01-29  Andrew Jenner  <andrew@codesourcery.com>

* emultempl/armelf.em: Correct formatting of help text for
--no-enum-size-warning option.

15 years ago2009-01-29 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers [Thu, 29 Jan 2009 16:35:03 +0000 (16:35 +0000)] 
2009-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
            Mark Shinwell  <shinwell@codesourcery.com>
            Catherine Moore  <clm@codesourcery.com>

* elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.

15 years ago PR 9798
Alan Modra [Thu, 29 Jan 2009 13:03:21 +0000 (13:03 +0000)] 
PR 9798
* bucomm.c (bfd_nonfatal_message): Use bfd_get_archive_filename.
(bfd_get_archive_filename): Constify param.
* bucomm.h (bfd_get_archive_filename): Update prototype.
* objcopy.c (RETURN_NONFATAL): Delete.
(copy_unknown_object): Don't call bfd_get_archive_filename for
bfd_nonfatal_message filename, instead just pass bfd.
(copy_object): Likewise.
(copy_archive, copy_file): Likewise.  Expand RETURN_NONFATAL.  On
bfd_close errors, do not pass the bfd to bfd_nonfatal_message.
(setup_bfd_headers): Fix error message.

15 years agogas:
Joseph Myers [Thu, 29 Jan 2009 11:56:19 +0000 (11:56 +0000)] 
gas:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* config/tc-arm.c (BAD_SP): Define.
(s_arm_unwind_fnstart): Use REG_SP.
(s_arm_unwind_setfp): Likewise.
(reject_bad_reg): New macro.
(do_co_reg): Check for bad registers.
(do_co_reg2c): Likewise.
(do_srs): Use REG_SP.
(do_t_add_sub): Check for bad registers.
(do_t_adr): Likewise.
(do_t_arit3): Likewise.
(do_t_arit3c): Likewise.
(do_t_bfc): Likewise.
(do_t_bfi): Likewise.
(do_t_bfx): Likewise.
(do_t_blx): Likewise.
(do_t_bx): Likewise.
(do_t_bxj): Likewise.
(do_t_clz): Likewise.
(do_t_div): Likewise.
(do_t_mla): Likewise.
(do_t_mlal): Likewise.
(do_t_mov_cmp): Likewise.
(do_t_mov16): Likewise.
(do_t_mvn_tst): Likewise.
(do_t_mrs): Likewise.
(do_t_msr): Likewise.
(do_t_mul): Likewise.
(do_t_mull): Likewise.
(do_t_orn): Likewise.
(do_t_pkhbt): Likewise.
(do_t_pld): Likewise.
(do_t_rbit): Likewise.
(do_t_rev): Likewise.
(do_t_rrx): Likewise.
(do_t_rsb): Likewise.
(do_t_shift): Likewise.
(do_t_simd): Likewise.
(do_t_ssat): Likewise.
(do_t_ssat16): Likewise.
(do_t_sxtah): Likewise.
(do_t_sxth): Likewise.
(do_t_tb): Likewise.
(do_t_usat): Likewise.
(do_t_usat16): Likewise.
(nysn_insert_sp): Use REG_SP.

gas/testsuite:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* gas/arm/copro.s: Avoid using r15 where not permitted.
* gas/arm/copro.d: Adjust accordingly.
* gas/arm/thumb2_bad_reg.s: New.
* gas/arm/thumb2_bad_reg.l: Likewise.
* gas/arm/thumb2_bad_reg.d: Likewise.

15 years agogas:
Joseph Myers [Thu, 29 Jan 2009 11:52:26 +0000 (11:52 +0000)] 
gas:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* config/tc-arm.c (do_t_orn): New function.
(do_t_rrx): Likewise.
(insns): Add orn and rrx.

gas/testsuite:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* gas/arm/thumb32.s: Add tests for orn and rrx.
* gas/arm/thumb32.d: Adjust accordingly.
* gas/arm/thumb32.l: Likewise.
* gas/arm/thumb2_invert.s: Add tests for orn and orr.
* gas/arm/thumb2_invert.d: Adjust accordingly.
* gas/arm/tcompat.s: Add tests for rrx.
* gas/arm/tcompat.d: Adjust accordingly.

15 years agogas:
Joseph Myers [Thu, 29 Jan 2009 11:50:46 +0000 (11:50 +0000)] 
gas:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
uasx, uhasx, uhsx, uqasx, uqsax, usax.

gas/testsuite:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* gas/arm/thumb32.s (qadd): Add tests for them.
* gas/arm/thumb32.d: Adjust accordingly.

15 years agogas:
Joseph Myers [Thu, 29 Jan 2009 11:48:34 +0000 (11:48 +0000)] 
gas:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
qdsub in Thumb-2 mode.

gas/testsuite:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* gas/arm/thumb32.s (qadd): Add qadd, qdadd, qsub, and qdsub.
* gas/arm/thumb32.d: Likewise.

opcodes:
2009-01-29  Mark Mitchell  <mark@codesourcery.com>

* arm-dis.c (thumb32_opcodes): Correct decoding for qadd, qdadd,
qsub, and qdsub.

15 years agogas:
Joseph Myers [Thu, 29 Jan 2009 11:46:02 +0000 (11:46 +0000)] 
gas:
2009-01-29  Paul Brook  <paul@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

* config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
of MUL when possible.

gas/testsuite:
2009-01-29  Paul Brook  <paul@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

* gas/arm/thumb2_mul.s: New file.
* gas/arm/thumb2_mul.d: Likewise.
* gas/arm/thumb2_mul-bad.s: Likewise.
* gas/arm/thumb2_mul-bad.d: Likewise.
* gas/arm/thumb2_mul-bad.l: Likewise.
* gas/arm/t16-bad.s: Add tests for"mul" with high registers.
* gas/arm/t16-bad.l: Update accordingly.

15 years ago * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
Nick Clifton [Thu, 29 Jan 2009 09:03:13 +0000 (09:03 +0000)] 
    * config/tc-mep.h (DIFF_EXPR_OK): Do not define.

        * gas/all/gas.exp: Expect forward test to fail for MeP.
        Expect relax test to fail for MeP.
        * gas/mep/relocs.d: Update expected disassembly.

        * lib/ld-lib.exp (check_gc_sections_available): Add MeP to list of
        targets which do not support garbage collection.
        * ld-srec/srec.exp (run_srec_test): Expect tests to fail for MeP.
        * ld-elf/group8a.d: Likewise.
        * ld-elf/group8b.d: Likewise.
        * ld-elf/group9a.d: Likewise.
        * ld-elf/group9b.d: Likewise.

        * binutils-all/objdump.W: Do not assume that high and low PC
        addresses will have been computed.

15 years ago * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
Nathan Sidwell [Thu, 29 Jan 2009 07:08:12 +0000 (07:08 +0000)] 
* doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
.4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
directives.

15 years agofix typo in previous entry
Doug Evans [Thu, 29 Jan 2009 00:37:12 +0000 (00:37 +0000)] 
fix typo in previous entry

15 years ago * opcode/i386.h: Add multiple inclusion protection.
Doug Evans [Thu, 29 Jan 2009 00:29:57 +0000 (00:29 +0000)] 
* opcode/i386.h: Add multiple inclusion protection.
(EAX_REG_NUM,ECX_REG_NUM,EDX_REGNUM,EBX_REG_NUM,ESI_REG_NUM)
(EDI_REG_NUM): New macros.
(MODRM_MOD_FIELD,MODRM_REG_FIELD,MODRM_RM_FIELD): New macros.
(SIB_SCALE_FIELD,SIB_INDEX_FIELD,SIB_BASE_FIELD): New macros.
(REG_PREFIX_P): New macro.

* amd64-tdep.h (amd64_displaced_step_copy_insn): Declare.
(amd64_displaced_step_fixup): Declare.
* amd64-tdep.c: #include opcode/i386.h, dis-asm.h.
(amd64_arch_regmap): Move out of amd64_analyze_stack_align
and make static global.
(amd64_arch_regmap_len): New static global.
(amd64_arch_reg_to_regnum): New function.
(struct amd64_insn): New struct.
(struct displaced_step_closure): New struct.
(onebyte_has_modrm,twobyte_has_modrm): New static globals.
(rex_prefix_p,skip_prefixes)
(amd64_insn_length_fprintf,amd64_insn_length_init_dis)
(amd64_insn_length,amd64_get_unused_input_int_reg)
(amd64_get_insn_details,fixup_riprel,fixup_displaced_copy)
(amd64_displaced_step_copy_insn)
(amd64_absolute_jmp_p,amd64_absolute_call_p,amd64_ret_p)
(amd64_call_p,amd64_breakpoint_p,amd64_syscall_p)
(amd64_displaced_step_fixup): New functions.
* amd64-linux-tdep.c: #include arch-utils.h.
(amd64_linux_init_abi): Install displaced stepping support.

* gdb.arch/amd64-disp-step.S: New file.
* gdb.arch/amd64-disp-step.exp: New file.
* gdb.arch/i386-disp-step.S: New file.
* gdb.arch/i386-disp-step.exp: New file.

15 years agodaily update
Alan Modra [Thu, 29 Jan 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 29 Jan 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * version.cc (version_string): Bump to 1.8.
Ian Lance Taylor [Wed, 28 Jan 2009 20:18:11 +0000 (20:18 +0000)] 
* version.cc (version_string): Bump to 1.8.

15 years ago * gold.h: Include <cstring> and <stdint.h>.
Ian Lance Taylor [Wed, 28 Jan 2009 20:09:18 +0000 (20:09 +0000)] 
* gold.h: Include <cstring> and <stdint.h>.
* version.cc: Include <cstdio>.
* object.cc (Sized_relobj::do_layout): Initialize gc_sd to avoid a
warning.
* reduced_debug_output.cc (insert_into_vector): Rename from
Insert_into_vector; change all callers.  Use Swap_unaligned to
avoid aliasing issue; remove union since it is unnecessary.

15 years ago * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
Catherine Moore [Wed, 28 Jan 2009 16:35:13 +0000 (16:35 +0000)] 
    * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC and
        SEC_LOAD for dynamic relocation sections.

15 years ago2009-01-28 Daniel Jacobowitz <dan@codesourcery.com>
Jerome Guitton [Wed, 28 Jan 2009 15:04:30 +0000 (15:04 +0000)] 
2009-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
    Jerome Guitton  <guitton@adacore.com>

* gdb.texinfo (Startup): Document --with-system-gdbinit.
(System-wide configuration): New section.

15 years ago2009-01-28 Daniel Jacobowitz <dan@codesourcery.com>
Jerome Guitton [Wed, 28 Jan 2009 15:01:00 +0000 (15:01 +0000)] 
2009-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
    Jerome Guitton  <guitton@adacore.com>

* configure, config.in: Regenerated.
* configure.ac: Add --with-system-gdbinit.
* main.c (get_init_files): New.
(captured_main): Use get_init_files.  Load system gdbinit before
$HOME/.gdbinit.
(print_gdb_help): Print location of init files.

15 years ago* mips-opc.c (suxc1): Add the flag of FP_D.
Nick Clifton [Wed, 28 Jan 2009 08:45:47 +0000 (08:45 +0000)] 
* mips-opc.c (suxc1): Add the flag of FP_D.

15 years agoWrong date and missing space in last checkin.
Sriraman Tallam [Wed, 28 Jan 2009 02:27:07 +0000 (02:27 +0000)] 
Wrong date and missing space in last checkin.

15 years ago2009-01-20 Sriraman Tallam <tmsriram@google.com>
Sriraman Tallam [Wed, 28 Jan 2009 02:25:33 +0000 (02:25 +0000)] 
2009-01-20  Sriraman Tallam <tmsriram@google.com>

* Makefile.am (CCFILES): Add gc.cc.
(HFILES): Add gc.h.
* Makefile.in: Regenerate.
* gold.cc (Gc_runner): New class.
(queue_initial_tasks): Call garbage collection related tasks
when corresponding options are invoked.
(queue_middle_gc_tasks): New function.
(queue_middle_tasks): Reorder tasks to allow relocs to be read and
processed early before laying out sections during garbage collection.
* gold.h (queue_middle_gc_tasks): New function.
(is_prefix_of): Move from "layout.cc".
* i386.cc (Target_i386::gc_process_relocs): New function.
* layout.cc (is_prefix_of): Remove. Move to "gold.h"
* main.cc (main): Create object of class "Garbage_collection".
* object.cc (Relobj::copy_symbols_data): New function.
(Relobj::is_section_name_included): New function.
(Sized_relobj::do_layout): Allow this function to be called twice
during garbage collection and defer layout of section during the
first call.
* object.h (Relobj::get_symbols_data): New function.
(Relobj::is_section_name_included): New function.
(Relobj::copy_symbols_data): New function.
(Relobj::set_symbols_data): New function.
(Relobj::get_relocs_data): New function.
(Relobj::set_relocs_data): New function.
(Relobj::is_output_section_offset_invalid): New pure virtual function.
(Relobj::gc_process_relocs): New function.
(Relobj::do_gc_process_relocs): New pure virtual function.
(Relobj::sd_): New data member.
(Sized_relobj::is_output_section_offset_invalid): New function.
(Sized_relobj::do_gc_process_relocs): New function.
* options.h (General_options::gc_sections): Modify to not be a no-op.
(General_options::print_gc_sections): New option.
* plugin.cc (Plugin_finish::run): Remove function call to
Plugin_manager::layout_deferred_objects.  Move it to "gold.cc".
* powerpc.cc (Target_powerpc::gc_process_relocs): New function.
* reloc.cc (Read_relocs::run): Add task to process relocs and
determine unreferenced sections when doing garbage collection.
(Gc_process_relocs): New class.
(Sized_relobj::do_gc_process_relocs): New function.
(Sized_relobj::do_scan_relocs): Don't try to scan the relocs for
sections that are garbage collected.
* reloc.h (Gc_process_relocs): New class.
* sparc.cc (Target_sparc::gc_process_relocs): New function.
* symtab.cc (Symbol::should_add_dynsym_entry): Do not add entries for
symbols whose corresponding sections are garbage collected.
(Symbol_table::Symbol_table): Add new parameter for the garbage
collection object.
(Symbol_table::gc_mark_undef_symbols): New function.
(Symbol_table::gc_mark_symbol_for_shlib): New function.
(Symbol_table::gc_mark_dyn_syms): New function.
(Symbol_table::resolve): Do not treat symbols seen in dynamic objects
as garbage.
(Symbol_table::add_from_object): Likewise.
(Symbol_table::add_from_relobj): When building shared objects, do not
treat externally visible symbols as garbage.
(Symbol_table::sized_finalize_symbol): Do not check dynamic symbol
table information for static and relocatable links.
* symtab.h (Symbol_table::set_gc): New function.
(Symbol_table::gc): New function.
(Symbol_table::gc_mark_undef_symbols): New function.
(Symbol_table::gc_mark_symbol_for_shlib): New function.
(Symbol_table::gc_mark_dyn_syms): New function.
(Symbol_table::gc_): New data member.
* target.h (Sized_target::gc_process_relocs): New pure virtual
function.
* x86_64.cc (Target_x86_64::gc_process_relocs): New function.
* testsuite/testfile.cc (Target_test::gc_process_relocs): New function.

15 years ago * corefile.c (generic_search): Delete disabled code.
Pedro Alves [Wed, 28 Jan 2009 00:09:49 +0000 (00:09 +0000)] 
* corefile.c (generic_search): Delete disabled code.
* gdbcore.h (generic_search): Delete declaration.

15 years ago*** empty log message ***
gdbadmin [Wed, 28 Jan 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 28 Jan 2009 00:00:04 +0000 (00:00 +0000)] 
daily update

15 years ago * ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.
Hans-Peter Nilsson [Tue, 27 Jan 2009 22:31:19 +0000 (22:31 +0000)] 
* ld-cris/tls-tbss64.s, ld-cris/tls-e-80.d: New test.

15 years ago * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
Hans-Peter Nilsson [Tue, 27 Jan 2009 22:28:22 +0000 (22:28 +0000)] 
* elf32-cris.c (cris_elf_relocate_section): Use elf_hash_table
(info)->tls_size, not elf_hash_table (info)->tls_sec->size for
the size of local TLS data.

15 years ago* mach-o.c (bfd_mach_o_archive_p): Restrict the number of
Andreas Schwab [Tue, 27 Jan 2009 16:37:10 +0000 (16:37 +0000)] 
* mach-o.c (bfd_mach_o_archive_p): Restrict the number of
architectures in the archive.

15 years ago PR 9774
Nick Clifton [Tue, 27 Jan 2009 15:41:56 +0000 (15:41 +0000)] 
    PR 9774
        * objdump.c (disassemble_section): When the target uses signed
        addresses make sure that we compute signed values.

15 years ago * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
Nick Clifton [Tue, 27 Jan 2009 15:37:18 +0000 (15:37 +0000)] 
    * MAINTAINERS: Remove Thiemo Seufer's name from the list of MIPS
        maintainers.

15 years ago * gas/arm/attr-cpu-directive.d: Only run test for EABI targets.
Nick Clifton [Tue, 27 Jan 2009 15:20:11 +0000 (15:20 +0000)] 
    * gas/arm/attr-cpu-directive.d: Only run test for EABI targets.
        * gas/arm/attr-default.d : Likewise.
        * gas/arm/attr-march-all.d: Likewise.
        * gas/arm/attr-march-armv1.d: Likewise.
        * gas/arm/attr-march-armv2.d: Likewise.
        * gas/arm/attr-march-armv2a.d: Likewise.
        * gas/arm/attr-march-armv2s.d: Likewise.
        * gas/arm/attr-march-armv3.d: Likewise.
        * gas/arm/attr-march-armv3m.d: Likewise.
        * gas/arm/attr-march-armv4.d: Likewise.
        * gas/arm/attr-march-armv4t.d: Likewise.
        * gas/arm/attr-march-armv4txm.d: Likewise.
        * gas/arm/attr-march-armv4xm.d: Likewise.
        * gas/arm/attr-march-armv5.d: Likewise.
        * gas/arm/attr-march-armv5t.d: Likewise.
        * gas/arm/attr-march-armv5te.d: Likewise.
        * gas/arm/attr-march-armv5tej.d: Likewise.
        * gas/arm/attr-march-armv5texp.d: Likewise.
        * gas/arm/attr-march-armv5txm.d: Likewise.
        * gas/arm/attr-march-armv6-m.d: Likewise.
        * gas/arm/attr-march-armv6.d: Likewise.
        * gas/arm/attr-march-armv6j.d: Likewise.
        * gas/arm/attr-march-armv6k.d: Likewise.
        * gas/arm/attr-march-armv6kt2.d: Likewise.
        * gas/arm/attr-march-armv6t2.d: Likewise.
        * gas/arm/attr-march-armv6z.d: Likewise.
        * gas/arm/attr-march-armv6zk.d: Likewise.
        * gas/arm/attr-march-armv6zkt2.d: Likewise.
        * gas/arm/attr-march-armv6zt2.d: Likewise.
        * gas/arm/attr-march-armv7-a.d: Likewise.
        * gas/arm/attr-march-armv7-m.d: Likewise.
        * gas/arm/attr-march-armv7-r.d: Likewise.
        * gas/arm/attr-march-iwmmxt.d: Likewise.
        * gas/arm/attr-march-iwmmxt2.d: Likewise.
        * gas/arm/attr-march-xscale.d: Likewise.
        * gas/arm/attr-mcpu.d: Likewise.
        * gas/arm/attr-mfpu-arm1020e.d: Likewise.
        * gas/arm/attr-mfpu-arm1020t.d: Likewise.
        * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
        * gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
        * gas/arm/attr-mfpu-arm7500fe.d: Likewise.
        * gas/arm/attr-mfpu-fpa.d: Likewise.
        * gas/arm/attr-mfpu-fpa10.d: Likewise.
        * gas/arm/attr-mfpu-fpa11.d: Likewise.
        * gas/arm/attr-mfpu-fpe.d: Likewise.
        * gas/arm/attr-mfpu-fpe2.d: Likewise.
        * gas/arm/attr-mfpu-fpe3.d: Likewise.
        * gas/arm/attr-mfpu-maverick.d: Likewise.
        * gas/arm/attr-mfpu-neon-fp16.d: Likewise.
        * gas/arm/attr-mfpu-neon.d: Likewise.
        * gas/arm/attr-mfpu-softfpa.d: Likewise.
        * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
        * gas/arm/attr-mfpu-softvfp.d: Likewise.
        * gas/arm/attr-mfpu-vfp.d: Likewise.
        * gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
        * gas/arm/attr-mfpu-vfp10.d: Likewise.
        * gas/arm/attr-mfpu-vfp3.d: Likewise.
        * gas/arm/attr-mfpu-vfp9.d: Likewise.
        * gas/arm/attr-mfpu-vfpv2.d: Likewise.
        * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
        * gas/arm/attr-mfpu-vfpv3.d: Likewise.
        * gas/arm/attr-mfpu-vfpxd.d: Likewise.
        * gas/arm/attr-order.d: Likewise.
        * gas/arm/attr-override-cpu-directive.d: Likewise.
        * gas/arm/attr-override-mcpu.d: Likewise.

15 years ago * config/tc-mips.c (append_insn): Cope with a complex reloc
Nick Clifton [Tue, 27 Jan 2009 13:48:14 +0000 (13:48 +0000)] 
    * config/tc-mips.c (append_insn): Cope with a complex reloc
        sequence containing an unsupported reloc type.
        (enum options): Replace computed #define's constants for option
        numbers with this enum.
        (struct md_longopts): Use the enum.  Allow OPTION_32 in a non-ELF
        environment.
        (md_parse_option): Allow -32 in a non-ELF environment.

        * gas/lib/gas-defs.exp: Update description of run_dump_test proc.

        * gas/mips/dli.d: Pass -64 to gas.
        * gas/mips/mips64-mips3d-incl.d: Likewise.
        * gas/mips/octeon.d: Likewise.
        * gas/mips/sb1-ext-mdmx.d: Likewise.
        * gas/mips/sb1-ext-ps.d: Likewise.
        * gas/mips/e32el-rel2.s: Pass -march=mips3 to gas.
        Update expected relocs.
        * gas/mips/ld-ilocks-addr32.d: Do not run for tx39 targets.
        * gas/mips/mips.exp: Remove 'ilocks' variable.
        Add ecoff targets to 'addr32' variable.
        Set 'no_mips16' for ecoff targets.
        Do not run div-ilocks or mul-ilocks test variants.
        * gas/mips/mips16-intermix.d: Use nm instead of objdump so that
        the symbol table output is sorted.  Update expecetd output.

15 years ago * gdb.base/find.exp: Set newline variable
Pierre Muller [Tue, 27 Jan 2009 08:22:23 +0000 (08:22 +0000)] 
* gdb.base/find.exp: Set newline variable
using quotes instead of braces to fix cygwin failures.

15 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
Hans-Peter Nilsson [Tue, 27 Jan 2009 07:06:36 +0000 (07:06 +0000)] 
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>
<R_CRIS_32_DTPREL>: Correct relocation value.

15 years ago * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
Hans-Peter Nilsson [Tue, 27 Jan 2009 07:05:47 +0000 (07:05 +0000)] 
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
ld-cris/tls-ldgde-14.d, ld-cris/tls-ldgde-15.d,
ld-cris/tls-ldgdex-14.d, ld-cris/tls-ldgdex-15.d: Adjust for
change in relocation values.

15 years ago * ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.
Hans-Peter Nilsson [Tue, 27 Jan 2009 06:08:52 +0000 (06:08 +0000)] 
* ld-cris/weakhiddso.d, ld-cris/weakhid.s: New test.

15 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
Hans-Peter Nilsson [Tue, 27 Jan 2009 06:07:54 +0000 (06:07 +0000)] 
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>
<R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined
symbols with non-default visibility.

15 years ago*** empty log message ***
gdbadmin [Tue, 27 Jan 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 27 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago * linux-nat.c (linux_child_follow_fork): Copy attach_flag from the
Pedro Alves [Mon, 26 Jan 2009 22:34:55 +0000 (22:34 +0000)] 
* linux-nat.c (linux_child_follow_fork): Copy attach_flag from the
parent to the child.
* inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
* inf-ptrace.c (inf_ptrace_follow_fork): Likewise.  Use
remove_breakpoints to remove breakpoints from the parent.

15 years agoAdd forgotten PR tags:
Pedro Alves [Mon, 26 Jan 2009 19:15:24 +0000 (19:15 +0000)] 
Add forgotten PR tags:

PR backtrace/9458, PR backtrace/8864

15 years ago * frame.c (create_new_frame): Update the frame's cached PC before
Pedro Alves [Mon, 26 Jan 2009 19:09:58 +0000 (19:09 +0000)] 
* frame.c (create_new_frame): Update the frame's cached PC before
finding its unwinder.  Use frame_id_build to build the new frame's
id.
* stack.c (parse_frame_specification_1): Correct setting ``addrs''
array values from the ``args'' array values.

15 years ago * gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
Pedro Alves [Mon, 26 Jan 2009 18:57:44 +0000 (18:57 +0000)] 
* gdbtypes.c (alloc_type, alloc_type_instance, create_range_type)
(create_array_type, create_set_type, init_flags_type)
(copy_type_recursive): Replace pairs of calls to XALLOC and memset
with a call to XZALLOC or XCALLOC, and pairs of calls to
obstack_alloc and memset with a call to OBSTACK_ZALLOC.

15 years agogdb/
Pedro Alves [Mon, 26 Jan 2009 16:24:27 +0000 (16:24 +0000)] 
gdb/
Add "maint set|show internal-error|internal-warning quit|corefile
ask|yes|no" commands.

PR gdb/7580:
* utils.c (internal_problem_ask, internal_problem_yes)
(internal_problem_no, internal_problem_modes): New.
(struct internal_problem): Remove FIXME.  Make should_quit and
should_dump_core types to char *.
(internal_vproblem, internal_error_problem)
(internal_warning_problem): Adjust.
(set_internal_problem_cmd, show_internal_problem_cmd): New dummy
functions.
(add_internal_problem_command): New.
(_initialize_utils): New.

gdb/doc/
PR gdb/7580:
* gdb.texinfo (Maintenance Commands): Document "maint set|show
internal-error|internal-warning quit|corefile ask|yes|no".

15 years agogdb/gdbserver/
Pedro Alves [Mon, 26 Jan 2009 16:16:48 +0000 (16:16 +0000)] 
gdb/gdbserver/
* server.c (gdbserver_usage): Mention --remote-debug.
(main): Accept '--remote-debug' switch.

gdb/doc/
* gdb.texinfo (Using the `gdbserver' Program): Document
--remote-debug.

15 years ago PR 9766
Nick Clifton [Mon, 26 Jan 2009 15:52:55 +0000 (15:52 +0000)] 
    PR 9766
        * dlltool.c (xlate): When strip text after the @ sign, look for
        the last one not the first one.

15 years ago * ld-powerpc/powerpc.exp: Add vxworks relax testcase.
Nathan Sidwell [Mon, 26 Jan 2009 15:27:04 +0000 (15:27 +0000)] 
* ld-powerpc/powerpc.exp: Add vxworks relax testcase.
* ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New.
* ld-powerpc/vxworks1.ld: Add .pad and .far input sections.
* ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.

15 years ago * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
Nathan Sidwell [Mon, 26 Jan 2009 15:23:39 +0000 (15:23 +0000)] 
* lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
* ld.h (args_type): Make check_section_addresses a char.
ldlang.c (lang_process): Don't consider relocatable flag when
checking for overlap.
* ldmain.c (main): Default check_section_addresses to -1. Check it
for relocatable links.
* ld.texinfo (--check-sections): Update documentation.

15 years ago2009-01-26 Andrew Stubbs <ams@codesourcery.com>
Andrew Stubbs [Mon, 26 Jan 2009 14:36:43 +0000 (14:36 +0000)] 
2009-01-26  Andrew Stubbs  <ams@codesourcery.com>

gas/
* config/tc-arm.c (attributes_set_explicitly): New array.
(s_arm_eabi_attribute): Check return value from s_vendor_attribute.
(cpu_arch): Add ARM_ARCH_V5T.
(aeabi_set_attribute_int): New function.
(aeabi_set_attribute_string): New function.
(aeabi_set_public_attributes): Set attributes according to the user's
intentions, rather than the actual state of the binary.
Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
Support WMMXv2. Use attribute names instead of numbers.
* read.c (s_vendor_attribute): Change return type to int.
Return the tag number that was set.
* read.h (s_vendor_attribute): Change return type to int.

gas/testsuite/
* gas/arm/attr-cpu-directive.d: New file.
* gas/arm/attr-cpu-directive.s: New file.
* gas/arm/attr-default.d: New file.
* gas/arm/attr-march-all.d: New file.
* gas/arm/attr-march-armv1.d: New file.
* gas/arm/attr-march-armv2.d: New file.
* gas/arm/attr-march-armv2a.d: New file.
* gas/arm/attr-march-armv2s.d: New file.
* gas/arm/attr-march-armv3.d: New file.
* gas/arm/attr-march-armv3m.d: New file.
* gas/arm/attr-march-armv4.d: New file.
* gas/arm/attr-march-armv4t.d: New file.
* gas/arm/attr-march-armv4txm.d: New file.
* gas/arm/attr-march-armv4xm.d: New file.
* gas/arm/attr-march-armv5.d: New file.
* gas/arm/attr-march-armv5t.d: New file.
* gas/arm/attr-march-armv5te.d: New file.
* gas/arm/attr-march-armv5tej.d: New file.
* gas/arm/attr-march-armv5texp.d: New file.
* gas/arm/attr-march-armv5txm.d: New file.
* gas/arm/attr-march-armv6-m.d: New file.
* gas/arm/attr-march-armv6.d: New file.
* gas/arm/attr-march-armv6j.d: New file.
* gas/arm/attr-march-armv6k.d: New file.
* gas/arm/attr-march-armv6kt2.d: New file.
* gas/arm/attr-march-armv6t2.d: New file.
* gas/arm/attr-march-armv6z.d: New file.
* gas/arm/attr-march-armv6zk.d: New file.
* gas/arm/attr-march-armv6zkt2.d: New file.
* gas/arm/attr-march-armv6zt2.d: New file.
* gas/arm/attr-march-armv7-a.d: New file.
* gas/arm/attr-march-armv7-m.d: New file.
* gas/arm/attr-march-armv7-r.d: New file.
* gas/arm/attr-march-armv7.d: New file.
* gas/arm/attr-march-armv7a.d: New file.
* gas/arm/attr-march-armv7m.d: New file.
* gas/arm/attr-march-armv7r.d: New file.
* gas/arm/attr-march-iwmmxt.d: New file.
* gas/arm/attr-march-iwmmxt2.d: New file.
* gas/arm/attr-march-xscale.d: New file.
* gas/arm/attr-mcpu.d: New file.
* gas/arm/attr-mfpu-arm1020e.d: New file.
* gas/arm/attr-mfpu-arm1020t.d: New file.
* gas/arm/attr-mfpu-arm1136jf-s.d: New file.
* gas/arm/attr-mfpu-arm1136jfs.d: New file.
* gas/arm/attr-mfpu-arm7500fe.d: New file.
* gas/arm/attr-mfpu-fpa.d: New file.
* gas/arm/attr-mfpu-fpa10.d: New file.
* gas/arm/attr-mfpu-fpa11.d: New file.
* gas/arm/attr-mfpu-fpe.d: New file.
* gas/arm/attr-mfpu-fpe2.d: New file.
* gas/arm/attr-mfpu-fpe3.d: New file.
* gas/arm/attr-mfpu-maverick.d: New file.
* gas/arm/attr-mfpu-neon-fp16.d: New file.
* gas/arm/attr-mfpu-neon.d: New file.
* gas/arm/attr-mfpu-softfpa.d: New file.
* gas/arm/attr-mfpu-softvfp+vfp.d: New file.
* gas/arm/attr-mfpu-softvfp.d: New file.
* gas/arm/attr-mfpu-vfp.d: New file.
* gas/arm/attr-mfpu-vfp10-r0.d: New file.
* gas/arm/attr-mfpu-vfp10.d: New file.
* gas/arm/attr-mfpu-vfp3.d: New file.
* gas/arm/attr-mfpu-vfp9.d: New file.
* gas/arm/attr-mfpu-vfpv2.d: New file.
* gas/arm/attr-mfpu-vfpv3-d16.d: New file.
* gas/arm/attr-mfpu-vfpv3.d: New file.
* gas/arm/attr-mfpu-vfpxd.d: New file.
* gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.
* gas/arm/attr-override-cpu-directive.d: New file.
* gas/arm/attr-override-cpu-directive.s: New file.
* gas/arm/attr-override-mcpu.d: New file.
* gas/arm/attr-override-mcpu.s: New file.
* gas/arm/blank.s: New file.
* gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.

ld/testsuite/
* ld-arm/attr-merge-3.attr: Update following gas change.
* ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
Tag_THUMB_ISA_use following gas changes.
* ld-arm/attr-merge-4.attr: Likewise.
* ld-arm/attr-merge-5.attr: Likewise.
* ld-arm/attr-merge-arch-1.attr: Likewise.
* ld-arm/attr-merge-arch-2.attr: Likewise.
* ld-arm/attr-merge-unknown-2.d: Likewise.
* ld-arm/attr-merge-unknown-2r.d: Likewise.
* ld-arm/attr-merge-unknown-3.d: Likewise.
* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-00.d: Likewise.
* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-02.d: Likewise.
* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-04.d: Likewise.
* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-20.d: Likewise.
* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-22.d: Likewise.
* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-40.d: Likewise.
* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
* ld-arm/attr-merge-wchar-44.d: Likewise.
* ld-arm/attr-merge.attr: Likewise.

15 years ago/gas:
Eric B. Weddington [Mon, 26 Jan 2009 13:38:52 +0000 (13:38 +0000)] 
/gas:
2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>

PR 9789
* config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
* doc/c-avr.texi: Likewise.

15 years ago2009-01-26 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Mon, 26 Jan 2009 10:29:11 +0000 (10:29 +0000)] 
2009-01-26  Kai Tietz  <kai.tietz@onevision.com>

        * pe-dll.c (tmp_seq2): New static variable.
        (make_singleton_name_imp): New.
        (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
        avoid duplicate import table generation for same symbol.
        (pe_create_runtime_relocator_reference): Make reference for
        64-bit 8 bytes.

15 years ago* gas/arm/attr-order.d: Do not run this test for non-ELF based ARM
Nick Clifton [Mon, 26 Jan 2009 09:27:30 +0000 (09:27 +0000)] 
* gas/arm/attr-order.d: Do not run this test for non-ELF based ARM
  targets.

15 years ago*** empty log message ***
gdbadmin [Mon, 26 Jan 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 26 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago * infcmd.c (program_info): Use paddress instead of casting stop_pc
Pedro Alves [Sun, 25 Jan 2009 23:35:51 +0000 (23:35 +0000)] 
* infcmd.c (program_info): Use paddress instead of casting stop_pc
to unsigned long.

15 years ago * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
Dave Anglin [Sun, 25 Jan 2009 23:05:20 +0000 (23:05 +0000)] 
* elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
and R_PARISC_PCREL12F relocations.

15 years agodaily update
Alan Modra [Sun, 25 Jan 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 25 Jan 2009 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * infrun.c (normal_stop): Don't call
Pedro Alves [Sat, 24 Jan 2009 19:17:24 +0000 (19:17 +0000)] 
* infrun.c (normal_stop): Don't call
deprecated_update_frame_pc_hack.
* frame.c (deprecated_update_frame_pc_hack)
(deprecated_update_frame_base_hack): Delete, and ...
(create_new_frame): ... inline here.
* frame.h (deprecated_update_frame_pc_hack)
(deprecated_update_frame_base_hack): Delete declarations.

15 years ago* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.
Andreas Schwab [Sat, 24 Jan 2009 09:57:31 +0000 (09:57 +0000)] 
* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.

15 years ago PR 6022
Alan Modra [Sat, 24 Jan 2009 03:10:43 +0000 (03:10 +0000)] 
PR 6022
* elflink.c (find_version_for_sym): New function split out from,
but without export_dynamic test, ..
(_bfd_elf_link_assign_sym_version): ..here.
(_bfd_elf_export_symbol): Use it.

15 years agodaily update
Alan Modra [Sat, 24 Jan 2009 00:00:06 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 24 Jan 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * gdb.texinfo: Add nexti to list of commands that support
Doug Evans [Fri, 23 Jan 2009 21:43:56 +0000 (21:43 +0000)] 
* gdb.texinfo: Add nexti to list of commands that support
background execution.

15 years ago2009-01-23 Pedro Alves <pedro@codesourcery.com>
Pedro Alves [Fri, 23 Jan 2009 18:47:46 +0000 (18:47 +0000)] 
2009-01-23  Pedro Alves  <pedro@codesourcery.com>

* cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
* cli/cli-setshow.c (do_setshow_command): Handle it.
* command.h (enum var_types): Add var_zuinteger.
(add_setshow_zuinteger_cmd): Declare.

* valprint.c (_initialize_valprint): Change the set input-radix
and set output-radix commands to zuinteger type.

2009-01-23  Pedro Alves  <pedro@codesourcery.com>

* gdb.base/radix.exp: Add tests to ensure that that set
input-radix 0 and set output-radix 0 are really rejected.

This page took 0.044627 seconds and 4 git commands to generate.