OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years ago PR ld/1775
Alan Modra [Tue, 1 Nov 2005 22:57:23 +0000 (22:57 +0000)]
PR ld/1775
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required
parentheses.

18 years ago * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
Paul Gilliam [Tue, 1 Nov 2005 19:32:36 +0000 (19:32 +0000)]
    * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
         bfd_mach_ppc64 has altivec unit, just like bfd_mach_ppc.

18 years ago2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 1 Nov 2005 17:40:25 +0000 (17:40 +0000)]
2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>

* tui/tui-data.h (tui_line_or_address): Encapsulate the union in a
struct with a tag.
(tui_source_element, tui_source_info): Update.
* tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union.
* tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise.
* tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise.
* tui/tui-winsource.h: Likewise.

18 years ago* win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
Christopher Faylor [Tue, 1 Nov 2005 14:07:00 +0000 (14:07 +0000)]
* win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
(_CYGWIN_SIGNAL_STRING): Define if not already defined in cygwin.h.
(win32_add_thread): Use XZALLOC rather than xmalloc/memset.
(register_loaded_dll): Ditto.
(handle_load_dll): Call solib_add here.
(handle_unload_dll): Ditto.
(info_dll_command): Delete.
(handle_output_debug_string): Use official _CYGWIN_SIGNAL_STRING.
(win32_current_sos): Duplicate table to pass off to caller rather than deleting
our version.
(set_win32_aliases): New function.
(_initialize_win32_nat): Remove local handling of "info shared".  Set
deprecated_init_ui_hook to allow late setting of "info dll" alias.

18 years ago2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Tue, 1 Nov 2005 11:09:18 +0000 (11:09 +0000)]
2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>

* event-top.c (gdb_setup_readline): Don't set gdb_stdout when
--batch-silent option was given.
* main.c (batch_silent): New variable.
(captured_main): Add new option --batch-silent.
(print_gdb_help): Likewise.

doc/
* gdb.texinfo (Choosing modes): Add --batch-silent.

18 years ago* NEWS: Mention VAX floating point support.
Mark Kettenis [Tue, 1 Nov 2005 07:30:47 +0000 (07:30 +0000)]
* NEWS: Mention VAX floating point support.

18 years ago* win32-nat.c (get_relocated_section_addrs): Reinstate.
Christopher Faylor [Tue, 1 Nov 2005 05:08:29 +0000 (05:08 +0000)]
* win32-nat.c (get_relocated_section_addrs): Reinstate.
(solib_symbols_add): New function.
(lm_info): Remove end_addr field.
(register_loaded_dll): Don't try to find end_addr since gdb will do this
automatically now.  Make so_original_name == so_name for now.  Eliminate strcpy
by using so_name directly.  Read in symbols if new paramater "readsyms" is
true.
(handle_load_dll): Pass auto_solib_add to register_loaded_dll to control when
symbols should be read.
(win32_free_so): Don't free objfile here.
(win32_create_inferior_hook): New function.
(handle_unload_dll): Remove left-over cruft.
(win32_special_symbol_handling): New (dummy) function.
(map_single_dll_code_section): Reinstate.
(dll_code_sections_add): Reinstate.
(core_section_load_dll_symbols): Reinstate.  Don't issue an error on duplicate
attempts to read same dll.  Make sure that UNIX-like name is used to register
DLL.
(win32_current_sos): Handle core files.  Reset private list before passing
start of list pointer to gdb.
(init_win32_ops): Fill out (currently unused) solib_create_inferior_hook.  Fill
out special_symbol_handling.
* config/i386/tm-cygwin.h: Remove most special solib stuff.

18 years ago* win32-nat.c: Remove comment intended only for debugging.
Christopher Faylor [Tue, 1 Nov 2005 00:40:09 +0000 (00:40 +0000)]
* win32-nat.c: Remove comment intended only for debugging.

