binutils-gdb.git
26 years agoMon Mar 30 11:22:08 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 30 Mar 1998 16:24:28 +0000 (16:24 +0000)]
Mon Mar 30 11:22:08 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.h (FWait): Define.
* config/tc-i386.c (md_assemble): Emit fwait prefix before any
other prefixes.  Check FWait flag in opcode table to see which
instructions require an fwait prefix.

26 years agocomment fix
Ian Lance Taylor [Mon, 30 Mar 1998 16:02:18 +0000 (16:02 +0000)]
comment fix

26 years ago * elf.c (_bfd_elf_copy_private_section_data): Call
Ian Lance Taylor [Mon, 30 Mar 1998 15:54:24 +0000 (15:54 +0000)]
* elf.c (_bfd_elf_copy_private_section_data): Call
copy_private_bfd_data once we've seen the last SEC_ALLOC section.
Fixes strip on Irix 6.  Without this, a stripped program would report

22964:g++: rld: Warning: This object has a DT_MIPS_OPTIONS tag, but no corresponding
program header.  This could be the result of file corruption
or faulty compilation/linking.

26 years ago * cpu-mips.c: Remove trailing comma at end of enumeration list.
Ian Lance Taylor [Mon, 30 Mar 1998 15:40:04 +0000 (15:40 +0000)]
* cpu-mips.c: Remove trailing comma at end of enumeration list.

26 years agoMon Mar 30 10:25:54 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Mon, 30 Mar 1998 15:29:49 +0000 (15:29 +0000)]
Mon Mar 30 10:25:54 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* i386.h (i386_optab): Change second operand constraint of `mov
sreg,reg|mem' instruction from Reg16|Mem to WordReg|WordMem to
allow legal instructions such as `movl %gs,%esi'

26 years agoMon Mar 30 10:12:00 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 30 Mar 1998 15:13:33 +0000 (15:13 +0000)]
Mon Mar 30 10:12:00 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* stabs.c (get_stab_string_offset): Always create a stab string
section.

