binutils-gdb.git
24 years ago2000-08-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 23 Aug 2000 23:03:00 +0000 (23:03 +0000)]
2000-08-23  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
the current runpath list from bfd_elf_get_runpath_list ()
before search.

24 years ago* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
Alexandre Oliva [Wed, 23 Aug 2000 21:12:48 +0000 (21:12 +0000)]
* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>
(TC_FIX_ADJUSTABLE): Define.

24 years agoFix unwind section bug found by linux kernel.
Jim Wilson [Wed, 23 Aug 2000 20:36:38 +0000 (20:36 +0000)]
Fix unwind section bug found by linux kernel.
* config/tc-ia64.c (output_unw_records): Set U & E flags only if
unwind.personality_routine is set.

24 years ago* write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
Alexandre Oliva [Wed, 23 Aug 2000 18:20:44 +0000 (18:20 +0000)]
* write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.

24 years agoChange News to NEWS.
H.J. Lu [Wed, 23 Aug 2000 16:42:13 +0000 (16:42 +0000)]
Change News to NEWS.

24 years agoProtoize.
Kevin Buettner [Wed, 23 Aug 2000 16:37:23 +0000 (16:37 +0000)]
Protoize.

24 years ago* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
Alexandre Oliva [Wed, 23 Aug 2000 11:19:20 +0000 (11:19 +0000)]
* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
environment is pe.

24 years ago * gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
Eli Zaretskii [Wed, 23 Aug 2000 09:15:25 +0000 (09:15 +0000)]
* gdbmi.texinfo: Change flathead -> @sc{gdb/mi}.
Fix typos and markup mistakes (from Dmitry S.
Sivachenko <dima@Chg.RU>).

24 years agoFix bugs detecting w65 architecture.
Nick Clifton [Tue, 22 Aug 2000 20:11:36 +0000 (20:11 +0000)]
Fix bugs detecting w65 architecture.

24 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:34:37 +0000 (19:34 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
LD_LIBRARY_PATH for native linker. Display the needed DSO if
trace_file_tries is non-zero.
(gld${EMULATION_NAME}_try_needed): Report the needed DSO found
if trace_file_tries is non-zero.

* ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
* News: Mention it.

24 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:33:16 +0000 (19:33 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_hash_table): Add runpath.

* bfd-in.h (bfd_elf_get_runpath_list): New prototype.
* bfd-in2.h: Rebuilt.

* elf.c (_bfd_elf_link_hash_table_init): Initialize the
"runpath" field to NULL.
(bfd_elf_get_runpath_list): New function.

* elflink.h (elf_link_add_object_symbols): Record DT_RPATH and
DT_RUNPATH entries.

24 years agoForgot to check this in with last commit!
Dave Brolley [Tue, 22 Aug 2000 19:27:32 +0000 (19:27 +0000)]
Forgot to check this in with last commit!

24 years ago2000-08-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:14:32 +0000 (19:14 +0000)]
2000-08-22  H.J. Lu  <hjl@gnu.org>

* config.in (STRICTCOFF): New for strict COFF.

* configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
i386-*-go32* and i386-go32-rtems*.
* configure: Rebuilt.

* config/obj-coff.c (obj_coff_endef): Follow the historical
behavior if STRICTCOFF is not defined.

* doc/internals.texi: Document STRICTCOFF.

24 years ago2000-08-21 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Aug 2000 19:11:55 +0000 (19:11 +0000)]
2000-08-21  H.J. Lu <hjl@gnu.org>

* gas/all/cofftag.d: Support the strict COFF.

