external/binutils.git
27 years ago * binutils.texi (strip): Remove duplicate --target. From Marty
Ian Lance Taylor [Thu, 9 Oct 1997 20:04:25 +0000 (20:04 +0000)]
* binutils.texi (strip): Remove duplicate --target.  From Marty
Leisner <leisner@sdsp.mc.xerox.com>.

27 years ago * nm.c (lineno_cache_bfd): New file static variable.
Ian Lance Taylor [Thu, 9 Oct 1997 19:59:15 +0000 (19:59 +0000)]
* nm.c (lineno_cache_bfd): New file static variable.
(lineno_cache_rel_bfd): New file static variable.
(display_archive): Clear lineno_cache_bfd and lineno_cache_rel_bfd
when closing a BFD.
(display_file): Likewise.
(print_symbol): Use lineno_cache_bfd and lineno_cache_rel_bfd
instead of cache_bfd and cache_rel_bfd.  Make seccount static, and
only set it when setting relocs.

27 years ago From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
Ian Lance Taylor [Thu, 9 Oct 1997 19:30:16 +0000 (19:30 +0000)]
From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
68336, 68341, 68349.
* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
-m68349.

27 years ago * doc/Makefile.am (CPU_DOCS): Define.
Ian Lance Taylor [Thu, 9 Oct 1997 19:22:15 +0000 (19:22 +0000)]
* doc/Makefile.am (CPU_DOCS): Define.
(as.info): Depend upon $(CPU_DOCS).
* doc/Makefile.in: Rebuild.

27 years ago * configure.in: Remove AM_PROG_INSTALL; it's called by
Ian Lance Taylor [Thu, 9 Oct 1997 19:20:14 +0000 (19:20 +0000)]
* configure.in: Remove AM_PROG_INSTALL; it's called by
AM_INIT_AUTOMAKE.
* configure: Rebuild.

27 years ago * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
Joern Rennecke [Thu, 9 Oct 1997 18:37:16 +0000 (18:37 +0000)]
    * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
        to pair a branch and link with anything but an exe instruction.
Fix for gas/13494.

27 years ago * tc-d10v.h (TC_START_LABEL): Don't define.
Joern Rennecke [Thu, 9 Oct 1997 18:28:59 +0000 (18:28 +0000)]
    * tc-d10v.h (TC_START_LABEL): Don't define.
        (tc_frob_label): Define.
Fix for gas/13307.

27 years ago * gas/sparc/set64.d: Update for recent disassembler changes.
Frank Ch. Eigler [Thu, 9 Oct 1997 18:04:54 +0000 (18:04 +0000)]
    * gas/sparc/set64.d: Update for recent disassembler changes.
        * gas/sparc/splet.d: Likewise.

27 years ago * gas/arm/arm7t.d: Update for recent disassembler changes.
Ian Lance Taylor [Thu, 9 Oct 1997 17:01:48 +0000 (17:01 +0000)]
* gas/arm/arm7t.d: Update for recent disassembler changes.
* gas/h8300/ffxx1.d: Likewise.

27 years agoSnap. Gets through igen's checks.
Andrew Cagney [Thu, 9 Oct 1997 08:38:22 +0000 (08:38 +0000)]
Snap. Gets through igen's checks.

27 years agoAdd -Wnodiscard option so that warning about discarded instructions
Andrew Cagney [Thu, 9 Oct 1997 08:35:33 +0000 (08:35 +0000)]
Add -Wnodiscard option so that warning about discarded instructions
can be suppressed.
Allow ``<insn-spec> { <nmemonic> | <model> }'' in instruction file.

