binutils-gdb.git
17 years agodaily update
Alan Modra [Fri, 30 Mar 2007 00:00:09 +0000 (00:00 +0000)]
daily update

17 years ago* m32c.cpu (Imm-8-s4n): Fix print hook.
DJ Delorie [Thu, 29 Mar 2007 23:56:39 +0000 (23:56 +0000)]
* m32c.cpu (Imm-8-s4n): Fix print hook.
(Lab-24-8, Lab-32-8, Lab-40-8): Fix.
(arith-jnz-imm4-dst-defn): Make relaxable.
(arith-jnz16-imm4-dst-defn): Fix encodings.

* m32c-desc.c: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-opc.c: Regenerate.

* config/tc-m32c.c (rl_for, relaxable): Protect argument.
(md_relax_table): Add entries for ADJNZ macros.
(M32C_Macros): Add ADJNZ macros.
(subtype_mappings): Add entries for ADJNZ macros.
(insn_to_subtype): Check for adjnz and sbjnz insns.
(md_estimate_size_before_relax): Pass insn to insn_to_subtype.
(md_convert_frag): Convert adjnz and sbjnz.

17 years ago2007-03-29 Michael Snyder <msnyder@access-company.com>
Michael Snyder [Thu, 29 Mar 2007 22:40:12 +0000 (22:40 +0000)]
2007-03-29  Michael Snyder  <msnyder@access-company.com>

* MAINTAINERS: Update my email address.