26 years ago* run.c (main): Handle all alternatives of enum sim_stop.
Andrew Cagney [Mon, 30 Mar 1998 13:30:10 +0000 (13:30 +0000)]
* run.c (main): Handle all alternatives of enum sim_stop.
(main): Delete unused `asection *s'.

26 years ago * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
Keith Seitz [Mon, 30 Mar 1998 05:18:29 +0000 (05:18 +0000)]
    * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
        (tracepoint_exists): Remove code which confuses assembly traces.

26 years ago * tracepoint.c (trace_start_command): Set trace_running_p.
Keith Seitz [Sun, 29 Mar 1998 23:20:18 +0000 (23:20 +0000)]
    * tracepoint.c (trace_start_command): Set trace_running_p.
        (trace_stop_command): Clear trace_running_p.

26 years ago* Oops, added #ifdef TARGET_SKY around R5900 COP2 implementation skeleton.
Frank Ch. Eigler [Sun, 29 Mar 1998 22:53:31 +0000 (22:53 +0000)]
* Oops, added #ifdef TARGET_SKY around R5900 COP2 implementation skeleton.

26 years ago Fix some gcc -Wall warnings:
Ian Lance Taylor [Sun, 29 Mar 1998 04:15:29 +0000 (04:15 +0000)]
Fix some gcc -Wall warnings:
* cg_arcs.c (num_cycles): Change to unsigned int.
(numarcs): Likewise.
(arc_add): Change maxarcs to unsigned int.
(cg_assemble): Change index to unsigned int.
* cg_arcs.h (num_cycles, numarcs): Update declarations.
* cg_print.c (cg_print): Change index to unsigned int.
(cg_print_index): Change index, nnames, todo, i, and j to unsigned
int.
(cg_print_file_ordering): Change symbol_count and index2 to
unsigned int.
* core.c (symbol_map_count): Change to unsigned int.
(core_create_function_syms): Change j to unsigned int.
(core_create_line_syms): Add cast to avoid warning.
* hist.c (hist_assign_samples): Change j to unsigned int.
(hist_print): Change index to unsigned i nt.  Add cast to avoid
warning.
* sym_ids.c (parse_spec): Add casts to avoid warning.
* symtab.c (symtab_finalize): Change j to unsigned int.
(sym_lookup): Update printf format strings.
* symtab.h (Sym_Table): Change len to unsigned int.
* tahoe.c (tahoe_reladdr): Add casts to avoid warnings.

26 years agoFix gcc -Wall warnings. See ChangeLog for details.
Ian Lance Taylor [Sun, 29 Mar 1998 03:45:46 +0000 (03:45 +0000)]
Fix gcc -Wall warnings.  See ChangeLog for details.

26 years ago * NEWS: Update for 4.17 release.
Stan Shebs [Sat, 28 Mar 1998 23:24:18 +0000 (23:24 +0000)]
* NEWS: Update for 4.17 release.

26 years ago Fix some gcc -Wall warnings:
Ian Lance Taylor [Sat, 28 Mar 1998 22:45:56 +0000 (22:45 +0000)]
Fix some gcc -Wall warnings:
* nlmconv.c (main): Add casts to avoid warnings.
(alpha_mangle_relocs): Likewise.
* objdump.c (dump_section_stabs): Likewise.
* size.c (print_sysv_format): Likewise.
* srcconv.c (wr_ob): Likewise.
* wrstabs.c (stab_modify_type): Likewise.
(stab_variable): Likewise.
* nlmconv.c (main): Initialize variables to avoid warnings.
* nm.c (sort_symbols_by_size): Likewise.
* objdump.c (disassemble_bytes): Likewise.
* wrstabs.c (stab_end_class_type): Likewise.
* coffgrok.c (do_sections_p2): Change j to unsigned int.
(do_lines): Change l to unsigned int.
* nlmheader.y (yylex): Change i to unsigned int.
* nm.c (print_symbol): Change j to long.
* size.c (lprint_number): Comment out.
* srconv.c (wr_ob): Change i to bfd_size_type.
* sysdump.c (unit_info_list): Comment out.
(object_body_list, program_structure, debug_list): Likewise.
* sysinfo.y (yyerror): Return value.

26 years ago * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
Ian Lance Taylor [Sat, 28 Mar 1998 22:17:43 +0000 (22:17 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Remove tmpdir.
(mostlyclean-local): New target to remove tmpdir.
* Makefile.in: Rebuild.

26 years ago Fix some gcc -Wall warnings:
Ian Lance Taylor [Sat, 28 Mar 1998 21:54:33 +0000 (21:54 +0000)]
Fix some gcc -Wall warnings:
* ldcref.c (output_cref): Add casts to avoid warnings.
* ldfile.c (ldfile_add_arch): Likewise.
* ldlang.c (lang_leave_overlay_section): Likewise.
* lexsup.c (OPTION_COUNT): Likewise.
(parse_args): Likewise.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan):
Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Likewise.
* ldlang.c (lang_check): Initialize variables to avoid warnings.
* ldwrite.c (build_link_order): Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Likewise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_before_allocation):
Remove unused variables.

26 years ago * Makefile.am (MOSTLYCLEANFILES): Correct name (was
Ian Lance Taylor [Sat, 28 Mar 1998 21:54:11 +0000 (21:54 +0000)]
* Makefile.am (MOSTLYCLEANFILES): Correct name (was
MOSTCLEANFILES).
* Makefile.in: Rebuild.

26 years ago * coff-arm.c: Define all globally visible variables and functions
Ian Lance Taylor [Sat, 28 Mar 1998 21:34:25 +0000 (21:34 +0000)]
* coff-arm.c: Define all globally visible variables and functions
only when COFF_WITH_PE is not defined.
* configure.in (armpe_little_vec, armpe_big_vec): Add
coff-arm.lo.
* configure: Rebuild.

26 years ago * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
Keith Seitz [Sat, 28 Mar 1998 20:16:06 +0000 (20:16 +0000)]
    * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
        should not be called.

26 years ago* Updated test cases to confirm PKE behavior according to new SCEI specs.
Frank Ch. Eigler [Sat, 28 Mar 1998 00:36:59 +0000 (00:36 +0000)]
* Updated test cases to confirm PKE behavior according to new SCEI specs.

26 years ago* Modified sky PKE behavior according to new SCEI specs.
Frank Ch. Eigler [Sat, 28 Mar 1998 00:35:43 +0000 (00:35 +0000)]
* Modified sky PKE behavior according to new SCEI specs.

26 years ago * aclocal.m4, configure: Rebuilt with new cygettext.m4.
Tom Tromey [Fri, 27 Mar 1998 23:38:52 +0000 (23:38 +0000)]
* aclocal.m4, configure: Rebuilt with new cygettext.m4.

26 years ago * h8300.h: Various changes to fully bracket initializers.
Ian Lance Taylor [Fri, 27 Mar 1998 23:32:07 +0000 (23:32 +0000)]
* h8300.h: Various changes to fully bracket initializers.

26 years agoFix gcc -Wall warnings. See ChangeLog for details.
Ian Lance Taylor [Fri, 27 Mar 1998 23:29:46 +0000 (23:29 +0000)]
Fix gcc -Wall warnings.  See ChangeLog for details.

26 years ago* Inserted skeleton of R5900 COP2 simulation. Merged old vu[01].[ch] code
Frank Ch. Eigler [Fri, 27 Mar 1998 22:00:56 +0000 (22:00 +0000)]
* Inserted skeleton of R5900 COP2 simulation.  Merged old vu[01].[ch] code
  into single PKE-style vu.[ch].

[ChangeLog]

Fri Mar 27 16:19:29 1998  Frank Ch. Eigler  <fche@cygnus.com>

start-sanitize-sky
* Makefile.in (SIM_SKY_OBJS): Replaced sky-vu[01].o with sky-vu.o.

* interp.c (sim_{load,store}_register): Use new vu[01]_device
  static to access VU registers.
(decode_coproc): Added skeleton of sky COP2 (VU) instruction
  decoding.  Work in progress.

* mips.igen (LDCzz, SDCzz): Removed *5900 case for this
  overlapping/redundant bit pattern.
(LQC2, SQC2): Added *5900 COP2 instruction skeleta.  Work in
progress.

* sim-main.h (status_CU[012]): Added COP[n]-enabled flags for
  status register.

end-sanitize-sky

* interp.c (cop_lq, cop_sq): New functions for future 128-bit
  access to coprocessor registers.

* sim-main.h (COP_LQ, COP_SQ): New macro front-ends for above.

[ChangeLog.sky]

* sky-engine.c (engine_run): Adapted from vu[01] -> vu merge.

* sky-hardware.c (register_devices): Ditto

* sky-pke.c (pke_fifo_*): Made these functions private again, now
  that the GPUIF code does not use them.

* sky-pke.h (pke_fifo_*): Removed newly private declarations.

* sky-vu.c (*): Major rework: merge of old sky-vu0.c and
  sky-vu1.c.  Management of two VU devices parallels two PKEs.
Work in progress.

* sky-vu.h (*): Other half of merge.
(vu_device): New struct, parallel to pke_device.

26 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
Ian Lance Taylor [Fri, 27 Mar 1998 21:40:06 +0000 (21:40 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_before_allocation): Put
ARM code inside ifdef TARGET_IS_armpe.

26 years agoFix gcc -Wall warnings. See ChangeLog for details.
Ian Lance Taylor [Fri, 27 Mar 1998 21:30:53 +0000 (21:30 +0000)]
Fix gcc -Wall warnings.  See ChangeLog for details.

26 years agosky-gs.c: initial drop of GS control registers (outstanding questions)
Patrick Macdonald [Fri, 27 Mar 1998 18:36:33 +0000 (18:36 +0000)]
sky-gs.c: initial drop of GS control registers (outstanding questions)
sky-gs.h: initial drop of GS control registers
Makefile.in: added sky-gs.o to sanitized list
sky-gpuif.c (gif_io_write_buffer): correct memset length error, renamed
trace file for gif

26 years ago * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
Ian Lance Taylor [Fri, 27 Mar 1998 17:48:28 +0000 (17:48 +0000)]
* config/tc-m68k.c (m68k_ip): Check legal addressing modes for
  mcf5200 just as we do for m68000.
(m68k_init_after_args): Likewise.
(md_estimate_size_before_relax): Likewise.

26 years ago * sky-vu.c: new file to read/write VU registers
Ron Unrau [Fri, 27 Mar 1998 14:44:39 +0000 (14:44 +0000)]
* sky-vu.c: new file to read/write VU registers
        * Makefile.in .Sanitize: add sky-vu.c
* sky-vu.h: define registers as enum, export read/write routines
        * sky-vu[01].[ch]: use register read/write routines in sky-vu.c
        * interp.c: use register read/write routines in sky-vu.c

26 years agoDo top level sim-hw module for device tree.
Andrew Cagney [Fri, 27 Mar 1998 11:42:16 +0000 (11:42 +0000)]
Do top level sim-hw module for device tree.
Add to aclocal.m4, update all configure files.

26 years agoClean up m32rx sanitization
Andrew Cagney [Fri, 27 Mar 1998 11:33:16 +0000 (11:33 +0000)]
Clean up m32rx sanitization

26 years ago * Makefile.in (all-gettext, all-intl): New targets.
Tom Tromey [Fri, 27 Mar 1998 07:37:59 +0000 (07:37 +0000)]
* Makefile.in (all-gettext, all-intl): New targets.
(ALL_MODULES): Added all-gettext, all-intl.
(CROSS_CHECK_MODULES): Added check-gettext, check-intl.
(INSTALL_MODULES): Added install-gettext, install-intl.
(CLEAN_MODULES): Added clean-gettext, clean-intl.

* configure.in (host_tools): Added gettext.
(native_only): Likewise.
(noconfigdirs) [various cases]: Likewise.
(host_libs): Added intl.

26 years ago * mips-opc.c: Add "sync.l" and "sync.p".
Jeff Law [Fri, 27 Mar 1998 07:01:51 +0000 (07:01 +0000)]
    * mips-opc.c: Add "sync.l" and "sync.p".
pr15204

26 years agoDefine CPU_INDEX. Initialize.
Andrew Cagney [Fri, 27 Mar 1998 04:25:45 +0000 (04:25 +0000)]
Define CPU_INDEX.  Initialize.
For mips_options, iterate over MAX_NR_PROCESSORS when setting options.

26 years agoThu Mar 26 23:07:18 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 27 Mar 1998 04:10:05 +0000 (04:10 +0000)]
Thu Mar 26 23:07:18 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (md_assemble): Swap template arguments to
CONSISTENT_REGISTER_MATCH macro in reverse direction test.
This macro is currently symmetric, so passing them the wrong
way didn't cause any problem, but may if the macro is changed
in the future.
After copying template to i.tm, use i.tm. rather than t-> to
access fields, and make t a const*
Move i.tm.operand_types[] swap to immediately after the copy.

26 years agoThu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Fri, 27 Mar 1998 03:36:27 +0000 (03:36 +0000)]
Thu Mar 26 22:29:28 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbtk.c: (gdb_trace_status) new function.
        (gdbtk_init) added command "gdb_is_tracing".
        (tracepoint_notify) added passcount information.

        * tracepoint.c (trace_status_command): Recognize a boolean return
        value from the stub to indicate whether trace experiment is
        running.  Export this value as a global state variable
        (trace_running_p) for use by the GUI. (from Michael Snyder)
        (trace_pass_command) added call to modify_tracepoint_hook.

        * tracepoint.h export trace_running_p

26 years agoAdd sanitize-am30 markers. Keep details of AM30 implementation of
Andrew Cagney [Fri, 27 Mar 1998 03:10:53 +0000 (03:10 +0000)]
Add sanitize-am30 markers.  Keep details of AM30 implementation of
mn10300 out of the public eye.
Do something with top-level cgen directory.

26 years ago* defparse.y (explist): Allow epsilon.
Richard Henderson [Fri, 27 Mar 1998 01:08:40 +0000 (01:08 +0000)]
* defparse.y (explist): Allow epsilon.
Suggestion from Jonathan-Harris@psion.com.

26 years ago * coffgrok.c (do_sections_p1): Use the section's lma instead of vma
Richard Henderson [Fri, 27 Mar 1998 01:05:06 +0000 (01:05 +0000)]
* coffgrok.c (do_sections_p1): Use the section's lma instead of vma
for the benefit of prom loaders.

pr 14947

26 years ago * configure: Do not disable building gdbtk for cygwin32 hosts.
Keith Seitz [Fri, 27 Mar 1998 00:36:12 +0000 (00:36 +0000)]
    * configure: Do not disable building gdbtk for cygwin32 hosts.

26 years ago * config/tc-dvp.c (s_endunpack): Round up to word boundary after
Doug Evans [Thu, 26 Mar 1998 21:34:03 +0000 (21:34 +0000)]
* config/tc-dvp.c (s_endunpack): Round up to word boundary after
we've computed the data length.

26 years agoThu Mar 26 12:00:35 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Thu, 26 Mar 1998 20:24:19 +0000 (20:24 +0000)]
Thu Mar 26 12:00:35 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdbtk_fputs): Insert fencepost.
(gdb_loc): Correct pc calculation.
(gdb_immediate_command): Return if a load is in progress.
(gdb_cmd): Return if a load is in progress.
(target_stop_wrapper): New function.
(gdb_stop): Call target_stop_wrapper.
(x_event): Add fencepost and optimize load cancel check.
(gdbtk_start_timer): Set up structs only once.
(gdbtk_stop_timer): Just use preset structs to set timer parameters.
(gdb_loadfile): If file cannot be loaded, return error message.
(gdb_loadfile): Add space before tab so that lines without
a '-' can later be changed to have one.

26 years agoRemove (most of the) target dependent code from peicode.h
Nick Clifton [Thu, 26 Mar 1998 18:16:23 +0000 (18:16 +0000)]
Remove (most of the) target dependent code from peicode.h

26 years agochangelog entry for yesterday's tc-dvp.[ch] changes
Doug Evans [Thu, 26 Mar 1998 17:59:21 +0000 (17:59 +0000)]
changelog entry for yesterday's tc-dvp.[ch] changes

26 years agofix tipo in ifdef
Ian Lance Taylor [Thu, 26 Mar 1998 16:00:26 +0000 (16:00 +0000)]
fix tipo in ifdef

26 years ago* dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of succeeding
Andrew Cagney [Thu, 26 Mar 1998 14:00:18 +0000 (14:00 +0000)]
* dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of succeeding
interrupts, clear pending_handler when the handler isn't re-scheduled.

26 years ago * Makefile.in (tmp-igen): Prefix all usage of move-if-change
Stu Grossman [Thu, 26 Mar 1998 10:18:35 +0000 (10:18 +0000)]
* Makefile.in (tmp-igen):  Prefix all usage of move-if-change
script with $(SHELL) to make NT native builds happy.
* configure:  Regenerate because of change to ../common/aclocal.m4.

26 years agoThu Mar 26 01:54:25 1998 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 26 Mar 1998 09:57:28 +0000 (09:57 +0000)]
Thu Mar 26 01:54:25 1998  Geoffrey Noer  <noer@cygnus.com>

        * mh-cygwin32: stop configuring and building dosrel.

26 years ago* configure.in: Make --enable-sim-common the default.
Andrew Cagney [Thu, 26 Mar 1998 01:13:38 +0000 (01:13 +0000)]
* configure.in: Make --enable-sim-common the default.
* configure: Re-generate.
* sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
address into Sate.regs[REG_PC] instead of common struct.

26 years agoAdd interworking support for arm-pe/thumb-pe targets.
Nick Clifton [Thu, 26 Mar 1998 00:00:54 +0000 (00:00 +0000)]
Add interworking support for arm-pe/thumb-pe targets.

26 years agoSupport interworking for thumb-pe and arm-pe targets.
Nick Clifton [Wed, 25 Mar 1998 23:48:55 +0000 (23:48 +0000)]
Support interworking for thumb-pe and arm-pe targets.

26 years ago* dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was 0x2f
Andrew Cagney [Wed, 25 Mar 1998 23:48:14 +0000 (23:48 +0000)]
* dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was 0x2f
needs to be 0x3f.

26 years ago * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
Joyce Janczyn [Wed, 25 Mar 1998 22:43:19 +0000 (22:43 +0000)]
  * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.

26 years ago* hw-tree.c (hw_tree_find_property): Return NULL when device is not found.
Andrew Cagney [Wed, 25 Mar 1998 22:37:33 +0000 (22:37 +0000)]
* hw-tree.c (hw_tree_find_property): Return NULL when device is not found.
(hw_tree_find_*_property): Clean up error message when property is not found.
* dv-pal.c (hw_pal_io_read_buffer): Check the smp property is present before
looking for it.

26 years ago * config/tc-dvp.h (md_estimate_size_before_relax): Delete.
Doug Evans [Wed, 25 Mar 1998 22:31:13 +0000 (22:31 +0000)]
* config/tc-dvp.h (md_estimate_size_before_relax): Delete.
(md_convert_frag): Delete.
(TC_FIX_TYPE): New fields wl,cl,user_value;
* config/tc-dvp.c (insert_mpg_marker): New argument ignore.
All callers updated.
(insert_unpack_marker): New function.
(insert_file): New argument insert_marker_arg.  All callers updated.
(gif_user_value): New static local.
(vif_data_start,vif_data_end): New static locals.
(mpgloc_sym,unpackloc_sym): New static locals.
(cur_varlen_frag,cur_varlen_insn,cur_varlen_value): Delete.
(cur_opcode,cur_operand): New static locals.
(endmpg_caller): New enum.
(md_pseudo_table): Pass ENDMPG_USER to s_endmpg.
(md_begin): Initialize mpgloc_sym, unpackloc_sym.
(dvp_fixup): New members user_value,wl,cl;
(assemble_vif): Rewrite.
(assemble_gif): Tweak name of data start label.
(assemble_one_insn): Allow special parser to punt and call the
normal expression parser.  Set cur_opcode,cur_operand for md_operand.
(md_operand): Handle '*' value for mpgloc,unpackloc.
(md_estimate_size_before_relax): New function.
(dvp_relax_frag,md_convert_frag): New functions.
(md_pcrel_from_section): Handle end data label for variable length
vif insns.
(md_apply_fix3): Handle count field for variable length vif insns.
Handle address field for mpg,unpack.
(eval_expr): Initialize user_value,wl,cl fields of the fixup.
(cur_vif_insn_length): Delete.
(vif_length_value): New function.
(install_vif_length): Don't perform logical->physical conversion here.
(s_enddirect,s_endmpg,s_endunpack): Rewrite.

26 years ago * gas/dvp/vif-1.d: Update.
Doug Evans [Wed, 25 Mar 1998 22:30:01 +0000 (22:30 +0000)]
* gas/dvp/vif-1.d: Update.

26 years ago * configure.in: Build config.h from config.in.
Tom Tromey [Wed, 25 Mar 1998 22:20:46 +0000 (22:20 +0000)]
* configure.in: Build config.h from config.in.
* config.h.in: Removed.
* config.in: New file.

26 years ago * config.h.in: New file.
Tom Tromey [Wed, 25 Mar 1998 22:09:09 +0000 (22:09 +0000)]
* config.h.in: New file.

26 years ago * configure.in, configure, acconfig.h, aclocal.m4: New files.
Tom Tromey [Wed, 25 Mar 1998 22:05:40 +0000 (22:05 +0000)]
    * configure.in, configure, acconfig.h, aclocal.m4: New files.
        * Makefile.in (OBJECTS): Depend on config.h, not ../config.h.
        (Makefile): Rebuild Makefile here, not in `..'.