27 years ago * objcopy.c (keep_specific_list, privatize_specific_list,
Richard Henderson [Thu, 9 Oct 1997 04:34:59 +0000 (04:34 +0000)]
    * objcopy.c (keep_specific_list, privatize_specific_list,
        weaken_specific_list): New variables.
        (keep_symbols): Removed.
        (add_specific_symbol): New function from the carcas of
        add_strip_symbol.  Takes a list as an argument.
        (is_specified_symbol): Likewise from is_strip_symbol.
        (filter_symbols): Honor the new privatize and weaken lists.
        Optimize bfd_asymbol_name handling.
        (copy_object, copy_options, copy_usage): Add privatize-symbol &
        weaken-symbol options.

        * objcopy.1, binutils.texi: Update docs.

27 years agoBuild IGEN with the MIPS simulator.
Andrew Cagney [Thu, 9 Oct 1997 00:41:14 +0000 (00:41 +0000)]
Build IGEN with the MIPS simulator.

27 years ago * config/tc-alpha.c (load_expression): Disable the sym+const .got
Richard Henderson [Wed, 8 Oct 1997 23:40:54 +0000 (23:40 +0000)]
    * config/tc-alpha.c (load_expression): Disable the sym+const .got
        optimization to reduce the alignment surprises for gcc.

27 years ago * gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox.
David Edelsohn [Wed, 8 Oct 1997 23:24:06 +0000 (23:24 +0000)]
* gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox.

27 years ago * config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
David Edelsohn [Wed, 8 Oct 1997 23:13:52 +0000 (23:13 +0000)]
* config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
* config/tc-sparc.c (sparc_target_format): Handle coff here.
(sparc_ip): Add %hix,%lox.
(md_apply_fix3): Call as_bad_where, not as_bad.
Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.

27 years ago * gas/sparc/synth.d: Update for recent disassembler changes.
Ian Lance Taylor [Wed, 8 Oct 1997 19:57:20 +0000 (19:57 +0000)]
* gas/sparc/synth.d: Update for recent disassembler changes.
* gas/sparc/synth64.d: Likewise.

27 years ago * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*;
Richard Henderson [Wed, 8 Oct 1997 19:39:25 +0000 (19:39 +0000)]
    * configure.tgt, configure.host: Change alpha-*-* to alpha*-*-*;
        config.guess now recognizes alphaev5 etc.

27 years agoChange alpha-*-* to alpha*-*-*; config.guess now
Richard Henderson [Wed, 8 Oct 1997 19:36:17 +0000 (19:36 +0000)]
Change alpha-*-* to alpha*-*-*; config.guess now
        recognizes alphaev5 etc.

27 years ago * gas/mips/beq.s: Add .text to .globl to mark the symbol to as a
Ian Lance Taylor [Wed, 8 Oct 1997 19:13:38 +0000 (19:13 +0000)]
* gas/mips/beq.s: Add .text to .globl to mark the symbol to as a
function symbol.
* gas/mips/jal.s: Likewise.

27 years ago * elfcore.h (bfd_prstatus): Pedanticly, alignment_power should
Richard Henderson [Wed, 8 Oct 1997 18:41:19 +0000 (18:41 +0000)]
    * elfcore.h (bfd_prstatus): Pedanticly, alignment_power should
        be LOG_FILE_ALIGN.

27 years ago * config.bfd: Missed one alpha* change.
Richard Henderson [Wed, 8 Oct 1997 18:39:23 +0000 (18:39 +0000)]
    * config.bfd: Missed one alpha* change.

27 years ago Fixed small typo in tcl expr syntax.
Frank Ch. Eigler [Wed, 8 Oct 1997 16:28:50 +0000 (16:28 +0000)]
Fixed small typo in tcl expr syntax.

27 years agoconfig/tc-mips.c (md_begin): Replace the TARGET_CPU value
Gavin Romig-Koch [Wed, 8 Oct 1997 04:17:08 +0000 (04:17 +0000)]
config/tc-mips.c (md_begin): Replace the TARGET_CPU value
of mipsr3900 with mipstx39.

config/tc-mips.c (mips_ip): Don't print the 'opcode requires
-mipsXX message' if the insn isn't an ISA insn.

27 years agoMIPS/IGEN checkpoint - doesn't build.
Andrew Cagney [Wed, 8 Oct 1997 04:16:01 +0000 (04:16 +0000)]
MIPS/IGEN checkpoint - doesn't build.

27 years agoconfig.sub: Add mips-tx39-elf to marketing names.
Gavin Romig-Koch [Wed, 8 Oct 1997 04:04:29 +0000 (04:04 +0000)]
config.sub: Add mips-tx39-elf to marketing names.

27 years agoopcodes/mips-opc.c: Three op mult is not an ISA insn.
Gavin Romig-Koch [Wed, 8 Oct 1997 03:46:38 +0000 (03:46 +0000)]
opcodes/mips-opc.c: Three op mult is not an ISA insn.

27 years agoopcodes/mips-opc.c: Fix formatting.
Gavin Romig-Koch [Wed, 8 Oct 1997 03:42:27 +0000 (03:42 +0000)]
opcodes/mips-opc.c: Fix formatting.

27 years agotx19 sanitize fixes.
Gavin Romig-Koch [Wed, 8 Oct 1997 01:40:35 +0000 (01:40 +0000)]
tx19 sanitize fixes.

27 years ago Updated first round of test suite drivers to accept symbol-offset
Frank Ch. Eigler [Wed, 8 Oct 1997 01:37:52 +0000 (01:37 +0000)]
Updated first round of test suite drivers to accept symbol-offset
listings from "objdump" disassembly with or without the new "0x"
prefix before hexadecimal numbers.

27 years agoreloc64.[sd]: New testcase.
David Edelsohn [Tue, 7 Oct 1997 20:29:49 +0000 (20:29 +0000)]
reloc64.[sd]: New testcase.

27 years ago * config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
David Edelsohn [Tue, 7 Oct 1997 19:53:17 +0000 (19:53 +0000)]
* config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
Redefine TARGET_FORMAT to call sparc_target_format.
* config/tc-sparc.c (in_unsigned_range): New function.
(sparc_arch_size): Make static.
(sparc_target_format): New function.
(sparc_ip): Delete variable immediate_max.  Rewrite %hi/etc reloc
handling.  Add support for %hh,%hm,%lm,%h44,%m44,%l44.
(output_insn): Set `fx_no_overflow'.
(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
(tc_gen_reloc): Likewise.

27 years agoNew file describing how stabs for live range splitting work. Should be
Jeff Law [Tue, 7 Oct 1997 19:48:22 +0000 (19:48 +0000)]
New file describing how stabs for live range splitting work.  Should be
folded into the main stabs documentation.

27 years ago * som.c (som_construct_extended_name_table): Remove static
Ian Lance Taylor [Tue, 7 Oct 1997 15:41:40 +0000 (15:41 +0000)]
* som.c (som_construct_extended_name_table): Remove static
function, and define as macro instead.

27 years agoCheckpoint IGEN input file for MIPS simulator.
Andrew Cagney [Tue, 7 Oct 1997 08:45:11 +0000 (08:45 +0000)]
Checkpoint IGEN input file for MIPS simulator.

27 years agoRemove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 23:57:21 +0000 (23:57 +0000)]
Remove sanitized-out Magic Cap support, will never be released

27 years agoRemove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 23:39:29 +0000 (23:39 +0000)]
Remove sanitized-out Magic Cap support, will never be released

27 years agoRemove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 23:04:34 +0000 (23:04 +0000)]
Remove sanitized-out Magic Cap support, will never be released

27 years agoRemove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 22:55:34 +0000 (22:55 +0000)]
Remove sanitized-out Magic Cap support, will never be released

27 years agoRemove v850 specific section directive.
Nick Clifton [Mon, 6 Oct 1997 21:02:27 +0000 (21:02 +0000)]
Remove v850 specific section directive.

27 years agoRemove sanitized-out Magic Cap support, will never be released
Stan Shebs [Mon, 6 Oct 1997 19:38:43 +0000 (19:38 +0000)]
Remove sanitized-out Magic Cap support, will never be released

27 years ago * objdump.c (disassemble_data): Added "0x" prefix to printed hex
Frank Ch. Eigler [Sun, 5 Oct 1997 21:05:12 +0000 (21:05 +0000)]
* objdump.c (disassemble_data): Added "0x" prefix to printed hex
offsets; fixed MIPS16 disassembly for --prefix-addresses mode;
see PR 12149.

27 years ago * remote-mips.c (mips-initialize): Work around flakiness in
Mark Alexander [Sun, 5 Oct 1997 01:53:22 +0000 (01:53 +0000)]
* remote-mips.c (mips-initialize): Work around flakiness in
some versions of PMON after loading a program.

27 years ago * gas/ieee-fp/x930509a.exp: Accept m68k listing format.
Ian Lance Taylor [Sat, 4 Oct 1997 23:15:26 +0000 (23:15 +0000)]
* gas/ieee-fp/x930509a.exp: Accept m68k listing format.

27 years ago * c-lang.h, cp-valprint.c (static_field_print): Make non-static.
Per Bothner [Fri, 3 Oct 1997 23:05:12 +0000 (23:05 +0000)]
* c-lang.h, cp-valprint.c (static_field_print):  Make non-static.
* parse.c, parser-defs.h (length_of_subexp):  Make non-static.
* jv-exp.y (FieldAccess):  Handle dollar-VARIABLE as primary.
(ArrayAccess):  Likewise.  Also remove warnings.
(CastExpression):  Implement (typename) UnaryExpression.
(push_qualified_expression_name):  Fix small bug.
* jv-lang.c:  Use TYPE_TAG_NAME, not TYPE_NAME for class names.
  (_initialize_jave_language):  Fix typo (jave -> java).
(java_language):  Java does *not* have C-style arrays.
(java_class_from_object):  Make more general (and complicated).
(java_link_class_type):  Fix typo "super" -> "class".  Handle arrays.
(java_emit_char, java_printchar):  New function.
(evaluate_subexp_java case BINOP_SUBSCRIPT):  Handle Java arrays.
* jv-valprint.c (java_value_print):  Implement printing of Java arrays.
(java_print_value_fields):  New function.
(java_val_print):  Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT.

27 years ago * config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
Ian Lance Taylor [Fri, 3 Oct 1997 21:46:04 +0000 (21:46 +0000)]
* config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
including obj-elf.h in OBJ_MAYBE_ELF case.
(mips_target_format): Return NULL after abort to avoid warning.

27 years ago * ecoff.c (generate_ecoff_stab): Remove unused static function.
Ian Lance Taylor [Fri, 3 Oct 1997 21:44:41 +0000 (21:44 +0000)]
* ecoff.c (generate_ecoff_stab): Remove unused static function.

27 years ago * expr.c (operator): Accept ==. From Anders Blomdell
Ian Lance Taylor [Fri, 3 Oct 1997 21:36:42 +0000 (21:36 +0000)]
* expr.c (operator): Accept ==.  From Anders Blomdell
<anders.blomdell@control.lth.se>.

27 years ago * config.bfd: Change alpha-*-* to alpha*-*-*; config.guess now
Richard Henderson [Fri, 3 Oct 1997 21:06:27 +0000 (21:06 +0000)]
    * config.bfd: Change alpha-*-* to alpha*-*-*; config.guess now
        recognizes alphaev5 etc.
        * configure.host: Likewise.

27 years ago * objcopy.c (set_times): New static function, replacing
Ian Lance Taylor [Fri, 3 Oct 1997 20:45:37 +0000 (20:45 +0000)]
* objcopy.c (set_times): New static function, replacing
make_same_dates.
(strip_main): If preserve_dates, stat the input file before
copying it, and call set_times afterward.
(copy_main): Likewise.

27 years ago * gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now
Ian Lance Taylor [Fri, 3 Oct 1997 19:47:46 +0000 (19:47 +0000)]
* gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now
work.  Correct for big endian and for tabs in input file.

* gas/alpha/fp.exp: Check for alpha-*-osf*, not alpha-*-osf1*.
* gas/alpha/fp.s: Change comment characters from ! to #.

27 years ago * config/atof-ieee.c (gen_to_words): When generating a denormal
Ian Lance Taylor [Fri, 3 Oct 1997 19:43:34 +0000 (19:43 +0000)]
* config/atof-ieee.c (gen_to_words): When generating a denormal
number, handle an overflow into the smallest normalized number.

27 years ago Make ld -s work on AIX:
Ian Lance Taylor [Fri, 3 Oct 1997 18:22:35 +0000 (18:22 +0000)]
Make ld -s work on AIX:
* xcofflink.c (xcoff_link_add_symbols): Don't create the .debug
section if we are stripping.
(bfd_xcoff_size_dynamic_sections): Don't set the .debug section
size if we are stripping.
(_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos,
and don't write out relocs, if we are stripping.
(xcoff_link_input_bfd): Don't set up reloc if we are stripping.
(xcoff_write_global_symbol): Don't write out symbol or reloc if we
are stripping.

27 years ago * config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16
Mark Alexander [Fri, 3 Oct 1997 16:58:31 +0000 (16:58 +0000)]
* config/mips/tm-mips.h (MAKE_MSYMBOL_SPECIAL): Force MIPS16
addresses to be odd.
(MIPS_FPU_SINGLE_REGSIZE, MIPS_FPU_DOUBLE_REGSIZE): Define.
* mips-tdep.c (mips_extract_return_value): Doubles aren't
returned in FP0 if FP registers are single-precision only.
start-sanitize-r5900
* config/mips/tm-r5900.h (MIPS_LAST_FP_ARG_REGNUM): Redefine
to disable use of FP registers for function arguments.
end-sanitize-r5900

27 years ago * configure.in: Don't include elf.lo again for ELF targets; it's
Ian Lance Taylor [Fri, 3 Oct 1997 16:53:51 +0000 (16:53 +0000)]
* configure.in: Don't include elf.lo again for ELF targets; it's
always in the library anyhow.
* configure: Rebuild.

27 years ago * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
Ian Lance Taylor [Fri, 3 Oct 1997 16:05:46 +0000 (16:05 +0000)]
* wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
char * when calling strcpy and strlen.

27 years ago * elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, not
Ian Lance Taylor [Fri, 3 Oct 1997 15:25:10 +0000 (15:25 +0000)]
* elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, not
char *, when calling bfd_get_32 and bfd_put_32.
* sunos.c (sunos_scan_dynamic_symbol): Cast contents to char *
when calling strcpy.

27 years agoRewrite simulator floating point module. Do not rely on host FP
Andrew Cagney [Fri, 3 Oct 1997 00:03:35 +0000 (00:03 +0000)]
Rewrite simulator floating point module.  Do not rely on host FP
implementation.  Add preliminary support for different IEEE-754
rounding modes.  Implement SQRT in software.
Update TiC80 simulator.
Add sim-fpu -> TestFloat interface for testing.

27 years ago * reloc.c (bfd_check_overflow): New function.
David Edelsohn [Thu, 2 Oct 1997 23:55:22 +0000 (23:55 +0000)]
* reloc.c (bfd_check_overflow): New function.
(bfd_perform_relocation, bfd_install_relocation): Use it.
(BFD_RELOC_SPARC_{DISP64,PLT64}): New relocs.
(BFD_RELOC_SPARC_{HIX22,LOX10,H44,M44,L44,REGISTER}): New relocs.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

27 years agoFix typo, WITH_TARGET_WORD_BITSIZE not WITH_TARGET_BITSIZE.
Andrew Cagney [Thu, 2 Oct 1997 23:37:30 +0000 (23:37 +0000)]
Fix typo, WITH_TARGET_WORD_BITSIZE not WITH_TARGET_BITSIZE.

27 years ago * ldlang.c (wild_doit): Rewrite flag handling for clarity. If we
Ian Lance Taylor [Thu, 2 Oct 1997 23:08:14 +0000 (23:08 +0000)]
* ldlang.c (wild_doit): Rewrite flag handling for clarity.  If we
  are not adding the first input section, and SEC_READONLY is clear
  on the output section, then don't copy it from the input section.
   If SEC_READONLY is not set on the input section, then clear it on
  the output section.

27 years ago * configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than
Ian Lance Taylor [Thu, 2 Oct 1997 22:45:25 +0000 (22:45 +0000)]
* configure.tgt (mips*-sgi-irix[56]*): Use elf32bsmip rather than
elf32bmip.
(mips*el-*-linux*): Change elf32lmip to elf32lsmip and elf32bmip
to elf32bsmip.
(mips*-*-linux*): Likewise.
* emulparams/elf32bsmip.sh: New file; just like elf32bmip.sh, but
setting ENTRY to __start.
* emulparams/elf32lsmip.sh: New file; just like elf32lmip.sh, but
setting ENTRY to __start.
* scripttempl/elf.sc: Always set ENTRY to _start if it was not
already set.

27 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
David Edelsohn [Thu, 2 Oct 1997 20:51:12 +0000 (20:51 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
renamed to R_SPARC_UNUSED_42.
(sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
* elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
renamed to R_SPARC_UNUSED_42.
(sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
* reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete.
* bfd-in2.h: Regenerated.
* libbfd.h: Regenerated.

27 years agoUse symbolic names rather than numbers for higher value system registers.
Nick Clifton [Thu, 2 Oct 1997 20:34:06 +0000 (20:34 +0000)]
Use symbolic names rather than numbers for higher value system registers.

27 years ago * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for an
Ian Lance Taylor [Thu, 2 Oct 1997 17:22:35 +0000 (17:22 +0000)]
* peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for an
unrecognized section.  From Jon Thackray <jont@harlequin.co.uk>.

27 years agoFixed disassembler to use processor type when decoding instructions.
Nick Clifton [Thu, 2 Oct 1997 00:01:10 +0000 (00:01 +0000)]
Fixed disassembler to use processor type when decoding instructions.

27 years agoCreated seperate sections for read only data in order to prevent their
Nick Clifton [Wed, 1 Oct 1997 23:45:44 +0000 (23:45 +0000)]
Created seperate sections for read only data in order to prevent their
attributes from being inherited by their original containing sections.

27 years ago * Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h.
Ian Lance Taylor [Wed, 1 Oct 1997 18:45:44 +0000 (18:45 +0000)]
* Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h.
  (stmp-bfd-h): Rename from stmp-bfd.h.
  (BFD_H_FILES, LIBBFD_H_FILES, LIBCOFF_H_FILES): New variables.
($(srcdir)/bfd-in2.h): Just depend upon stmp-bin2-h.
(stmp-bin2-h): New target.
($(srcdir)/libbfd.h): Just depend upon stmp-lbfd-h.
(stmp-lbfd-h): New target.
($(srcdir)/libcoff.h): Just depend upon stmp-lcoff-h.
(stmp-lcoff-h): New target.
(CLEANFILES): Change stmp-bfd.h to stmp-bfd-h.  Add stmp-bin2.h,
stmp-lbfd-h, and stmp-lcoff-h.
* Makefile.in: Rebuild.

27 years ago * configure.in: Use a diversion to set enable_shared before the
Ian Lance Taylor [Wed, 1 Oct 1997 18:11:48 +0000 (18:11 +0000)]
* configure.in: Use a diversion to set enable_shared before the
arguments are parsed.
* configure: Rebuild.

27 years ago * configure.in: Use a diversion to set enable_shared before the
Ian Lance Taylor [Wed, 1 Oct 1997 18:05:52 +0000 (18:05 +0000)]
* configure.in: Use a diversion to set enable_shared before the
arguments are parsed.
* configure: Rebuild.

27 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
David Edelsohn [Tue, 30 Sep 1997 21:33:19 +0000 (21:33 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
renamed to R_SPARC_UNUSED_42.
(sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
* elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
renamed to R_SPARC_UNUSED_42.
(sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
* reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete.
* bfd-in2.h: Regenerated.
* libbfd.h: Regenerated.

27 years agoAdded the dependence to tix libraries for SN.
Khamis Abuelkombuz [Tue, 30 Sep 1997 15:54:12 +0000 (15:54 +0000)]
Added the dependence to tix libraries for SN.

27 years ago * mips-tdep.c (set_reg_offset): New function.
Mark Alexander [Tue, 30 Sep 1997 06:20:59 +0000 (06:20 +0000)]
* mips-tdep.c (set_reg_offset): New function.
(mips16_heuristic_proc_desc): Calculate offsets of registers
saved by entry pseudo-op after rest of prologue has been read.
Use set_reg_offset to ignore all but the first save of a given
register.
(mips32_heuristic_proc_desc): Initialize frame adjustment value.
* remote-sim.c (gdbsim_store_register): Don't update registers
that have a null or empty name.
* findvar.c (read_register_bytes): Don't fetch registers
that have a null or empty name.

27 years agoRe-define MAX_REGS and REGISTER_NAMES instead of defining them.
Andrew Cagney [Tue, 30 Sep 1997 04:07:42 +0000 (04:07 +0000)]
Re-define MAX_REGS and REGISTER_NAMES instead of defining them.
(Move definition past #include tm-mips64).

27 years agoAdd access to hi part of r5900 128 bit registers.
Andrew Cagney [Tue, 30 Sep 1997 03:45:51 +0000 (03:45 +0000)]
Add access to hi part of r5900 128 bit registers.

27 years ago * configure: Regenerated.
Bob Manson [Mon, 29 Sep 1997 21:47:14 +0000 (21:47 +0000)]
* configure: Regenerated.

Can't hack one without the other...

27 years ago * configure: Regenerated.
Bob Manson [Mon, 29 Sep 1997 21:46:32 +0000 (21:46 +0000)]
* configure: Regenerated.

Can't hack one without the other...

27 years agoAdd (apparently) missing file.
Jeff Law [Mon, 29 Sep 1997 16:14:30 +0000 (16:14 +0000)]
Add (apparently) missing file.

27 years ago * as.h, input-scrub.c (new_logical_line): New return value.
Joern Rennecke [Mon, 29 Sep 1997 15:10:56 +0000 (15:10 +0000)]
    * as.h, input-scrub.c (new_logical_line): New return value.
        * read.c (s_app_file): Don't note the same file several times
        in a row.
Fix for PR 12277

27 years agoDo not sanitize out sim/testsuite/common directory.
Andrew Cagney [Mon, 29 Sep 1997 00:24:08 +0000 (00:24 +0000)]
Do not sanitize out sim/testsuite/common directory.

27 years ago * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testing
Fred Fish [Sat, 27 Sep 1997 20:04:22 +0000 (20:04 +0000)]
  * d10v_sim.h (INC_ADDR): Align MOD_E to increment before testing
      for end condition.
PR 13334

27 years ago * interp.c (pc_addr): Discard upper bit(s) of PC in case
Fred Fish [Sat, 27 Sep 1997 19:57:05 +0000 (19:57 +0000)]
  * interp.c (pc_addr): Discard upper bit(s) of PC in case
      IMAP1 selects unified memory.
PR 13275

27 years ago * command.c (add_cmd, add_show_from_set): Insert new commands in
Jason Molenda [Sat, 27 Sep 1997 00:34:41 +0000 (00:34 +0000)]
    * command.c (add_cmd, add_show_from_set): Insert new commands in
        alphabetical order.

27 years ago * interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.
Mark Alexander [Fri, 26 Sep 1997 20:56:55 +0000 (20:56 +0000)]
* interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.

27 years ago * config/mips-tm-mips.h (mips_extra_func_info): New frame_adjust
Mark Alexander [Fri, 26 Sep 1997 19:42:55 +0000 (19:42 +0000)]
* config/mips-tm-mips.h (mips_extra_func_info): New frame_adjust
member for storing offset of MIPS16 frame pointer from SP.
* mips-tdep.c: Use RA_REGNUM instead of hardcoded 31 throughout.
(PROC_FRAME_ADJUST): Define.
(mips16_heuristic_proc_desc): Store frame pointer adjustment value.
(get_frame_pointer): Use frame pointer adjustment value when
calculating frame address.
* remote-sim.c (gdbsim_fetch_register): Don't fetch registers
that have a null or empty name.
start-sanitize-tx19
* config/mips/tm-tx19.h (MIPS_DEFAULT_FPU_TYPE): Define.
(REGISTER_NAMES): Redefine to eliminate FP registers.
* config/mips/tm-tx19l.h: Ditto.
end-sanitize-tx19

27 years ago * sim-main.h: delete null override of SIM_ENGINE_HALT_HOOK and
Felix Lee [Fri, 26 Sep 1997 19:24:45 +0000 (19:24 +0000)]
* sim-main.h: delete null override of SIM_ENGINE_HALT_HOOK and
  SIM_ENGINE_RESTART_HOOK.

27 years ago * configure.tgt: Set gdb_target to r5900.
Jeff Law [Fri, 26 Sep 1997 18:53:22 +0000 (18:53 +0000)]
    * configure.tgt: Set gdb_target to r5900.
        * config/mips/tm-r5900.h, config/mips/r5900.mt: New files

        * mips-tdep.c (_initialize_mips_tdep): Allow target files to
        override default FPU type.
Brought over from r5900 branch.

27 years ago * configure.tgt (v850-*-*): necmsg.lib instead of v850.lib.
Felix Lee [Fri, 26 Sep 1997 17:37:34 +0000 (17:37 +0000)]
* configure.tgt (v850-*-*): necmsg.lib instead of v850.lib.

27 years ago * sim-break.c (sim_set_breakpoint sim_clear_breakpoint): Use ZALLOC
Stu Grossman [Thu, 25 Sep 1997 18:22:46 +0000 (18:22 +0000)]
* sim-break.c (sim_set_breakpoint sim_clear_breakpoint):  Use ZALLOC
and zfree instead of xmalloc and free.  Prevents warnings.

27 years ago * config/tc-m68k.c (m68k_ip): Remove ` operand specifier.
Ian Lance Taylor [Thu, 25 Sep 1997 17:11:57 +0000 (17:11 +0000)]
* config/tc-m68k.c (m68k_ip): Remove ` operand specifier.

27 years ago * elflink.h (elf_merge_symbol): Don't check the hash creator until
Ian Lance Taylor [Thu, 25 Sep 1997 16:16:11 +0000 (16:16 +0000)]
* elflink.h (elf_merge_symbol): Don't check the hash creator until
after we have set *sym_hash.

27 years agoAdd/use SIM_AC_OPTION_BITSIZE.
Andrew Cagney [Thu, 25 Sep 1997 07:19:05 +0000 (07:19 +0000)]
Add/use SIM_AC_OPTION_BITSIZE.

27 years ago* config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn with
Andrew Cagney [Thu, 25 Sep 1997 07:01:21 +0000 (07:01 +0000)]
* config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn with
RRRRR=0 for simulator breakpoint. Previous breakpoint insn was two
words.

27 years agoOnly use get_ds_base function on true Windows.
Andrew Cagney [Thu, 25 Sep 1997 04:31:34 +0000 (04:31 +0000)]
Only use get_ds_base function on true Windows.

27 years agoAllow gencode.c to generate input to the igen generator.
Andrew Cagney [Thu, 25 Sep 1997 04:23:24 +0000 (04:23 +0000)]
Allow gencode.c to generate input to the igen generator.

27 years agoPacify GCC -Wall
Andrew Cagney [Thu, 25 Sep 1997 04:13:50 +0000 (04:13 +0000)]
Pacify GCC -Wall

27 years ago * The following block of changes add support for debugging assembly
Stu Grossman [Thu, 25 Sep 1997 01:26:36 +0000 (01:26 +0000)]
* The following block of changes add support for debugging assembly
source files.
* breakpoint.c (resolve_sal_pc):  Prevent crash when pc isn't
associated with a function.
* buildsym.c (record_line start_symtab end_symtab):  Don't delete
symtabs which only have line numbers (but no other debug symbols).
* dbxread.c (read_dbx_symtab end_psymtab):  Ditto.

* remote-sim.c:  New functions gdbsim_insert/remove_breakpoint.  Use
intrinsic simulator breakpoints if available, otherwise do it the
  hard way.
* configure.tgt:  Add d30v.
* d30v-tdep.c:  New file.
* config/d30v/d30v.mt, config/d30v/tm-d30v.h:  New files.

27 years agod30v sanitization
Stu Grossman [Thu, 25 Sep 1997 01:26:07 +0000 (01:26 +0000)]
d30v sanitization

27 years ago * configure.in (d30v): Remove tcl, tk, expect, gdb, itcl, tix, db,
Stu Grossman [Thu, 25 Sep 1997 01:10:18 +0000 (01:10 +0000)]
* configure.in (d30v):  Remove tcl, tk, expect, gdb, itcl, tix, db,
  sn, and gnuserv from noconfigdirs.

27 years ago * remote-sim.h (SIM_RC): Add a bunch of new return codes for
Stu Grossman [Thu, 25 Sep 1997 01:05:31 +0000 (01:05 +0000)]
* remote-sim.h (SIM_RC):  Add a bunch of new return codes for
breakpoint stuff.
* Add functions to tell the simulator to set/clear/enable/disable
intrinsic breakpoints.