24 years ago* config-ml.in (CC, CXX): Avoid trailing whitespace.
Alexandre Oliva [Tue, 22 Aug 2000 05:01:20 +0000 (05:01 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.

24 years ago* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
Alexandre Oliva [Tue, 22 Aug 2000 04:58:25 +0000 (04:58 +0000)]
* elf32-sh.c (sh_elf_relocate_section) [R_SH_IND12W,
R_SH_DIR8WPN, R_SH_DIR8WPZ, R_SH_DIR8WPL]: Handle them
explicitly.  Improve validation of r_type.

24 years ago* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
Alexandre Oliva [Tue, 22 Aug 2000 04:52:40 +0000 (04:52 +0000)]
* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
(fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
<OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
* config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
Likewise.

24 years ago2000-08-22 Eric Christopher <echristo@cygnus.com>
Eric Christopher [Tue, 22 Aug 2000 01:20:41 +0000 (01:20 +0000)]
2000-08-22  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c: (md_apply_fix): New function.
(mn10300_force_relocation): New function.
(mn10300_fix_adjustable): New function.

* config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
(TC_HANDLES_FX_DONE): Define.
(obj_fix_adjustable): Define.
(MD_APPLY_FIX3): Define.
(TC_LINKRELAX_FIXUP): Define.

* write.c: (TC_LINKRELAX_FIXUP):  Define if not
previously defined.
(fixup_segment): Use TC_LINKRELAX_FIXUP.

* doc/internals.texi: Document TC_LINKRELAX_FIXUP.

24 years agoZero out the dynamic allocated content space. Add a comment to remind us that
Nick Clifton [Mon, 21 Aug 2000 23:42:56 +0000 (23:42 +0000)]
Zero out the dynamic allocated content space.  Add a comment to remind us that
one day this ought to be fixed.

24 years ago2000-08-21 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Mon, 21 Aug 2000 23:26:19 +0000 (23:26 +0000)]
2000-08-21  Jason Eckhardt  <jle@cygnus.com>
bfd:
* elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate
field with the newly relocated value instead of adding it to the
existing immediate field.
(elf32_i860_relocate_splitn): Likewise.
(elf32_i860_relocate_highadj): Likewise.

gas:
* config/tc-i860.c (md_apply_fix3): Do not insert the immediate
if the fixup resulted in a relocation.

24 years agoChanged email address of Ulrich Lauther
Nick Clifton [Mon, 21 Aug 2000 20:30:04 +0000 (20:30 +0000)]
Changed email address of Ulrich Lauther

24 years agoProtoization.
Kevin Buettner [Mon, 21 Aug 2000 17:30:58 +0000 (17:30 +0000)]
Protoization.

24 years ago* Contribute CGEN simulator build support code.
Frank Ch. Eigler [Mon, 21 Aug 2000 15:52:39 +0000 (15:52 +0000)]
* Contribute CGEN simulator build support code.
* Patch was posted by bje@redhat.com.

24 years ago * Makefile.in (ALL_MODULES): Add all-cgen.
Doug Evans [Sun, 20 Aug 2000 22:56:17 +0000 (22:56 +0000)]
* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.

24 years agoCheck arches->gdbarch and not current_gdbarch when looking for a match.
Andrew Cagney [Sat, 19 Aug 2000 05:32:23 +0000 (05:32 +0000)]
Check arches->gdbarch and not current_gdbarch when looking for a match.

24 years ago* MAINTAINERS: Add myself as dcache.c maintainer.
J.T. Conklin [Fri, 18 Aug 2000 22:52:23 +0000 (22:52 +0000)]
* MAINTAINERS: Add myself as dcache.c maintainer.

* remote-nindy.c (nindy_load): Invalidate dcache.

* dcache.c (dcache_invd): Renamed from dcache_flush.  The term
flush with respect to caches usually implies that data will be
written to memory.
(dcache_init, dcache_xfer_memory): Updated.
* monitor.c (flush_monitor_dcache, monitor_resume, monitor_load):
Updated.
* ocd.c (ocd_open, ocd_resume, bdm_reset_command): Updated.
* remote-bug.c (bug_load, bug_resume): Updated.
* remote-nindy.c (nindy_open, nindy_resume): Updated.
* remote-sds.c (sds_open, sds_resume): Updated.
* remote-utils.c (gr_open): Updated.
* remote.c (remote_open_1, remote_resume, remote_async_resume,
remote_cisco_open): Updated.
* wince.c (child_create_inferior, child_resume): Updated.

* monitor.c (monitor_open): Free dcache before creating a new one.
* dcache.c (dcache_free): New function.
* dcache.h (dcache_free): New prototype.
-------------------------------------------------------------------

24 years agoAdd dummy params where needed.
Andrew Cagney [Fri, 18 Aug 2000 22:02:43 +0000 (22:02 +0000)]
Add dummy params where needed.

24 years agoReplace as_tsktsk with as_warn.
Nick Clifton [Fri, 18 Aug 2000 19:27:30 +0000 (19:27 +0000)]
Replace as_tsktsk with as_warn.
Make reference to first element of shift_names explicit.

24 years ago* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
Alexandre Oliva [Fri, 18 Aug 2000 18:45:05 +0000 (18:45 +0000)]
* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
add a symbol's address.  Removed all target-specific #ifdefs that
used to accomplished the same.
* config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
* config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.

24 years ago2000-08-17 Christopher C. Chimelis <chris@debian.org>
H.J. Lu [Fri, 18 Aug 2000 01:58:12 +0000 (01:58 +0000)]
2000-08-17  Christopher C. Chimelis <chris@debian.org>

* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").

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

* dwarf2dbg.c: Fix formatting.

24 years agoMinor formatting changes
Nick Clifton [Thu, 17 Aug 2000 23:57:52 +0000 (23:57 +0000)]
Minor formatting changes

24 years agoAllow illegal shifts by zero to be recorded as logical shift lefts by zero.
Nick Clifton [Thu, 17 Aug 2000 23:46:43 +0000 (23:46 +0000)]
Allow illegal shifts by zero to be recorded as logical shift lefts by zero.

24 years agoCatch and warn about attempts to display debug information for version 1 aranges.
Nick Clifton [Thu, 17 Aug 2000 23:00:38 +0000 (23:00 +0000)]
Catch and warn about attempts to display debug information for version 1 aranges.

24 years ago* config-ml.in (CC, CXX): Don't introduce a leading space.
Alexandre Oliva [Thu, 17 Aug 2000 15:18:39 +0000 (15:18 +0000)]
* config-ml.in (CC, CXX): Don't introduce a leading space.

24 years agoFix 3 DV bugs, and a few minor cleanups.
Jim Wilson [Wed, 16 Aug 2000 23:20:15 +0000 (23:20 +0000)]
Fix 3 DV bugs, and a few minor cleanups.
gas/
* config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
postincrement modified registers.  Handle IA64_OPND_R3_2 addl
source registers.
(note_register_values): Handle IA64_OPND_R3_2 operands.
gas/testsuite/
* gas/ia64/dv-raw-err.s: Add new tests for addl and postinc.
* gas/ia64/dv-raw-err.l: Likewise.
* gas/ia64/dv-waw-err.l: Update sed pattern.
* gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
include/opcode/
* ia64.h (IA64_OPCODE_POSTINC): New.
opcodes/
* ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds.  Delete
break, mov-immediate, nop.
* ia64-opc-f.c: Delete fpsub instructions.
* ia64-opc-m.c: Add POSTINC to all instructions with postincrement
address operand.  Rewrite using macros to avoid long lines.
* ia64-opc.h (POSTINC): Define.
* ia64-asmtab.c: Regenerate.

24 years ago2000-08-16 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Wed, 16 Aug 2000 21:58:55 +0000 (21:58 +0000)]
2000-08-16  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860.c (elf32_i860_relocate_pc16): Implemented function (it
        was previously just a stub).

24 years ago2000-08-16 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Wed, 16 Aug 2000 21:34:45 +0000 (21:34 +0000)]
2000-08-16  Jason Eckhardt  <jle@cygnus.com>

        * config/tc-i860.c (md_operand): Silly typo fixed.