26 years ago * expr.h (expr_build_uconstant): Add prototype.
Doug Evans [Wed, 25 Mar 1998 22:03:19 +0000 (22:03 +0000)]
* expr.h (expr_build_uconstant): Add prototype.
(expr_build_unary,expr_build_binary): Add prototypes.
* expr.c (expr_build_uconstant): New function.
(expr_build_unary,expr_build_binary): New functions.

26 years ago* Added HAVE_FPU_CONTROL_H and HAVE___SETFPUCW to fix non-linux builds.
Ian Carmichael [Wed, 25 Mar 1998 21:54:06 +0000 (21:54 +0000)]
* Added HAVE_FPU_CONTROL_H and HAVE___SETFPUCW to fix non-linux builds.

26 years ago * dvp-dis.c (print_insn): Print unpack address in hex.
Doug Evans [Wed, 25 Mar 1998 21:43:02 +0000 (21:43 +0000)]
* dvp-dis.c (print_insn): Print unpack address in hex.
* dvp-opc.c (parse_vif_mpgloc): Renamed from parse_vif_mpgloc_star.
Don't skip over '*', just record it.
(insert_vif_mpgloc): Don't update state_vif_mpgloc if '*' value.
(parse_vif_unpackloc): Renamed from parse_vif_unpackloc_star.
Don't skip over '*', just record it.
(insert_vif_unpackloc): Don't update state_vif_unpackloc if '*' value.
(vif_operands): Delete VIF_MPGLOC_STAR,VIF_UNPACKLOC_STAR entries.
(vif_opcodes): Likewise.
(state_vif_{mpg,unpack}loc_star_p): New static locals.
(vif_macros,vif_macro_count): New globals.
(vif_unpack_len_value): New arguments wl,cl.  All callers updated.
(vif_set_{mpg,unpack}loc): Delete.  All callers updated.
(vif_get_wl_cl): New function.
(dvp_opcode_init_parse): Init mpgloc,unpackloc state.

