platform/upstream/binutils.git
26 years ago * config.sub: Accept m68060 and m5200 as CPU names.
Ian Lance Taylor [Wed, 3 Jun 1998 18:52:10 +0000 (18:52 +0000)]
* config.sub: Accept m68060 and m5200 as CPU names.

26 years ago * elf32-mips.c (_bfd_mips_elf_fake_sections): Update to use
Doug Evans [Wed, 3 Jun 1998 18:42:31 +0000 (18:42 +0000)]
* elf32-mips.c (_bfd_mips_elf_fake_sections): Update to use
Elf32_Dvp_External_Overlay instead of 64 bit version.

26 years agoWed Jun 3 14:11:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Wed, 3 Jun 1998 18:16:11 +0000 (18:16 +0000)]
Wed Jun  3 14:11:59 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* config/tc-m68k.c (md_estimate_size_before_relax): Add more calls
to relaxable_symbol to prevent references to external symbol from
being relaxed.

Wed Jun  3 14:10:36 1998  Ian Lance Taylor  <ian@cygnus.com>

* config/tc-m68k.c (relaxable_symbol): If TARGET_OS is "elf", all
symbols are relaxable.

26 years ago * config/tc-dvp.c (md_begin): Change alignment of .DVP.ovlytab to 4.
Doug Evans [Wed, 3 Jun 1998 17:27:56 +0000 (17:27 +0000)]
* config/tc-dvp.c (md_begin): Change alignment of .DVP.ovlytab to 4.
(create_vuoverlay_section): Entries are 4 bytes not 8.

26 years agoGive error if previous object endianness doesn't match the current one.
Stan Cox [Wed, 3 Jun 1998 16:20:48 +0000 (16:20 +0000)]
Give error if previous object endianness doesn't match the current one.

26 years agoconfig/tc-v850.c (md_begin): Don't create special sections by default.
Catherine Moore [Wed, 3 Jun 1998 14:32:15 +0000 (14:32 +0000)]
config/tc-v850.c (md_begin):  Don't create special sections by default.

26 years ago * sparc-tdep.c (sparc_target_architecture_hook): Set target
Mark Alexander [Wed, 3 Jun 1998 02:08:06 +0000 (02:08 +0000)]
* sparc-tdep.c (sparc_target_architecture_hook): Set target
byte order only when it's selectable.

26 years agoStraggler - accidently dropped from the pack of target-ops reorg of inits
John Metzler [Wed, 3 Jun 1998 01:27:17 +0000 (01:27 +0000)]
Straggler - accidently dropped from the pack of target-ops reorg of inits

26 years agoFixed private data printing to include program headers.
Nick Clifton [Wed, 3 Jun 1998 00:51:58 +0000 (00:51 +0000)]
Fixed private data printing to include program headers.

