platform/upstream/binutils.git
27 years ago * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVE
Richard Henderson [Tue, 14 Oct 1997 06:12:50 +0000 (06:12 +0000)]
    * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVE
        relocs for symbols in shlibs that have been forced local.
        (elf64_alpha_relocate_section): Output RELATIVEs in .got for same.

27 years ago * bfd/elf64-alpha.c (elf64_alpha_relocate_section): Use the
Richard Henderson [Tue, 14 Oct 1997 04:24:59 +0000 (04:24 +0000)]
    * bfd/elf64-alpha.c (elf64_alpha_relocate_section): Use the
        got_enties of the default symbol for the default versioned
        symbol.  Patch from hjl@gnu.ai.mit.edu, modified not to use
        alloca in the loop.

27 years agoOutput line-ref to original igen source file when generating trace
Andrew Cagney [Tue, 14 Oct 1997 02:54:08 +0000 (02:54 +0000)]
Output line-ref to original igen source file when generating trace
statements.
Define NIA macro (dependant on gen-delayed-branch).
Verify opening/closing quote in input assembler strings.

27 years agoRELOC_22_PCREL only uses bottom 24 bits of PC.
Nick Clifton [Tue, 14 Oct 1997 00:34:46 +0000 (00:34 +0000)]
RELOC_22_PCREL only uses bottom 24 bits of PC.

27 years agoAllow assembler to make parallel instructions where there the seconds
Andrew Cagney [Mon, 13 Oct 1997 23:17:22 +0000 (23:17 +0000)]
Allow assembler to make parallel instructions where there the seconds
(latter) outputs intersect with the first (earlier) inputs.

27 years ago * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
Richard Henderson [Mon, 13 Oct 1997 22:28:35 +0000 (22:28 +0000)]
    * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
        templated programs to build with -g.

27 years ago * simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move
Fred Fish [Mon, 13 Oct 1997 18:26:52 +0000 (18:26 +0000)]
* simops.c (OP_6A01): Change OP_POSTDEC to OP_POSTINC and move
exception generation code to OP_6E01.
(OP_6E01): Change OP_POSTINC to OP_POSTDEC and insert exception
generation code.
PR 13550

27 years ago * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
Fred Fish [Sat, 11 Oct 1997 16:50:05 +0000 (16:50 +0000)]
  * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
      (OP_6601): Ditto.
PR 13498

27 years ago * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
Fred Fish [Sat, 11 Oct 1997 16:48:47 +0000 (16:48 +0000)]
  * simops.c (OP_6401): postdecrement on r15 is OK, remove exception.
      (OP_6601): Ditto.

27 years agoAdded .tcomon section initialisation.
Nick Clifton [Sat, 11 Oct 1997 01:02:07 +0000 (01:02 +0000)]
Added .tcomon section initialisation.

27 years agoJim fixed the fixups for conditional and unconditional branches.
Nick Clifton [Sat, 11 Oct 1997 00:55:57 +0000 (00:55 +0000)]
Jim fixed the fixups for conditional and unconditional branches.
Added code to support the bss and common sections in thr ZDA and SDA areas.

27 years agoFixed bug extracting displacement from a JR instruction.
Nick Clifton [Fri, 10 Oct 1997 23:41:43 +0000 (23:41 +0000)]
Fixed bug extracting displacement from a JR instruction.

27 years agoFixed bugs exposed by compiling NEC sample sources.
Nick Clifton [Fri, 10 Oct 1997 23:01:17 +0000 (23:01 +0000)]
Fixed bugs exposed by compiling NEC sample sources.

27 years ago * configure.in (sparc): Set DEFAULT_ARCH from correct target.
David Edelsohn [Fri, 10 Oct 1997 22:02:59 +0000 (22:02 +0000)]
* configure.in (sparc): Set DEFAULT_ARCH from correct target.
* configure: Regenerated.

27 years ago * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
Richard Henderson [Fri, 10 Oct 1997 21:14:29 +0000 (21:14 +0000)]
    * objcopy.c, objcopy.1, binutils.texi: "localize" is a better name
        than "privatize".  Update all references.

27 years agoFri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 10 Oct 1997 18:22:59 +0000 (18:22 +0000)]
Fri Oct 10 11:22:45 1997  Martin M. Hunt  <hunt@cygnus.com>

* config/tc-d10v.c: Fixes to make sure the AT_WORD
expression is not confused with -1.

27 years agoFlag SP as modified for @-sp operand - OPERAND_ATMINUS.
Andrew Cagney [Fri, 10 Oct 1997 05:59:16 +0000 (05:59 +0000)]
Flag SP as modified for @-sp operand - OPERAND_ATMINUS.

27 years agoDo not allow auto inc/dec to parallelize with an instruction that uses the index...
Michael Meissner [Fri, 10 Oct 1997 04:50:36 +0000 (04:50 +0000)]
Do not allow auto inc/dec to parallelize with an instruction that uses the index register

27 years ago * gas/sparc/set64.[sd]: `set' doesn't take negative arguments.
David Edelsohn [Fri, 10 Oct 1997 01:19:45 +0000 (01:19 +0000)]
* gas/sparc/set64.[sd]: `set' doesn't take negative arguments.

27 years ago * elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions.
David Edelsohn [Thu, 9 Oct 1997 23:46:24 +0000 (23:46 +0000)]
* elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions.
(sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs.

27 years ago Added MIPS16 PC masking for disassembly. See PR 12149.
Frank Ch. Eigler [Thu, 9 Oct 1997 20:26:08 +0000 (20:26 +0000)]
Added MIPS16 PC masking for disassembly.  See PR 12149.

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