26 years ago * dvp.h (DVP_OPERAND_UNPACK_ADDRESS): New macro.
Doug Evans [Wed, 25 Mar 1998 21:26:38 +0000 (21:26 +0000)]
* dvp.h (DVP_OPERAND_UNPACK_ADDRESS): New macro.
(vif_unpack_len_value): Update prototype.
(vif_get_var_data,vif_get_wl_cl): Add prototypes.

26 years agoWed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 25 Mar 1998 20:41:31 +0000 (20:41 +0000)]
Wed Mar 25 14:32:48 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* m68k-dis.c (print_insn_m68k): Use info->mach to select the
default m68k variant to recognize.

26 years ago * aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than
Ian Lance Taylor [Wed, 25 Mar 1998 20:21:20 +0000 (20:21 +0000)]
* aoutf1.h (sunos_set_arch_mach): Use bfd_mach_m68* rather than
plain numbers.
(sunos_write_object_contents): Likewise.
* aoutx.h (NAME(aout,machine_type)): Likewise.
* coffcode.h (coff_set_arch_mach_hook): Likewise.

26 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Tom Tromey [Wed, 25 Mar 1998 20:15:06 +0000 (20:15 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

26 years agoImported intl subdir from GNU gettext 0.10.32
Tom Tromey [Wed, 25 Mar 1998 20:15:06 +0000 (20:15 +0000)]
Imported intl subdir from GNU gettext 0.10.32

26 years agoInitial revision
Tom Tromey [Wed, 25 Mar 1998 20:15:05 +0000 (20:15 +0000)]
Initial revision

26 years agoWed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 25 Mar 1998 20:12:49 +0000 (20:12 +0000)]
Wed Mar 25 13:59:24 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* archures.c (bfd_mach_m68*): Add definitions for various m68k
variants.
(bfd_default_scan): Remove m68k special cases.
* bfd-in2.h: Rebuild.
* mipsbsd.c (MY(write_object_contents)): Use bfd_mach_m680*
instead of plain numbers.
* sparclynx.c (NAME(lynx,set_arch_mach)): Likewise.
* cpu-m68k.c (arch_info_struct): Likewise.  Add entry for
m68k:68000.
(bfd_m68k_arch): Set mach field to zero to signal no explicit
selection, change printable_name to just "m68k" and make that the
default instead of m68k:68020.

26 years agoMy mistake, add libg++ and librx to lose_these_too so that Sanitize knows
Jason Molenda [Wed, 25 Mar 1998 19:52:20 +0000 (19:52 +0000)]
My mistake, add libg++ and librx to lose_these_too so that Sanitize knows
what to do with them if it sees them.

26 years agoWed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 25 Mar 1998 19:49:40 +0000 (19:49 +0000)]
Wed Mar 25 13:59:24 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* aout-tic30.c (NAME): Define this to avoid multiple definitions
from aoutx.h.
(MY_get_section_contents): Define as aout_32_get_section_contents
rather than NAME(aout,get_section_contents).