24 years agoTidy up decoding of shift based addressing modes.
Nick Clifton [Wed, 16 Aug 2000 19:02:00 +0000 (19:02 +0000)]
Tidy up decoding of shift based addressing modes.
Add extra tests for these addressing modes

24 years ago* configure.in (libstdcxx_flags): Use
Alexandre Oliva [Wed, 16 Aug 2000 18:37:42 +0000 (18:37 +0000)]
* configure.in (libstdcxx_flags): Use
libstdc++-v3/src/libstdc++.INC.

24 years ago* elflink.c (_bfd_elf_create_got_section): Don't abort().
Alexandre Oliva [Wed, 16 Aug 2000 18:02:16 +0000 (18:02 +0000)]
* elflink.c (_bfd_elf_create_got_section): Don't abort().
Formatting fixes.
(_bfd_elf_create_dynamic_sections): Likewise.

24 years ago * config/tc-sparc.c: Kill all warnings.
Jakub Jelinek [Wed, 16 Aug 2000 17:52:37 +0000 (17:52 +0000)]
* config/tc-sparc.c: Kill all warnings.
(md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
in -xarch= as well.
(md_show_usage): Update usage text.

24 years agoWarn abouyt "bx pc" not being very useful.
Nick Clifton [Wed, 16 Aug 2000 17:48:50 +0000 (17:48 +0000)]
Warn abouyt "bx pc" not being very useful.

24 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
Jakub Jelinek [Wed, 16 Aug 2000 17:42:21 +0000 (17:42 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Set relocation address
for undefined symbols to be the beginning of the section.

* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
four extra entries at the beginning of the .rela.plt section.
(sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
section to account for the four reserved entries in the .plt section.

24 years ago2000-08-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 16 Aug 2000 17:29:23 +0000 (17:29 +0000)]
2000-08-15  H.J. Lu  <hjl@gnu.org>

* i386.h: Swap the Intel syntax "movsx"/"movzx" due to the
IgnoreSize change.

24 years ago * value.h (struct value) <lazy>: Add a comment about its use for
Eli Zaretskii [Wed, 16 Aug 2000 08:03:43 +0000 (08:03 +0000)]
* value.h (struct value) <lazy>: Add a comment about its use for
        watchpoints.

24 years ago* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
Geoffrey Keating [Wed, 16 Aug 2000 00:34:19 +0000 (00:34 +0000)]
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Add ori r0,r0,0
to the list of NOPs we recognize after a branch-and-link.
Use the ori NOP when one is needed.

* coff-rs6000.c (_bfd_xcoff_slurp_armap): Finish implementation
for large archives.

24 years ago * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
Jeff Law [Tue, 15 Aug 2000 20:47:19 +0000 (20:47 +0000)]
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
* config/tc-sh.c (md_assemble): Changed so debug_type
test performed for ppi_assemble
* config/tc-sh.c: Included dwarf2dbg.h.
(debug_line): Defined.
(md_assemble): Generates dwarf2 line info.
(sh_finalize): New function.  Finalize dwarf2 info.
(assemble_ppi): Returns size of code generated.
(build_Mytes): Returns size of code generated.
(md_pseudo_table): Added "file" and "loc" psuedo ops.
* config/tc-sh.h (md_end): Defined.
(sh_finalize): Declared.

24 years agoFix file corrupted before initial checkin.
Jim Wilson [Tue, 15 Aug 2000 19:42:44 +0000 (19:42 +0000)]
Fix file corrupted before initial checkin.
* ia64-ic.tbl: Add missing entries.

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

* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.

24 years ago2000-08-15 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 15 Aug 2000 18:39:02 +0000 (18:39 +0000)]
2000-08-15  Dave Brolley  <brolley@redhat.com>

* sim-profile.h (PROFILE_DATA): Add cpu_freq.
(PROFILE_CPU_FREQ): New macro.
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
(profile-options): Add profile-cpu-frequency.
(parse_frequency): New function.
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
(profile_print_speed): Print cpu frequency and simulated execution time.
Re-indent other items to match.

24 years ago* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
Alexandre Oliva [Tue, 15 Aug 2000 16:04:37 +0000 (16:04 +0000)]
* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
md_number_to_chars.

24 years ago* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.
Alexandre Oliva [Tue, 15 Aug 2000 08:01:29 +0000 (08:01 +0000)]
* configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES.

24 years agoCompute write back value for post increment loads before
Nick Clifton [Tue, 15 Aug 2000 00:10:52 +0000 (00:10 +0000)]
Compute write back value for post increment loads before
performing the load in case the offset register is overwritten.

24 years agoAllow "bx pc" in ARM mode.
Nick Clifton [Mon, 14 Aug 2000 21:20:03 +0000 (21:20 +0000)]
Allow "bx pc" in ARM mode.

24 years ago * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
Diego Novillo [Mon, 14 Aug 2000 21:12:47 +0000 (21:12 +0000)]
* tc-i386.c (md_assemble): Skip suffix check if the opcode modifier
has the IgnoreSize bit set.

24 years agoAdd support for IA-64 specific elf header flags.
Jim Wilson [Mon, 14 Aug 2000 20:13:39 +0000 (20:13 +0000)]
Add support for IA-64 specific elf header flags.
bfd/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle
EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP.
(elf64_ia64_print_private_bfd_data): Likewise.  Also handle
EF_IA_64_ABSOLUTE.
gas/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
(md_parse_option):  Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
(md_begin): Change assignment to md.flag to OR in the new bit.
include/elf/
2000-08-14  Jim Wilson  <wilson@cygnus.com>
* elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP,
EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.

24 years agoSilently accept -d as an alias for -g for compatability with old BSD systems.
Nick Clifton [Mon, 14 Aug 2000 19:47:01 +0000 (19:47 +0000)]
Silently accept -d as an alias for -g for compatability with old BSD systems.

24 years agoSet the debug flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
Nick Clifton [Mon, 14 Aug 2000 19:41:40 +0000 (19:41 +0000)]
Set the debug flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
C_MOU, and C_EOS.

24 years ago2000-08-14 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Mon, 14 Aug 2000 18:50:13 +0000 (18:50 +0000)]
2000-08-14  Jason Eckhardt  <jle@cygnus.com>

        * NEWS: Mention i860 support.

24 years ago * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
Jeff Law [Mon, 14 Aug 2000 17:49:55 +0000 (17:49 +0000)]
    * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.

24 years ago* doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
Andreas Schwab [Mon, 14 Aug 2000 09:02:45 +0000 (09:02 +0000)]
* doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.

24 years ago* scripttempl/elf.sc: Fix last change to use correct comment
Andreas Schwab [Mon, 14 Aug 2000 08:59:40 +0000 (08:59 +0000)]
* scripttempl/elf.sc: Fix last change to use correct comment
syntax.

24 years agoProtoization.
Kevin Buettner [Sun, 13 Aug 2000 01:22:17 +0000 (01:22 +0000)]
Protoization.

24 years ago2000-08-11 Andreas Schwab <schwab@suse.de>
Jason Eckhardt [Sat, 12 Aug 2000 16:05:46 +0000 (16:05 +0000)]
2000-08-11  Andreas Schwab  <schwab@suse.de>

        * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
        argument.

24 years agoAdd formatted register info.
Andrew Cagney [Sat, 12 Aug 2000 03:28:42 +0000 (03:28 +0000)]
Add formatted register info.
Convert more of mn10300 to multi-arch.
Fix mips vs mn10300

24 years ago * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
Jason Merrill [Sat, 12 Aug 2000 00:49:39 +0000 (00:49 +0000)]
    * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

24 years ago2000-08-11 Carlo Wood <carlo@alinoe.com>
H.J. Lu [Sat, 12 Aug 2000 00:47:48 +0000 (00:47 +0000)]
2000-08-11  Carlo Wood <carlo@alinoe.com>

* addr2line.c (main): Add const to char *.

24 years ago* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
Mark Kettenis [Fri, 11 Aug 2000 19:45:21 +0000 (19:45 +0000)]
* i386-linux-nat.c [! HAVE_PTRACE_GETFPXREGS] (fetch_fpxregs,
store_fpxregs): Return 0.

24 years agoRestore GET_SAVED_REGISTERS
Andrew Cagney [Fri, 11 Aug 2000 19:09:55 +0000 (19:09 +0000)]
Restore GET_SAVED_REGISTERS

24 years agoUse address mapping levels for 68hc11 simulator (kill overlap hack)
Stephane Carrez [Fri, 11 Aug 2000 18:44:59 +0000 (18:44 +0000)]
Use address mapping levels for 68hc11 simulator (kill overlap hack)

24 years ago2000-08-11 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 11 Aug 2000 18:28:04 +0000 (18:28 +0000)]
2000-08-11  Kazu Hirata  <kazu@hxi.com>

