platform/upstream/binutils.git
15 years agomerge from gcc
DJ Delorie [Tue, 14 Apr 2009 18:05:58 +0000 (18:05 +0000)]
merge from gcc

15 years ago * gdb.base/exe-lock.exp: New testcase.
Joel Brobecker [Tue, 14 Apr 2009 16:49:57 +0000 (16:49 +0000)]
    * gdb.base/exe-lock.exp: New testcase.

15 years ago * target.c (target_mourn_inferior): Call bfd_cache_close_all
Joel Brobecker [Tue, 14 Apr 2009 16:48:07 +0000 (16:48 +0000)]
    * target.c (target_mourn_inferior): Call bfd_cache_close_all
        after having executed the target mourn_inferior routine.

15 years agoconfig/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.
Eli Zaretskii [Tue, 14 Apr 2009 14:25:12 +0000 (14:25 +0000)]
config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.

15 years agobfd/ChangeLog
Dave Korn [Tue, 14 Apr 2009 09:47:44 +0000 (09:47 +0000)]
bfd/ChangeLog

* coffgen.c (make_a_section_from_file):  Set the backend long
section names enable if long section names found on input.
* coffcode.h:  Extend long section names documentation to match.

binutils/ChangeLog

* objcopy.c (enum long_section_name_handling):  New enum type.
(enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
(copy_options[]):  Add entry for --long-section-names option.
(copy_usage):  Document it.
(set_long_section_mode):  New subroutine.
(copy_file):  Call it.
(copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
* doc/binutils.texi:  Update objcopy documentation with details
of new option.

15 years ago PR ld/10047
Alan Modra [Tue, 14 Apr 2009 03:17:21 +0000 (03:17 +0000)]
PR ld/10047
* ldfile.c (find_scripts_dir): Use make_relative_prefix to find
ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.

15 years ago2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 14 Apr 2009 02:47:22 +0000 (02:47 +0000)]
2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* ldfile.c (ldfile_find_command_file): Revert the last change.

15 years agodaily update
Alan Modra [Tue, 14 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago2009-04-13 David Daney <ddaney@caviumnetworks.com>
David Daney [Tue, 14 Apr 2009 00:59:47 +0000 (00:59 +0000)]
2009-04-13  David Daney  <ddaney@caviumnetworks.com>

* infrun.c (maybe_software_singlestep): New function.
(resume): Call maybe_software_singlestep.
(handle_inferior_event): Same.

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

15 years agogdb
Tom Tromey [Mon, 13 Apr 2009 20:54:59 +0000 (20:54 +0000)]
gdb
* python/python-frame.c (frapy_richcompare): Return
Py_NotImplemented, not an error.  Handle Py_NE as well.
gdb/testsuite
* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
operator on Frame.

15 years agomerge from gcc
DJ Delorie [Mon, 13 Apr 2009 19:43:01 +0000 (19:43 +0000)]
merge from gcc

15 years agoFix typo in the last change.
Eli Zaretskii [Mon, 13 Apr 2009 18:55:15 +0000 (18:55 +0000)]
Fix typo in the last change.

15 years ago * charset.c (EILSEQ): Define if not defined by system headers.
Eli Zaretskii [Mon, 13 Apr 2009 18:49:27 +0000 (18:49 +0000)]
* charset.c (EILSEQ): Define if not defined by system headers.

15 years agoMerged from gcc head revision 146001.
Kai Tietz [Mon, 13 Apr 2009 10:48:27 +0000 (10:48 +0000)]
Merged from gcc head revision 146001.
2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>

        PR target/39397
        * pex-common.h (struct pex_obj): Store pid values as pid_t,
        not as long (members *children and (*wait))
        * pex-common.c (pex_run_in_environment): Likewise.
        * pex-win32.c (pex_win32_wait): Return pid_t and properly check
        returned pid value.
        * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
        * pex-msdos.c (pex_msdos_wait): Likewise.

15 years agodaily update
Alan Modra [Mon, 13 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

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

15 years agodaily update
Alan Modra [Sun, 12 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

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

15 years ago*** empty log message ***
Eli Zaretskii [Sat, 11 Apr 2009 19:21:10 +0000 (19:21 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Eli Zaretskii [Sat, 11 Apr 2009 18:06:02 +0000 (18:06 +0000)]
*** empty log message ***

15 years ago * config/djgpp/config.sed: Tweak ac_config_files in intl/configure
Eli Zaretskii [Sat, 11 Apr 2009 18:03:52 +0000 (18:03 +0000)]
* config/djgpp/config.sed: Tweak ac_config_files in intl/configure
to be consistent with renaming config.intl.h into config_intl.h.

15 years ago * go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
Eli Zaretskii [Sat, 11 Apr 2009 17:57:34 +0000 (17:57 +0000)]
* go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
consistent with the change from 2009-03-17.

15 years agoMove testsuite ChangeLog entries to testsuite/ChangeLog*.
H.J. Lu [Sat, 11 Apr 2009 14:42:17 +0000 (14:42 +0000)]
Move testsuite ChangeLog entries to testsuite/ChangeLog*.

15 years ago2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 11 Apr 2009 14:06:56 +0000 (14:06 +0000)]
2009-04-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10047
* ldfile.c (ldfile_find_command_file): First try raw name.

15 years agodaily update
Alan Modra [Sat, 11 Apr 2009 01:00:04 +0000 (01:00 +0000)]
daily update

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

15 years agogdb/
Jan Kratochvil [Fri, 10 Apr 2009 16:00:49 +0000 (16:00 +0000)]
gdb/
* varobj.c (varobj_invalidate): Fix formatting text width.

15 years agogdb/
Jan Kratochvil [Fri, 10 Apr 2009 15:57:54 +0000 (15:57 +0000)]
gdb/
* varobj.c (varobj_invalidate): Fix indentation.

15 years ago * gdbtypes.c: Remove excessive parentheses at the return keywords.
Jan Kratochvil [Fri, 10 Apr 2009 03:36:32 +0000 (03:36 +0000)]
* gdbtypes.c: Remove excessive parentheses at the return keywords.

15 years agodaily update
Alan Modra [Fri, 10 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

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

15 years ago * gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning
Joel Brobecker [Thu, 9 Apr 2009 20:11:57 +0000 (20:11 +0000)]
    * gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning
        about a missing dot or coma after @xref.

15 years ago PR 9824
Nick Clifton [Thu, 9 Apr 2009 16:06:48 +0000 (16:06 +0000)]
    PR 9824
        * ld.texinfo (Output Section Constraint): New node.  Documents the
        ONLY_IF_RO and ONLY_IF_RW constraints.
        (Symbolic Constants): New node.  Documents the CONSTANT operator.

15 years ago2009-04-09 Catherine Moore <clm@codesourcery.com>
Catherine Moore [Thu, 9 Apr 2009 15:55:59 +0000 (15:55 +0000)]
2009-04-09  Catherine Moore  <clm@codesourcery.com>

        * config/tc-mips.c (mips_fix_24k): Declare.
        (check_for_24k_errata): New.
        (mips_cleanup): Call check_for_24k_errata.
        (start_noreorder): Likewise.
        (md_mips_end): Likewise.
        (s_change_sec): Likewise.
        (s_change_section): Likewise.
        (append_insn): Call check_for_24k_errata.  Prevent
        ERET/DERET instructions from being moved into delay
        slots.
        (OPTION_FIX_24K): New.
        (OPTION_NO_FIX_24k) New.
        (md_longopts): Add "mfix-24k" and "mno-fix-24k".
        (md_parse_option): Handle fix-24k options.
        (md_show_usage): Display fix-24k options.
        * doc/c-mips.texi: Document.
        * testsuite/gas/mips/mips.exp: Run new tests.
        * testsuite/gas/mips/eret.s: New test.
        * testsuite/gas/mips/eret.d: New test output.
        * testsuite/gas/mips/eret.l: New test output.

15 years ago2009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
H.J. Lu [Thu, 9 Apr 2009 15:54:10 +0000 (15:54 +0000)]
2009-04-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
* configure: Regenerate.

15 years ago2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 9 Apr 2009 15:40:57 +0000 (15:40 +0000)]
2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10039
* configure.ac: Require texinfo 4.7.
* configure: Regenerated.

15 years ago2009-04-09 Steve Ellcey <sje@cup.hp.com>
H.J. Lu [Thu, 9 Apr 2009 15:39:52 +0000 (15:39 +0000)]
2009-04-09  Steve Ellcey  <sje@cup.hp.com>

* Makefil.def (languages): New entries.
* Makefile.tpl (check-gcc-*): New generic target.
* Makefile.in: Regenerate.

15 years ago * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
Adam Nemet [Thu, 9 Apr 2009 15:28:56 +0000 (15:28 +0000)]
* config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
instead of HAVE_64BIT_SYMBOLS.

15 years ago * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
Alan Modra [Thu, 9 Apr 2009 13:55:35 +0000 (13:55 +0000)]
* emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
of fork/execvp.

15 years ago * corefile.c (core_create_function_syms): Initialise a symbol's
Nick Clifton [Thu, 9 Apr 2009 13:07:34 +0000 (13:07 +0000)]
    * corefile.c (core_create_function_syms): Initialise a symbol's
        is_func field based on the setting of the BSF_FUNCTION flag.

15 years agodaily update
Alan Modra [Thu, 9 Apr 2009 01:00:04 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 9 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 8 Apr 2009 21:48:47 +0000 (21:48 +0000)]
2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/abs.d: Add  --32 for assembler and -melf_i386 for
linker.

15 years ago[cgen]
DJ Delorie [Wed, 8 Apr 2009 20:39:35 +0000 (20:39 +0000)]
[cgen]
* cpu/mep-c5.cpu: New.
* cpu/mep-core.cpu: Add C5 support.
* cpu/mep.opc: Likewise.
[opcodes]
* 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.
[sid]
* component/cache/cache.cxx (cache_component::cache_component):
Add write_hint_pin().  Attach it to write-hint.
(cache_component::write_hint): New.
* component/cache/cache.h (write_hint_pin): New.
(write_hint): New.

* component/cgen-cpu/mep/Makefile.am: Regenerate.
* component/cgen-cpu/mep/Makefile.in: Regenerate.
* component/cgen-cpu/mep/mep-core1-decode.cxx: Regenerate.
* component/cgen-cpu/mep/mep-core1-decode.h: Regenerate.
* component/cgen-cpu/mep/mep-core1-defs.h: Regenerate.
* component/cgen-cpu/mep/mep-core1-model.cxx: Regenerate.
* component/cgen-cpu/mep/mep-core1-model.h: Regenerate.
* component/cgen-cpu/mep/mep-core1-sem.cxx: Regenerate.
* component/cgen-cpu/mep/mep-decode.cxx: Regenerate.
* component/cgen-cpu/mep/mep-decode.h: Regenerate.
* component/cgen-cpu/mep/mep-defs.h: Regenerate.
* component/cgen-cpu/mep/mep-desc.h: Regenerate.
* component/cgen-cpu/mep/mep-model.cxx: Regenerate.
* component/cgen-cpu/mep/mep-model.h: Regenerate.
* component/cgen-cpu/mep/mep-sem.cxx: Regenerate.
* component/cgen-cpu/mep/mep.cxx (mep_cpu): Connect
write-hint pin.
(do_cache): Add C5 support.
(do_cache_prefetch): Likewise.
(do_casb3, do_cash3, do_casw3): New.
* component/cgen-cpu/mep/mep.h: Add C5 support and write-hint pin.
(do_casb3, do_cash3, do_casw3): New.

* component/families/mep/Makefile.in: Regenerate.
* component/families/mep/dsu.in: Add C5 support.
* main/dynamic/mainDynamic.cxx: Add C5 support.
* main/dynamic/mepCfg.cxx: Connect write-hint pin.
* main/dynamic/mepCfg.h: Add C5 support.

15 years agomerge from gcc
DJ Delorie [Wed, 8 Apr 2009 16:42:57 +0000 (16:42 +0000)]
merge from gcc

15 years agobfd/
H.J. Lu [Wed, 8 Apr 2009 16:04:50 +0000 (16:04 +0000)]
bfd/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Warn alternate ELF
machine code.

include/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Add warn_alternate_em.

ld/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
(ld_options): Likewise.
(parse_args): Likewise.

* ld.texinfo: Document --warn-alternate-em.

* NEWS: Mention --warn-alternate-em.

15 years ago Implement -exec-jump.
Vladimir Prus [Wed, 8 Apr 2009 06:58:37 +0000 (06:58 +0000)]
Implement -exec-jump.

* mi/mi-cmds.h (mi_cmd_exec_jump): Declare.
* mi/mi-main.c (mi_cmd_exec_jump): New.
* mi/mi-cmds.c (mi_cmds): Register exec-jump.

15 years ago[include/elf]
DJ Delorie [Wed, 8 Apr 2009 02:24:23 +0000 (02:24 +0000)]
[include/elf]
* mep.h (EF_MEP_CPU_C5): New.
[bfd]
* archures.c: Add bfd_mach_mep_c5.
* bfd-in2.h: Likewise.
* cpu-mep.c: Add bfd_c5_arch.
* elf32-mep.c: Support it.
[gas]
* config/tc-mep.c: Add UCI/DSP instruction support.  Add C5 support.
(md_show_usage): Change default endian to little.
* config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
[ld]
* emulparams/elf32mep.sh: Change default endian to little.

15 years agodaily update
Alan Modra [Wed, 8 Apr 2009 01:00:09 +0000 (01:00 +0000)]
daily update

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

15 years ago * symfile.c (symbol_file_clear): Fix indentation.
Doug Evans [Tue, 7 Apr 2009 20:43:51 +0000 (20:43 +0000)]
* symfile.c (symbol_file_clear): Fix indentation.

15 years ago2009-04-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 7 Apr 2009 20:04:08 +0000 (20:04 +0000)]
2009-04-07  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_section_already_linked): Add `\n' for
info->callbacks->einfo.
* linker.c (_bfd_generic_section_already_linked): Likewise.

15 years agoopcodes/
Peter Bergner [Tue, 7 Apr 2009 18:28:02 +0000 (18:28 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
"tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
Reorder entries so the extended mnemonics are listed before tlbilx.

gas/testsuite/
* gas/ppc/e500mc.d: Update to match extended mnemonics.

15 years ago[bfd]
DJ Delorie [Tue, 7 Apr 2009 18:21:22 +0000 (18:21 +0000)]
[bfd]
* elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes.
[gas]
* tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
immediates.
(build_bytes): Pass insn to do_a_fix_imm.
[include/opcode]
* h8300.h: Add relaxation attributes to MOVA opcodes.

15 years ago * ld.texinfo (Output Section Address): Note that specifying an
Nick Clifton [Tue, 7 Apr 2009 08:07:08 +0000 (08:07 +0000)]
    * ld.texinfo (Output Section Address): Note that specifying an
        address for an output section will only change the location
        counter if the output section is used.

15 years agodaily update
Alan Modra [Tue, 7 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

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

15 years ago2009-04-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 6 Apr 2009 16:48:36 +0000 (16:48 +0000)]
2009-04-06  H.J. Lu  <hongjiu.lu@intel.com>

* coff-x86_64.c (bfd_pe_print_pdata): Defined to
_bfd_pex64_print_pdata only if PE is defined.

* libpei.h (_bfd_pep_print_x64_pdata): Renamed to ...
(_bfd_pex64_print_pdata): This.

* peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ...
(_bfd_pex64_print_pdata): This.  Defined only if COFF_WITH_pex64
is defined.

15 years ago * ldfile.c (ldfile_find_command_file): Initialize result.
Kazu Hirata [Mon, 6 Apr 2009 01:21:09 +0000 (01:21 +0000)]
* ldfile.c (ldfile_find_command_file): Initialize result.

15 years agodaily update
Alan Modra [Mon, 6 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago * ld.texinfo (-L): Mention that -L options do not affect how ld
Kazu Hirata [Mon, 6 Apr 2009 00:47:09 +0000 (00:47 +0000)]
* ld.texinfo (-L): Mention that -L options do not affect how ld
searches for a linker script unless -T option is specified.
* ldfile.c (ldfile_find_command_file): Append the path obtained
from the program name to the search path instead of
prepending. Add a new parameter "default_only". Restrict the
search to the default script location if the new parameter is
true.
(ldfile_open_command_file_1): New.
(ldfile_open_command_file): Call ldfile_open_command_file_1.
(ldfile_open_default_command_file): New.

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

15 years ago* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.
Mark Kettenis [Sun, 5 Apr 2009 22:37:20 +0000 (22:37 +0000)]
* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.

15 years ago2009-04-05 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Sun, 5 Apr 2009 18:12:21 +0000 (18:12 +0000)]
2009-04-05  Kai Tietz  <kai.tietz@onevision.com>

        * coff-x86_64.c (bfd_pe_print_pdata): Define as
        _bfd_pep_print_x64_pdata.
        * libpei.h (_bfd_pep_print_x64_pdata): Add prototype.
        * peXXigen.c (_bfd_pep_print_x64_pdata): New.

15 years agodaily update
Alan Modra [Sun, 5 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 5 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
gdbadmin [Sat, 4 Apr 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

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

15 years ago * inferiors.c (get_thread_process): Make global.
Ulrich Weigand [Fri, 3 Apr 2009 20:15:51 +0000 (20:15 +0000)]
* inferiors.c (get_thread_process): Make global.
* server.h (get_thread_process): Add prototype.
* thread-db.c (find_one_thread): Use get_thread_process
instead of current_process.
(thread_db_get_tls_address): Do not crash if called when
thread layer is not yet initialized.

15 years ago * ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
Ulrich Weigand [Fri, 3 Apr 2009 16:07:04 +0000 (16:07 +0000)]
* ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
(ppc_linux_auxv_parse): New function.
(ppc_linux_read_description): Use ppc_linux_target_wordsize.
(_initialize_ppc_linux_nat): Install ppc_linux_auxv_parse.

15 years ago2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>
Sterling Augustine [Fri, 3 Apr 2009 16:06:40 +0000 (16:06 +0000)]
2009-04-02  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* elf32-xtensa.c (relax_property_section): Always set r_offset
to zero.

15 years ago * remote-utils.c (prepare_resume_reply): Null-terminate packet.
Ulrich Weigand [Fri, 3 Apr 2009 14:38:39 +0000 (14:38 +0000)]
* remote-utils.c (prepare_resume_reply): Null-terminate packet.
* spu-low.c (current_tid): Rename to ...
(current_ptid): ... this.
(fetch_ppc_register, fetch_ppc_memory, store_ppc_memory,
spu_proc_xfer_spu, spu_resume, spu_request_interrupt): Use
ptid_get_lwp (current_ptid) instead of current_tid.
(spu_kill, spu_detach, spu_join, spu_wait): Use pid argument
instead of current_tid.  Use find_process_pid to verify pid
argument is valid.  Pass proper argument to remove_process.
(spu_thread_alive): Compare current_ptid instead of current_tid.
(spu_resume): Likewise.

15 years ago * spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
Ulrich Weigand [Fri, 3 Apr 2009 14:37:57 +0000 (14:37 +0000)]
* spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
BFD to contents of SPU name note.
(spu_symbol_file_add_from_memory): Call symbol_file_add_from_bfd
with "from_tty" argument 1 instead of 0.

15 years ago * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
Ulrich Weigand [Fri, 3 Apr 2009 14:37:04 +0000 (14:37 +0000)]
* gdb.base/attach.exp: Re-enable for spu*-*-* targets.
* gdb.server/ext-attach.exp: Likewise.

15 years ago * linux-low.c (usr_store_inferior_registers): Declare local `pid'
Pedro Alves [Fri, 3 Apr 2009 11:40:02 +0000 (11:40 +0000)]
* linux-low.c (usr_store_inferior_registers): Declare local `pid'
variable.

15 years ago Eliminate some sleep usage.
Vladimir Prus [Fri, 3 Apr 2009 11:23:19 +0000 (11:23 +0000)]
   Eliminate some sleep usage.

        * gdb.mi/basics.c (do_nothing): New.
        (main): Use do_nothing instead of printf, so that
        not to introduce race condition between output of
        inferiour and output of gdb. Do not use sleep as it
        is not generally available on embedded targets.

15 years ago * ld-scripts/rgn-at.s: Use explicit .section pseudos.
Nathan Sidwell [Fri, 3 Apr 2009 10:15:21 +0000 (10:15 +0000)]
* ld-scripts/rgn-at.s: Use explicit .section pseudos.

15 years ago * ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64
Dave Korn [Fri, 3 Apr 2009 09:25:32 +0000 (09:25 +0000)]
* ld-pe/image_size.d (#target):  Also run test on Cygwin and x86_64
MinGW targets.

15 years ago * ldlang.c (lang_leave_output_section_statement): Set lma_region
Nathan Sidwell [Fri, 3 Apr 2009 07:45:28 +0000 (07:45 +0000)]
* ldlang.c (lang_leave_output_section_statement): Set lma_region
if it is not overridden and section is for the same vma region as
the previous section.

* ld-scripts/rgn-at.exp: New.
* ld-scripts/rgn-at.s: New.
* ld-scripts/rgn-at1.d: New.
* ld-scripts/rgn-at1.t: New.
* ld-scripts/rgn-at2.d: New.
* ld-scripts/rgn-at2.t: New.
* ld-scripts/rgn-at3.d: New.
* ld-scripts/rgn-at3.t: New.

15 years ago * ld-pe/export_dynamic_warning.s: Make dummy code portable.
Dave Korn [Fri, 3 Apr 2009 07:00:26 +0000 (07:00 +0000)]
* ld-pe/export_dynamic_warning.s:  Make dummy code portable.

15 years agodaily update
Alan Modra [Fri, 3 Apr 2009 00:00:05 +0000 (00:00 +0000)]
daily update

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

15 years ago * gdb.server/ext-attach.exp: Expect an optional process id after
Pedro Alves [Thu, 2 Apr 2009 22:40:10 +0000 (22:40 +0000)]
* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".

15 years agogdb/
Jan Kratochvil [Thu, 2 Apr 2009 21:01:41 +0000 (21:01 +0000)]
gdb/
* dwarf2read.c
(new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
Create the symbol in local scope.
* symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.

gdb/testsuite/
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.

15 years ago * stabsread.c (read_member_functions): GCC may emit an extra space
Keith Seitz [Thu, 2 Apr 2009 17:34:25 +0000 (17:34 +0000)]
* stabsread.c (read_member_functions): GCC may emit an extra space
at the end of the names "__base_ctor" and "__base_dtor"; so ignore
whitespace when looking for these functions.

15 years ago * ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern.
Dave Korn [Thu, 2 Apr 2009 16:44:23 +0000 (16:44 +0000)]
* ld-pe/export_dynamic_warning.d (#warning):  Fix regex pattern.

15 years ago * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
Pedro Alves [Thu, 2 Apr 2009 16:11:48 +0000 (16:11 +0000)]
* gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
mi_run_to_main.

15 years ago * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the first
Joel Brobecker [Thu, 2 Apr 2009 15:56:08 +0000 (15:56 +0000)]
    * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the first
        example, and add a small explanation about it.
        (Print Settings): Change the documentation of the "set print
        frame-arguments" to reflect the fact that the default is now "scalars".

15 years ago * gdb.texinfo (Print Settings): Add kindex for command "set
Joel Brobecker [Thu, 2 Apr 2009 15:54:50 +0000 (15:54 +0000)]
    * gdb.texinfo (Print Settings): Add kindex for command "set
        print frame-arguments".

15 years ago * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
Pedro Alves [Thu, 2 Apr 2009 15:43:10 +0000 (15:43 +0000)]
* gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
mi_run_to_main.  Skip thread exit test on remote targets.
* gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
mi_run_to_main.
* gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
mi_run_to_main.
* lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
when expecting ^connected.  Detect when the target doesn't support
non-stop mode.
(mi_run_cmd): Detect if non-stop mode was requested by isn't
supported.  Return -1 on error, 0 on success.
(mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
(mi_runto): Return mi_runto_helper's result explicitly.

15 years agold/ChangeLog
Dave Korn [Thu, 2 Apr 2009 14:42:41 +0000 (14:42 +0000)]
ld/ChangeLog

PR ld/6744
* ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
warning if --export-dynamic was passed on command-line.
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.

ld/testsuite/ChangeLog

PR ld/6744
* ld-pe/export_dynamic_warning.d:  New test control file.
* ld-pe/export_dynamic_warning.s:  New test source file.
* ld-pe/pe.exp:  Also run export_dynamic_warning dump test.

15 years ago2009-04-02 Christophe Lyon <christophe.lyon@st.com>
Christophe Lyon [Thu, 2 Apr 2009 14:12:46 +0000 (14:12 +0000)]
2009-04-02  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long
branch stubs.
(elf32_arm_stub_type): New enum values for the two new stubs.
(arm_type_of_stub): Make use of the two new stubs.
(arm_size_one_stub): Handle the two new stubs.

testsuite/
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
results.
* ld-arm/farcall-thumb-thumb.d: Likewise.

15 years ago * inutils-all/objcopy.exp (strip_executable): Delete remote dest
Dave Korn [Thu, 2 Apr 2009 13:47:44 +0000 (13:47 +0000)]
* inutils-all/objcopy.exp (strip_executable):  Delete remote dest
file before downloading.
(strip_executable_with_saving_a_symbol):  Likewise.
(keep_debug_symbols_and_test_copy):  Likewise.

15 years agoopcodes/
Peter Bergner [Thu, 2 Apr 2009 13:30:56 +0000 (13:30 +0000)]
opcodes/
* ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
due to -many/-Many.
(print_insn_powerpc): Make sure we only deprecate instructions using
the original dialect and not a modified dialect due to -Many handling.
Move the handling of the condition register and default operands to
the end of the if/else if/else chain.
* ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
instructions from newer processors are listed before older ones.
<"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
that have instructions with conflicting opcodes.

15 years ago * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
Nick Clifton [Thu, 2 Apr 2009 09:43:56 +0000 (09:43 +0000)]
    * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
        * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
        Cortex-M1.

15 years agoPR 9987
Nick Clifton [Thu, 2 Apr 2009 09:34:22 +0000 (09:34 +0000)]
PR 9987
        * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
        collection tests for cygwin targets.

15 years ago * gold.h (reserve_unordered_map): Define, three versions, one for
Ian Lance Taylor [Thu, 2 Apr 2009 04:19:03 +0000 (04:19 +0000)]
* gold.h (reserve_unordered_map): Define, three versions, one for
each version of Unordered_map.
* layout.cc (Layout::Layout): Remove options parameter.  Add
number_of_input_files parameter.  Don't initialize options_.
Initialize number_of_input_files_ and resized_signatures_.  Move
sections_are_attached_.
(Layout::layout_group): Reserve space for group_signatures_.
(Layout::find_or_add_kept_section): Change name parameter to be a
reference.  Resize signatures_ map when it gets large enough.
(Layout::layout_eh_frame): Use parameters->options() instead of
this->options_.
(Layout::make_output_section): Likewise.
(Layout::attach_allocated_section_to_segment): Likewise.
(Layout::finalize, Layout::create_executable_stack): Likewise.
(Layout::set_segment_offsets, Layout::create_interp): Likewise.
(Layout::finish_dynamic_section, Layout::write_binary): Likewise.
* layout.h (class Layout): Update declarations.  Remove options_
field.  Add number_of_input_files_ and resized_signatures_
fields.  Move sections_are_attached_ field.
* main.cc (main): Pass number of input files to Layout
constructor.  Don't pass options.

15 years agoopcodes/
Peter Bergner [Thu, 2 Apr 2009 00:42:29 +0000 (00:42 +0000)]
opcodes/
        * ppc-opc.c (powerpc_opcodes) <"dcbzl">: Merge the POWER4 and
        E500MC entries.

15 years ago2009-04-01 Matt Thomas <matt@netbsd.org>
Matt Thomas [Thu, 2 Apr 2009 00:20:42 +0000 (00:20 +0000)]
2009-04-01  Matt Thomas  <matt@netbsd.org>

* elf32-vax.c (elf_vax_check_relocs): Do not put relocations against
hidden symbols into the GOT or PLT.GOT.
(elf_vax_relocate_section): Do not emit a PCREL reloc
into a shared object if it is against a hidden symbol.