platform/upstream/binutils.git
24 years agoAdd ARRAY_SIZE macro from egcs version
Nick Clifton [Sun, 3 Sep 2000 17:35:07 +0000 (17:35 +0000)]
Add ARRAY_SIZE macro from egcs version

24 years agoFix formatting, add copyright notice
Nick Clifton [Sun, 3 Sep 2000 17:28:21 +0000 (17:28 +0000)]
Fix formatting, add copyright notice

24 years ago* gdb_assert.h: New file.
Mark Kettenis [Sun, 3 Sep 2000 17:19:41 +0000 (17:19 +0000)]
* gdb_assert.h: New file.

24 years ago2000-09-03 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 3 Sep 2000 16:32:02 +0000 (16:32 +0000)]
2000-09-03  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_relocate_section): Don't try to relocate
references to undefined symbols in debugging sections.

24 years ago* gdb_thread_db.h [HAVE_THREAD_DB_H]: Include <thread_db.h>.
Mark Kettenis [Sun, 3 Sep 2000 12:06:58 +0000 (12:06 +0000)]
* gdb_thread_db.h [HAVE_THREAD_DB_H]: Include <thread_db.h>.
[!HAVE_THREAD_DB_H]: Update from current glibc thread_db.h.  Deal
with absence of <stdint.h> here.

24 years ago* gdb_proc_service.h: Add copyright notice.
Mark Kettenis [Sun, 3 Sep 2000 11:51:49 +0000 (11:51 +0000)]
* gdb_proc_service.h: Add copyright notice.
Protect against multiple inclusion.
Add fix for broken prfpregset_t here.
(struct ps_prochandle): Declare here.
[HAVE_PROC_SERVICE_H]: Include <proc_service.h>.
[!HAVE_PROC_SERVICE_H]: Include "gregset.h", define prgregset_t
and prfpregset_t in terms of gdb_gregset_t and gdb_fpregset_t if
necessary.
* lin-thread.c: Unconditionally include "gdb_proc_service.h".
Remove fix for broken prfpregset_t here.
(struct ps_prochandle): Don't declare here.

24 years ago* MAINTAINERS: Add myself as threads co-maintainer.
Mark Kettenis [Sun, 3 Sep 2000 11:24:22 +0000 (11:24 +0000)]
* MAINTAINERS: Add myself as threads co-maintainer.

24 years ago * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
Richard Henderson [Sun, 3 Sep 2000 09:36:57 +0000 (09:36 +0000)]
    * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
        for template selection when a label is needed.

24 years ago2000-09-02 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 3 Sep 2000 02:57:52 +0000 (02:57 +0000)]
2000-09-02  H.J. Lu  <hjl@gnu.org>

* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE,
BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH
section.

24 years ago2000-09-02 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Sun, 3 Sep 2000 01:39:08 +0000 (01:39 +0000)]
2000-09-02  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro.
        (elf32_i860_is_local_label_name): New function and prototype.

24 years ago2000-09-02 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sun, 3 Sep 2000 00:04:40 +0000 (00:04 +0000)]
2000-09-02  Kazu Hirata  <kazu@hxi.com>

* config/tc-ia64.c: Fix formatting.

24 years agoIncrease minor version number (to 2.10.91) to help tools detect the new
Nick Clifton [Sat, 2 Sep 2000 21:35:47 +0000 (21:35 +0000)]
Increase minor version number (to 2.10.91) to help tools detect the new
ability to support removal of duplciate DWARF@ debug information.

24 years agoRegenerate
Nick Clifton [Sat, 2 Sep 2000 20:46:19 +0000 (20:46 +0000)]
Regenerate

24 years agoRegernate
Nick Clifton [Sat, 2 Sep 2000 20:44:12 +0000 (20:44 +0000)]
Regernate

24 years agoAdd .gnu.linkonce.wi.* to .debug_info sections.
Nick Clifton [Sat, 2 Sep 2000 20:43:22 +0000 (20:43 +0000)]
Add .gnu.linkonce.wi.* to .debug_info sections.

24 years agoAdd .gnu.linkobce.wi. to the list of debug section names.
Nick Clifton [Sat, 2 Sep 2000 20:33:48 +0000 (20:33 +0000)]
Add .gnu.linkobce.wi. to the list of debug section names.
Update generated files