* config/obj-bout.c: Fix formatting.

24 years ago* ar.c (main): Don't crash if called with no arguments
Geoffrey Keating [Fri, 11 Aug 2000 18:26:28 +0000 (18:26 +0000)]
* ar.c (main): Don't crash if called with no arguments
or only '-X32_64' as an argument.

24 years ago2000-08-11 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Fri, 11 Aug 2000 17:50:25 +0000 (17:50 +0000)]
2000-08-11  Kazu Hirata  <kazu@hxi.com>

* expr.c: Fix formatting.

24 years ago* dcache.c (dcache_info): Don't print cache state if last_cache
J.T. Conklin [Fri, 11 Aug 2000 14:47:38 +0000 (14:47 +0000)]
* dcache.c (dcache_info): Don't print cache state if last_cache
is NULL.

24 years ago* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
Alexandre Oliva [Fri, 11 Aug 2000 14:35:41 +0000 (14:35 +0000)]
* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.

24 years agoEnable multi-arch for the mn10300.
Andrew Cagney [Fri, 11 Aug 2000 07:54:49 +0000 (07:54 +0000)]
Enable multi-arch for the mn10300.

24 years agoAdapt support for SSE registers in Linux/x86 for Linux 2.4.
Mark Kettenis [Fri, 11 Aug 2000 04:51:00 +0000 (04:51 +0000)]
Adapt support for SSE registers in Linux/x86 for Linux 2.4.
* i386-linux-nat.c: Various doc fixes.  Include "i387-nat.h".
(GETFPXREGS_SUPPLIES): Renamed from GETXFPREGS_SUPPLIES.
(have_ptrace_getfpxregs): Renamed from have_ptrace_getxfpregs.
(convert_to_gregset): Removed.  Moved logic to ...
(fill_gregset): ... here.  Simplified function.
(fetch_regs): Use perror_with_name for error reporting.
(store_regs): Add `regno' parameter.  Use perror_with_name for
error reporting.  Call fill_gregset instead of convert_to_gregset.
(FPREG_ADDR): Remove.
(supply_fpregset): Implement by calling i387_supply_fsave.
(convert_to_fpregset): Remove.
(fill_fpregset): Implement by calling i387_fill_fsave.
(fetch_fpregs): Use perror_with_name fro error reporting.
(store_fpregs) Add `regno' parameter.  Use perror_with_name fro
error reporting.  Call fill_fpregset instead of
convert_to_fpregset.
(supply_xfpregset, convert_to_xfpregset): Removed.
(supply_fpxregset, fill_fpxregset): New functions.
(fetch_fpxregs): Renamed from fetch_xfpregs.  Use perror_with_name
for error reporting.  Call supply_fpxregset instead of
supply_xfpregset.
(store_xfpregs): Removed.
(store_fpxregs): New function.
(fetch_inferior_registers): Adjust for xfp -> fpx change.  Tweak
message in call to internal_error.
(store_inferior_registers): Adjust for xfp ->fpx change.  Pass
REGNO to store_regs, store_fpregs and store_fpxregs.
(fetch_core_registers): Adjust for xfp -> fpx change.
* acconfig.h (HAVE_PTRACE_GETFPXREGS): Renamed from
HAVE_PTRACE_GETXFPREGS.
* config.in: Regenerated.
* configure.in: Replace check for PTRACE_GETXFPREGS with check for
PTRACE_GETFPXREGS.  Remove comment about Cygnus SSE extensions.
* configure: Regenerated.
* config/i386/linux.mh (NATDEPFILES): Add i387-nat.o.
* config/i386/tm-linux.h: Base definition of HAVE_SSE_REGS on
HAVE_PTRACE_GETFPXREGS instead of HAVE_PTRACE_GETXFPREGS.