26 years ago * interf.c (sim_open): Use revamped memory_read, which makes
Mark Alexander [Tue, 2 Jun 1998 22:43:46 +0000 (22:43 +0000)]
* interf.c (sim_open): Use revamped memory_read, which makes
byte-swapping unnecessary.  Add -sparclite-board option for
emulating RAM found on typical SPARClite boards.  Print
error message for unrecognized option.
* erc32.c: Change RAM address and size from constants to variables,
to allow emulation of SPARClite board RAM.
(fetch_bytes, store_bytes): New helper functions for revamped
mememory_read and memory_write.
(memory_read, memory_write): Rewrite to store bytes in target
byte order instead of storing words in host byte order; this
greatly simplifies support of little-endian programs.
(get_mem_ptr): Remove unnecessary byte parameter.
(sis_memory_write, sis_memory_read): Store words in target
byte order instead of host byte order.
(byte_swap_words): Remove, no longer needed.
* sis.h ((byte_swap_words): Remove declaration, no longer needed.
(memory_read): Add new sz parameter.
* sis.c (run_sim): Use revamped memory_read, which makes
byte-swapping unnecessary.
* exec.c (dispatch_instruction): Use revamped memory_read, which
makes byte-swapping and double-word fetching unnecessary.
* func.c (sparclite_board): Declare new variable.
(get_regi): Handle little-endian data.
(bfd_load): Recognize little-endian SPARClite as having
little-endian data.

26 years agoAllow simulator to work with Angel SWIs.
Nick Clifton [Tue, 2 Jun 1998 22:23:52 +0000 (22:23 +0000)]
Allow simulator to work with Angel SWIs.

26 years ago * elflink.h (elf_merge_symbol): Don't always set type_change_ok
Ian Lance Taylor [Tue, 2 Jun 1998 21:16:06 +0000 (21:16 +0000)]
* elflink.h (elf_merge_symbol): Don't always set type_change_ok
and size_change_ok.
  (elf_link_add_object_symbols): Set type_change_ok and
size_change_ok before calling elf_merge_symbol.

26 years ago* Move the sanitize comments to the right place.
Ian Carmichael [Tue, 2 Jun 1998 21:04:49 +0000 (21:04 +0000)]
* Move the sanitize comments to the right place.

26 years ago * config/tc-mips.c (macro): For div and udiv, close the
Jeff Law [Tue, 2 Jun 1998 20:54:35 +0000 (20:54 +0000)]
    * config/tc-mips.c (macro): For div and udiv, close the
        reorder block as soon as possible.

26 years ago* SYSCALL now uses exception vector.
Ian Carmichael [Tue, 2 Jun 1998 19:53:36 +0000 (19:53 +0000)]
* SYSCALL now uses exception vector.
* SKY: New memory mapping rules for k1seg, k0seg.
* Modified Files: ChangeLog.sky ChangeLog interp.c sim-main.c

26 years ago From Matt Semersky <matts@scd.hp.com>:
Ian Lance Taylor [Tue, 2 Jun 1998 19:39:45 +0000 (19:39 +0000)]
From Matt Semersky <matts@scd.hp.com>:
* macro.c (macro_mri_mode): New function.
* macro.h (macro_mri_mode): Declare.
* read.c (s_mri): Call macro_mri_mode when switching in and out of
MRI mode.

26 years ago * elf32-mips.c (mips_elf_relocate_section): If we issue an
Ian Lance Taylor [Tue, 2 Jun 1998 19:30:09 +0000 (19:30 +0000)]
* elf32-mips.c (mips_elf_relocate_section): If we issue an
undefined symbol error, don't also issue an overflow error.

26 years agoTue Jun 2 15:08:36 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Tue, 2 Jun 1998 19:09:38 +0000 (19:09 +0000)]
Tue Jun  2 15:08:36 1998  Geoff Keating  <geoffk@ozemail.com.au>

* gas/ppc/ppc.exp: Run simpshft test.
* gas/ppc/simpshft.d: New file.
* gas/ppc/simpshft.s: New file.

26 years agoTue Jun 2 15:06:46 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Tue, 2 Jun 1998 19:07:44 +0000 (19:07 +0000)]
Tue Jun  2 15:06:46 1998  Geoff Keating  <geoffk@ozemail.com.au>

* ppc-opc.c (powerpc_macros): Support shifts and rotates of size
0; produce error message for shifts of size 32 (or 64 for 64-bit
shifts), because the hardware doesn't support them.

26 years agoTue Jun 2 13:51:00 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Tue, 2 Jun 1998 18:15:42 +0000 (18:15 +0000)]
Tue Jun  2 13:51:00 1998  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_relocate_section): The target of an
R_PPC_LOCAL24PC relocation should be local; if not, print an error
message instead of crashing.

26 years agoTue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 2 Jun 1998 17:35:03 +0000 (17:35 +0000)]
Tue Jun  2 13:32:22 1998  Klaus Kaempf  <kkaempf@progis.de>

* config/tc-alpha.c (s_alpha_comm): Defer restoring character
until after xstrdup in OBJ_EVAX case.

26 years agoTue Jun 2 13:32:22 1998 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 2 Jun 1998 17:33:07 +0000 (17:33 +0000)]
Tue Jun  2 13:32:22 1998  Klaus Kaempf  <kkaempf@progis.de>

* config/tc-alpha.c (s_alpha_comm): Allow alignment parameter in
OBJ_EVAX case.

26 years agoTue Jun 2 13:11:13 1998 Pat Rankin <rankin@eql.caltech.edu>
Ian Lance Taylor [Tue, 2 Jun 1998 17:15:00 +0000 (17:15 +0000)]
Tue Jun  2 13:11:13 1998  Pat Rankin  <rankin@eql.caltech.edu>

* config/tc-vax.c (md_create_short_jump): Fix off by two bug in
offset calculation.  Also, use VAX_BRW from vax-inst.h instead
of hardcoded magic number.
(md_create_long_jump): Use VAX_JMP and VAX_ABSOLUTE_MODE macros.