18 years ago*** empty log message ***
gdbadmin [Tue, 1 Nov 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* doublest.c (floatformat_normalize_byteorder): Handle
Mark Kettenis [Mon, 31 Oct 2005 23:35:52 +0000 (23:35 +0000)]
* doublest.c (floatformat_normalize_byteorder): Handle
floatformat_vax.
(convert_doublest_to_floatformat): Use
floatformat_normalize_byteorder to swap bytes if necessary.
* vax-tdep.c: Include floatformat.h.
(vax_gdbarch_init): Set float_format, double_format,
long_double_format and long_double_bit.
* Makefile.in (vax-tdep.o): Update dependencies.

18 years agodaily update
Alan Modra [Mon, 31 Oct 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years agoChange child_ to win32_ throughout.
Christopher Faylor [Mon, 31 Oct 2005 22:50:58 +0000 (22:50 +0000)]
Change child_ to win32_ throughout.
* win32-nat.c (win32_ops): New variable.
(win32_so_ops): Ditto.
(psapi_get_dll_name): Make function static.
(struct so_stuff): Delete.
(struct lm_info): New struct.
(solib_start, solib_end): Redefine as struct so_list.
(safe_symbol_file_add_stub): Use so_list rather than so_stuff.
(register_loaded_dll): Ditto.  Special-case ntdll.dll.  Fill in lm_info field
of so_list with information previously stored in so_stuff.
(get_image_name): Make function static.
(max_dll_name_len): Make variable static.
(win32_free_so): New function.
(win32_current_sos): Ditto.
(win32_relocate_section_addresses): Ditto.
(handle_unload_dll): Use so_list rather than so_stuff.  Call free_so to delete
shared library.
(solib_address): Delete function.
(child_solib_loaded_library_pathname): Ditto.
(win32_clear_solib): Rename from child_clear_solibs.  Use so_list rather than
so_stuff.  Just clear win32-specific stuff.
(get_relocated_section_addrs): Delete.
(solib_symbols_add): Ditto.
(info_dll_command): Make static.  Use lm_info field from so_list to retrieve
load address.
(fake_create_process): Make function static.
(win32_xfer_memory): Ditto.
(win32_kill_inferior): Ditto.
(win32_resume): Ditto.
(cygwin_pid_to_str): Ditto.
(do_initial_win32_stuff): Use win32_ops rather than deprecated_child_ops.
(child_detach): Ditto.
(win32_mourn_inferior): Ditto.
(_initialize_win32_nat): Ditto.
(init_win32_ops): Ditto.  Fill out win32_so_ops and set current_target_so_ops
to win32_so_ops.
(core_dll_symbols_add): Delete.
(map_single_dll_code_section): Ditto.
(dll_code_sections_add): Ditto.
(core_section_load_dll_symbols): Ditto.
(child_solib_add): Ditto.

18 years ago* gdb.asm/asm-source.exp: Use -e instead of --entry.
Mark Kettenis [Mon, 31 Oct 2005 20:33:22 +0000 (20:33 +0000)]
* gdb.asm/asm-source.exp: Use -e instead of --entry.

18 years ago2005-10-31 Andrew Stubbs <andrew.stubbs@st.com>
Andrew Stubbs [Mon, 31 Oct 2005 19:11:35 +0000 (19:11 +0000)]
2005-10-31  Andrew Stubbs  <andrew.stubbs@st.com>

* tui/tui-command.c (tui_dispatch_ctrl_char): Test output of
getenv() before using it.

18 years agomerge from gcc
DJ Delorie [Mon, 31 Oct 2005 18:01:19 +0000 (18:01 +0000)]
merge from gcc

18 years ago* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
Mark Kettenis [Mon, 31 Oct 2005 16:00:46 +0000 (16:00 +0000)]
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.

18 years ago * arm-dis.c (print_insn): Warning fix.
Alan Modra [Mon, 31 Oct 2005 06:10:33 +0000 (06:10 +0000)]
* arm-dis.c (print_insn): Warning fix.

18 years ago*** empty log message ***
gdbadmin [Mon, 31 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 30 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agold/
H.J. Lu [Sun, 30 Oct 2005 17:40:28 +0000 (17:40 +0000)]
ld/
binutils/
opcodes/

2005-10-30  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

* dep-in.sed: Replace " ./" with " ".

18 years ago*** empty log message ***
gdbadmin [Sun, 30 Oct 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 Oct 2005 23:47:42 +0000 (23:47 +0000)]
2005-10-29  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

* dep-in.sed: Replace " ./" with " ".

18 years ago2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 29 Oct 2005 23:00:12 +0000 (23:00 +0000)]
2005-10-29  H.J. Lu  <hongjiu.lu@intel.com>

* hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is
define.
* osf-core.c: Include <sys/core.h> only if OSF_CORE is defined.
* sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only
if SCO5_CORE is defined.

18 years agodaily update
Alan Modra [Sat, 29 Oct 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* hppa-tdep.h (HPPA_INSN_SIZE): New define.
Mark Kettenis [Sat, 29 Oct 2005 21:31:45 +0000 (21:31 +0000)]
* hppa-tdep.h (HPPA_INSN_SIZE): New define.
* hppa-hpux-tdep.c (hppa_hpux_search_pattern)
(hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid
assumption on sizeof(unsigned).

18 years ago* inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
Mark Kettenis [Sat, 29 Oct 2005 21:22:39 +0000 (21:22 +0000)]
* inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
code; return TARGET_WAITKIND_STOPPED instead.

18 years ago* Makefile.am: Run "make dep-am".
Mark Kettenis [Sat, 29 Oct 2005 21:16:20 +0000 (21:16 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

18 years agodaily update
Alan Modra [Sat, 29 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sat, 29 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:58:11 +0000 (19:58 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        * cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.

        Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
        CGEN_ATTR_VALUE_TYPE.
        * mloop.in: Ditto.
        * pipeline.c: Ditto.
        * traps.c: Ditto.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:49:22 +0000 (19:49 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        * All CGEN-generated sources: Regenerate.

        Contribute the following changes:
        2005-09-19  Dave Brolley  <brolley@redhat.com>

        * disassemble.c (disassemble_init_for_target): Add 'break' to case for
        bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for
        bfd_arch_m32c case.

        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen-opc.c: Likewise.

        2003-11-28  Richard Sandiford  <rsandifo@redhat.com>

        * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas.
        * *-dis.c: Regenerate.

        2003-06-05  DJ Delorie  <dj@redhat.com>

        * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign
        it, as it may point to a reused buffer. Set prev_isas when we
        change cpus.

        2002-12-13  Dave Brolley  <brolley@redhat.com>

        * cgen-opc.c (cgen_isa_mask_create): New support function for
        CGEN_ISA_MASK.
        (cgen_isa_mask_init): Ditto.
        (cgen_isa_mask_clear): Ditto.
        (cgen_isa_mask_add): Ditto.
        (cgen_isa_mask_set): Ditto.
        (cgen_isa_supported): Ditto.
        (cgen_isa_mask_compare): Ditto.
        (cgen_isa_mask_intersection): Ditto.
        (cgen_isa_mask_copy): Ditto.
        (cgen_isa_mask_combine): Ditto.
        * cgen-dis.in (libiberty.h): #include it.
        (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *).
        (print_insn_@arch@): Use CGEN_ISA_MASK and support functions.
        * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm.
        * Makefile.in: Regenerated.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:41:01 +0000 (19:41 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
        more exotic underlying types to be used.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:38:59 +0000 (19:38 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        Contribute the following changes:
        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen.h: Likewise.

18 years ago* ppc-tdep.h (PPC_INSN_SIZE): Define.
Mark Kettenis [Fri, 28 Oct 2005 18:23:32 +0000 (18:23 +0000)]
* ppc-tdep.h (PPC_INSN_SIZE): Define.

18 years ago* inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
Mark Kettenis [Fri, 28 Oct 2005 18:20:35 +0000 (18:20 +0000)]
* inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
(inf_ttrace_kill): Renamed from inf_ttrace_kill_inferior.
(inf_ttrace_target): Resort assignments.

18 years ago * gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
Eli Zaretskii [Fri, 28 Oct 2005 17:20:03 +0000 (17:20 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
"The -var-update Command".

18 years ago From Eric Botcazou <botcazou@adacore.com>
Joel Brobecker [Fri, 28 Oct 2005 16:25:48 +0000 (16:25 +0000)]
    From Eric Botcazou  <botcazou@adacore.com>
        * coffcode.h (coff_compute_section_file_positions): Fix small
        error in preprocessor directives.

18 years ago Mostly from Eric Botcazou <botcazou@adacore.com>
Joel Brobecker [Fri, 28 Oct 2005 16:24:35 +0000 (16:24 +0000)]
    Mostly from Eric Botcazou <botcazou@adacore.com>
        * rs6000-core.c: ANSIfy all function definitions.
        Add missing function prototypes.
        (ptr_to_uint): New type.
        (rs6000coff_core_p): Use it as intermediate step in casts.
        (rs6000coff_core_file_matches_executable_p): Likewise.
        * xcoff-target.h (rs6000coff_core_p): Fix prototype.
        (rs6000coff_core_file_matches_executable_p): Likewise.

18 years ago2005-10-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 28 Oct 2005 13:50:57 +0000 (13:50 +0000)]
2005-10-28  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/1472
* aoutx.h (NAME (aout, machine_type)): Handle
bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
and bfd_mach_sparc_v9b.

18 years agoSync with Emacs 22.0.50.
Nick Roberts [Fri, 28 Oct 2005 03:26:19 +0000 (03:26 +0000)]
Sync with Emacs 22.0.50.

18 years ago*** empty log message ***
Nick Roberts [Fri, 28 Oct 2005 03:25:41 +0000 (03:25 +0000)]
*** empty log message ***

18 years ago PR ld/1567
Hans-Peter Nilsson [Fri, 28 Oct 2005 00:29:44 +0000 (00:29 +0000)]
PR ld/1567
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set
complain_on_overflow field to complain_overflow_dont.

18 years ago*** empty log message ***
gdbadmin [Fri, 28 Oct 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Fri, 28 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years ago* m32c.cpu (Imm-8-s4n, Imm-12-s4n): New.
DJ Delorie [Thu, 27 Oct 2005 23:54:17 +0000 (23:54 +0000)]
* m32c.cpu (Imm-8-s4n, Imm-12-s4n): New.
(arith-jnz16-imm4-dst-defn, arith-jnz32-imm4-dst-defn,
arith-jnz-imm4-dst-mach, arith-jnz-imm4-dst): Keep track of which
imm operand is needed.
(adjnz, sbjnz): Pass the right operands.
(unary-insn-defn, unary16-defn, unary32-defn, unary-insn-mach,
unary-insn): Add -g variants for opcodes that need to support :G.
(not.BW:G, push.BW:G): Call it.
(stzx16-imm8-imm8-dsp8sb, stzx16-imm8-imm8-dsp8fb,
stzx16-imm8-imm8-abs16): Fix operand typos.
* m32c.opc (m32c_asm_hash): Support bnCND.
(parse_signed4n, print_signed4n): New.

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

18 years ago PR 973
Alan Modra [Thu, 27 Oct 2005 05:31:16 +0000 (05:31 +0000)]
PR 973
* cache.c (enum cache_flag): New.
(close_one): Save file mtime.
(bfd_cache_lookup): Add flag arg, adjust all users.
(bfd_cache_lookup_worker): Likewise.
(cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
not open.
(cache_bflush): Similarly, and return success of file not open.
(cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
(cache_bstat): Use CACHE_NO_SEEK_ERROR.

18 years ago * bfdwin.c (bfd_get_file_window): Seek into file in place of
Alan Modra [Thu, 27 Oct 2005 04:06:35 +0000 (04:06 +0000)]
* bfdwin.c (bfd_get_file_window): Seek into file in place of
using bfd_cache_lookup.

18 years ago * cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
Alan Modra [Thu, 27 Oct 2005 03:36:57 +0000 (03:36 +0000)]
* cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
(bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise.
* libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete.
* libbfd.h: Regenerate.

18 years ago * hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
Alan Modra [Thu, 27 Oct 2005 03:35:30 +0000 (03:35 +0000)]
* hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.

18 years ago * cache.c: Reorganize file to avoid forward reference.
Alan Modra [Thu, 27 Oct 2005 03:22:13 +0000 (03:22 +0000)]
* cache.c: Reorganize file to avoid forward reference.

18 years agodaily update
Alan Modra [Thu, 27 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 27 Oct 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
DJ Delorie [Wed, 26 Oct 2005 14:59:12 +0000 (14:59 +0000)]
* m32c.cpu (f-dsp-8-s24, Dsp-8-s24): New.
(mov-dspsp-dst-defn, mov-src-dspsp-defn, mov16-dspsp-dst-defn,
mov16-src-dspsp-defn, mov32-dspsp-dst-defn, mov32-src-dspsp-defn):
dsp8[sp] is signed.
(mov.WL:S #imm,A0/A1): dsp24 is signed (i.e. -0x800000..0xffffff).
(mov.BW:S r0,r1): Fix typo r1l->r1.
(tst): Allow :G suffix.
* m32c.opc (parse_signed24): New, for -0x800000..0xffffff.

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

18 years ago2005-10-26 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 26 Oct 2005 14:09:29 +0000 (14:09 +0000)]
2005-10-26  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Correct "sel" entry.
gas/testsuite/
* gas/arm/archv6.d: Adjust expected output.
opcodes/
* arm-dis.c (arm_opcodes): Correct "sel" entry.

18 years ago * cache.c (bfd_cache_lookup_worker): Don't abort on failing to
Alan Modra [Wed, 26 Oct 2005 12:17:42 +0000 (12:17 +0000)]
* cache.c (bfd_cache_lookup_worker): Don't abort on failing to
reopen file.
(cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on
bfd_cache_lookup failure.
(cache_bread, cache_bwrite): Return 0 on the same.
* bfdwin.c (bfd_get_file_window): Likewise.
* hppabsd-core.c (hppabsd_core_core_file_p): Likewise.
* sco5-core.c (sco5_core_file_p): Likewise.
* trad-core.c (trad_unix_core_file_p): Likewise.

18 years ago * m32r.opc (parse_hi16): Do not assume a 32-bit host word size.
Alan Modra [Wed, 26 Oct 2005 07:49:05 +0000 (07:49 +0000)]
* m32r.opc (parse_hi16): Do not assume a 32-bit host word size.

18 years ago * cache.c (bfd_cache_lookup_worker): Use bfd_error_handler
Alan Modra [Wed, 26 Oct 2005 07:38:25 +0000 (07:38 +0000)]
* cache.c (bfd_cache_lookup_worker): Use bfd_error_handler
rather than bfd_perror.  Print file name.  Internationalise.

18 years ago * cache.c (bfd_open_file): Set bfd_error_system_call on failure
Alan Modra [Wed, 26 Oct 2005 04:29:53 +0000 (04:29 +0000)]
* cache.c (bfd_open_file): Set bfd_error_system_call on failure
to open file.
(bfd_cache_lookup_worker): Remove check that file pos is in
unsigned long range.  Print system error before aborting.

18 years agodaily update
Alan Modra [Wed, 26 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Wed, 26 Oct 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width by
DJ Delorie [Tue, 25 Oct 2005 18:52:02 +0000 (18:52 +0000)]
* m32c.cpu (add16-bQ-sp,add16-wQ-sp): Fix to allow either width by
making one a macro of the other.

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

18 years agoAdd support for the Z80 processor family
Nick Clifton [Tue, 25 Oct 2005 17:40:19 +0000 (17:40 +0000)]
Add support for the Z80 processor family

18 years ago PR ld/1540
Alan Modra [Tue, 25 Oct 2005 16:19:08 +0000 (16:19 +0000)]
PR ld/1540
* elf-bfd.h (elf_backend_copy_indirect_symbol): Replace pointer to
elf_backend_data with pointer to bfd_link_info.
(_bfd_elf_link_hash_copy_indirect): Likewise.
* elf.c (_bfd_elf_link_hash_copy_indirect): Likewise.  Handle
direct and indirect symbols both having dynamic link info.
* elf32-arm.c (elf32_arm_copy_indirect_symbol): Likewise.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-m32r.c (m32r_elf_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elfxx-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_copy_indirect_symbol): Likewise.
* elflink.c: Adjust all calls to bed->elf_backend_copy_indirect_symbol.
* elfxx-mips.h (_bfd_mips_elf_copy_indirect_symbol): Update prototype.
* elfxx-sparc.h (_bfd_sparc_elf_copy_indirect_symbol): Likewise.

18 years ago * regformats/reg-ia64.dat: Remove NAT registers.
Andreas Schwab [Tue, 25 Oct 2005 11:11:08 +0000 (11:11 +0000)]
* regformats/reg-ia64.dat: Remove NAT registers.

gdbserver:
* server.c (main): Allocate mem_buf with PBUFSIZ bytes.

* linux-ia64-low.c (ia64_regmap): Remove NAT registers.
(ia64_num_regs): Reduce to 462.

18 years agoRegenerate
Alan Modra [Tue, 25 Oct 2005 02:20:16 +0000 (02:20 +0000)]
Regenerate

18 years ago*** empty log message ***
gdbadmin [Tue, 25 Oct 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Tue, 25 Oct 2005 00:00:07 +0000 (00:00 +0000)]
daily update

18 years agobfd/
Jie Zhang [Mon, 24 Oct 2005 16:31:20 +0000 (16:31 +0000)]
bfd/
* elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness
warning.
gas/
* Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
(EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
* Makefile.in: Regenerate.
* config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
* config/tc-bfin.c (md_chars_to_number): Change the type of first
argument from unsigned char * to char * to remove signedness warnings.

18 years ago * elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
Jie Zhang [Mon, 24 Oct 2005 14:25:13 +0000 (14:25 +0000)]
* elf32-bfin.c (bfin_howto_table): Set src_mask to 0 for all relocs.
(bfin_imm16_reloc): Always add in the addend.  Don't fetch existing
contents from section.
(bfin_relocate_section): Rework so as to not call special_functions.
Handle the relocation stack here.  Treat pcrel24 relocs specially.

18 years ago * elflink.c (elf_link_input_bfd): Don't use linker_mark and
Alan Modra [Mon, 24 Oct 2005 11:24:31 +0000 (11:24 +0000)]
* elflink.c (elf_link_input_bfd): Don't use linker_mark and
SEC_EXCLUDE to test for sections dropped from output.  Instead,
use bfd_section_removed_from_list on normal sections.  Don't
attempt to handle symbols with unknown reserved section indices.
* linker.c (_bfd_generic_link_output_symbols): Don't use
linker_mark to test for symbols belonging to dropped sections.
Do allow absolute symbols.

18 years ago * elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
Alan Modra [Mon, 24 Oct 2005 11:18:03 +0000 (11:18 +0000)]
* elf32-i370.c (i370_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.

18 years agoinclude/opcode/
Jan Beulich [Mon, 24 Oct 2005 07:42:50 +0000 (07:42 +0000)]
include/opcode/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.

bfd/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.

gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.

opcodes/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64-asmtab.c: Regenerate.

18 years ago * elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
Alan Modra [Mon, 24 Oct 2005 04:32:50 +0000 (04:32 +0000)]
* elf32-ppc.c (ppc_elf_fake_sections): Don't set SHF_EXCLUDE on
group sections.

18 years ago2005-10-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 24 Oct 2005 02:50:27 +0000 (02:50 +0000)]
2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

* coff-rs6000.c (rs6000coff_vec): Initialize
_bfd_init_private_section_data with
_bfd_generic_init_private_section_data.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

18 years agobfd/
H.J. Lu [Mon, 24 Oct 2005 01:40:58 +0000 (01:40 +0000)]
bfd/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* elf-bfd.h (_bfd_generic_init_private_section_data): New.
(_bfd_elf_init_private_section_data): New.

* elf.c (elf_fake_sections): Don't set SHF_GROUP for
relocatable link.
(bfd_elf_set_group_contents): Don't handle relocatable link
specially.
(assign_section_numbers): If it isn't called by assembler,
use the output section of elf_linked_to_section for
SHF_LINK_ORDER.
(_bfd_elf_init_private_section_data): New.
(_bfd_elf_copy_private_section_data): Call it.

* libbfd-in.h (_bfd_generic_init_private_section_data): New.

* libbfd.c (_bfd_generic_init_private_section_data): New.

* targets.c (BFD_JUMP_TABLE_COPY): Add
_bfd_generic_init_private_section_data.
(bfd_init_private_section_data): Likewise.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

ld/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
bfd_match_sections_by_type to match section types.

* ldlang.c (init_os): Take the input section. Call
bfd_init_private_section_data if the input section isn't NULL.
(exp_init_os): Pass NULL to init_os.
(map_input_to_output_sections): Likewise.
(lang_add_section): Pass the input section to init_os.

ld/testsuite/

2005-10-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1487
* ld-ia64/tlspic.rd: Updated.

18 years agodaily update
Alan Modra [Mon, 24 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Mon, 24 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * elf64-ppc.c (dec_dynrel_count): Don't report errors for local
Alan Modra [Sun, 23 Oct 2005 13:12:09 +0000 (13:12 +0000)]
* elf64-ppc.c (dec_dynrel_count): Don't report errors for local
syms in gc'd sections.
(ppc64_elf_edit_opd): Don't adjust reloc counts when NO_OPD_RELOCS.
(elf_backend_action_discarded): Define.
(ppc64_elf_action_discarded): New function.

18 years ago*** empty log message ***
gdbadmin [Sun, 23 Oct 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
Alan Modra [Sun, 23 Oct 2005 00:00:06 +0000 (00:00 +0000)]
daily update

18 years ago* rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
Mark Kettenis [Sat, 22 Oct 2005 15:12:36 +0000 (15:12 +0000)]
* rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
(rs6000_info_powerpc_command): Remove function.

18 years ago2005-10-22 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Sat, 22 Oct 2005 10:37:55 +0000 (10:37 +0000)]
2005-10-22  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/24297
* Makefile.tpl (do-[+make-target+], do-check, install,
stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s
are set before recursing.
* Makefile.in: Regenerate.

18 years ago[cpu]
DJ Delorie [Sat, 22 Oct 2005 00:03:13 +0000 (00:03 +0000)]
[cpu]
* m32c.cpu (lde, ste): Add dsp[a0] and [a1a] addressing.
(indexb, indexbd, indexbs, indexw, indexwd, indexws, indexl,
indexld, indexls): .w variants have `1' bit.
(rot32.b): QI, not SI.
(rot32.w): HI, not SI.
(xchg16): HI for .w variant.

[opcodes]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

18 years agodaily update
Alan Modra [Sat, 22 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update

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

18 years agoFix typo
Mark Mitchell [Fri, 21 Oct 2005 23:31:33 +0000 (23:31 +0000)]
Fix typo

18 years ago * texi2pod.pl: Substitue for @value even when part of @include.
Mark Mitchell [Fri, 21 Oct 2005 23:29:22 +0000 (23:29 +0000)]
* texi2pod.pl: Substitue for @value even when part of @include.

18 years ago * texi2pod.pl: Import latest version from GCC.
Bob Wilson [Fri, 21 Oct 2005 18:08:07 +0000 (18:08 +0000)]
* texi2pod.pl: Import latest version from GCC.

18 years agobfin-dis.c: Tidy up code, removing redundant constructs.
Nick Clifton [Fri, 21 Oct 2005 16:28:18 +0000 (16:28 +0000)]
bfin-dis.c: Tidy up code, removing redundant constructs.

18 years ago * dwarf2read.c (isreg): Removed.
Andreas Schwab [Fri, 21 Oct 2005 09:14:48 +0000 (09:14 +0000)]
* dwarf2read.c (isreg): Removed.
(decode_locdesc): Don't set it.

18 years ago * Makefile.in (YYFILES): Add ada-lex.c
Joel Brobecker [Fri, 21 Oct 2005 06:26:27 +0000 (06:26 +0000)]
    * Makefile.in (YYFILES): Add ada-lex.c

18 years agodaily update
Alan Modra [Fri, 21 Oct 2005 00:00:13 +0000 (00:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Fri, 21 Oct 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago PR bootstrap/18939
Eric Botcazou [Thu, 20 Oct 2005 12:01:15 +0000 (12:01 +0000)]
PR bootstrap/18939
* Makefile.def (gcc) <target>: Fix thinko.
* Makefile.in: Regenerate.

18 years agodaily update
Alan Modra [Thu, 20 Oct 2005 00:09:01 +0000 (00:09 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Thu, 20 Oct 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* elf32-arm.c (find_arm_elf_section_entry): New function.
Nick Clifton [Wed, 19 Oct 2005 15:40:23 +0000 (15:40 +0000)]
* elf32-arm.c (find_arm_elf_section_entry): New function.
  (get_arm_elf_section_data): Use it.
  (unrecord_section_with_arm_elf_section_data): Use it.

18 years ago * s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
Martin Schwidefsky [Wed, 19 Oct 2005 15:05:10 +0000 (15:05 +0000)]
* s390-opc.txt: Add unnormalized hfp multiply and multiply-and-add
instructions.

18 years ago* m32r.opc (parse_slo16): Fix bad application of previous patch.
Nick Clifton [Wed, 19 Oct 2005 14:44:16 +0000 (14:44 +0000)]
* m32r.opc (parse_slo16): Fix bad application of previous patch.

18 years agodaily update
Alan Modra [Wed, 19 Oct 2005 00:00:05 +0000 (00:00 +0000)]
daily update