24 years ago * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
Andrew Cagney [Fri, 11 Aug 2000 03:19:22 +0000 (03:19 +0000)]
    * regcache.c (TARGET_WRITE_PC, TARGET_READ_PC, TARGET_READ_FP,
        TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP): Move
        initialization from here.
        * gdbarch.sh: To here.
        * gdbarch.h, gdbarch.c: Regenerate.

24 years agoMove TARGET_*_PTR to gdbarch.h.
Andrew Cagney [Fri, 11 Aug 2000 02:55:38 +0000 (02:55 +0000)]
Move TARGET_*_PTR to gdbarch.h.

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

* compile.c (decode): Clean up the code.

24 years agoEliminate redundant pst test.
Andrew Cagney [Fri, 11 Aug 2000 01:47:47 +0000 (01:47 +0000)]
Eliminate redundant pst test.

24 years agoRename gdbarch_update() to gdbarch_update_p()
Andrew Cagney [Fri, 11 Aug 2000 01:30:11 +0000 (01:30 +0000)]
Rename gdbarch_update() to gdbarch_update_p()

24 years ago2000-08-10 Jimmy Guo <guo@cup.hp.com>
Jimmy Guo [Fri, 11 Aug 2000 01:02:35 +0000 (01:02 +0000)]
2000-08-10 Jimmy Guo <guo@cup.hp.com>