26 years ago * ldlang.c (lang_finish): If the entry symbol is not found, try
Ian Lance Taylor [Tue, 2 Jun 1998 16:59:37 +0000 (16:59 +0000)]
* ldlang.c (lang_finish): If the entry symbol is not found, try
parsing it as a number.
* ld.texinfo (Options): Document this.

26 years ago * read.c (do_s_func): New function.
Doug Evans [Tue, 2 Jun 1998 16:54:59 +0000 (16:54 +0000)]
* read.c (do_s_func): New function.
(s_func): Call it.
* read.h (do_s_func): Add prototype.
* config/tc-dvp.c (md_pseudo_table): Add .func/.endfunc.
(s_dvp_func): New function.

26 years ago * read.c (do_s_func): New function.
Doug Evans [Tue, 2 Jun 1998 16:54:20 +0000 (16:54 +0000)]
* read.c (do_s_func): New function.
(s_func): Call it.
* config/tc-dvp.c (md_pseudo_table): Add .func/.endfunc.
(s_dvp_func): New function.

26 years ago * read.c (s_func): Prepend `leading char' by default.
Doug Evans [Tue, 2 Jun 1998 16:26:43 +0000 (16:26 +0000)]
* read.c (s_func): Prepend `leading char' by default.

26 years ago * sparc-tdep.c (sparc_target_architecture_hook): New function to
Mark Alexander [Tue, 2 Jun 1998 09:19:54 +0000 (09:19 +0000)]
* sparc-tdep.c (sparc_target_architecture_hook): New function to
set endianness based on machine type.
(_initialize_sparc_tdep): Initialize target_architecture_hook.
(sparc_print_register_hook): Print PSR and FPSR in fancy format
on 32-bit machines.
* config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to
call sparc_print_register_hook instead of using inline code.
* config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.