* elf-m10300.c (elf32_mn10300_link_hash_table_create): Fix cast.

Wed Mar 25 11:19:28 1998  Ian Lance Taylor  <ian@cygnus.com>

* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Change
byte_count to unsigned int.
(mn10300_elf_relax_section): Initialize internal_relocs.  Remove
unused local variables.

26 years agoWed Mar 25 14:32:48 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 25 Mar 1998 19:36:04 +0000 (19:36 +0000)]
Wed Mar 25 14:32:48 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* i960-dis.c (pinsn): Change type of first argument to bfd_vma.
(ctrl, cobr, mem, ea): Likewise.
(print_addr): Likewise.  Remove cast.
(ea): Cast argument of print_addr to bfd_vma.

* cgen-asm.c (cgen_parse_signed_integer): Fix type of local
variable value.
(cgen_parse_unsigned_integer): Likewise.
(cgen_parse_address): Likewise.

Wed Mar 25 14:31:31 1998  Ian Lance Taylor  <ian@cygnus.com>

* i960-dis.c (ctrl): Add full braces to structure initialization.
(cobr, mem, reg): Likewise.
(ea): Correct parenthesization in expression.

* cgen-asm.c: Include <ctype.h>.
(build_asm_hash_table): Remove unused local variable i.
(cgen_parse_keyword): Add casts to avoid warnings.