* c-lang.c: Set case sensitivity on for c_language_defn,
cplus_language_defn, and asm_language_defn.
* ch-lang.c: Set case sensitivity on for chill_language_defn.
* f-lang.c: Set case sensivitity off for f_language_defn.
* jv-lang.c: Set case sensitivity on for java_language_defn.
* language.h: Add enum case_mode, case_sensitivity.
* language.c: Define case_mode, case_sensitivity.  Set case
sensitivity on for unknown_language_defn, auto_language_defn,
and local_language_defn.
(show_case_command,set_case_command,set_case_str): New static func.
(set_type_range_case): New static func, replaces set_type_range ().
(set_language_command,set_type_command,set_range_command,set_language):
Call set_type_range_case ().
(language_info): Print case sensitivity setting.
(_initialize_language): Add set/show commands for 'case-sensitive'.
Set default case mode 'auto'.  Set default language 'auto'.
* m2-lang.c: Set case sensitivity on for m2_language_defn.
* p-lang.c: Set case sensitivity on for pascal_language_defn.
* scm-lang.c: Set case sensitivity off for scm_language_defn.
* symtab.c (lookup_symbol): Downcase symbol name if case sensivitity
is off.

24 years agoEliminate use of MIN().
Andrew Cagney [Fri, 11 Aug 2000 00:48:51 +0000 (00:48 +0000)]
Eliminate use of MIN().

