external/binutils.git
18 years ago2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz [Tue, 10 Oct 2006 03:17:53 +0000 (03:17 +0000)]
2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.in (expprint.o, parse.o, target.o): Update.
* dwarf2loc.c (dwarf_expr_tls_address): Move body to
target_translate_tls_address.  Call it.
* eval.c (evaluate_subexp_standard): Handle UNOP_MEMVAL_TLS.
* expprint.c (print_subexp_standard): Likewise.
(op_name_standard, dump_subexp_body_standard): Likewise.
* expression.h (enum exp_opcode): Add UNOP_MEMVAL_TLS.
(union exp_element): Add objfile.
* parse.c (write_exp_elt_objfile): New function.
(msym_tls_symbol_type): New.
(write_exp_msymbol): Handle TLS.
(operator_length_standard): Handle UNOP_MEMVAL_TLS.
(build_parse): Initialize msym_tls_symbol_type.
* parser-defs.h (write_exp_elt_objfile): New prototype.
* target.c (target_translate_tls_address): New.
* target.h (target_translate_tls_address): Add prototype.

2006-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.

18 years ago*** empty log message ***
gdbadmin [Tue, 10 Oct 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 9 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update

18 years ago * solib.c (solib_open): Handle an empty solib_absolute_prefix like a
Daniel Jacobowitz [Mon, 9 Oct 2006 20:16:10 +0000 (20:16 +0000)]
* solib.c (solib_open): Handle an empty solib_absolute_prefix like a
missing one.

18 years ago * solib.c (solib_read_symbols): Stop if the file was not found.
Daniel Jacobowitz [Mon, 9 Oct 2006 19:58:07 +0000 (19:58 +0000)]
* solib.c (solib_read_symbols): Stop if the file was not found.

18 years ago2006-10-09 Paul Pluzhnikov <ppluzhnikov@charter.net>
Daniel Jacobowitz [Mon, 9 Oct 2006 19:28:14 +0000 (19:28 +0000)]
2006-10-09  Paul Pluzhnikov  <ppluzhnikov@charter.net>

PR c++/2116
* valops.c (find_overload_match): Check for a NULL name.

2006-10-09  Daniel Jacobowitz  <dan@codesourcery.com>

PR c++/2116
* gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.

18 years ago*** empty log message ***
gdbadmin [Mon, 9 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 8 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update

18 years ago2006-10-08 Paul Brook <paul@codesourcery.com>
Paul Brook [Sun, 8 Oct 2006 18:44:07 +0000 (18:44 +0000)]
2006-10-08  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (parse_big_immediate): 64-bit host fix.
(parse_operands): Use parse_big_immediate for OP_NILO.
(neon_cmode_for_logic_imm): Try smaller element sizes.
(neon_cmode_for_move_imm): Ditto.
(do_neon_logic): Handle .i64 pseudo-op.

gas/testsuite/
* testsuite/gas/arm/neon-cov.s: Test pseudo-instruction forms of
vmov, vmvn and logic immediate instructions.
* testsuite/gas/arm/neon-cov.d: ditto.

18 years ago*** empty log message ***
gdbadmin [Sun, 8 Oct 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 7 Oct 2006 23:59:22 +0000 (23:59 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 7 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 6 Oct 2006 23:59:23 +0000 (23:59 +0000)]
daily update

18 years ago * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
Joel Brobecker [Fri, 6 Oct 2006 20:48:42 +0000 (20:48 +0000)]
    * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
        the corresponding bug has been fixed in GDB (PR/2018).

18 years ago * dwarf2read.c (read_array_type): Set the type name if the name
Joel Brobecker [Fri, 6 Oct 2006 20:42:02 +0000 (20:42 +0000)]
    * dwarf2read.c (read_array_type): Set the type name if the name
        attribute is present.

18 years agoLay out object file sections when we add the symbols to the symbol
Ian Lance Taylor [Fri, 6 Oct 2006 20:40:16 +0000 (20:40 +0000)]
Lay out object file sections when we add the symbols to the symbol
table.

18 years ago* genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
Mike Frysinger [Fri, 6 Oct 2006 20:10:37 +0000 (20:10 +0000)]
* genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.

18 years ago * gdb.base/subst.exp: New testcase.
Joel Brobecker [Fri, 6 Oct 2006 18:17:56 +0000 (18:17 +0000)]
    * gdb.base/subst.exp: New testcase.

18 years ago * gdb.ada/array_return/pck.ads: Add copyright notice.
Joel Brobecker [Fri, 6 Oct 2006 18:05:58 +0000 (18:05 +0000)]
    * gdb.ada/array_return/pck.ads: Add copyright notice.
        * gdb.ada/array_return/pck.adb: Likewise.
        * gdb.ada/array_return/p.adb: Likewise.
        * gdb.ada/exec_changed/first.adb: Likewise.
        * gdb.ada/exec_changed/second.adb: Likewise.

18 years ago * gdb.ada/watch_arg/watch.adb: New file.
Joel Brobecker [Fri, 6 Oct 2006 17:46:56 +0000 (17:46 +0000)]
    * gdb.ada/watch_arg/watch.adb: New file.
        * gdb.ada/watch_arg.exp: New testcase.

18 years ago * blockframe.c (block_innermost_frame): Rewrite frame search logic.
Joel Brobecker [Fri, 6 Oct 2006 02:01:34 +0000 (02:01 +0000)]
    * blockframe.c (block_innermost_frame): Rewrite frame search logic.

18 years ago*** empty log message ***
gdbadmin [Fri, 6 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 5 Oct 2006 23:59:26 +0000 (23:59 +0000)]
daily update

18 years ago * Makefile.in (gdb_expat_h): New.
Daniel Jacobowitz [Thu, 5 Oct 2006 19:42:31 +0000 (19:42 +0000)]
* Makefile.in (gdb_expat_h): New.
(xml_support_h): Add gdb_expat.h dependency.
(memory-map.o, xml-support.o): Likewise.
* gdb_expat.h: New file.
* xml-support.h: Include it.
* memory-map.c, xml-support.c: Likewise.  Remove XML_STATUS_OK
definitions.

18 years ago * remote.c (get_remote_state_raw): Renamed from get_remote_state.
Daniel Jacobowitz [Thu, 5 Oct 2006 19:20:52 +0000 (19:20 +0000)]
* remote.c (get_remote_state_raw): Renamed from get_remote_state.
(get_remote_state): New function.
(init_remote_state, _initialize_remote): Use get_remote_state_raw.

18 years ago * emulparams/xtensa-config.sh: Delete file.
Bob Wilson [Thu, 5 Oct 2006 01:06:13 +0000 (01:06 +0000)]
    * emulparams/xtensa-config.sh: Delete file.
        * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
        xtensa-config.sh.
        * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
        * Makefile.in: Regenerate.

18 years agoReviewed and approved by Daniel Jacobowitz <drow@false.org>
Fred Fish [Thu, 5 Oct 2006 01:04:23 +0000 (01:04 +0000)]
Reviewed and approved by Daniel Jacobowitz <drow@false.org>
2006-10-04  Fred Fish  <fnf@specifix.com>
* vec.c: Include defs.h first.  This pulls in config.h which can
affect other includes.

18 years ago*** empty log message ***
gdbadmin [Thu, 5 Oct 2006 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 4 Oct 2006 23:59:24 +0000 (23:59 +0000)]
daily update

18 years ago * somread.c (som_symtab_read): Avoid using alloca for potentially
Joel Brobecker [Wed, 4 Oct 2006 21:36:39 +0000 (21:36 +0000)]
    * somread.c (som_symtab_read): Avoid using alloca for potentially
        large buffers.

18 years ago * arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.
Daniel Jacobowitz [Wed, 4 Oct 2006 20:14:44 +0000 (20:14 +0000)]
* arch-utils.h (gdbarch_info_fill): Remove duplicate prototype.

18 years ago2006-10-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 4 Oct 2006 11:50:43 +0000 (11:50 +0000)]
2006-10-04  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (debug_apply_rela_addends): Don't ignore relocation
against symbols without type.

18 years ago*** empty log message ***
gdbadmin [Wed, 4 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 3 Oct 2006 23:59:25 +0000 (23:59 +0000)]
daily update

18 years ago * memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
Daniel Jacobowitz [Tue, 3 Oct 2006 15:54:01 +0000 (15:54 +0000)]
* memory-map.c (XML_STATUS_OK, XML_STATUS_ERROR): Provide default
definitions.
* xml-support.c (XML_STATUS_OK, XML_STATUS_ERROR): Likewise.

18 years ago * elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
Jakub Jelinek [Tue, 3 Oct 2006 13:15:39 +0000 (13:15 +0000)]
* elf-bfd.h (struct eh_cie_fde): Add set_loc pointer.
* elf-eh-frame.c (skip_cfa_op): Fix handling of DW_CFA_advance_loc.
Handle DW_CFA_{remember,restore}_state, DW_CFA_GNU_window_save,
DW_CFA_val_{offset{,_sf},expression}.
(skip_non_nops): Record number of DW_CFA_set_loc ops.
(_bfd_elf_discard_section_eh_frame): Require skip_non_nops recognizes
all ops.  If there are any DW_CFA_set_loc ops and they are pcrel
or going to be pcrel, compute set_loc array.
(_bfd_elf_eh_frame_section_offset): If make_relative, kill relocations
against DW_CFA_set_loc operands.
(_bfd_elf_write_section_eh_frame): Handle DW_CFA_set_loc adjusting.

* ld-elf/eh4.d: New test.
* ld-elf/eh4.s: New file.
* ld-elf/eh4a.s: New file.

18 years ago* pe-dll.c : Fix typo.
Nick Clifton [Tue, 3 Oct 2006 10:06:26 +0000 (10:06 +0000)]
* pe-dll.c : Fix typo.
  (autofilter_symbolprefixlist) : Remove __imp_.
  (is_import) : New.
  (auto-export) : Remove  re-import check. Moved to callers.
  (process_def_file) : Check is symbol is an import. Always underscore __imp_.
  Only skip underscore on underscored targets.
  (make_one) : Always underscore __imp_.
  (pe_create_runtime_relocator_reference) : Only underscore _pei386_runtime_relocator on underscored targets.
  (pe_process_import_defs) : Always underscore __imp_.
* pe.em (U) : New macro.
  (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup on wince subsystem case.
  (pe_find_data_imports) : Use U on "_head_".
  (gld_${EMULATION_NAME}_unrecognized_file) : Use U.

18 years agodaily update
Alan Modra [Tue, 3 Oct 2006 00:24:33 +0000 (00:24 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Tue, 3 Oct 2006 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
Kazu Hirata [Mon, 2 Oct 2006 22:52:19 +0000 (22:52 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Discard references to TLS
symbols from the --just-syms file.

18 years ago * tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
Tom Tromey [Mon, 2 Oct 2006 18:03:18 +0000 (18:03 +0000)]
* tls.m4 (GCC_CHECK_TLS): Pass empty argument as "help arg" to
GCC_ENABLE.

18 years ago* ld-arm/use-thumb-lib.sym: Robustify, by ignoring symbols we're
Nick Clifton [Mon, 2 Oct 2006 17:10:56 +0000 (17:10 +0000)]
* ld-arm/use-thumb-lib.sym: Robustify, by ignoring symbols we're
not interested in and bucket number.

18 years ago* ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target.
Nick Clifton [Mon, 2 Oct 2006 16:53:04 +0000 (16:53 +0000)]
* ld-fastcall/fastcall.exp: Add x86_64-pc-mingw64 as valid target.
* ld-pe/pe.exp: Likewise.
* lib/ld-lib.exp ( is_pecoff_format): Accept x86_64-pc-mingw64.

18 years ago * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
Vladimir Prus [Mon, 2 Oct 2006 16:38:26 +0000 (16:38 +0000)]
    * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
        via string_to_regexp.
        * gdb.mi/mi2-basics.exp: Likewise.

18 years ago * cris/cris-sim.h (enum cris_unknown_syscall_action_type)
Hans-Peter Nilsson [Mon, 2 Oct 2006 03:21:28 +0000 (03:21 +0000)]
* cris/cris-sim.h (enum cris_unknown_syscall_action_type)
(cris_unknown_syscall_action): Declare.
* cris/sim-if.c (cris_unknown_syscall_action): Define.
(cris_options): Add cris-unknown-syscall option.
(cris_option_handler): Correct comment about and error message for
invalid --cris-cycles argument.  Handle --cris-unknown-syscall.
* cris/traps.c: Include stdarg.h
(cris_unknown_syscall): New function.
(cris_break_13_handler): Instead of sim_io_eprintf and
sim_engine_halt, call cris_unknown_syscall to handle more or less
unknown syscalls.  Adjust code as necessary to handle return
value.

18 years ago * sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
Hans-Peter Nilsson [Mon, 2 Oct 2006 03:18:51 +0000 (03:18 +0000)]
* sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
sim/cris/c/rtsigprocmask1.c, sim/cris/c/rtsigsuspend1.c,
sim/cris/c/sig7.c, sim/cris/c/sigreturn1.c,
sim/cris/c/sigreturn2.c, sim/cris/c/syscall1.c,
sim/cris/c/syscall2.c, sim/cris/c/sysctl2.c, sim/cris/c/fcntl1.c,
sim/cris/c/readlink2.c: Add code to print ENOSYS if syscall being
tested returns ENOSYS.  Add early exit where needed.  Change any
existing code to print "xyzzy", not "pass".
* sim/cris/asm/option3.ms, sim/cris/asm/option4.ms,
sim/cris/c/clone6.c, sim/cris/c/fcntl2.c,
sim/cris/c/mprotect2.c, sim/cris/c/readlink11.c,
sim/cris/c/rtsigprocmask2.c, sim/cris/c/rtsigsuspend2.c,
sim/cris/c/sig13.c, sim/cris/c/sigreturn3.c,
sim/cris/c/sigreturn4.c, sim/cris/c/syscall3.c,
sim/cris/c/syscall4.c, sim/cris/c/syscall5.c,
sim/cris/c/syscall6.c, sim/cris/c/syscall7.c,
sim/cris/c/syscall8.c, sim/cris/c/sysctl3.c: New tests.

18 years ago*** empty log message ***
gdbadmin [Mon, 2 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 1 Oct 2006 23:59:32 +0000 (23:59 +0000)]
daily update

18 years ago * elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
Alan Modra [Sun, 1 Oct 2006 13:59:21 +0000 (13:59 +0000)]
* elf64-ppc.c (ppc64_elf_build_stubs): Test glink size for
existence of PLT.

18 years ago * MAINTAINERS: Add Dave Brolley for sh64.
Daniel Jacobowitz [Sun, 1 Oct 2006 04:00:30 +0000 (04:00 +0000)]
* MAINTAINERS: Add Dave Brolley for sh64.

18 years ago*** empty log message ***
gdbadmin [Sun, 1 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sat, 30 Sep 2006 23:59:31 +0000 (23:59 +0000)]
daily update

18 years ago * cris/traps.c (TARGET_PIPE_BUF): New macro.
Hans-Peter Nilsson [Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)]
* cris/traps.c (TARGET_PIPE_BUF): New macro.
(cris_pipe_empty): Correct initialization of "remaining".  Only
adjust the "write" return value if more than TARGET_PIPE_BUF bytes
are written.

18 years ago * sim/cris/c/pipe2.c: Adjust expected output.
Hans-Peter Nilsson [Sat, 30 Sep 2006 02:34:43 +0000 (02:34 +0000)]
    * sim/cris/c/pipe2.c: Adjust expected output.
(process): Don't write as much to the pipe as to trig the
inordinate-amount test in the sim pipe machinery.  Correct test of
write return-value; check only that pipemax bytes were
successfully written.  For error-case, emit strerror as well.
(main): Add a second read.

18 years ago*** empty log message ***
gdbadmin [Sat, 30 Sep 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 29 Sep 2006 23:59:31 +0000 (23:59 +0000)]
daily update

18 years agoClean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat.
Ian Lance Taylor [Fri, 29 Sep 2006 22:34:01 +0000 (22:34 +0000)]
Clean up HAVE_MEMBER_TEMPLATE_SPECIFICATIONS somewhat.

18 years agoSnapshot. Now able to produce a minimal executable which actually
Ian Lance Taylor [Fri, 29 Sep 2006 19:58:17 +0000 (19:58 +0000)]
Snapshot.  Now able to produce a minimal executable which actually
runs.

18 years ago2006-09-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 29 Sep 2006 13:24:11 +0000 (13:24 +0000)]
2006-09-29  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3283
* elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore
relocation overflow on branches to undefweaks.

18 years ago * ld-sh/tlspic-2.d: Update.
Kaz Kojima [Fri, 29 Sep 2006 12:37:28 +0000 (12:37 +0000)]
* ld-sh/tlspic-2.d: Update.

18 years agoRegenerate.
Alan Modra [Fri, 29 Sep 2006 08:05:35 +0000 (08:05 +0000)]
Regenerate.

18 years ago PR 3276
Danny Smith [Fri, 29 Sep 2006 03:33:56 +0000 (03:33 +0000)]
PR 3276
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
alignment for .data$, .rdata$ and .text$ sections so that sse
and sse2 code will work for linkonce sections too.
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.

18 years ago * cris/configure.ac: Check for limits.h and sys/param.h.
Hans-Peter Nilsson [Fri, 29 Sep 2006 02:45:48 +0000 (02:45 +0000)]
* cris/configure.ac: Check for limits.h and sys/param.h.
* cris/configure, cris/config.in: Rebuild.
* cris/traps.c (SIM_PATHMAX): New macro.
(cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.

18 years ago*** empty log message ***
gdbadmin [Fri, 29 Sep 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Thu, 28 Sep 2006 23:59:32 +0000 (23:59 +0000)]
daily update

18 years ago * linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
Daniel Jacobowitz [Thu, 28 Sep 2006 22:46:29 +0000 (22:46 +0000)]
* linux-low.c (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define.
(linux_resume_one_process): Take a siginfo_t *.  Update all
callers.  Queue it if necessary.  Use PTRACE_SETSIGINFO.
(struct pending_signals): Add a siginfo_t.
(linux_wait_for_process): Always set last_status.
(linux_wait_for_event): Use PTRACE_GETSIGINFO.
(linux_queue_one_thread): Use PTRACE_GETSIGINFO.
* linux-low.h (struct process_info): Add last_status.

18 years agogas/
H.J. Lu [Thu, 28 Sep 2006 14:06:36 +0000 (14:06 +0000)]
gas/

2006-09-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (CpuMNI): Renamed to ...
(CpuSSSE3): This.
(CpuUnknownFlags): Updated.
(processor_type): Replace PROCESSOR_YONAH with PROCESSOR_CORE
and PROCESSOR_MEROM with PROCESSOR_CORE2.
* config/tc-i386.c: Updated.
* doc/c-i386.texi: Likewise.

* config/tc-i386.c (cpu_arch): Add ".ssse3", "core" and "core2".

include/opcode/

2006-09-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h: Replace CpuMNI with CpuSSSE3.

18 years ago * elflink.c (_bfd_elf_gc_mark_hook): New function.
Alan Modra [Thu, 28 Sep 2006 13:27:33 +0000 (13:27 +0000)]
* elflink.c (_bfd_elf_gc_mark_hook): New function.
* elf-bfd.h (_bfd_elf_gc_mark_hook): Declare.
* elfxx-target.h (elf_backend_gc_mark_hook): Default to above.
* elf-m10300.c (mn10300_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
* elf32-arm.c (elf32_arm_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-score.c (_bfd_score_elf_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
* elf32-xtensa.c (elf_xtensa_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Likewise.
* elf32-bfin.c (bfin_gc_mark_hook): Likewise.
(bfinfdpic_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define for elf32-bfinfdpic.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
(elf32_d10v_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
(fr30_elf_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-frv.c (elf32_frv_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
(elf32_frv_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-iq2000.c (iq2000_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
(iq2000_elf_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Use
_bfd_elf_gc_mark_hook.
(openrisc_elf_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-v850.c (v850_elf_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
(v850_elf_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Use
_bfd_elf_gc_mark_hook.
(xstormy16_elf_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf64-sh64.c (sh_elf64_gc_mark_hook): Use _bfd_elf_gc_mark_hook.
(sh_elf64_gc_sweep_hook): Delete.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-avr.c (elf32_avr_gc_mark_hook): Delete.
(elf32_avr_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-cr16c.c (elf32_cr16c_gc_mark_hook): Delete.
(elf32_cr16c_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-crx.c (elf32_crx_gc_mark_hook): Delete.
(elf32_crx_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-h8300.c (elf32_h8_gc_mark_hook): Delete.
(elf32_h8_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-ip2k.c (ip2k_elf_gc_mark_hook): Delete.
(ip2k_elf_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-m32c.c (m32c_elf_gc_mark_hook, m32c_elf_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-m68hc11.c (elf_backend_gc_mark_hook): Don't define.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-m68hc12.c (elf_backend_gc_mark_hook): Don't define.
(elf_backend_gc_sweep_hook): Don't define.
* elf32-m68hc1x.c (elf32_m68hc11_gc_mark_hook): Delete.
(elf32_m68hc11_gc_sweep_hook): Delete.
* elf32-m68hc1x.h (elf32_m68hc11_gc_mark_hook): Delete.
(elf32_m68hc11_gc_sweep_hook): Delete.
* elf32-msp430.c (elf32_msp430_gc_mark_hook): Delete.
(elf32_msp430_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.
* elf32-mt.c (mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook): Delete.
(elf_backend_gc_mark_hook, elf_backend_gc_mark_hook): Don't define.

18 years ago* config/tc-arm.c (md_apply_fix): do not clear write_back bit
Nick Clifton [Thu, 28 Sep 2006 13:10:13 +0000 (13:10 +0000)]
* config/tc-arm.c (md_apply_fix): do not clear write_back bit
* gas/arm/iwmmxt-wldstbh.s: New file.
* gas/arm/iwmmxt-wldstbh.d: New file.

18 years ago* bfd-in.h (CONST_STRNCPY) : Delete.
Nick Clifton [Thu, 28 Sep 2006 12:59:25 +0000 (12:59 +0000)]
* bfd-in.h (CONST_STRNCPY) : Delete.
  (LITSTRCPY) : New.
  (LITMEMCPY) : New.
* bfd-in2.h : Regenerate.
* elflink.c  (bfd_elf_gc_sections) : Use LITMEMCPY. Don't manually calculate string lengths.
* nlmcode.h (nlm_swap_auxiliary_headers_in) : Use LITMEMCPY.
* nlmconv.c (main) : Use LITMEMCPY.
* prdbg.c (tg_class_static_member) : Use LITSTRCPY.

18 years ago*** empty log message ***
gdbadmin [Thu, 28 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Wed, 27 Sep 2006 23:59:36 +0000 (23:59 +0000)]
daily update

18 years agoFinished layout code.
Ian Lance Taylor [Wed, 27 Sep 2006 22:53:42 +0000 (22:53 +0000)]
Finished layout code.

18 years ago2006-09-27 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 27 Sep 2006 16:20:49 +0000 (16:20 +0000)]
2006-09-27  Dave Brolley  <brolley@redhat.com>

        * configure.in (RUNTEST): Look for 'runtest' in the source tree by using
        $s instead of $r.
        * configure: Regenerated.

18 years agomerge from gcc
DJ Delorie [Wed, 27 Sep 2006 15:03:38 +0000 (15:03 +0000)]
merge from gcc

18 years ago* output-file.c (output_file_close): Prevent an infinite loop reporting that stdoutpu...
Nick Clifton [Wed, 27 Sep 2006 11:14:59 +0000 (11:14 +0000)]
* output-file.c (output_file_close): Prevent an infinite loop reporting that stdoutput could not be closed.

18 years agobfd/
H.J. Lu [Wed, 27 Sep 2006 04:18:16 +0000 (04:18 +0000)]
bfd/

2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3223
PR ld/3267
* elf.c (assign_file_positions_for_non_load_sections): Don't
warn zero size allocated sections.

ld/

2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3223
PR ld/3267
* ld.texinfo: Updated Output Section Discarding.

* ldlang.h (lang_output_section_statement_type): Add
section_relative_symbol.
* ldlang.c (strip_excluded_output_sections): Don't strip a
section with a symbol relative to it.
(lang_size_sections_1): Mark if an output section has a symbol
symbol relative to it.

ld/testsuite/

2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3223
PR ld/3267
* ld-scripts/empty-address-1.d: New file.
* ld-scripts/empty-address-1.s: Likewise.
* ld-scripts/empty-address-1.t: Likewise.
* ld-scripts/empty-address-2.s: Likewise.
* ld-scripts/empty-address-2a.d: Likewise.
* ld-scripts/empty-address-2a.t: Likewise.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/empty-address-2b.t: Likewise.
* ld-scripts/empty-address-3.s: Likewise.
* ld-scripts/empty-address-3a.d: Likewise.
* ld-scripts/empty-address-3a.t: Likewise.
* ld-scripts/empty-address-3b.d: Likewise.
* ld-scripts/empty-address-3b.t: Likewise.
* ld-scripts/empty-address-3c.d: Likewise.
* ld-scripts/empty-address-3c.t: Likewise.
* ld-scripts/empty-address.exp: Likewise.

18 years ago * elf32-score.c (_bfd_score_elf_relocate_section): Move assignment
Alan Modra [Wed, 27 Sep 2006 04:07:57 +0000 (04:07 +0000)]
* elf32-score.c (_bfd_score_elf_relocate_section): Move assignment
to "name" so that compiler realizes it is never uninitialized.
Use bfd_elf_sym_name.

18 years ago*** empty log message ***
gdbadmin [Wed, 27 Sep 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 26 Sep 2006 23:59:33 +0000 (23:59 +0000)]
daily update

18 years agogcc 4.1.0 portability fixes.
Ian Lance Taylor [Tue, 26 Sep 2006 21:53:18 +0000 (21:53 +0000)]
gcc 4.1.0 portability fixes.

18 years agog++ 3.2.2 portability fixes.
Ian Lance Taylor [Tue, 26 Sep 2006 21:50:25 +0000 (21:50 +0000)]
g++ 3.2.2 portability fixes.

18 years agog++ 3.2.2 portability for grhat.
Ian Lance Taylor [Tue, 26 Sep 2006 21:20:56 +0000 (21:20 +0000)]
g++ 3.2.2 portability for grhat.

18 years agoMore section layout code.
Ian Lance Taylor [Tue, 26 Sep 2006 21:00:34 +0000 (21:00 +0000)]
More section layout code.

18 years ago2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 26 Sep 2006 19:11:03 +0000 (19:11 +0000)]
2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3262
* elf.c (rewrite_elf_program_header): Use bfd_zalloc instead of
bfd_alloc to allocate segment map.
(copy_elf_program_header): Likewise.

18 years ago2006-09-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 26 Sep 2006 16:45:25 +0000 (16:45 +0000)]
2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/3257
* strings.c (main): Handle "-T format".

18 years ago * gprof.texi: Fix install failure.
Thiemo Seufer [Tue, 26 Sep 2006 16:24:48 +0000 (16:24 +0000)]
* gprof.texi: Fix install failure.

18 years agoAdd Mei Ligang as maintainer of the Score port.
Nick Clifton [Tue, 26 Sep 2006 14:01:50 +0000 (14:01 +0000)]
Add Mei Ligang as maintainer of the Score port.

18 years agobfd/
Joseph Myers [Tue, 26 Sep 2006 12:04:45 +0000 (12:04 +0000)]
bfd/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* archures.c: Add definition for bfd_mach_arm_iWMMXt2.
* cpu-arm.c (processors): Add bfd_mach_arm_iWMMXt2.
(arch_info_struct, bfd_arm_update_notes): Likewise.
(architectures): Likewise.
(bfd_arm_merge_machines): Check for iWMMXt2.
* bfd-in2.h: Rebuild.

gas/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* config/tc-arm.c (arm_cext_iwmmxt2): New.
(enum operand_parse_code): New code OP_RIWR_I32z.
(parse_operands): Handle OP_RIWR_I32z.
(do_iwmmxt_wmerge): New function.
(do_iwmmxt_wldstd): Handle iwmmxt2 case where second operand is
a register.
(do_iwmmxt_wrwrwr_or_imm5): New function.
(insns): Mark instructions as RIWR_I32z as appropriate.
Also add torvsc<b,h,w>, wabs<b,h,w>, wabsdiff<b,h,w>,
waddbhus<l,m>, waddhc, waddwc, waddsubhx, wavg4{r}, wmaddu{x,n},
wmadds{x,n}, wmerge, wmiaxy{n}, wmiawxy{n}, wmul<sm,um>{r},
wmulw<um,sm,l>{r}, wqmiaxy{n}, wqmulm{r}, wqmulwm{r}, wsubaddhx.
(md_begin): Handle IWMMXT2.
(arm_cpus): Add iwmmxt2.
(arm_extensions): Likewise.
(arm_archs): Likewise.

gas/testsuite/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* gas/arm/iwmmxt2.s: New file.
* gas/arm/iwmmxt2.d: New file.

include/opcode/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* arm.h (ARM_CEXT_IWMMXT2, ARM_ARCH_IWMMXT2): Define.

opcodes/
2006-09-26  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Ian Lance Taylor  <ian@wasabisystems.com>
            Ben Elliston  <bje@wasabisystems.com>

* arm-dis.c (coprocessor_opcodes): The X-qualifier to WMADD may
only be used with the default multiply-add operation, so if N is
set, don't bother printing X.  Add new iwmmxt instructions.
(IWMMXT_INSN_COUNT): Update.
(iwmmxt_wwssnames): Qualify "wwss" names at index 2, 6, 10 and 14
with a 'c' suffix.
(print_insn_coprocessor): Check for iWMMXt2.  Handle format
specifiers 'r', 'i'.

18 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 26 Sep 2006 05:22:50 +0000 (05:22 +0000)]
* config.sub, config.guess: Update from upstream sources.

18 years ago*** empty log message ***
gdbadmin [Tue, 26 Sep 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Mon, 25 Sep 2006 23:59:35 +0000 (23:59 +0000)]
daily update

18 years ago * configure.in: Remove broken changequote lines.
Thiemo Seufer [Mon, 25 Sep 2006 23:37:12 +0000 (23:37 +0000)]
* configure.in: Remove broken changequote lines.

18 years agoAdd program segments.
Ian Lance Taylor [Mon, 25 Sep 2006 21:29:06 +0000 (21:29 +0000)]
Add program segments.

18 years ago * ld.texinfo (Options): Update description of local symbols for -X.
Bob Wilson [Mon, 25 Sep 2006 16:26:57 +0000 (16:26 +0000)]
    * ld.texinfo (Options): Update description of local symbols for -X.

18 years ago * doc/as.texinfo (Overview): Revise description of --keep-locals.
Bob Wilson [Mon, 25 Sep 2006 16:26:03 +0000 (16:26 +0000)]
    * doc/as.texinfo (Overview): Revise description of --keep-locals.
        Add xref to "Symbol Names".
        (L): Refer to "local symbols" instead of "local labels".  Move
        definition to "Symbol Names" section; add xref to that section.
        (Symbol Names): Use "Local Symbol Names" section to define local
        symbols.  Add "Local Labels" heading for description of temporary
        forward/backward labels, and refer to those as "local labels".

18 years ago * gprof.texi: Use TeX-style quotes and em-dashes consistently.
Bob Wilson [Mon, 25 Sep 2006 16:16:45 +0000 (16:16 +0000)]
    * gprof.texi: Use TeX-style quotes and em-dashes consistently.
        Specify section names in cross references.  Fix typos.
        Omit "next", "previous" and "up" fields from @node lines.
        (SYNOPSIS): Show map_file argument to --file-ordering.
        (Compiling): Remove extra, truncated lines from example output.
        (Cycles): Fix references to "called" field.
        (Internals): Allow hyphenation between file:function names.
        (GNU Free Documentation License): Update formatting to match fdl.texi.

18 years ago*** empty log message ***
gdbadmin [Mon, 25 Sep 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 24 Sep 2006 23:59:35 +0000 (23:59 +0000)]
daily update

18 years ago2006-09-24 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
H.J. Lu [Sun, 24 Sep 2006 17:25:47 +0000 (17:25 +0000)]
2006-09-24  Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>

PR binutils/3100
* i386-dis.c (prefix_user_table): Fix the second operand of
maskmovdqu instruction to allow only %xmm register instead of
both %xmm register and memory.