* arm-dis.c (print_insn_big_arm): Only call coffsymbol for a COFF
symbol.  Fix indentation.
(print_insn_little_arm): Likewise.

26 years agoRemove CYGNUS LOCAL markers for Thumb port.
Nick Clifton [Wed, 25 Mar 1998 19:17:43 +0000 (19:17 +0000)]
Remove CYGNUS LOCAL markers for Thumb port.

26 years agoWed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Wed, 25 Mar 1998 19:12:09 +0000 (19:12 +0000)]
Wed Mar 25 14:08:51 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.

26 years agoWed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 25 Mar 1998 19:00:21 +0000 (19:00 +0000)]
Wed Mar 25 13:59:24 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha
and call bfd_default_set_arch_mach to do the real work.

Wed Mar 25 13:59:05 1998  Ian Lance Taylor  <ian@cygnus.com>

* evax-alpha.c (evax_close_and_cleanup): Remove unused local
variables er and er1.

26 years ago * cpu-v850.c: Include <ctype.h>.
Ian Lance Taylor [Wed, 25 Mar 1998 18:56:03 +0000 (18:56 +0000)]
* cpu-v850.c: Include <ctype.h>.
(scan): Case isdigit argument to unsigned char.
Also fix v850e/v850ea sanitization.

26 years ago * bout.c (BALX): Include return register g14 as part of the insn.
Richard Henderson [Wed, 25 Mar 1998 18:42:26 +0000 (18:42 +0000)]
* bout.c (BALX): Include return register g14 as part of the insn.
(BALX_MASK): New.
(calljx_callback): Use it.