24 years agoUpdate my contact email for hp tests maintainership.
Jimmy Guo [Fri, 11 Aug 2000 00:25:19 +0000 (00:25 +0000)]
Update my contact email for hp tests maintainership.

24 years ago * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
Andrew Cagney [Thu, 10 Aug 2000 23:53:45 +0000 (23:53 +0000)]
    * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
        arguments to fetch_instruction.

24 years ago* scripttempl/elf.sc: Add a comment giving the correspondence
Geoffrey Keating [Thu, 10 Aug 2000 23:43:57 +0000 (23:43 +0000)]
* scripttempl/elf.sc: Add a comment giving the correspondence
between sections, per-datum sections, and linkonce sections.  Make
the comment true even for .bss, .sdata, .sdata2, .sbss, and
.sbss2.

24 years ago2000-08-10 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Thu, 10 Aug 2000 23:23:23 +0000 (23:23 +0000)]
2000-08-10  Jason Eckhardt  <jle@cygnus.com>

        * doc/c-i860.texi: Flesh out the i860 section more.

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

* expr.c: Fix formatting.

24 years ago2000-08-10 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Thu, 10 Aug 2000 21:37:46 +0000 (21:37 +0000)]
2000-08-10  Kazu Hirata  <kazu@hxi.com>

* gdba.el: Fix a typo.

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