17 years ago Add support for exception handling with multiple versions of
Joel Brobecker [Thu, 29 Mar 2007 21:57:02 +0000 (21:57 +0000)]
    Add support for exception handling with multiple versions of
        the Ada runtime:
        * ada-lang.c: Update general comments on how Ada exception catchpoints
        are implemented.
        (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
        (__gnat_raise_nodefer_with_msg): Delete.
        (ada_unhandled_exception_name_addr_ftype): New type.
        (exception_support_info): New type.
        (ada_unhandled_exception_name_addr): Add forward declaration.
        (ada_unhandled_exception_name_addr_from_raise): Likewise.
        (default_exception_support_info): New constant.
        (exception_support_info_fallback): Likewise.
        (exception_info): New global variable.
        (ada_exception_support_info_sniffer): New function.
        (ada_executable_changed_observer): Likewise.
        (ada_unhandled_exception_name_addr_from_raise): Renamed from
        ada_unhandled_exception_name_addr.
        (ada_unhandled_exception_name_addr): Reimplement to match the
        latest Ada runtime implementation.
        (error_breakpoint_runtime_sym_not_found): Delete.
        (ada_exception_sym_name): Get the exception sym name from
        exception_info rather than hardcoding it.
        (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
        Update error handling.
        * Makefile.in (ada-lang.o): Add dependency on observer.h.

17 years agomerge from gcc
DJ Delorie [Thu, 29 Mar 2007 21:03:48 +0000 (21:03 +0000)]
merge from gcc

17 years ago * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
Daniel Jacobowitz [Thu, 29 Mar 2007 19:58:29 +0000 (19:58 +0000)]
* Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
(remote-st.o, uw-thread.o): Delete.
(HFILES_NO_SRCDIR, ALLDEPFILES): Update.
* configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
rs6000-*-lynxos* to an obsoletion stanza.
* configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
and rs6000-*-lynxos* to an obsoletion stanza.  Do not mention
i[34567]86-*-netware*.
* NEWS: Mention deleted targets.

* coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
config/i386/i386v4.mh, config/i386/i386v42mp.mh,
config/i386/ncr3000.mh, config/i386/ncr3000.mt,
config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
config/rs6000/tm-rs6000ly.h: Delete files.

17 years ago * gdb.dwarf2/dw2-noloc.S: New file.
Joel Brobecker [Thu, 29 Mar 2007 19:03:56 +0000 (19:03 +0000)]
    * gdb.dwarf2/dw2-noloc.S: New file.
        * gdb.dwarf2/dw2-noloc.exp: New file.

17 years ago * defs.h (deprecated_registers_changed_hook): Delete declaration.
Daniel Jacobowitz [Thu, 29 Mar 2007 18:55:01 +0000 (18:55 +0000)]
* defs.h (deprecated_registers_changed_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Do not clear
deprecated_registers_changed_hook.
* regcache.c (registers_changed): Do not call it.
* top.c (deprecated_registers_changed_hook): Do not define it.
* mi/mi-interp.c (mi_command_loop): Do not clear it.
* tui/tui-hooks.c (tui_install_hooks): Do not install it.
(tui_remove_hooks): Do not remove it.
(tui_selected_frame_level_changed_hook): Check for negative level.
Use get_selected_frame.
(tui_registers_changed_hook): Deleted.

17 years ago * stabsread.c (add_undefined_type): Add extra parameter.
Joel Brobecker [Thu, 29 Mar 2007 18:33:58 +0000 (18:33 +0000)]
    * stabsread.c (add_undefined_type): Add extra parameter.
        Now handles nameless types separately.
        (struct nat): New type.
        (noname_undefs, noname_undefs_allocated, noname_undefs_length):
        New static variables.
        (read_type): Update calls to add_undefined_type.
        (add_undefined_type_noname): New function.
        (add_undefined_type_1): Renames from add_undefined_type.
        (cleanup_undefined_types_noname): New function.
        (cleanup_undefined_types_1): Renames cleanup_undefined_types.
        (cleanup_undefined_types): New handles nameless types separately.
        (_initialize_stabsread): Initialize our new static constants.

17 years agold/
Richard Sandiford [Thu, 29 Mar 2007 17:16:05 +0000 (17:16 +0000)]
ld/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* NEWS: Mention -l:foo.
* ld.texinfo: Document it.
* ldlang.c (new_afile): If a lang_input_file_is_l_enum
entry as a name beginning with a coloh, convert it to a
lang_input_file_is_search_file_enum entry without the colon.

ld/testsuite/
* ld-libs/lib-1.s, ld-libs/lib-2.s, ld-libs/lib-2.d,
* ld-libs/libs.exp: New files.

17 years ago2007-03-29 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Thu, 29 Mar 2007 15:24:28 +0000 (15:24 +0000)]
2007-03-29  Denis Pilat  <denis.pilat@st.com>

* configure.ac: Test for signal.h.
* configure, config.in: Regenerate.

17 years agoPR binutils/4110
Nick Clifton [Thu, 29 Mar 2007 14:37:02 +0000 (14:37 +0000)]
PR binutils/4110
* elf.c (IS_VALID_GROUP_SECTION_HEADER): New macro.
  (setup_group): Use it.  Report corrupt group section headers.
  (bfd_section_from_shdr): Use new macro.  Replace constant 4 with
      GRP_ENTRY_SIZE.  Cope with NULLs in the group section table.
  (elf_fake_section): Replace constant 4 with GRP_ENTRY_SIZE.

17 years ago* itbl-ops.c (itbl_entry): Remove unnecessary and excessively long initialization.
Nick Clifton [Thu, 29 Mar 2007 09:05:27 +0000 (09:05 +0000)]
* itbl-ops.c (itbl_entry): Remove unnecessary and excessively long initialization.
* itbl-ops.h (enum e_processor): Initialise the e_nprocs field using ITBL_NUMBER_OF_PROCESSORS.
* itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.

17 years ago2007-03-29 Denis Pilat <denis.pilat@st.com>
Denis Pilat [Thu, 29 Mar 2007 07:35:39 +0000 (07:35 +0000)]
2007-03-29  Denis Pilat  <denis.pilat@st.com>

* stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
* infrun.c (normal_stop): Remove MI specific frame printing treatment.

17 years agogas/
H.J. Lu [Thu, 29 Mar 2007 04:27:54 +0000 (04:27 +0000)]
gas/

2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): For instructions with 2
register operands, encode destination in i.rm.regmem if its
RegMem bit is set.

opcodes/

2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
movq.  Remove InvMem from sldt, smsw and str.

* i386-opc.h (InvMem): Renamed to ...
(RegMem): Update comments.
(AnyMem): Remove InvMem.

17 years ago PR ld/4267
Alan Modra [Thu, 29 Mar 2007 02:38:00 +0000 (02:38 +0000)]
PR ld/4267
* elflink.c (evaluate_complex_relocation_symbols): Use bfd_vma
for rel->r_info values.
(bfd_elf_perform_complex_relocation): Likewise.

17 years ago * configure.srv (arm*-*-mingw32ce*): Move near the other
Pedro Alves [Thu, 29 Mar 2007 01:46:20 +0000 (01:46 +0000)]
* configure.srv (arm*-*-mingw32ce*): Move near the other
arm targets.

17 years ago PR ld/4267
Alan Modra [Thu, 29 Mar 2007 01:11:30 +0000 (01:11 +0000)]
PR ld/4267
* elf32-ppc.c (allocate_dynrelocs): Set plt.offset to -1 for
unused entries.  Don't clear plt.plist in loop.

17 years agoOoops, fix up ChangeLog.
Pedro Alves [Thu, 29 Mar 2007 01:10:37 +0000 (01:10 +0000)]
Ooops, fix up ChangeLog.

17 years agogdb/
Pedro Alves [Thu, 29 Mar 2007 01:06:48 +0000 (01:06 +0000)]
gdb/

* arm-wince-tdep.c: New.
* config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
(MT_CFLAGS): Delete.
(TM_CLIBS): Delete.
(TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
solib-legacy.o, solib-svr4.o, and remove wince.o.
* configure.tgt (arm*-*-mingw32ce*): Add.
* signals/signals.c [HAVE_SIGNAL_H]: Check.
(do_target_signal_to_host): Silence 'not used' warning.
* config/arm/tm-wince.h: Remove.

gdb/gdbserver/

* gdbserver/configure.ac: Add errno checking.
(AC_CHECK_HEADERS): Add errno.h, fcntl.h, signal.h,
sys/file.h and malloc.h.
(AC_CHECK_DECLS): Add perror.
(srv_mingwce): Handle.
* gdbserver/configure.srv (i[34567]86-*-cygwin*): Add
win32-i386-low.o to srv_tgtobj.
(i[34567]86-*-mingw*): Likewise.
(arm*-*-mingw32ce*): Add case.
* gdbreplay.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H,
HAVE_FCNTL_H, HAVE_ERRNO_H, HAVE_MALLOC_H]: Check.
[__MINGW32CE__] (strerror): New function.
[__MINGW32CE__] (errno): Define to GetLastError.
[__MINGW32CE__] (COUNTOF): New macro.
(remote_open): Remove extra close call.
* mem-break.c (delete_breakpoint_at): New function.
* mem-break.h (delete_breakpoint_at): Declare.
* remote-utils.c [HAVE_SYS_FILE_H, HAVE_SIGNAL_H,
HAVE_FCNTL_H, HAVE_UNISTD_H, HAVE_ERRNO_H]: Check.
[USE_WIN32API] (read, write): Add char* casts.
* server.c [HAVE_UNISTD_H, HAVE_SIGNAL_H]: Check.
* server.h: Include wincecompat.h on Windows CE.
[HAVE_ERRNO_H]: Check.
(perror): Declare if not declared.
* utils.c: Add stdlib.h, errno.h and malloc.h includes.
(perror_with_name): Remove errno declaration.
* wincecompat.h: New.
* wincecompat.c: New.
* win32-low.h: New.
* win32-arm-low.c: New.
* win32-i386-low.c: New.
(win32-low.c): Include mem-break.h and win32-low.h, and winnt.h.
(OUTMSG2): Make it safe.
(_T): New macro.
(COUNTOF): New macro.
(NUM_REGS): Get it from the low target.
(CONTEXT_EXTENDED_REGISTERS, CONTEXT_FLOATING_POINT,
CONTEXT_DEBUG_REGISTERS): Add fallbacks to 0.
(thread_rec): Let low target handle debug registers.
(child_add_thread): Likewise.
(child_init_thread_list): Likewise.
(continue_one_thread): Likewise.
(regptr): New.
(do_child_fetch_inferior_registers): Move to ...
* win32-i386-low.c: ... here, and rename to ...
(do_fetch_inferior_registers): ... this.
* win32-low.c (child_fetch_inferior_registers):
Go through the low target.
(do_child_store_inferior_registers): Use regptr.
(strwinerror): New function.
(win32_create_inferior): Handle Windows CE.
Use strwinerror instead of strerror on Windows error
codes.  Add program to the error output.
Don't close the main thread handle on Windows CE.
(win32_attach): Use coredll.dll on Windows CE.
(win32_kill): Close current process and current
thread handles.
(win32_detach): Use coredll.dll on Windows CE.
(win32_resume): Let low target handle debug registers, and
step request.
(handle_exception): Add/Remove initial breakpoint.  Avoid
non-existant WSTOPSIG on Windows CE.
(win32_read_inferior_memory): Cast to remove warning.
(win32_arch_string): Go through the low target.
(initialize_low): Call set_breakpoint_data with the low
target's breakpoint.
* win32-low.c (dr, FLAG_TRACE_BIT, FCS_REGNUM,
FOP_REGNUM, mappings): Move to ...
* win32-i386-low.c: ... here.
* win32-low.c (win32_thread_info): Move to ...
* win32-low.h: ... here.
* Makefile.in (SFILES): Add win32-low.c, win32-i386-low.c,
win32-arm-low.c and wincecompat.c.
(all:): Add $EXEEXT.
(install-only:): Likewise.
(gdbserver:): Likewise.
(gdbreplay:): Likewise.
* config.in: Regenerate.
* configure: Regenerate.

17 years agodaily update
Alan Modra [Thu, 29 Mar 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 29 Mar 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * win32-low.c: Rename typedef thread_info to
Pedro Alves [Wed, 28 Mar 2007 22:12:31 +0000 (22:12 +0000)]
* win32-low.c: Rename typedef thread_info to
win32_thread_info throughout.

17 years ago * win32-i386-low.c: Rename to ...
Pedro Alves [Wed, 28 Mar 2007 22:00:15 +0000 (22:00 +0000)]
* win32-i386-low.c: Rename to ...
* win32-low.c: ... this.
* configure.srv: Replace win32-i386-low.o with win32-low.o.
* Makefile.in: Likewise.

17 years ago * arch-utils.c (legacy_pc_in_sigtramp): Remove.
Ulrich Weigand [Wed, 28 Mar 2007 18:56:07 +0000 (18:56 +0000)]
* arch-utils.c (legacy_pc_in_sigtramp): Remove.
* arch-utils.h (legacy_pc_in_sigtramp): Remove.

* config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/ia64/tm-linux.h: Remove file.
* ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
* ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
legacy_pc_in_sigtramp.
(ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
* ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
Remove func_name argument.
(ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.

* infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
* target.c (update_current_target): Add to_have_steppable_watchpoint.
* target.h (struct target_ops):  Add to_have_steppable_watchpoint.
(HAVE_STEPPABLE_WATCHPOINT): Define.

* config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
* config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_stopped_data_address,
target_insert_watchpoint, target_remove_watchpoint): Remove.
(FETCH_INFERIOR_REGISTERS): Define.
* ia64-linux-nat.c (ia64_register_addr): Make static.
(ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
(ia64_linux_insert_watchpoint): Make static.  Remove ptid_p argument.
(ia64_linux_remove_watchpoint): Likewise.  Add type argument.
(ia64_linux_stopped_data_address): Make static.  Add target_ops.
(ia64_linux_stopped_by_watchpoint): Make static.
(ia64_linux_can_use_hw_breakpoint): New function.
(ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
(ia64_linux_store_register, ia64_linux_store_registers): Likewise.
(_initialize_ia64_linux_nat): Install register and watchpoint ops.

17 years agold/
Richard Sandiford [Wed, 28 Mar 2007 14:42:28 +0000 (14:42 +0000)]
ld/
* ld.h (ld_config_type): Add rpath_separator.
* ldmain.c (main): Initialize it.
* lexsup.c (parse_args): Honor config.rpath_separator.
* emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
(gld${EMULATION_NAME}_add_sysroot): Likewise.
(gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
rather than ':' when building the path.
* emultempl/vxworks.em (vxworks_before_parse): New function.
Override config.rpath_separator.
(LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
set to gld${EMULATION_NAME}_after_open; #define that identifier
to vxworks_foo instead.
(LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.

ld/testsuite/
* ld-vxworks/rpath-1.s, ld-vxworks/rpath-1.d,
* ld-vxworks/vxworks.exp: New files.

17 years agobfd/
Richard Sandiford [Wed, 28 Mar 2007 14:39:10 +0000 (14:39 +0000)]
bfd/
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela.
* elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32):
Merge into...
(sparc_elf_append_rela): ...this new function.
(SPARC_ELF_APPEND_RELA): Delete.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
the deleted append_rela field.
(_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela
instead of SPARC_ELF_APPEND_RELA.
(_bfd_sparc_elf_finish_dynamic_symbol): Likewise.  Use the
elf_size_info structure to find the size of a RELA entry and
the associated swap-out function.
(sparc64_finish_dyn, sparc64_finish_dyn): Merge into...
(sparc_finish_dyn): ...this new function.
(_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly.

17 years agobfd/
Richard Sandiford [Wed, 28 Mar 2007 09:08:53 +0000 (09:08 +0000)]
bfd/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* doc/bfd.texinfo: Put the contents after the title page rather
than at the end of the document.

binutils/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* doc/binutils.texi: Put the contents after the title page rather
than at the end of the document.

gas/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* doc/as.texinfo: Put the contents after the title page rather
than at the end of the document.

gprof/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* gprof.texi: Put the contents after the title page rather
than at the end of the document.

ld/
200x-xx-xx  Richard Sandiford  <richard@codesourcery.com>
    Phil Edwards  <phil@codesourcery.com>

* ld.texinfo: Put the contents after the title page rather
than at the end of the document.

17 years agoAdd ChangeLog entry for delta 1.361->1.362 to readelf.c accidentally checked in with...
Nick Clifton [Wed, 28 Mar 2007 08:09:25 +0000 (08:09 +0000)]
Add ChangeLog entry for delta 1.361->1.362 to readelf.c accidentally checked in with a previous commit.

17 years ago * MAINTAINERS: Update mailing list addresses. Add myself
Alan Modra [Wed, 28 Mar 2007 05:09:42 +0000 (05:09 +0000)]
* MAINTAINERS: Update mailing list addresses.  Add myself
as PPC maintainer.

17 years ago * gdb.cp/method2.cc: New test.
Pedro Alves [Wed, 28 Mar 2007 00:32:41 +0000 (00:32 +0000)]
* gdb.cp/method2.cc: New test.
* gdb.cp/method2.exp: New test.
* gdb.cp/Makefile.in (EXECUTABLES): Add method2.

17 years ago * linespec.c: Include language.h.
Pedro Alves [Wed, 28 Mar 2007 00:12:15 +0000 (00:12 +0000)]
* linespec.c: Include language.h.
(find_methods): Add language parameter.  Call
lookup_symbol_in_language.  Pass language down.
(add_matching_methods): Likewise.  Call
lookup_symbol_in_language.
(add_constructors): Likewise.
(find_method): Pass sym_class to collect_methods.
(collect_methods): Add sym_class parameter.  Pass language
down.
* symtab.c (lookup_symbol): Rename to ...
(lookup_symbol_in_language): ... this.  Add language
parameter.  Use passed language instead of current_language.
(lookup_symbol): New as wrapper around
lookup_symbol_in_language.
(lookup_symbol_aux): Add language parameter.  Use passed
language instead of current_language.
(search_symbols): Indent.
* symtab.h (enum language): Forward declare.
(lookup_symbol_in_language): Declare.
(lookup_symbol): Update description.
* ada-lang.h (lookup_symbol_in_language): Remove declaration.
* ada-lang.c (restore_language): Remove.
(lookup_symbol_in_language): Remove.

17 years agodaily update
Alan Modra [Wed, 28 Mar 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Wed, 28 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * breakpoint.c (bpstat_num): Add int *num parameter.
Pedro Alves [Tue, 27 Mar 2007 23:01:00 +0000 (23:01 +0000)]
* breakpoint.c (bpstat_num): Add int *num parameter.
* breakpoint.h (bpstat_num): Likewise.
* infcmd.c (continue_command): Adjust to new bpstat_num
interface.
(program_info): Likewise.

17 years ago * remote-utils.c (monitor_output): Constify msg parameter.
Pedro Alves [Tue, 27 Mar 2007 22:46:08 +0000 (22:46 +0000)]
* remote-utils.c (monitor_output): Constify msg parameter.
* server.h (monitor_output): Likewise.
* win32-i386-low.c (handle_output_debug_string): New.
(win32_kill): Handle OUTPUT_DEBUG_STRING_EVENT events using
handle_output_debug_string.
(get_child_debug_event): Likewise.

17 years agoFix year.
H.J. Lu [Tue, 27 Mar 2007 22:45:19 +0000 (22:45 +0000)]
Fix year.

17 years ago2006-03-27 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 27 Mar 2007 21:09:53 +0000 (21:09 +0000)]
2006-03-27  Paul Brook  <paul@codesourcery.com>

opcodes/
* arm-dis.c (thumb_opcodes): Add entry for undefined insns (0xbe??).

17 years ago * config/sh/tm-sh.h: Remove file.
Ulrich Weigand [Tue, 27 Mar 2007 19:37:08 +0000 (19:37 +0000)]
* config/sh/tm-sh.h: Remove file.
* config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/tm-wince.h: Do not include "sh/tm-sh.h".

17 years ago * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
Ulrich Weigand [Tue, 27 Mar 2007 19:11:11 +0000 (19:11 +0000)]
* config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
* remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
* sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
sequence if target_shortname is "remote".

doc/ChangeLog:

* gdbint.texinfo (Target Conditionals): Remove mention of
DEPRECATED_REMOTE_BREAKPOINT, DEPRECATED_BIG_REMOTE_BREAKPOINT,
and DEPRECATED_LITTLE_REMOTE_BREAKPOINT.

17 years ago2007-03-27 Mat Hostetter <mat@lcs.mit.edu>
Daniel Jacobowitz [Tue, 27 Mar 2007 19:10:16 +0000 (19:10 +0000)]
2007-03-27  Mat Hostetter  <mat@lcs.mit.edu>

* server.c (main): Correct strtoul check.

17 years ago2007-03-27 Anton Blanchard <anton@samba.org>
Daniel Jacobowitz [Tue, 27 Mar 2007 19:04:37 +0000 (19:04 +0000)]
2007-03-27  Anton Blanchard  <anton@samba.org>

* rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
instead of wordsize when looking for the LR in a stack frame.

17 years ago * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
Daniel Jacobowitz [Tue, 27 Mar 2007 19:02:42 +0000 (19:02 +0000)]
* dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
(dwarf2_frame_adjust_regnum): ...this.  Make static.  Add eh_frame_p
argument.  Update all callers.
(struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
(dwarf2_frame_set_eh_frame_regnum): Rename to...
(dwarf2_frame_set_adjust_regnum): ...this.  Update argument type.
* dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
(dwarf2_frame_set_adjust_regnum): ...this.
(dwarf2_frame_eh_frame_regnum): Delete prototype.
* rs6000-tdep.c: Include "dwarf2-frame.h".
(rs6000_adjust_frame_regnum): Define.
(rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
Register rs6000_adjust_frame_regnum.

* Makefile.in (rs6000-tdep.o): Update dependencies.

17 years ago * gdb.ada/exec_changed.exp: Avoid "set confirm off".
Daniel Jacobowitz [Tue, 27 Mar 2007 18:47:58 +0000 (18:47 +0000)]
* gdb.ada/exec_changed.exp: Avoid "set confirm off".

17 years ago2007-03-27 Jon Ringle <jon@ringle.org>
Daniel Jacobowitz [Tue, 27 Mar 2007 18:32:01 +0000 (18:32 +0000)]
2007-03-27  Jon Ringle  <jon@ringle.org>

* linux-low.c: Check __ARCH_HAS_MMU__ also.

17 years agoAdd "make pdf" and "make install-pdf", from Brooks Moses
Daniel Jacobowitz [Tue, 27 Mar 2007 18:09:36 +0000 (18:09 +0000)]
Add "make pdf" and "make install-pdf", from Brooks Moses
<brooks.moses@codesourcery.com>.

17 years ago * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
Daniel Jacobowitz [Tue, 27 Mar 2007 17:59:38 +0000 (17:59 +0000)]
* config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
(gdb_load): Delete, replace with...
(gdb_reload): ...this.
* gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
* gdb.server/server-mon.exp: Likewise.
* lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
(gdb_start_cmd): New.
(gdb_file_cmd): Save the last loaded file.
(gdb_reload): New.
(gdb_gnu_strip_debug): Use transform.
* lib/gdbserver-support.exp (gdbserver_spawn): Move file download
support here.  Use new $last_loaded_file.  Check mtime.
(gdb_target_cmd): Handle ObjC failure case.
(infer_host_exec): Delete.
(gdbserver_load): Rename to...
(gdbserver_run): ...this.  Simplify.
* lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
(mi_gdb_load): Move most contents to a new function...
(mi_gdb_target_load): ...here.  Simplify call to gdbserver_gdb_load.
(mi_run_cmd): Use mi_gdb_target_load.
* gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
Use gdb_run_cmd.
* gdb.base/charsign.exp: Remove incorrect comment.
* gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
* gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
gdb.base/start.exp: Use gdb_start_cmd.

17 years ago * amd64-tdep.c (amd64_init_frame_cache): New function.
Daniel Jacobowitz [Tue, 27 Mar 2007 15:31:35 +0000 (15:31 +0000)]
* amd64-tdep.c (amd64_init_frame_cache): New function.
(amd64_alloc_frame_cache, amd64_skip_prologue): Use it.

17 years ago * ld-elf/note-1.s: Increase .foo size.
Alan Modra [Tue, 27 Mar 2007 14:14:19 +0000 (14:14 +0000)]
* ld-elf/note-1.s: Increase .foo size.

17 years ago * ld-spu/spu.exp (embed_test): New.
Alan Modra [Tue, 27 Mar 2007 08:36:27 +0000 (08:36 +0000)]
* ld-spu/spu.exp (embed_test): New.
* ld-spu/ear.s: New.
* ld-spu/ear.d: New.
* ld-spu/embed.rd: New.
* ld-spu/ovl2.s: New.
* ld-spu/ovl2.d: New.

17 years agoNew test
Alan Modra [Tue, 27 Mar 2007 08:34:53 +0000 (08:34 +0000)]
New test

17 years ago * NEWS: Mention ".reloc".
Alan Modra [Tue, 27 Mar 2007 08:33:47 +0000 (08:33 +0000)]
* NEWS: Mention ".reloc".

17 years ago * embedspu.sh: Correct toe_addr quoting.
Alan Modra [Tue, 27 Mar 2007 02:10:58 +0000 (02:10 +0000)]
* embedspu.sh: Correct toe_addr quoting.

17 years ago*** empty log message ***
gdbadmin [Tue, 27 Mar 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 27 Mar 2007 00:00:05 +0000 (00:00 +0000)]
daily update

17 years ago * embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns. Tighten
Alan Modra [Mon, 26 Mar 2007 23:56:40 +0000 (23:56 +0000)]
* embedspu.sh: Combine "_EAR_" and "_EAR_*" patterns.  Tighten
.toe section and .toe address checks.  Use .reloc for _EAR*
symbols defined in non-BSS sections.  Build table for _SPUEAR_
symbols.

17 years ago * elfxx-ia64.c (elf_backend_default_execstack): Define to 0.
Andreas Schwab [Mon, 26 Mar 2007 23:35:34 +0000 (23:35 +0000)]
* elfxx-ia64.c (elf_backend_default_execstack): Define to 0.

17 years ago * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
Bob Wilson [Mon, 26 Mar 2007 23:01:46 +0000 (23:01 +0000)]
* config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
in FLIX instructions.

17 years ago * gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines.
Bob Wilson [Mon, 26 Mar 2007 21:28:20 +0000 (21:28 +0000)]
* gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines.

17 years ago * gdb.texinfo (Invoking GDB): Use @value{GDBP}.
Bob Wilson [Mon, 26 Mar 2007 15:51:17 +0000 (15:51 +0000)]
* gdb.texinfo (Invoking GDB): Use @value{GDBP}.
(Source Path, Character Sets, Macros, Define)
(GDB/MI Result Records, GDB/MI Simple Examples)
(GDB/MI Program Execution, GDB/MI File Commands)
(Maintenance Commands, Packets, File-I/O Overview): Use @value{GDBN}.
(Bug Reporting): Use @value{GCC}.

17 years ago * gdb.texinfo (Help): Fix formatting of examples.
Bob Wilson [Mon, 26 Mar 2007 15:49:46 +0000 (15:49 +0000)]
* gdb.texinfo (Help): Fix formatting of examples.
(Variables): Use @ifnotinfo instead of @iftex.
(Non-debug DLL symbols): Use @ref instead of @pxref.
(Sparclet File): Use @samp instead of quotes.

17 years agoMention PR ld/4208 in ChangeLog entry.
H.J. Lu [Mon, 26 Mar 2007 15:44:43 +0000 (15:44 +0000)]
Mention PR ld/4208 in ChangeLog entry.

17 years ago * gdb.texinfo (Variables, C): Update cross reference to GCC docs.
Bob Wilson [Mon, 26 Mar 2007 15:43:40 +0000 (15:43 +0000)]
* gdb.texinfo (Variables, C): Update cross reference to GCC docs.

17 years ago * gdb.texinfo (Top): Move TUI and Annotations menu entries to match
Bob Wilson [Mon, 26 Mar 2007 15:41:43 +0000 (15:41 +0000)]
* gdb.texinfo (Top): Move TUI and Annotations menu entries to match
the order of the nodes.
(C Operators, C Constants, Debugging C): Remove extra menus.
(Method Names in Commands): Do not specify next/prev/up nodes.

17 years ago2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 26 Mar 2007 15:40:00 +0000 (15:40 +0000)]
2007-03-26  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
when setting REPORT_BUGS_TEXI.

17 years ago * gdb.texinfo (File Options): Add missing parenthesis.
Bob Wilson [Mon, 26 Mar 2007 15:39:15 +0000 (15:39 +0000)]
* gdb.texinfo (File Options): Add missing parenthesis.
(Breakpoints, Special Fortran commands, PowerPC): Fix typos.

17 years ago * config/tc-arm.c (arm_it): Add immisfloat field.
Julian Brown [Mon, 26 Mar 2007 14:43:29 +0000 (14:43 +0000)]
* config/tc-arm.c (arm_it): Add immisfloat field.
(parse_qfloat_immediate): Disallow integer syntax for floating-point
immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
(parse_neon_mov): Set immisfloat bit for operand if it parsed as a
float.
(neon_cmode_for_move_imm): Reject non-float immediates for float
operands.
(neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.

17 years ago * gas/arm/neon-const.s: Use FP syntax for 0/-0.
Julian Brown [Mon, 26 Mar 2007 14:43:08 +0000 (14:43 +0000)]
* gas/arm/neon-const.s: Use FP syntax for 0/-0.
* gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1.
* gas/arm/neon-cov.s: Use float syntax for FP immediate.

17 years ago gas/
Julian Brown [Mon, 26 Mar 2007 14:39:35 +0000 (14:39 +0000)]
gas/
* doc/c-arm.texi: Add documentation for .dn/.qn directives.

17 years ago* ui-out.c (ui_out_field_core_addr): Truncate address to
Maciej W. Rozycki [Mon, 26 Mar 2007 13:54:30 +0000 (13:54 +0000)]
* ui-out.c (ui_out_field_core_addr): Truncate address to
TARGET_ADDR_BIT size before printing.

17 years ago * elf32-spu.c (struct stubarr): Add stub_hash_table and err fields.
Alan Modra [Mon, 26 Mar 2007 12:50:09 +0000 (12:50 +0000)]
* elf32-spu.c (struct stubarr): Add stub_hash_table and err fields.
(allocate_spuear_stubs): New function.
(spu_elf_size_stubs): Call allocate_spuear_stubs.

17 years ago * doc/as.texinfo (Reloc): Document.
Alan Modra [Mon, 26 Mar 2007 12:23:48 +0000 (12:23 +0000)]
* doc/as.texinfo (Reloc): Document.
* read.c (potable): Add "reloc".
(s_reloc): New function.
* write.c (reloc_list): New global var.
(resolve_reloc_expr_symbols): New function.
(write_object_file): Call it.
(write_relocs): Process reloc_list.
* write.h (struct reloc_list): New.
(reloc_list): Declare.

17 years ago * aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define.
Alan Modra [Mon, 26 Mar 2007 12:23:03 +0000 (12:23 +0000)]
* aout-adobe.c (aout_32_bfd_reloc_name_lookup): Define.
* aout-arm.c (MY_bfd_reloc_name_lookup): Define.
(MY (bfd_reloc_name_lookup)): New function.
* aout-ns32k.c (MY (bfd_reloc_name_lookup)): New function.
* aout-target.h (NAME (aout, reloc_name_lookup)): Declare.
(MY_bfd_reloc_name_lookup): Define.
* aout-tic30.c (tic30_aout_reloc_name_lookup): New function.
(MY_bfd_reloc_name_lookup): Define.
* aoutx.h (NAME (aout, reloc_type_lookup)): Don't declare.
(NAME (aout, reloc_name_lookup)): New function.
* bout.c (b_out_bfd_reloc_name_lookup): New function.
* coff-alpha.c (alpha_bfd_reloc_name_lookup): New function.
(_bfd_ecoff_bfd_reloc_name_lookup): Define.
* coff-arm.c (coff_arm_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-i386.c (coff_bfd_reloc_name_lookup): Define.
(coff_i386_reloc_name_lookup): New function.
* coff-i860.c (coff_i860_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-i960.c (coff_i960_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-m68k.c (m68k_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-maxq.c (maxq_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-mcore.c (mcore_coff_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-mips.c (mips_bfd_reloc_name_lookup): New function.
(_bfd_ecoff_bfd_reloc_name_lookup): Define.
* coff-ppc.c (ppc_coff_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-rs6000.c (coff_bfd_reloc_name_lookup): Define.
(_bfd_xcoff_reloc_name_lookup): New function.
(rs6000coff_vec, pmac_xcoff_vec): Init new field.
* coff-sh.c (coff_bfd_reloc_name_lookup): Define.
(sh_coff_reloc_name_lookup): New function.
* coff-sparc.c (coff_sparc_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-tic30.c (coff_bfd_reloc_name_lookup): Define.
(tic30_coff_reloc_name_lookup): New function.
* coff-tic4x.c (coff_bfd_reloc_name_lookup): Define.
(tic4x_coff_reloc_name_lookup): New function.
* coff-tic54x.c (coff_bfd_reloc_name_lookup): Define.
(tic54x_coff_reloc_name_lookup): New function.
* coff-x86_64.c (coff_bfd_reloc_name_lookup): Define.
(coff_amd64_reloc_name_lookup): New function.
* coff-z80.c (coff_z80_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff-z8k.c (coff_z8k_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* coff64-rs6000.c (coff_bfd_reloc_name_lookup): Define.
(xcoff64_reloc_name_lookup): New function.
(rs6000coff64_vec, aix5coff64_vec): Init new field.
* coffcode.h (coff_bfd_reloc_name_lookup): Define.
* elf-hppa.h (elf_hppa_reloc_name_lookup): New function.
* elf-m10200.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf-m10300.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-arc.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-arm.c (elf32_arm_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-avr.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-bfin.c (bfin_bfd_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-cr16c.c (elf_cr16c_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-cris.c (cris_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-crx.c (elf_crx_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-d10v.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-d30v.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-dlx.c (elf32_dlx_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-fr30.c (fr30_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-frv.c (frv_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-gen.c (bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-h8300.c (elf32_h8_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-hppa.c (bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-i370.c (i370_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-i386.c (elf_i386_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-i860.c (elf32_i860_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-i960.c (elf32_i960_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-ip2k.c (ip2k_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-iq2000.c (iq2000_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-m32c.c (m32c_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-m32r.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-m68hc11.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-m68hc12.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-m68k.c (reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-m88k.c (bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-mcore.c (mcore_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-mep.c (mep_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function.
(mips_vxworks_bfd_reloc_name_lookup): Likewise.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-msp430.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-mt.c (mt_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-openrisc.c (openrisc_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-or32.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elf32-pj.c (pj_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-ppc.c (ppc_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-s390.c (elf_s390_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-score.c (elf32_score_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-sh.c (sh_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-sparc.c (bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-spu.c (spu_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-v850.c (v850_elf_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-vax.c (reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-xc16x.c (xc16x_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-xstormy16.c (xstormy16_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf32-xtensa.c (elf_xtensa_reloc_name_lookup): New function.
(bfd_elf32_bfd_reloc_name_lookup): Define.
* elf64-alpha.c (elf64_alpha_bfd_reloc_name_lookup): New function.
(bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-gen.c (bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-hppa.c (bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-mips.c (bfd_elf64_bfd_reloc_name_lookup): New function.
* elf64-mmix.c (bfd_elf64_bfd_reloc_name_lookup): New function.
* elf64-ppc.c (ppc64_elf_reloc_name_lookup): New function.
(bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-s390.c (elf_s390_reloc_name_lookup): New function.
(bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-sh64.c (sh_elf64_reloc_name_lookup): New function.
(bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-sparc.c (bfd_elf64_bfd_reloc_name_lookup): Define.
* elf64-x86-64.c (elf64_x86_64_reloc_name_lookup): New function.
(bfd_elf64_bfd_reloc_name_lookup): Define.
* elfn32-mips.c (bfd_elf32_bfd_reloc_name_lookup): New function.
* elfxx-ia64.c (elfNN_ia64_reloc_name_lookup): New function.
(bfd_elfNN_bfd_reloc_name_lookup): Define.
* elfxx-sparc.c (_bfd_sparc_elf_reloc_name_lookup): New function.
* elfxx-sparc.h (_bfd_sparc_elf_reloc_name_lookup): Declare.
* i386msdos.c (msdos_bfd_reloc_name_lookup): Define.
* i386os9k.c (aout_32_bfd_reloc_name_lookup): Define.
* ieee.c (ieee_bfd_reloc_name_lookup): Define.
* libaout.h (NAME (aout, reloc_name_lookup)): Declare.
* libbfd-in.h (_bfd_norelocs_bfd_reloc_name_lookup): Declare.
* mipsbsd.c (MY_bfd_reloc_name_lookup): Define.
(MY(reloc_type_lookup)): Rename from MY(reloc_howto_type_lookup).
(MY(reloc_name_lookup)): New function.
* nlm-target.h (nlm_bfd_reloc_name_lookup): Define.
* oasys.c (oasys_bfd_reloc_name_lookup): Define.
* pdp11.c (NAME (aout, reloc_name_lookup)): New function.
* pe-mips.c (coff_mips_reloc_name_lookup): New function.
(coff_bfd_reloc_name_lookup): Define.
* reloc.c (bfd_reloc_name_lookup): New function.
* riscix.c (riscix_reloc_name_lookup): New function.
(MY_bfd_reloc_name_lookup): Define.
* som.c (som_bfd_reloc_name_lookup): New function.
* targets.c (struct bfd_target): Add reloc_name_lookup.
(BFD_JUMP_TABLE_RELOCS): Add NAME##_bfd_reloc_name_lookup.
* versados.c (versados_bfd_reloc_name_lookup): Define.
* vms.c (vms_bfd_reloc_name_lookup): New function.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

17 years agomissed entry
Alan Modra [Mon, 26 Mar 2007 11:22:08 +0000 (11:22 +0000)]
missed entry

17 years ago * Makefile.am: Add dependency on ldemul-list.h for powerpc and
Alan Modra [Mon, 26 Mar 2007 11:10:44 +0000 (11:10 +0000)]
* Makefile.am: Add dependency on ldemul-list.h for powerpc and
spu target emul files.
* configure.in: Check for mkstemp and waitpid.
* Makefile.in: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.
* ldlang.c (input_file_chain): Make global.
(lang_add_input_file): Don't set lang_has_input_file here.
* ldlang.h (input_file_chain): Declare.
* emultempl/ppc32elf.em (ppc_recognized_file): New function.
(LDEMUL_RECOGNIZED_FILE): Define.
* emultempl/ppc64elf.em (ppc64_recognized_file): New function.
(LDEMUL_RECOGNIZED_FILE): Define.
* emultempl/spuelf.em (struct tflist): New.
(tmp_file_list): New var.

17 years ago * elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no
Thiemo Seufer [Mon, 26 Mar 2007 10:29:35 +0000 (10:29 +0000)]
* elfxx-mips.c (mips_elf_next_relocation): Don't signal an error if no
matching relocation is found.
(_bfd_mips_elf_relocate_section): Only warn about missing relocations.

17 years agodaily update
Alan Modra [Mon, 26 Mar 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 26 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Sun, 25 Mar 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 25 Mar 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago2007-03-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 24 Mar 2007 21:29:45 +0000 (21:29 +0000)]
2007-03-24  Paul Brook  <paul@codesourcery.com>
Mark Shinwell  <shinwell@codesourcery.com>

gas/
* config/tc-arm.c (operand_parse_code): Add OP_oRRw.
(parse_operands): Don't expect comma if first operand missing.
Handle OP_oRRw.
(do_srs): Encode register number, checking it is r13.  Update comment.
(insns): Update SRS entries to take a register.

gas/testsuite/
* gas/arm/archv6.s: Add new SRS tests.
* gas/arm/archv6.d: Update expected output.
* gas/arm/thumb32.s: Add new SRS tests.
* gas/arm/thumb32.d: Update expected output.
* gas/arm/srs-t2.d: New.
* gas/arm/srs-t2.l: New.
* gas/arm/srs-t2.s: New.
* gas/arm/srs-arm.d: New.
* gas/arm/srs-arm.l: New.
* gas/arm/srs-arm.s: New.

opcodes/
* arm-dis.c (arm_opcodes): Print SRS base register.

17 years ago2007-03-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 24 Mar 2007 16:09:16 +0000 (16:09 +0000)]
2007-03-24  Paul Brook  <paul@codesourcery.com>

* config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.

17 years agold/
Alan Modra [Sat, 24 Mar 2007 06:49:03 +0000 (06:49 +0000)]
ld/
* ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
rather than defining unconditionally.
(lang_leave_overlay_section): Likewise.
* ld.texinfo (Overlay Description): Update description and examples
for start/stop syms.
ld/testsuite/
* ld-elf/overlay.d: -u symbols we want to see in the output.

17 years ago2007-03-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 24 Mar 2007 02:51:28 +0000 (02:51 +0000)]
2007-03-24  Paul Brook  <paul@codesourcery.com>

opcodes/
* arm-dis.c (coprocessor_opcodes): Remove superfluous 0x.
(print_insn_coprocessor): Handle %<bitfield>x.

17 years ago2007-03-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Sat, 24 Mar 2007 01:29:00 +0000 (01:29 +0000)]
2007-03-24  Paul Brook  <paul@codesourcery.com>
Mark Shinwell  <shinwell@codesourcery.com>

gas/
* config/tc-arm.c (operand_parse_code): Add OP_oRRw.
(parse_operands): Don't expect comma if first operand missing.
Handle OP_oRRw.
(do_srs): Encode register number, checking it is r13.  Update comment.
(insns): Update SRS entries to take a register.

gas/testsuite/
* gas/arm/archv6.s: Add new SRS tests.
* gas/arm/archv6.d: Update expected output.
* gas/arm/thumb32.s: Add new SRS tests.
* gas/arm/thumb32.d: Update expected output.
* gas/arm/srs-t2.d: New.
* gas/arm/srs-t2.l: New.
* gas/arm/srs-t2.s: New.
* gas/arm/srs-arm.d: New.
* gas/arm/srs-arm.l: New.
* gas/arm/srs-arm.s: New.

opcodes/
* arm-dis.c (arm_opcodes): Print SRS base register.

17 years ago*** empty log message ***
gdbadmin [Sat, 24 Mar 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Fri, 23 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years ago PR gas/3811
Kaz Kojima [Fri, 23 Mar 2007 21:26:23 +0000 (21:26 +0000)]
PR gas/3811
* readelf.c (debug_apply_rela_addends): Do nothing for SH.

17 years ago2003-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Mar 2007 17:14:08 +0000 (17:14 +0000)]
2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

17 years ago2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 23 Mar 2007 17:11:54 +0000 (17:11 +0000)]
2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
REPORT_BUGS_TEXI.

17 years agogas/
H.J. Lu [Fri, 23 Mar 2007 16:17:21 +0000 (16:17 +0000)]
gas/

2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_begin): Allow '.' in mnemonic.

gas/testsuite/

2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/rex.s: Add tests for rex.WRXB.
* gas/i386/rex.d: Updated.

* gas/i386/rex.d: Replace rex64XYZ with rex.WRXB.
* gas/i386/x86-64-io-intel.d : Likewise.
* gas/i386/x86-64-io-suffix.d: Likewise.
* gas/i386/x86-64-io.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.

opcodes/

2003-03-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_name): Replace rex64XYZ with rex.WRXB.

* i386-opc.c (i386_optab): Add rex.wrxb.

17 years ago* gdb.base/sigbpt.exp: Fix the message when skipping test.
Maciej W. Rozycki [Fri, 23 Mar 2007 12:41:18 +0000 (12:41 +0000)]
* gdb.base/sigbpt.exp: Fix the message when skipping test.
* gdb.base/signull.exp: Similarly.

17 years agoTypo correction.
Mark Shinwell [Fri, 23 Mar 2007 10:44:08 +0000 (10:44 +0000)]
Typo correction.

17 years ago gas/
Mark Shinwell [Fri, 23 Mar 2007 10:43:35 +0000 (10:43 +0000)]
gas/
* config/tc-arm.c (md_apply_fix): Turn CZB instructions that
attempt to jump to the next instruction into NOPs.

17 years agobfd:
Joseph Myers [Fri, 23 Mar 2007 02:51:30 +0000 (02:51 +0000)]
bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.

config:
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.

17 years ago * ld-spu/ovl.s (f4_a2): Tail call.
Alan Modra [Fri, 23 Mar 2007 00:48:05 +0000 (00:48 +0000)]
* ld-spu/ovl.s (f4_a2): Tail call.
* ld-spu/ovl.d: Add --emit-relocs to ld options, -r to objdump.
Update expected results.

17 years ago * config/tc-spu.c: Don't include opcode/spu.h.
Alan Modra [Fri, 23 Mar 2007 00:42:26 +0000 (00:42 +0000)]
* config/tc-spu.c: Don't include opcode/spu.h.
(md_assemble): Set tc_fix_data.insn_tag and arg_format.
(md_apply_fix): Adjust.
* config/tc-spu.h: Include opcode/spu.h.
(struct tc_fix_info): New.
(TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
(TC_FORCE_RELOCATION): Define.

17 years ago * elf32-spu.c (spu_stub_name): Don't put input section in stub name.
Alan Modra [Fri, 23 Mar 2007 00:42:00 +0000 (00:42 +0000)]
* elf32-spu.c (spu_stub_name): Don't put input section in stub name.
Remove input_sec param.  Adjust all calls.
(write_one_stub): Adjust stub symbol.
(needs_ovl_stub): New function, extracted from..
(spu_elf_size_stubs): ..here.
(spu_elf_relocate_section): Use needs_ovl_stub.

17 years ago*** empty log message ***
gdbadmin [Fri, 23 Mar 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * ld-sh/ld-r-1.d: Update.
Kaz Kojima [Fri, 23 Mar 2007 00:00:23 +0000 (00:00 +0000)]
* ld-sh/ld-r-1.d: Update.
* ld-sh/shared-1.d: Likewise.