24 years agoFind all sections containing debug information and include them in the stash.
Nick Clifton [Sat, 2 Sep 2000 20:21:40 +0000 (20:21 +0000)]
Find all sections containing debug information and include them in the stash.

24 years ago* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
Alexandre Oliva [Sat, 2 Sep 2000 07:24:51 +0000 (07:24 +0000)]
* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
crosses, but add gcc/include to the header search path for them.

24 years ago* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
Alexandre Oliva [Sat, 2 Sep 2000 02:36:27 +0000 (02:36 +0000)]
* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
* config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
become PC-relative to BFD_RELOC_32_PCREL.  Reject 16- or 8-bit
similar relocs.
(sh_obj_adjustable): Return 1 for PC-relative offsets used in
branches.

* config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
* config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
[OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
(GOT_symbol): New variable.
(md_undefined_symbol): Set it.

24 years ago* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
Alexandre Oliva [Sat, 2 Sep 2000 02:33:26 +0000 (02:33 +0000)]
* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.
(sh_reloc_map): Add new relocs.
(sh_elf_check_relocs, sh_elf_link_hash_newfunc,
sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,
sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,
sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New
functions.
(ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.
(elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le,
elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
New array constants.
(elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):
New variables.
(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,
elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,
elf_sh_plt_reloc_offset): Define.
(elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,
elf_sh_link_hash_table): New structs.
(sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.
(sh_elf_relocate_section, sh_elf_check_relocs): Handle new
relocation types.
(elf_backend_create_dynamic_sections,
bfd_elf32_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):
New relocs.
* bfd-in2.h, libbfd.h: Rebuilt.

24 years ago* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
Alexandre Oliva [Sat, 2 Sep 2000 02:24:02 +0000 (02:24 +0000)]
* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs.
(R_SH_FIRST_INVALID_RELOC): Adjust.

24 years ago * config/tc-ia64.c (match): Don't inline.
Richard Henderson [Sat, 2 Sep 2000 01:02:41 +0000 (01:02 +0000)]
    * config/tc-ia64.c (match): Don't inline.
        (extra_goodness): New.
        (md_begin): Prefer nop.f and nop.b for best_template.

24 years agoCorrected spelling errors in various source files.
David Anderson [Sat, 2 Sep 2000 00:16:59 +0000 (00:16 +0000)]
Corrected spelling errors in various source files.

24 years agoCorrected spelling error in comment: tracepont -> tracepoint
David Anderson [Sat, 2 Sep 2000 00:13:29 +0000 (00:13 +0000)]
Corrected spelling error in comment: tracepont -> tracepoint

24 years agoCorrected spelling in comment: dependant -> dependent.
David Anderson [Sat, 2 Sep 2000 00:12:17 +0000 (00:12 +0000)]
Corrected spelling in comment: dependant -> dependent.

24 years agoCorrected spelling in comment: dependant -> dependent
David Anderson [Sat, 2 Sep 2000 00:09:06 +0000 (00:09 +0000)]
Corrected spelling in comment: dependant -> dependent

24 years agoCorrected spelling in comment: unles -> unless.
David Anderson [Sat, 2 Sep 2000 00:08:05 +0000 (00:08 +0000)]
Corrected spelling in comment:  unles -> unless.

24 years agoProtoization.
Kevin Buettner [Sat, 2 Sep 2000 00:07:32 +0000 (00:07 +0000)]
Protoization.

24 years agoCorrected spelling error in comment: continaution ->continuation.
David Anderson [Sat, 2 Sep 2000 00:07:13 +0000 (00:07 +0000)]
Corrected spelling error in comment: continaution ->continuation.

24 years agoCorrected typo in comment: ofa -> of a
David Anderson [Sat, 2 Sep 2000 00:05:43 +0000 (00:05 +0000)]
Corrected typo in comment:  ofa -> of a

24 years agoCorrected spelling in comment: extention-> to extension.
David Anderson [Sat, 2 Sep 2000 00:05:02 +0000 (00:05 +0000)]
Corrected spelling in comment: extention-> to extension.

24 years agoCorrected spelling in comments: dependant->dependent swaped->swapped.
David Anderson [Sat, 2 Sep 2000 00:02:54 +0000 (00:02 +0000)]
Corrected spelling in comments: dependant->dependent swaped->swapped.

24 years agoFixed spelling errors in comments: dependant->dependent in several places.
David Anderson [Sat, 2 Sep 2000 00:01:33 +0000 (00:01 +0000)]
Fixed spelling errors in comments: dependant->dependent in several places.

24 years agoCorrected spelling error in comment: swaped -> swapped.
David Anderson [Fri, 1 Sep 2000 23:55:07 +0000 (23:55 +0000)]
Corrected spelling error in comment: swaped -> swapped.

24 years agoCorrected spelling error in comment:
David Anderson [Fri, 1 Sep 2000 23:53:57 +0000 (23:53 +0000)]
Corrected spelling error in comment:
converteded->converted

24 years agoCorrected spelling in comments:
David Anderson [Fri, 1 Sep 2000 23:53:02 +0000 (23:53 +0000)]
Corrected spelling in comments:
foe->for  executin ->execution.

24 years agoCorrected spelling errors in comments:
David Anderson [Fri, 1 Sep 2000 23:52:09 +0000 (23:52 +0000)]
Corrected spelling errors in comments:
adn -> and, Is->Are,  occures->occurs

24 years agoCorrect spelling in comment: tupes -> tuples.
David Anderson [Fri, 1 Sep 2000 23:50:17 +0000 (23:50 +0000)]
Correct spelling in comment: tupes -> tuples.

24 years agoFix typo in comment: h added, sort -> short.
David Anderson [Fri, 1 Sep 2000 23:48:59 +0000 (23:48 +0000)]
Fix typo in comment: h added, sort -> short.

24 years agoCorrected mistake in comment. 64bit example said it was 32 bit.
David Anderson [Fri, 1 Sep 2000 23:47:52 +0000 (23:47 +0000)]
Corrected mistake in comment. 64bit example said it was 32 bit.

24 years agoSpelling correction in comment: dependant->dependent
David Anderson [Fri, 1 Sep 2000 23:45:13 +0000 (23:45 +0000)]
Spelling correction in comment:  dependant->dependent

24 years agoTypo in comment fixed: seem->see
David Anderson [Fri, 1 Sep 2000 23:43:26 +0000 (23:43 +0000)]
Typo in comment fixed: seem->see

24 years agoSpelling correction: of->if in comment.
David Anderson [Fri, 1 Sep 2000 23:41:20 +0000 (23:41 +0000)]
Spelling correction: of->if in comment.

24 years agospelling correction: depdendant->dependent
David Anderson [Fri, 1 Sep 2000 23:39:11 +0000 (23:39 +0000)]
spelling correction: depdendant->dependent

24 years agoFix core dump when executing ``b .'' command.
Kevin Buettner [Fri, 1 Sep 2000 18:37:05 +0000 (18:37 +0000)]
Fix core dump when executing ``b .'' command.

24 years ago2000-09-01 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 1 Sep 2000 17:59:26 +0000 (17:59 +0000)]
2000-09-01  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (reg_flush_command): New function.  Maintainer-mode
        command, flushes GDB's register cache, for testing purposes.

24 years ago(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.
Alan Modra [Fri, 1 Sep 2000 11:17:07 +0000 (11:17 +0000)]
(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.

24 years ago* dcache.c (dcache_info): Output a cache line's state vector so it
J.T. Conklin [Fri, 1 Sep 2000 00:12:10 +0000 (00:12 +0000)]
* dcache.c (dcache_info): Output a cache line's state vector so it
lines up under the data vector.

* dcache.c (dcache_read_line): New function.
(dcache_peek_byte): Use it.
(dcache_alloc): Return NULL if write of reclaimed cache line fails.
(dcache_peek_byte, dcache_poke_byte): Return failure if
dcache_alloc() returns a NULL data block pointer.
(dcache_xfer_memory): Don't force writeback unless we were writing.

* monitor.c (monitor_expect): Change places where immediate_quit
is set to 1 or 0 to increments and decrements respectively.  This
allows such changes to nest properly.
* ocd.c (ocd_start_remote): Likewise.
* remote-adapt.c (expect): Likewise.
* remote-array.c (expect): Likewise.
* remote-eb.c (expect): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-mips.c (mips_expect_timeout, mips_getstring): Likewise.
* remote-nrom.c (expect): Likewise.
* remote-os9k.c (expect): Likewise.
* remote-sds.c (sds_start_remote): Likewise.
* remote-st.c (expect): Likewise.
* remote-utils.c (sr_expect): Likewise.
* remote.c (remote_start_remote): Likewise.
* tracepoint.c (read_actions): Likewise.

* remote-mips.c (mips_getstring): Balance changes to immediate_quit.

24 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 31 Aug 2000 23:17:47 +0000 (23:17 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* as.c: Fix formatting.
* cond.c: Likewise.

24 years ago(From GCC:) Add testcases and missing changelogs:
Hans-Peter Nilsson [Thu, 31 Aug 2000 22:16:08 +0000 (22:16 +0000)]
(From GCC:) Add testcases and missing changelogs:
2000-08-31  Hans-Peter Nilsson  <hp@axis.com>

* testsuite/demangle-expected: Add nine tests for
underscore-after-number followed by five tests for name-signature
delimiter.

2000-07-24  Hans-Peter Nilsson  <hp@axis.com>

* cplus-dem.c (work_stuff_copy_to_from): New.
(delete_non_B_K_work_stuff): New.
(delete_work_stuff): New.
(mop_up): Break out work_stuff destruction to delete_work_stuff.
(iterate_demangle_function): New.
(demangle_prefix): Call iterate_demangle_function instead of
demangle_function_name.  Leave handling of name-signature
__-delimiters to iterate_demangle_function.

* cplus-dem.c (demangle_integral_value): Strip an optional
following underscore cautiously.  Handle negative numbers.

24 years ago * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
Joern Rennecke [Thu, 31 Aug 2000 22:15:42 +0000 (22:15 +0000)]
* elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
not initialized, set them to indicate the SH1 instruction set.

24 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 31 Aug 2000 18:36:18 +0000 (18:36 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* frags.c: Fix formatting.
* macro.c: Likewise.

24 years ago2000-08-31 Eric Christopher <echristo@cygnus.com>
Eric Christopher [Thu, 31 Aug 2000 18:30:51 +0000 (18:30 +0000)]
2000-08-31  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c:  Cleanup and fix warnings.
(md_pseudo_table): Add initializers.
(md_show_usage): Cleanup.
(md_parse_option): Fix warnings.
(md_undefined_symbol): Fix warnings.
(md_conver_frag): Fix warnings.
(tc_gen_reloc): Fix warnings.
(md_apply_fix3): Fix warnings.
(check_operand): Fix warnings.

24 years agoJust realized the list is in alphabetical order, so
David Anderson [Thu, 31 Aug 2000 17:53:22 +0000 (17:53 +0000)]
Just realized the list is in alphabetical order, so
changed my new entry to put things in alphabetical order.

24 years agoAdd myself to write-after-approval list.
David Anderson [Thu, 31 Aug 2000 17:48:19 +0000 (17:48 +0000)]
Add myself to write-after-approval list.

24 years ago* acinclude.m4: Include libtool and gettext macros from the
Alexandre Oliva [Thu, 31 Aug 2000 09:46:11 +0000 (09:46 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

24 years ago* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
Alexandre Oliva [Thu, 31 Aug 2000 09:25:11 +0000 (09:25 +0000)]
* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
* libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch.
* gettext.m4: New file, extracted from aclocal.m4.

24 years agoIn src/gas/ChangeLog:
Geoffrey Keating [Thu, 31 Aug 2000 06:48:49 +0000 (06:48 +0000)]
In src/gas/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* config/tc-ppc.c (md_parse_option): Recognize -m405.

In src/opcodes/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* ppc-opc.c Add XTLB macro for a few PPC 4xx extended mnemonics.
(powerpc_opcodes): Add table entries for PPC 405 instructions.
Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
instructions.
Added extended mnemonic mftbl as defined in the 405GP manual
for all PPCs.

24 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 31 Aug 2000 06:11:03 +0000 (06:11 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* listing.c: Fix formatting.

24 years agoProtoization.
Kevin Buettner [Thu, 31 Aug 2000 03:19:06 +0000 (03:19 +0000)]
Protoization.

24 years agoRename bfd_elf_get_arch_size to bfd_get_arch_size().
Kevin Buettner [Thu, 31 Aug 2000 00:39:10 +0000 (00:39 +0000)]
Rename bfd_elf_get_arch_size to bfd_get_arch_size().

24 years ago* resrc.c (close_input_stream): delete extraneous logic
DJ Delorie [Wed, 30 Aug 2000 23:06:03 +0000 (23:06 +0000)]
* resrc.c (close_input_stream): delete extraneous logic

24 years ago* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
Alexandre Oliva [Wed, 30 Aug 2000 22:01:47 +0000 (22:01 +0000)]
* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.

24 years agoApplied patch from David Edelsohn <dje@watson.ibm.com>.
Kevin Buettner [Wed, 30 Aug 2000 20:35:26 +0000 (20:35 +0000)]
Applied patch from David Edelsohn <dje@watson.ibm.com>.

24 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 30 Aug 2000 18:51:25 +0000 (18:51 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

* tic80-dis.c: Fix formatting.

24 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 30 Aug 2000 18:12:21 +0000 (18:12 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c: Eliminate references to __sparcv9 macro; replace with
        autoconf variables HAVE_PSINFO32_T etc.
        * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
        HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
        * config.in: Ditto.
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
        detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
        * aclocal.m4: Ditto.
        * configure: Regenerate.

24 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 30 Aug 2000 03:55:39 +0000 (03:55 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* w65-dis.c: Fix formatting.

24 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Wed, 30 Aug 2000 03:51:46 +0000 (03:51 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* app.c: Fix a comment typo.  Fix formatting.

24 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Wed, 30 Aug 2000 00:58:58 +0000 (00:58 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * valops.c (value_cast): Indentation fix-up.
        * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
        HAVE_STRUCT_LINK_MAP32): New configure macros.
        * config.in: Ditto.
        * configure.in: Test for the above new macros.
        * breakpoint.c: Update copyright date.
        * core-sol2.c: Include v9/sys/privregs.h directly to
        work around a bug in Sun's Solaris 8 header files.
        (fetch_core_registers): Use the above new configure macros to
        handle cross-debugging of 32-bit core files on a 64-bit host.
        * sol-thread.c (ps_pdmodel) New function.
        (rw_common): For debugging of 32-bit apps on a 64-bit host,
        truncate addresses to 32 bits.
        * solib.c (solib_extract_address): Functionize.  Make 32/64 aware.
        (LM_ADDR, LM_NEXT, LM_NAME): Ditto.
        (IGNORE_FIRST_LINK_MAP): Ditto.
        (first_link_map_member): Make 32/64 aware.
        (open_symbol_file_object): Ditto.
        (current_sos): Ditto.

24 years ago2000-08-29 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 29 Aug 2000 23:31:10 +0000 (23:31 +0000)]
2000-08-29  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * i386-linux-nat.c (i386_linux_skip_solib_resolver,
        skip_hurd_resolver, find_minsym_and_objfile): Move these
        solib functions into i386-linux-tdep.c for cross debugging.
        * i386-linux-tdep.c: Receive the above functions.

24 years agoFix stack offset correction for 68hc11
Stephane Carrez [Tue, 29 Aug 2000 19:12:27 +0000 (19:12 +0000)]
Fix stack offset correction for 68hc11

24 years agoFix some ia64 gas failures.
Timothy Wall [Tue, 29 Aug 2000 12:15:51 +0000 (12:15 +0000)]
Fix some ia64 gas failures.

24 years agoProtoization.
Kevin Buettner [Tue, 29 Aug 2000 01:56:59 +0000 (01:56 +0000)]
Protoization.

24 years agoFix segfault from last memory-leak fixing patch.
Jim Wilson [Mon, 28 Aug 2000 22:08:36 +0000 (22:08 +0000)]
Fix segfault from last memory-leak fixing patch.
* ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
call.  Change last goto to use failed instead of done.

24 years ago* i386-linux-nat.c (fetch_inferior_registers): Move call to
Mark Kettenis [Mon, 28 Aug 2000 21:54:37 +0000 (21:54 +0000)]
* i386-linux-nat.c (fetch_inferior_registers): Move call to
dummy_sse_values ...
(supply_fpregset): ... here.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:20:30 +0000 (18:20 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* Makefile.in: Use of @true confuses VPATH. Remove it.
* cpu.h: Regenerated.
* cpux.h: Regenerated.
* decode.c: Regenerated.
* decodex.c: Regenerated.
* model.c: Regenerated.
* modelx.c: Regenerated.
* sem-switch.c: Regenerated.
* sem.c: Regenerated.
* semx-switch.c: Regenerated.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:19:41 +0000 (18:19 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cpu.h: Regenerated.
* decode.c: Regenerated.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:18:49 +0000 (18:18 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
in insn_value if it will fit.

24 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 28 Aug 2000 18:17:54 +0000 (18:17 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-ibld.in (cgen_put_insn_int_value): New function.
(insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
(insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
(extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
* cgen-dis.in (read_insn): New static function.
(print_insn): Use read_insn to read the insn into the buffer and set
up for disassembly.
(print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
in the buffer.
* fr30-asm.c: Regenerated.
* fr30-desc.c: Regenerated.
* fr30-desc.h Regenerated.
* fr30-dis.c: Regenerated.
* fr30-ibld.c: Regenerated.
* fr30-opc.c: Regenerated.
* fr30-opc.h Regenerated.
* m32r-asm.c: Regenerated.
* m32r-desc.c: Regenerated.
* m32r-desc.h Regenerated.
* m32r-dis.c: Regenerated.
* m32r-ibld.c: Regenerated.
* m32r-opc.c: Regenerated.

24 years ago2000-08-28 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Mon, 28 Aug 2000 16:37:55 +0000 (16:37 +0000)]
2000-08-28  Kazu Hirata  <kazu@hxi.com>

* tic30-dis.c: Fix formatting.

24 years ago2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Sun, 27 Aug 2000 22:30:29 +0000 (22:30 +0000)]
2000-08-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an
  lvalue.
* xcoffread.c (xcoff_symfile_offsets): Ditto
* somsolib.c (som_solib_section_offsets): Ditto.
* somread.c (som_symfile_offsets): Ditto.
* rs6000-nat.c (vmap_symtab): Ditto.
* remote-vx.c (vx_add_symbols): Ditto.
* remote-os9k.c (rombug_wait): Ditto.

24 years ago* gregset.h: Protect against multiple inclusion. Remove some
Mark Kettenis [Sun, 27 Aug 2000 21:37:16 +0000 (21:37 +0000)]
* gregset.h: Protect against multiple inclusion.  Remove some
redundant spaces.

24 years agoReclaim reloc space for symbols that have been forced local.
Alan Modra [Sun, 27 Aug 2000 08:10:16 +0000 (08:10 +0000)]
Reclaim reloc space for symbols that have been forced local.

24 years ago* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
Christopher Faylor [Sun, 27 Aug 2000 04:21:35 +0000 (04:21 +0000)]
* win32-nat.c (dll_symbol_command): Tack a .dll on the end of a supplied
argument if it is missing an extension.

* corelow.c: Define O_BINARY if it isn't defined.
(core_open): Open core file in binary mode.
* config/i386/tm-cygwin.h (child_clear_solibs): Rename from child_clear_solib.
* config/i386/cygwin.mh: Add dependency from corelow.o.
* win32-nat.c (register_loaded_dll): New function.  Add dll to the list of
currently loaded dlls.
(handle_load_dll): Use register_loaded_dll.
(child_solib_add): Distinguish between active process and core targets.
(solib_symbols_add): Load symbols from loaded dll.
(core_dll_symbols_add): New function.  Load symbols from dll referenced in
core.
(core_section_load_dll_symbols): New function.
(dll_code_sections_add): New function.
(map_single_dll_code_section): New function.
(fetch_elf_core_registers): New function.
(_initialize_core_win32): New function.

24 years ago2000-08-27 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Sat, 26 Aug 2000 18:50:14 +0000 (18:50 +0000)]
2000-08-27  Kazu Hirata  <kazu@hxi.com>

* sh-dis.c: Fix formatting.

24 years agoProtoization.
Kevin Buettner [Sat, 26 Aug 2000 17:29:53 +0000 (17:29 +0000)]
Protoization.

24 years agoMulti-arch support for 68hc11
Stephane Carrez [Sat, 26 Aug 2000 13:36:25 +0000 (13:36 +0000)]
Multi-arch support for 68hc11

24 years agoFri Aug 25 16:57:05 2000 David Taylor <taylor@texas.cygnus.com>
David Taylor [Fri, 25 Aug 2000 21:03:00 +0000 (21:03 +0000)]
Fri Aug 25 16:57:05 2000  David Taylor  <taylor@texas.cygnus.com>

* regcache.c (register_changed): New function.
* value.h: Declare it.

24 years agoFri Aug 25 12:11:21 2000 David Taylor <taylor@texas.cygnus.com>
David Taylor [Fri, 25 Aug 2000 20:51:19 +0000 (20:51 +0000)]
Fri Aug 25 12:11:21 2000  David Taylor  <taylor@texas.cygnus.com>

* symtab.c (search_symbols): Fix off by one error in index for
  initializing variables ourtype, ourtype2, ourtype3, and ourtype4.
(symtab_symbol_info): fix similar off by one error.

Fri Aug 25 12:03:15 2000  David Taylor  <taylor@texas.cygnus.com>

* gdbarch.sh (TARGET_ADDR_BIT): New macro for the number
of bits in gdb's representation of a target address.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): Use TARGET_ADDR_BIT instead of
  TARGET_PTR_BIT when initializing builtin_type_CORE_ADDR.
* printcmd.c (print_address_numeric): Use TARGET_ADDR_BIT instead
  of TARGET_PTR_BIT, because we're printing an address, not a pointer.

24 years agoWhen choosing the target for a particular endianness, do nothing if the target
Nick Clifton [Fri, 25 Aug 2000 20:44:09 +0000 (20:44 +0000)]
When choosing the target for a particular endianness, do nothing if the target
is not supported.

24 years ago2000-08-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 25 Aug 2000 20:24:11 +0000 (20:24 +0000)]
2000-08-24  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
check -rpath nor LD_RUN_PATH for cross link.
* ld.texinfo: Document the change.

24 years agoCorrectly calculate the pc relative offset of the target destination for jmp
Nick Clifton [Fri, 25 Aug 2000 18:40:16 +0000 (18:40 +0000)]
Correctly calculate the pc relative offset of the target destination for jmp
instructions.

24 years ago2000-08-24 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 25 Aug 2000 07:54:32 +0000 (07:54 +0000)]
2000-08-24  Pierre Muller  <muller@ics.u-strasbg.fr>
       * Makefile.in: add rules to compile and link pascal specific files.
       * config/djgpp/fnchange.lst: add substitution for p-exp.tab.c.

24 years ago2000-08-24 David Edelsohn <dje@watson.ibm.com>
Geoffrey Keating [Thu, 24 Aug 2000 21:42:36 +0000 (21:42 +0000)]
2000-08-24  David Edelsohn  <dje@watson.ibm.com>

* ppc-opc.c (powerpc_opcodes): Add rfid, mtsrd, mtsrdin, mtmsrd.

24 years ago * NEWS: Mention support for CRIS.
Hans-Peter Nilsson [Thu, 24 Aug 2000 17:42:52 +0000 (17:42 +0000)]
* NEWS: Mention support for CRIS.

24 years agoAllow common symbols to have an alignment of 1 if explicitly requested, and
Nick Clifton [Thu, 24 Aug 2000 17:41:40 +0000 (17:41 +0000)]
Allow common symbols to have an alignment of 1 if explicitly requested, and
not overridden by other definitions.

24 years ago2000-08-24 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 24 Aug 2000 17:20:18 +0000 (17:20 +0000)]
2000-08-24  Kazu Hirata  <kazu@hxi.com>

* z8k-dis.c: Fix formatting.

24 years ago * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Denis Chertykov [Thu, 24 Aug 2000 16:54:03 +0000 (16:54 +0000)]
    * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
        Sets `.lcomm' alignment to zero.

24 years ago * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Denis Chertykov [Thu, 24 Aug 2000 16:50:21 +0000 (16:50 +0000)]
* config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
Sets `.lcomm' alignment to zero.

24 years ago2000-08-20 Michael Chastain <chastain@redhat.com>
Andrew Cagney [Thu, 24 Aug 2000 10:48:22 +0000 (10:48 +0000)]
2000-08-20  Michael Chastain  <chastain@redhat.com>

      * remote.c (read_frame): Handle SERIAL_TIMEOUT while reading
      checksum.