* hppa_tdep.c: Fix a comment typo.

24 years ago2000-08-10 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Thu, 10 Aug 2000 21:09:42 +0000 (21:09 +0000)]
2000-08-10  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860.c (elf32_i860_relocate_section): New function.
        (i860_final_link_relocate): New function.
        (elf32_i860_relocate_splitn): New function.
        (elf32_i860_relocate_pc16): New function.
        (elf32_i860_relocate_highadj): New function.
        (elf32_i860_howto): Minor adjustments to some relocations.
        (elf_info_to_howto_rel): Define.
        (elf_backend_relocate_section): Define.

24 years ago2000-08-10 Jason Eckhardt <jle@cygnus.com>
Jason Eckhardt [Thu, 10 Aug 2000 20:40:39 +0000 (20:40 +0000)]
2000-08-10  Jason Eckhardt  <jle@cygnus.com>

        * emulparams/elf32_i860.sh: New file.
        * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
        * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
        (eelf32_i860.c): New rule.
        * Makefile.in: Regenerate.

24 years agoFix formatting
Nick Clifton [Thu, 10 Aug 2000 19:41:07 +0000 (19:41 +0000)]
Fix formatting

24 years agoAdd defintion of ENTRY
Nick Clifton [Thu, 10 Aug 2000 19:07:26 +0000 (19:07 +0000)]
Add defintion of ENTRY

24 years ago * MAINTAINERS: Added myself with write-after-approval access.
Tom Tromey [Thu, 10 Aug 2000 19:02:06 +0000 (19:02 +0000)]
* MAINTAINERS: Added myself with write-after-approval access.

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

* symbols.c: Fix formatting.

24 years ago* monitor.c (monitor_open): If a dcache has already been created,
J.T. Conklin [Thu, 10 Aug 2000 18:54:27 +0000 (18:54 +0000)]
* monitor.c (monitor_open): If a dcache has already been created,
invalidate it rather than creating another.
* ocd.c (ocd_open): Likewise.
* remote-nindy.c (nindy_open): Likewise.
* remote-sds.c (sds_open): Likewise.
* remote-utils.c (gr_open): Likewise.
* remote.c (remote_open_1, remote_cisco_open): Likewise.

* dcache.c (dcache_alloc): Changed to take address of line as an
argument, and to invalidate cache line before returning.
(dcache_peek_byte): Updated.
(dcache_poke_byte): Updated.
-------------------------------------------------------------------

24 years ago2000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 10 Aug 2000 18:26:56 +0000 (18:26 +0000)]
2000-08-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Greg McGary <greg@mcgary.org>:
* partial-stab.h: Don't crash if pst is null.