PR 15310

26 years agoWed Mar 25 13:10:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
Ian Lance Taylor [Wed, 25 Mar 1998 18:12:52 +0000 (18:12 +0000)]
Wed Mar 25 13:10:42 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsruhe.de>

        * gasp.c (IS*): Cast argument to unsigned char, not unsigned int.
        * macro.c (macro_expand_body): Increase buffer size.
        * messages.c (as_warn): Likewise.
(as_warn_where, as_bad, as_bad_where): Likewise.

26 years ago Based on patch from H.J. Lu <hjl@gnu.org>:
Ian Lance Taylor [Wed, 25 Mar 1998 18:06:21 +0000 (18:06 +0000)]
Based on patch from H.J. Lu  <hjl@gnu.org>:
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
(DISTCLEANFILES): New variable.
* Makefile.in: Rebuild.

26 years ago Based on patch from H.J. Lu <hjl@gnu.org>:
Ian Lance Taylor [Wed, 25 Mar 1998 18:00:09 +0000 (18:00 +0000)]
Based on patch from H.J. Lu  <hjl@gnu.org>:
* Makefile.am (DISTSTUFF): New variable.
(diststuff): New target.
* Makefile.in: Rebuild.

26 years ago Based on patch from H.J. Lu <hjl@gnu.org>:
Ian Lance Taylor [Wed, 25 Mar 1998 17:48:56 +0000 (17:48 +0000)]
Based on patch from H.J. Lu  <hjl@gnu.org>:
* Makefile.am (LDDISTSTUFF): New variable.
(diststuff): New target.
* Makefile.in: Rebuild.

26 years ago * simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction.
Joyce Janczyn [Wed, 25 Mar 1998 17:10:01 +0000 (17:10 +0000)]
* simops.c (OP_F0FD): Initialise variable 'sp' for rti instruction.

26 years ago* As suggested by crash, made --with-sim-gpu2 option active only on -sky- target.
Frank Ch. Eigler [Wed, 25 Mar 1998 16:48:04 +0000 (16:48 +0000)]
* As suggested by crash, made --with-sim-gpu2 option active only on -sky- target.

26 years ago * scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
Ian Lance Taylor [Wed, 25 Mar 1998 16:35:13 +0000 (16:35 +0000)]
* scripttempl/pe.sc: Only include .idata\$[0-7] in .idata when
relocating.

26 years ago From Yan Meroth <YAN.MEROTH@st.com>:
Ian Lance Taylor [Wed, 25 Mar 1998 16:21:24 +0000 (16:21 +0000)]
From Yan Meroth <YAN.MEROTH@st.com>:
* ihex.c (ihex_scan): Add extbase variable so that getting an
  extended linear address record does not ignore any previous
  extended address.