26 years agoMon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
Jason Molenda [Tue, 2 Jun 1998 00:18:31 +0000 (00:18 +0000)]
Mon Jun  1 17:14:19 1998  Anthony Thompson (athompso@cambridge.arm.com)

        * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
        of ":tt" to catch stdin in addition to stdout.
        (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
        or success of lseek().

From PR 15839, modified a bit by me to appease my sense of style--but
not too much because I am lazy.

26 years ago * config/tc-mips.c (hilo_interlocks): The r5900 has HILO interlocks.
Jeff Law [Mon, 1 Jun 1998 23:07:21 +0000 (23:07 +0000)]
    * config/tc-mips.c (hilo_interlocks): The r5900 has HILO interlocks.

26 years ago * gas/mips/break5900.d: Update after interlock changes.
Jeff Law [Mon, 1 Jun 1998 23:04:50 +0000 (23:04 +0000)]
    * gas/mips/break5900.d: Update after interlock changes.
        * gas/mips/mips.exp: The r5900 has ilocks and gpr_ilocks.
        * gas/mips/div-ilocks.d: Handle both "break" instruction variants.
        * gas/mips/{div.d, mul-ilocks.d, mul.d}: Likewise.

26 years ago From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
Ian Lance Taylor [Mon, 1 Jun 1998 22:28:07 +0000 (22:28 +0000)]
From Yuli Barcohen <yuli.barcohen@telrad.co.il>:
* debug.c (debug_type_samep): Avoid endless loops comparing
function and method parameter types.

26 years agoMon Jun 1 18:23:12 1998 Yuli Barcohen <yuli.barcohen@telrad.co.il>
Ian Lance Taylor [Mon, 1 Jun 1998 22:25:37 +0000 (22:25 +0000)]
Mon Jun  1 18:23:12 1998  Yuli Barcohen  <yuli.barcohen@telrad.co.il>

* archures.c (bfd_mach_cpu32): Define.
(bfd_default_scan): Add case for 68060.  Fix 68332 case to use
bfd_mach_cpu32.
* cpu-m68k.c (arch_info_struct): Add m68k:cpu32.
* ieee.c: Include <ctype.h>.
(ieee_object_p): Parse out process ID string to make it more
likely to be acceptable for bfd_scan_arch.
* bfd-in2.h: Rebuild.

26 years ago * gas/all/gas.exp: Don't run `align' test for dvp-*-*.
Doug Evans [Mon, 1 Jun 1998 22:11:21 +0000 (22:11 +0000)]
* gas/all/gas.exp: Don't run `align' test for dvp-*-*.
* gas/macros/macros.exp: Don't run `semi' test for dvp-*-*.
* gas/dvp/align.[sd]: New testcase.
* gas/dvp/semi.[sd]: New testcase.

26 years agoDon't run the `semi' testcase if dvp-*-*.
Doug Evans [Mon, 1 Jun 1998 22:09:48 +0000 (22:09 +0000)]
Don't run the `semi' testcase if dvp-*-*.

26 years agoDon't run the `align' testcase if dvp-*-*.
Doug Evans [Mon, 1 Jun 1998 22:09:19 +0000 (22:09 +0000)]
Don't run the `align' testcase if dvp-*-*.

26 years ago * configure.in: Use && rather than using -a in test, because odd
Ian Lance Taylor [Mon, 1 Jun 1998 21:29:21 +0000 (21:29 +0000)]
* configure.in: Use && rather than using -a in test, because odd
strings can confuse test.

26 years ago * configure: Use && rather than using -a in test, because odd
Ian Lance Taylor [Mon, 1 Jun 1998 21:26:12 +0000 (21:26 +0000)]
* configure: Use && rather than using -a in test, because odd
strings can confuse test.

26 years ago * config/tc-m32r.c (m32r_do_align): Only fill code sections with
Doug Evans [Mon, 1 Jun 1998 19:48:48 +0000 (19:48 +0000)]
* config/tc-m32r.c (m32r_do_align): Only fill code sections with
nops if fill pattern not specified.

26 years ago * mips-opc.c (c.lt.s): Remove r5900 specific variant.
Jeff Law [Mon, 1 Jun 1998 18:25:20 +0000 (18:25 +0000)]
    * mips-opc.c (c.lt.s): Remove r5900 specific variant.
        (c.le.s): Likewise.

26 years agoFix PHDRS test in linker testsuite by also dumping program header output
Nick Clifton [Mon, 1 Jun 1998 18:13:33 +0000 (18:13 +0000)]
Fix PHDRS test in linker testsuite by also dumping program header output
when displaying private data.

26 years ago From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
Ian Lance Taylor [Mon, 1 Jun 1998 18:10:16 +0000 (18:10 +0000)]
From Andrew Crabtree <andrewc@typhoon.rose.hp.com>:
* config/te-go32.h (TE_GO32): Define.
* config/tc-i386.h (LOCAL_LABEL): Don't define if TE_GO32.

26 years ago * ld.texinfo (Input Section Wildcards): Document SORT keyword.
Ian Lance Taylor [Mon, 1 Jun 1998 18:01:37 +0000 (18:01 +0000)]
* ld.texinfo (Input Section Wildcards): Document SORT keyword.

26 years ago * vu0.h (sqc2): Fix opcode.
Jeff Law [Mon, 1 Jun 1998 16:36:09 +0000 (16:36 +0000)]
    * vu0.h (sqc2): Fix opcode.

26 years ago* Small TX39-only patch for ECC.
Frank Ch. Eigler [Mon, 1 Jun 1998 16:29:43 +0000 (16:29 +0000)]
* Small TX39-only patch for ECC.
Mon Jun  1 18:18:26 1998  Frank Ch. Eigler  <fche@cygnus.com>
* interp.c (decode_coproc): For TX39, add stub COP0 register #3,
to allay warnings.

26 years ago * r5900.igen (rsqrt.s): Update based on r5900 ISA manual version 2.1.
Jeff Law [Mon, 1 Jun 1998 16:29:42 +0000 (16:29 +0000)]
    * r5900.igen (rsqrt.s): Update based on r5900 ISA manual version 2.1.
        (sqrt.s): Likewise.

26 years ago * mips-opc.c (rsqrt.s): Update based on r5900 ISA manual version 2.1
Jeff Law [Mon, 1 Jun 1998 16:28:52 +0000 (16:28 +0000)]
    * mips-opc.c (rsqrt.s): Update based on r5900 ISA manual version 2.1
        (sqrt.s): Likewise.

26 years ago * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than
Ian Lance Taylor [Mon, 1 Jun 1998 16:15:08 +0000 (16:15 +0000)]
* peicode.h (coff_swap_sym_in): Check for C_SECTION rather than
0x68.  Reindent.  Add some comments.

26 years ago* sky test suite fixes.
Frank Ch. Eigler [Mon, 1 Jun 1998 16:09:52 +0000 (16:09 +0000)]
* sky test suite fixes.
Mon Jun  1 18:54:22 1998  Frank Ch. Eigler  <fche@cygnus.com>
* lib/sim-defs.exp (sim_run): Add possible environment variable
  list to simulator run.
start-sanitize-sky
* sim/sky/sky-defs.tcl: Use it.
* sim/sky/t-pke2.vif1out: Update to match recent word-precise
  tracking table change in sim/mips/sky-pke.c.
* sim/sky/t-pke3.trc: Ditto.
* sim/sky/t-pke4.vif0expect: Ditto.
end-sanitize-sky
Mon May 18 10:37:47 1998  Doug Evans  <devans@canuck.cygnus.com>

26 years ago Implement .func/.endfunc pseudo-ops.
Doug Evans [Mon, 1 Jun 1998 04:44:48 +0000 (04:44 +0000)]
Implement .func/.endfunc pseudo-ops.
* read.h (stabs_generate_asm_func,stabs_generate_asm_endfunc): Declare.
(s_func): Declare.
* read.c (potable): Add .func,.endfunc.
(s_func): New function.
* stabs.c (stabs_generate_asm_func,stabs_generate_asm_endfunc): New
functions.
(in_doc_func_p,current_function_label): New static globals.
(stabs_generate_asm_lineno): Emit function relative stabs if in .func.

26 years agoAdd docs for .func/.endfunc.
Doug Evans [Mon, 1 Jun 1998 04:40:53 +0000 (04:40 +0000)]
Add docs for .func/.endfunc.

26 years ago * config/tc-dvp.c (create_vuoverlay_section): Set SEC_CODE flag for
Doug Evans [Mon, 1 Jun 1998 03:53:57 +0000 (03:53 +0000)]
* config/tc-dvp.c (create_vuoverlay_section): Set SEC_CODE flag for
overlay sections.

26 years ago(create_vuoverlay_section): Set SEC_CODE flag for overlay sections.
Doug Evans [Mon, 1 Jun 1998 03:53:32 +0000 (03:53 +0000)]
(create_vuoverlay_section): Set SEC_CODE flag for overlay sections.

26 years ago * elf32-mips.c (_bfd_mips_elf_final_write_processing): Set sh_link
Doug Evans [Sun, 31 May 1998 23:14:40 +0000 (23:14 +0000)]
* elf32-mips.c (_bfd_mips_elf_final_write_processing): Set sh_link
field of .DVP.ovlytab to .DVP.ovlystrtab's section index.
(_bfd_mips_elf_section_from_shdr): Recognize SHT_DVP_OVERLAY_TABLE
and SHT_DVP_OVERLAY.
(_bfd_mips_elf_fake_sections): Ditto.

26 years ago * mips.h (SHT_DVP_OVERLAY_TABLE,SHT_DVP_OVERLAY): New section types.
Doug Evans [Sun, 31 May 1998 22:50:05 +0000 (22:50 +0000)]
* mips.h (SHT_DVP_OVERLAY_TABLE,SHT_DVP_OVERLAY): New section types.
(SHNAME_DVP_OVERLAY_{TABLE,STRTAB,PREFIX}): Section names.
(Elf64_Dvp_Internal_Overlay,Elf64_Dvp_External_Overlay): New types.
(bfd_dvp_elf64_swap_overlay_in,bfd_dvp_elf64_swap_overlay_out):
Declare.

26 years ago * config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Delete .vuoverlay_table.
Doug Evans [Sun, 31 May 1998 22:46:56 +0000 (22:46 +0000)]
* config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Delete .vuoverlay_table.
(VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): Delete.
* config/tc-dvp.c (vuoverlay_string_section): New static global.
(md_begin): Create overlay string section.
(create_vuoverlay_section): Put section name in overlay string section.
Put string's offset in overlay table entry.

26 years agofix sanitization
Jeff Holcomb [Sat, 30 May 1998 21:06:13 +0000 (21:06 +0000)]
fix sanitization

26 years agoadd acinclude.m4 to things-to-lose
Ian Lance Taylor [Sat, 30 May 1998 19:36:31 +0000 (19:36 +0000)]
add acinclude.m4 to things-to-lose

26 years ago * config/tc-a29k.h (WORKING_DOT_WORD): Define.
Ian Lance Taylor [Fri, 29 May 1998 22:25:56 +0000 (22:25 +0000)]
* config/tc-a29k.h (WORKING_DOT_WORD): Define.
* config/tc-alpha.h (WORKING_DOT_WORD): Define.
* config/tc-arm.h (WORKING_DOT_WORD): Define.
* config/tc-h8300.h (WORKING_DOT_WORD): Define.
* config/tc-h8500.h (WORKING_DOT_WORD): Define.
* config/tc-hppa.h (WORKING_DOT_WORD): Define.
* config/tc-i860.h (WORKING_DOT_WORD): Define.
* config/tc-i960.h (WORKING_DOT_WORD): Define.
* config/tc-tic30.h (WORKING_DOT_WORD): Define.
* config/tc-w65.h (WORKING_DOT_WORD): Define.
* config/tc-z8k.h (WORKING_DOT_WORD): Define.
* config/tc-a29k.c: Don't define md_short_jump_size,
  md_long_jump_size, md_create_short_jump or md_create_long_jump.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.

26 years agotipo
Ian Lance Taylor [Fri, 29 May 1998 21:37:44 +0000 (21:37 +0000)]
tipo

26 years ago * symbols.c (symbol_find_base): Fix case insensitive symbol name
Ian Lance Taylor [Fri, 29 May 1998 21:22:00 +0000 (21:22 +0000)]
* symbols.c (symbol_find_base): Fix case insensitive symbol name
code.  From Chris Moller <moller@bops.com>.

26 years agoFri May 29 16:03:26 1998 Pat Rankin <rankin@eql.caltech.edu>
Ian Lance Taylor [Fri, 29 May 1998 20:08:25 +0000 (20:08 +0000)]
Fri May 29 16:03:26 1998  Pat Rankin  <rankin@eql.caltech.edu>

* config/tc-vax.c (_): Delete this macro used for placeholder
values in vax_operand_width_size; it conflicts with the _() macro
used for internationalization.

26 years ago Based on patch from Klaus Kaempf <kkaempf@progis.de>:
Ian Lance Taylor [Fri, 29 May 1998 19:59:55 +0000 (19:59 +0000)]
Based on patch from Klaus Kaempf <kkaempf@progis.de>:
* struc-symbol.h (struct broken_word): Add seg and subseg fields.
* read.c (emit_expr): Initialize seg and subseg fields of a new
broken word.
* write.c (write_object_file): Switch to the appropriate segment
and subsegment when processing a broken word.

26 years ago * gas/mips/mips.exp: Adjust ilocks initialization to match current
Ian Lance Taylor [Fri, 29 May 1998 19:27:54 +0000 (19:27 +0000)]
* gas/mips/mips.exp: Adjust ilocks initialization to match current
assembler defaults more closely.

26 years ago * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
Ian Lance Taylor [Fri, 29 May 1998 19:04:42 +0000 (19:04 +0000)]
* ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.
  (run_srec_test): On mn10200, define __truncsipsi2_do_d2.
* ld-srec/sr1.c (__main): Change return type to void.
* ld-srec/sr3.cc (__main): Likewise.
(__builtin_delete, __builtin_new): Likewise.
(__get_dynamic_handler_chain): Return 0.
(__get_eh_context): Likewise.

26 years ago * config/tc-m68k.c (mri_assemble): New static function.
Ian Lance Taylor [Fri, 29 May 1998 17:48:03 +0000 (17:48 +0000)]
* config/tc-m68k.c (mri_assemble): New static function.
(build_mri_control_operand): Call mri_assemble rather than
md_assemble.
(s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
(s_mri_endf, s_mri_endw): Likewise.

26 years agoPartial fix for PR 15929 - Change physical address of segment when its
Nick Clifton [Fri, 29 May 1998 17:00:08 +0000 (17:00 +0000)]
Partial fix for PR 15929 - Change physical address of segment when its
sections' LMAs have changed.

26 years ago * gas/sh/fp.s: Remove ftst/nan. The assembler no longer supports
Ian Lance Taylor [Fri, 29 May 1998 16:12:31 +0000 (16:12 +0000)]
* gas/sh/fp.s: Remove ftst/nan.  The assembler no longer supports
the instruction.
* gas/sh/basic.exp: Adjust accordingly.

26 years agoMatch mips*tx39 not mipst*tx39.
Andrew Cagney [Fri, 29 May 1998 01:42:20 +0000 (01:42 +0000)]
Match mips*tx39 not mipst*tx39.

26 years ago * main.c (main): Check for NULL from getenv on CYGWIN32.
Keith Seitz [Fri, 29 May 1998 01:20:46 +0000 (01:20 +0000)]
    * main.c (main): Check for NULL from getenv on CYGWIN32.

        * gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from
        Chris Faylor (cgf@cygnus.com).

        * configure.in: Link cygwin32 with subsystem console.

        * configure: Regenerated

26 years agomore attempts to handle `*' as mpg address
Doug Evans [Fri, 29 May 1998 01:08:08 +0000 (01:08 +0000)]
more attempts to handle `*' as mpg address

26 years agotweak last entry
Doug Evans [Fri, 29 May 1998 01:06:37 +0000 (01:06 +0000)]
tweak last entry

26 years agoresolve mpgloc_sym in `*' case
Doug Evans [Fri, 29 May 1998 00:39:03 +0000 (00:39 +0000)]
resolve mpgloc_sym in `*' case

26 years ago * config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Add .vuoverlay_table.
Doug Evans [Thu, 28 May 1998 23:29:19 +0000 (23:29 +0000)]
* config/tc-dvp.h (ELF_TC_SPECIAL_SECTIONS): Add .vuoverlay_table.
(dvp_frob_file): Declare.
(tc_frob_file): Define.
(VUOVERLAY_SECTION_PREFIX,VUOVERLAY_TABLE_SECTION_NAME): New macros.
* config/tc-dvp.c (VUOVERLAY_START_PREFIX): New macro.
(vuoverlay_section_name,create_vuoverlay_section): New functions.
(vuoverlay_section,vuoverlay_table_section): New static globals.
(ovlysym_table): New static global.
(md_begin): Create .vuoverlay_table section.
(assemble_vif): Call create_vuoverlay_section for each mpg.
(dvp_frob_label): Record vu labels in ovlysym_table for later
movement from absolute section to their overlay section.
(dvp_frob_file): New function.
(md_apply_fix3): For 8/16/32/64 bit relocs, only process if fx_done.

26 years ago * config/tc-dvp.c (assemble_one_insn): Parse suffix operands
Doug Evans [Thu, 28 May 1998 23:23:14 +0000 (23:23 +0000)]
* config/tc-dvp.c (assemble_one_insn): Parse suffix operands
even when missing in input string.
Forgot to check ChangeLog entry in.

26 years ago * mips-tdep.c (mips_push_dummy_frame): Fix calculation of
Peter Schauer [Thu, 28 May 1998 07:30:33 +0000 (07:30 +0000)]
* mips-tdep.c (mips_push_dummy_frame):  Fix calculation of
PROC_REG_OFFSET and PROC_FREG_OFFSET.

26 years agoadd vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.
Jason Molenda [Wed, 27 May 1998 19:34:49 +0000 (19:34 +0000)]
add vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.

26 years agoAdded BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le.
Stan Cox [Wed, 27 May 1998 15:41:27 +0000 (15:41 +0000)]
Added BFD_RELOC_SPARC_32LE and bfd_mach_sparc_sparclite_le.

26 years ago * config/tc-sparc.c (md_show_usage): Add \n\ to new string.
Ian Lance Taylor [Wed, 27 May 1998 15:17:07 +0000 (15:17 +0000)]
* config/tc-sparc.c (md_show_usage): Add \n\ to new string.

26 years agoStop GDB getting confused over r29 and FP. print $r29 and info
Andrew Cagney [Wed, 27 May 1998 14:13:32 +0000 (14:13 +0000)]
Stop GDB getting confused over r29 and FP.  print $r29 and info
registers r29 gave different values.

26 years agosparclite 86x big endian instruction / little endian data support.
Stan Cox [Wed, 27 May 1998 01:06:20 +0000 (01:06 +0000)]
sparclite 86x big endian instruction / little endian data support.

26 years agosparclite 86x big endian instruction / little endian data support.
Stan Cox [Wed, 27 May 1998 00:51:33 +0000 (00:51 +0000)]
sparclite 86x big endian instruction / little endian data support.

26 years agoFix PR15984 - Add flags to various opcodes
Nick Clifton [Tue, 26 May 1998 23:53:12 +0000 (23:53 +0000)]
Fix PR15984 - Add flags to various opcodes

26 years agoFix Pr15998 - Make SHORT_B3(b) formats examin but not modify their first register...
Nick Clifton [Tue, 26 May 1998 23:15:23 +0000 (23:15 +0000)]
Fix Pr15998 - Make SHORT_B3(b) formats examin but not modify their first register argument.

26 years ago * Makefile.in (distclean): Remove config.log.
Ian Lance Taylor [Tue, 26 May 1998 22:29:54 +0000 (22:29 +0000)]
* Makefile.in (distclean): Remove config.log.

26 years agoAdd sanitize tags around VR4320 mentions.
Jason Molenda [Tue, 26 May 1998 20:10:59 +0000 (20:10 +0000)]
Add sanitize tags around VR4320 mentions.

26 years agoadd nec4102rom.c to things-to-keep (asklarof sez that the 4102 is a
Jason Molenda [Tue, 26 May 1998 18:11:55 +0000 (18:11 +0000)]
add nec4102rom.c to things-to-keep (asklarof sez that the 4102 is a
variant of the VR4100 and does not need to be sanitized.)

26 years ago * remote.c (remote_open_1): If an error occurs starting the remote, pop the
Keith Seitz [Mon, 25 May 1998 20:34:48 +0000 (20:34 +0000)]
    * remote.c (remote_open_1): If an error occurs starting the remote, pop the
        target AND return.

26 years agoPull in preliminary versions of hw instances and handles from ../ppc
Andrew Cagney [Mon, 25 May 1998 11:33:28 +0000 (11:33 +0000)]
Pull in preliminary versions of hw instances and handles from ../ppc

26 years agoMake hw-main.h the main header file for H/W devices. Like sim-main.h
Andrew Cagney [Mon, 25 May 1998 11:06:29 +0000 (11:06 +0000)]
Make hw-main.h the main header file for H/W devices.  Like sim-main.h
Update dv-*.c
Replace *_callback with more correct. *_method. Update dv-*.c

26 years agoAdd files hw-alloc.[hc] (mising from last CI)
Andrew Cagney [Mon, 25 May 1998 08:50:22 +0000 (08:50 +0000)]
Add files hw-alloc.[hc] (mising from last CI)
Move set_* macro's from hw-base to hw-device.

26 years agoInitialize/destory hw-properties within the hw-device.
Andrew Cagney [Mon, 25 May 1998 08:29:05 +0000 (08:29 +0000)]
Initialize/destory hw-properties within the hw-device.

26 years agoSplit out hw-alloc code. Add constructor and destructor for hw-alloc.
Andrew Cagney [Mon, 25 May 1998 08:18:03 +0000 (08:18 +0000)]
Split out hw-alloc code.  Add constructor and destructor for hw-alloc.

26 years agoSplit out hw-event code. Clean up interface. Update all users.
Andrew Cagney [Mon, 25 May 1998 07:37:30 +0000 (07:37 +0000)]
Split out hw-event code.  Clean up interface.  Update all users.

26 years agoClean up create/delete of hw-ports
Andrew Cagney [Mon, 25 May 1998 07:08:48 +0000 (07:08 +0000)]
Clean up create/delete of hw-ports

26 years ago* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
Andrew Cagney [Mon, 25 May 1998 06:44:39 +0000 (06:44 +0000)]
* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
PROCESSOR and CIA arguments.

26 years agoDe-sanitize simulator hw.
Andrew Cagney [Mon, 25 May 1998 06:20:43 +0000 (06:20 +0000)]
De-sanitize simulator hw.

26 years agoFix mips SWL on 64bit ISA when 32 bit word appears in second half of
Andrew Cagney [Mon, 25 May 1998 05:48:34 +0000 (05:48 +0000)]
Fix mips SWL on 64bit ISA when 32 bit word appears in second half of
64 bit bus.
Test.

26 years ago * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
Keith Seitz [Sun, 24 May 1998 21:05:12 +0000 (21:05 +0000)]
    * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so
that
        we can use this member to track real timeouts.
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
        system timeout of one second. Track the "real" timeout as a series of th
ese
        one second timeouts.
        Call ui_loop_hook to keep the gui alive.

        * top.c: Define new hook for cygwin32, "ui_loop_hook".

        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
        update problems.

26 years ago * Initial support for "sim list vif[01]"
Ron Unrau [Sun, 24 May 1998 13:06:09 +0000 (13:06 +0000)]
* Initial support for "sim list vif[01]"