(ihex_write_object_contents): When writing out an extended linear
  address record, zero out any previous extended address.

26 years ago* dv-mn103int.c (decode_group): A group register every 4 bytes not 8.
Andrew Cagney [Wed, 25 Mar 1998 14:52:44 +0000 (14:52 +0000)]
* dv-mn103int.c (decode_group): A group register every 4 bytes not 8.
(write_icr): Rewrite equation updating request field.
(read_iagr): Fix check that interrupt is still pending.

26 years ago* interp.c (sim_open): Tidy up device creation.
Andrew Cagney [Wed, 25 Mar 1998 05:37:42 +0000 (05:37 +0000)]
* interp.c (sim_open): Tidy up device creation.
* dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero value.
(mn103int_io_read_buffer): Convert absolute address to register block offsets.
(read_icr, write_icr): Convert block offset into group offset.

26 years ago* interp.c (sim_open): Create second 1mb memory region at 0x40000000.
Andrew Cagney [Wed, 25 Mar 1998 04:15:38 +0000 (04:15 +0000)]
* interp.c (sim_open): Create second 1mb memory region at 0x40000000.
(sim_open): Create a device tree.
(sim-hw.h): Include.
(do_interrupt): Delete, needs to use dv-mn103cpu.c
* dv-mn103int.c, dv-mn103cpu.c: New files.

26 years ago* mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): Define.
Andrew Cagney [Wed, 25 Mar 1998 04:07:31 +0000 (04:07 +0000)]
* mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): Define.
(SP): Define.

26 years ago* dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
Andrew Cagney [Wed, 25 Mar 1998 03:44:37 +0000 (03:44 +0000)]
* dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
hw_pal_timer, hw_pal_timer_value): Define.
(hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
(do_counter_event, do_counter_read, do_counter_value,
do_counter_write): new functions.

* hw-tree.c (hw_printf): Send tree dump to stderr, same as other
trace output.
* hw-base.c (hw_create): Stop searching for a device when one is
found.

26 years agoRe-do --enable-sim-hardware so that each simulator can specify the devices
Andrew Cagney [Wed, 25 Mar 1998 01:41:33 +0000 (01:41 +0000)]
Re-do --enable-sim-hardware so that each simulator can specify the devices
it wants built.
Generate hw-config.h.

26 years ago * gas/mips/vu0.s: Add tests for "bc2f", "bc2fl", "bc2t", "bc2tl",
Jeff Law [Wed, 25 Mar 1998 01:17:32 +0000 (01:17 +0000)]
    * gas/mips/vu0.s: Add tests for "bc2f", "bc2fl", "bc2t", "bc2tl",
        "cfc.i", "cfc.ni", "ctc.i", and "ctc.ni".
        * gas/mips/vu0.d: Corresponding changes.

26 years ago * vu0.h (cfc2, ctc2): Add variants with ".i" and ".ni"
Jeff Law [Wed, 25 Mar 1998 01:09:09 +0000 (01:09 +0000)]
    * vu0.h (cfc2, ctc2): Add variants with ".i" and ".ni"
        opcode extensions.

26 years agoStart deleting libg++ and librx--they are no longer shipped to customers.
Jason Molenda [Wed, 25 Mar 1998 01:02:09 +0000 (01:02 +0000)]
Start deleting libg++ and librx--they are no longer shipped to customers.

26 years agoTue Mar 24 16:58:29 1998 Jason Molenda (crash@bugshack.cygnus.com)
Jason Molenda [Wed, 25 Mar 1998 01:00:18 +0000 (01:00 +0000)]
Tue Mar 24 16:58:29 1998  Jason Molenda  (crash@bugshack.cygnus.com)

        * Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES,
        CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES,
        INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup):
        Remove references to librx and libg++.

Bye bye.

26 years agoFix PR15434 by emitting a nop if a section ends with a 16 bit instruction.
Nick Clifton [Wed, 25 Mar 1998 00:54:54 +0000 (00:54 +0000)]
Fix PR15434 by emitting a nop if a section ends with a 16 bit instruction.

26 years ago * config/obj-coff.c (obj_coff_bss): Compile unconditionally. Call
Ian Lance Taylor [Wed, 25 Mar 1998 00:48:51 +0000 (00:48 +0000)]
* config/obj-coff.c (obj_coff_bss): Compile unconditionally.  Call
s_lcomm rather than obj_coff_lcomm.
(obj_pseudo_table): Compile .bss pseudo-op unconditionally.

26 years ago * rclex.l: Accept { and } as synonyms for BEGIN and END.
Ian Lance Taylor [Wed, 25 Mar 1998 00:33:29 +0000 (00:33 +0000)]
* rclex.l: Accept { and } as synonyms for BEGIN and END.

26 years agoPacify GCC.
Andrew Cagney [Wed, 25 Mar 1998 00:08:52 +0000 (00:08 +0000)]
Pacify GCC.