binutils-gdb.git
27 years ago * expr.c (expr): Change >>= to >> (fix typo). (From meissner).
Ian Lance Taylor [Thu, 26 Sep 1996 20:04:56 +0000 (20:04 +0000)]
* expr.c (expr): Change >>= to >> (fix typo).  (From meissner).

27 years agoThu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 26 Sep 1996 16:42:57 +0000 (16:42 +0000)]
Thu Sep 26 17:35:00 1996  James G. Smith  <jsmith@cygnus.co.uk>

* interp.c (SignalException): Check for explicit terminating
  breakpoint value.
* gencode.c: Pass instruction value through SignalException()
  calls for Trap, Breakpoint and Syscall.

27 years agoThu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 26 Sep 1996 10:39:34 +0000 (10:39 +0000)]
Thu Sep 26 11:35:17 1996  James G. Smith  <jsmith@cygnus.co.uk>

* interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
  only used on those hosts that provide it.
* configure.in: Add sqrt() to list of functions to be checked for.
* config.in: Re-generated.
* configure: Re-generated.

27 years agoalways keep dbug-rom.c
Stan Shebs [Thu, 26 Sep 1996 01:40:40 +0000 (01:40 +0000)]
always keep dbug-rom.c

27 years ago * dbug-rom.c: New file, support for Motorola's dBUG monitor.
Stan Shebs [Thu, 26 Sep 1996 01:38:52 +0000 (01:38 +0000)]
* dbug-rom.c: New file, support for Motorola's dBUG monitor.
* config/m68k/monitor.mt (TDEPFILES): Add it.
* NEWS: Mention it.

27 years agoFix tracing for st2w
Michael Meissner [Wed, 25 Sep 1996 20:33:21 +0000 (20:33 +0000)]
Fix tracing for st2w

27 years ago * configure.in (noconfigdirs): Don't configure any C++ dirs
Stan Shebs [Wed, 25 Sep 1996 02:09:20 +0000 (02:09 +0000)]
* configure.in (noconfigdirs): Don't configure any C++ dirs
if targeting D10V.

27 years ago * read.c (float_cons): Call md_flush_pending_output if it is
Ian Lance Taylor [Tue, 24 Sep 1996 23:06:05 +0000 (23:06 +0000)]
* read.c (float_cons): Call md_flush_pending_output if it is
defined.
PR 10716.

27 years agoTue Sep 24 12:22:18 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 24 Sep 1996 19:24:38 +0000 (19:24 +0000)]
Tue Sep 24 12:22:18 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tc-d10v.c (md_operand): Created.  Allows operands to
start with '#'.
* tc-d10v.h (md_operand): Undefined.

27 years agoMon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 23 Sep 1996 23:20:05 +0000 (23:20 +0000)]
Mon Sep 23 16:13:50 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
Now single-steps correctly.

27 years agoMon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Mon, 23 Sep 1996 23:18:50 +0000 (23:18 +0000)]
Mon Sep 23 16:13:50 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
Now single-steps correctly.
* d10v-tdep.c (d10v_pop_frame): Fixed.

27 years ago * config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
Ian Lance Taylor [Mon, 23 Sep 1996 16:32:24 +0000 (16:32 +0000)]
* config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
(md_assemble): A fixup width of '3' means a 1 byte reloc.

27 years ago * reloc.c: Rename m32r relocs.
David Edelsohn [Mon, 23 Sep 1996 16:24:46 +0000 (16:24 +0000)]
* reloc.c: Rename m32r relocs.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf32-m32r.c: Update.

27 years agom32r.h: new file
David Edelsohn [Mon, 23 Sep 1996 16:18:01 +0000 (16:18 +0000)]
m32r.h: new file

27 years ago * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
Stan Shebs [Fri, 20 Sep 1996 23:20:58 +0000 (23:20 +0000)]
* config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
be consistent with GCC.
(FPUL_REGNUM, etc): Renumber to match list changes.
(ADDR_BITS_REMOVE): Delete.
* sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
Rearrange to match REGISTER_NAMES.
* sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
PR 9457

27 years agoFri Sep 20 15:36:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Fri, 20 Sep 1996 22:39:45 +0000 (22:39 +0000)]
Fri Sep 20 15:36:45 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* interp.c (sim_create_inferior): Reinitialize State every time
sim_create_inferior() is called.

27 years ago * gencode.c (process_instructions): Call build_endian_shift when
Ian Lance Taylor [Fri, 20 Sep 1996 19:49:49 +0000 (19:49 +0000)]
* gencode.c (process_instructions): Call build_endian_shift when
expanding STORE RIGHT, to fix swr.
* support.h (SIGNEXTEND): If the sign bit is not set, explicitly
clear the high bits.
* interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
Fix float to int conversions to produce signed values.

27 years ago * aoutx.h (aout_link_input_section_ext): When doing a relocateable
Ian Lance Taylor [Fri, 20 Sep 1996 16:33:44 +0000 (16:33 +0000)]
* aoutx.h (aout_link_input_section_ext): When doing a relocateable
link, adjust the symbol index of a base relative reloc.  Don't
change the addend of a PC relative reloc if pcrel_offset is set.
* sunos.c (bfd_sunos_size_dynamic_sections): Don't do anything for
a relocateable link.
PR 10692.

27 years ago * reloc.c (bfd_perform_relocation): Apply the relocation even if
Ian Lance Taylor [Fri, 20 Sep 1996 15:44:49 +0000 (15:44 +0000)]
* reloc.c (bfd_perform_relocation): Apply the relocation even if
it is zero, in case src_mask matters.
(bfd_install_relocation): Likewise.
PR 10685.

27 years agoLose doc directory until we DOS-ize it; Add doc/.Sanitize
Michael Meissner [Fri, 20 Sep 1996 13:11:37 +0000 (13:11 +0000)]
Lose doc directory until we DOS-ize it; Add doc/.Sanitize

27 years agoAdd documentation files
Michael Meissner [Fri, 20 Sep 1996 12:46:09 +0000 (12:46 +0000)]
Add documentation files

27 years agoPSIM 1996/9/19 update
Michael Meissner [Fri, 20 Sep 1996 12:36:54 +0000 (12:36 +0000)]
PSIM 1996/9/19 update

27 years agoFix multiplication, ldxc1, and floating point conversion. See ChangeLog.
Ian Lance Taylor [Fri, 20 Sep 1996 03:07:43 +0000 (03:07 +0000)]
Fix multiplication, ldxc1, and floating point conversion.  See ChangeLog.

27 years agoMake sure cmp{,eq,u}i use correct casts
Michael Meissner [Fri, 20 Sep 1996 01:42:15 +0000 (01:42 +0000)]
Make sure cmp{,eq,u}i use correct casts

27 years agoThu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Thu, 19 Sep 1996 23:21:56 +0000 (23:21 +0000)]
Thu Sep 19 16:19:01 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-tdep.c:  Stack chain should work now.

27 years ago * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
Ian Lance Taylor [Thu, 19 Sep 1996 22:52:26 +0000 (22:52 +0000)]
* interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
It's OK to have a mult follow a mult.  What's not OK is to have a
mult follow an mfhi.

27 years ago * gencode.c (process_instructions): Correct shift count for 32
Ian Lance Taylor [Thu, 19 Sep 1996 21:55:10 +0000 (21:55 +0000)]
* gencode.c (process_instructions): Correct shift count for 32
bit shift instructions.  Correct sign extension for arithmetic
shifts to not shift the number of bits in the type.

27 years ago * gencode.c (process_instructions): Correct handling of nor
Ian Lance Taylor [Thu, 19 Sep 1996 19:35:09 +0000 (19:35 +0000)]
* gencode.c (process_instructions): Correct handling of nor
instruction.

27 years agoFix tracing info
Michael Meissner [Thu, 19 Sep 1996 17:23:21 +0000 (17:23 +0000)]
Fix tracing info

27 years ago * config/obj-coff.c (fixup_segment): Don't adjust PC relative
Ian Lance Taylor [Thu, 19 Sep 1996 16:25:11 +0000 (16:25 +0000)]
* config/obj-coff.c (fixup_segment): Don't adjust PC relative
reloc for the i960 for a reloc in the same section.  This undoes
one of the two changes made Aug 19.
PR 10672.

27 years ago * xcofflink.c (xcoff_link_add_symbols): Always initialize
Ian Lance Taylor [Thu, 19 Sep 1996 15:08:58 +0000 (15:08 +0000)]
* xcofflink.c (xcoff_link_add_symbols): Always initialize
keep_syms.
  (_bfd_xcoff_bfd_final_link): Don't set target_index
to an uninitialized value.

27 years agoMake sure there is a trailing space after the instruction
Michael Meissner [Thu, 19 Sep 1996 15:06:37 +0000 (15:06 +0000)]
Make sure there is a trailing space after the instruction

27 years agoProvide macros that can be overriden for the width of the PC & line number fields
Michael Meissner [Thu, 19 Sep 1996 15:02:27 +0000 (15:02 +0000)]
Provide macros that can be overriden for the width of the PC & line number fields

27 years agoAdd dependencies on lib{bfd,iberity}.a
Michael Meissner [Thu, 19 Sep 1996 14:31:01 +0000 (14:31 +0000)]
Add dependencies on lib{bfd,iberity}.a

27 years ago * gas/all/cofftag.s: Use .p2align rather than .align.
Ian Lance Taylor [Wed, 18 Sep 1996 16:15:10 +0000 (16:15 +0000)]
* gas/all/cofftag.s: Use .p2align rather than .align.

27 years ago * config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
Ian Lance Taylor [Wed, 18 Sep 1996 16:14:29 +0000 (16:14 +0000)]
* config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
symbols to the position of the debugging information.
PR 10668.

27 years agoRename sim_bfd -> exec_bfd for gdb compatibility
Michael Meissner [Wed, 18 Sep 1996 13:56:57 +0000 (13:56 +0000)]
Rename sim_bfd -> exec_bfd for gdb compatibility

27 years agoMake exit/stop return correct exit value; Add line number tracing.
Michael Meissner [Wed, 18 Sep 1996 13:23:31 +0000 (13:23 +0000)]
Make exit/stop return correct exit value; Add line number tracing.

27 years agoTue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 18 Sep 1996 01:50:06 +0000 (01:50 +0000)]
Tue Sep 17 18:46:57 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* tm-d10v.h: Snapshot.

27 years agoTue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Wed, 18 Sep 1996 01:49:50 +0000 (01:49 +0000)]
Tue Sep 17 18:46:57 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.

27 years ago * coff-sh.c (sh_relocate_section): Check for an illegal symbol
Ian Lance Taylor [Tue, 17 Sep 1996 20:10:59 +0000 (20:10 +0000)]
* coff-sh.c (sh_relocate_section): Check for an illegal symbol
index.

27 years ago * coffcode.h (coff_slurp_line_table): Warn about illegal symbol
Ian Lance Taylor [Tue, 17 Sep 1996 18:20:06 +0000 (18:20 +0000)]
* coffcode.h (coff_slurp_line_table): Warn about illegal symbol
indices, rather than crashing.
(coff_slurp_reloc_table): Likewise.  Check whether the howto field
is NULL.

27 years ago * configure.in: Add cases for MIPS 5000 like MIPS 4300.
Ian Lance Taylor [Tue, 17 Sep 1996 16:23:23 +0000 (16:23 +0000)]
* configure.in: Add cases for MIPS 5000 like MIPS 4300.
* configure: Rebuild.

27 years ago * configure.tgt: Add cases for MIPS 5000 like MIPS 4300.
Ian Lance Taylor [Tue, 17 Sep 1996 16:19:44 +0000 (16:19 +0000)]
* configure.tgt: Add cases for MIPS 5000 like MIPS 4300.

27 years ago * mips-opc.c: Add a case for "div" and "divu" with two registers
Ian Lance Taylor [Tue, 17 Sep 1996 16:07:41 +0000 (16:07 +0000)]
* mips-opc.c: Add a case for "div" and "divu" with two registers
and a destination of $0.
PR 10654.

27 years ago * ser-e7kpc.c: Added wingdb support for target e7000pc.
Dawn Perchik [Tue, 17 Sep 1996 10:16:30 +0000 (10:16 +0000)]
* ser-e7kpc.c: Added wingdb support for target e7000pc.

27 years agoTue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Tue, 17 Sep 1996 10:10:35 +0000 (10:10 +0000)]
Tue Sep 17 11:04:50 1996  James G. Smith  <jsmith@cygnus.co.uk>

* run.c (main): Explicitly cast malloc() parameter.

This is needed because for certain builds the size field being given
to malloc() is actually 64bits long, and without a cast or malloc
prototype the resulting value used by malloc() depended on the host
endianness, and how long long paramaters are passed into functions.

27 years agoTue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Tue, 17 Sep 1996 10:03:02 +0000 (10:03 +0000)]
Tue Sep 17 10:56:52 1996  James G. Smith  <jsmith@cygnus.co.uk>

* remote-mips.c (pmon_wait): CAIRO PMON does not require forced
  re-entry back into debug mode.

27 years ago * coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D
Ian Lance Taylor [Mon, 16 Sep 1996 22:31:16 +0000 (22:31 +0000)]
* coff-arm.c (aoutarm_std_reloc_howto): Change dst_mask for ARM26D
  reloc to 0.
(coff_arm_adjust_symndx): New static function.
(coff_adjust_symndx): Define.
Fix ld -r.

27 years ago * scripttempl/armcoff.sc: Only define symbols if RELOCATING. Fix
Ian Lance Taylor [Mon, 16 Sep 1996 22:12:46 +0000 (22:12 +0000)]
* scripttempl/armcoff.sc: Only define symbols if RELOCATING.  Fix
syntax error on __end__ line.

27 years ago * scripttempl/armcoff.sc: For -N or -n, don't align .data. From
Ian Lance Taylor [Mon, 16 Sep 1996 21:56:33 +0000 (21:56 +0000)]
* scripttempl/armcoff.sc: For -N or -n, don't align .data.  From
  Chris Hadley <Christopher.Hadley@cl.cam.ac.uk>

27 years ago * ieee.c (struct ieee_write_type): Add reflocalp field.
Ian Lance Taylor [Mon, 16 Sep 1996 21:45:01 +0000 (21:45 +0000)]
* ieee.c (struct ieee_write_type): Add reflocalp field.
(ieee_pointer_type): Set reflocalp after pushing type.
(ieee_function_type): If reflocalp is set, make this type local.
(ieee_range_type, ieee_array_type, ieee_set_type): Likewise.
(ieee_const_type, ieee_volatile_type): Likewise.
(ieee_struct_field, ieee_class_baseclass): Likewise.
PR 10638.

27 years ago * configure.in: Use a single line for host_tools and native_only.
Ian Lance Taylor [Mon, 16 Sep 1996 21:02:11 +0000 (21:02 +0000)]
* configure.in: Use a single line for host_tools and native_only.

27 years ago * ieee.c (struct ieee_info): Add global_types field.
Ian Lance Taylor [Mon, 16 Sep 1996 19:33:04 +0000 (19:33 +0000)]
* ieee.c (struct ieee_info): Add global_types field.
(parse_ieee_bb): When starting a BB1, initialize the types field
to the global_types field.
(parse_ieee_be): When ending a BB2, copy the types field to the
global_types field.

27 years ago * srec.c (srec_scan): Accept multiple symbols on a single line.
Ian Lance Taylor [Mon, 16 Sep 1996 17:05:12 +0000 (17:05 +0000)]
* srec.c (srec_scan): Accept multiple symbols on a single line.
From Pascal Martin <pmartin@alsys.com>.

27 years ago * README: New file.
Ian Lance Taylor [Mon, 16 Sep 1996 16:40:13 +0000 (16:40 +0000)]
* README: New file.

27 years ago * expr.c (expr): Always use unsigned right shifts for >>.
Ian Lance Taylor [Mon, 16 Sep 1996 15:42:47 +0000 (15:42 +0000)]
* expr.c (expr): Always use unsigned right shifts for >>.
PR 10630.

27 years agoMon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Mon, 16 Sep 1996 13:37:02 +0000 (13:37 +0000)]
Mon Sep 16 14:32:58 1996  James G. Smith  <jsmith@cygnus.co.uk>

* remote-mips.c (mips_load): Ensure that the PC is explicitly
  loaded after a load to a CAIRO PMON system.

27 years agoMon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Mon, 16 Sep 1996 10:47:20 +0000 (10:47 +0000)]
Mon Sep 16 11:38:16 1996  James G. Smith  <jsmith@cygnus.co.uk>

* interp.c (sim_monitor): Improved monitor printf
  simulation. Tidied up simulator warnings, and added "--log" option
  for directing warning message output.
* gencode.c: Use sim_warning() rather than WARNING macro.

27 years ago * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
Jeff Law [Mon, 16 Sep 1996 04:09:17 +0000 (04:09 +0000)]
    * emulparms/v850.sh: Fix OTHER_RELOCATING_SECTIONS.
Something Mark noticed.

27 years ago * emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
Mark Alexander [Sun, 15 Sep 1996 17:41:13 +0000 (17:41 +0000)]
* emulparms/d10v.sh: Set OTHER_RELOCATING_SECTIONS to put
stack at top of simulator memory.

27 years agoFix brf0{t,f}.s <label> -> instruction not to execute instruction if branch succeeds
Michael Meissner [Sun, 15 Sep 1996 03:46:52 +0000 (03:46 +0000)]
Fix brf0{t,f}.s <label> -> instruction not to execute instruction if branch succeeds

27 years ago * Makefile.in (CC_FOR_BUILD): New variable.
Ian Lance Taylor [Sat, 14 Sep 1996 04:05:41 +0000 (04:05 +0000)]
* Makefile.in (CC_FOR_BUILD): New variable.
(AR, AR_FLAGS, BISON, MAKEINFO): Remove duplicate variables.
(RANLIB, CC): Likewise.
(end): Use $(CC_FOR_BUILD), not $(CC).
* configure.in: Set CC_FOR_BUILD.
* configure: Rebuild.

27 years agoFor unknown traps, print contents of registers and continue execution
Michael Meissner [Sat, 14 Sep 1996 02:36:40 +0000 (02:36 +0000)]
For unknown traps, print contents of registers and continue execution

27 years ago * Makefile.in (just-check): Add path to sibling expect dir
Fred Fish [Sat, 14 Sep 1996 01:40:32 +0000 (01:40 +0000)]
* Makefile.in (just-check): Add path to sibling expect dir
to environment variable specified by RPATH_ENVVAR.
PR 10489 (forgot one path)

27 years ago * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
Fred Fish [Sat, 14 Sep 1996 00:09:24 +0000 (00:09 +0000)]
* Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
(HLDENV): Set to @HLDENV@.
(gdb): Prefix link command line with $(HLDENV).
* configure.in: Add support to test for --enable-shared and
generate appropriate values for HLDFLAGS and HLDENV.
* configure: Regenerated with autoconf.
PR 10489

27 years ago * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
Fred Fish [Sat, 14 Sep 1996 00:04:09 +0000 (00:04 +0000)]
* Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
(just-check): Add shared library paths for libstdc++, tk,
tcl, bfd, and opcodes to the environment variable specified
in RPATH_ENVVAR.
* configure.in: Add support to recognize --enable-shared flag
and generate correct value for RPATH_ENVVAR.
* configure: Regenerated with autoconf.

27 years ago * aoutf1.h (MY_bfd_merge_private_bfd_data): Define.
David Edelsohn [Fri, 13 Sep 1996 22:18:58 +0000 (22:18 +0000)]
* aoutf1.h (MY_bfd_merge_private_bfd_data): Define.
(sunos_merge_private_bfd_data): New function.

27 years ago * objcopy.c (change_leading_char): New static variable.
Ian Lance Taylor [Fri, 13 Sep 1996 21:34:08 +0000 (21:34 +0000)]
* objcopy.c (change_leading_char): New static variable.
(OPTION_CHANGE_LEADING_CHAR): Define.
(copy_options): Add "change-leading-char".
(copy_usage): Mention --change-leading-char.
(filter_symbols): Add obfd parameter.  Change all callers.
Implement change_leading_char.
(copy_object): Call filter_symbols if change_leading_char.
(copy_main): Handle OPTION_CHANGE_LEADING_CHAR.
* binutils.texi, objcopy.1: Document --change-leading-char.

27 years ago * gas/h8300/macs.s: Add "stmac" instructions.
Jeff Law [Fri, 13 Sep 1996 21:27:22 +0000 (21:27 +0000)]
    * gas/h8300/macs.s: Add "stmac" instructions.
        * gas/h8300/basic.exp: Test them.
Somehow I forgot to test "stmac".

27 years ago * bfd.c (bfd_copy_private_bfd_data): Switch on output BFD rather
Ian Lance Taylor [Fri, 13 Sep 1996 21:01:43 +0000 (21:01 +0000)]
* bfd.c (bfd_copy_private_bfd_data): Switch on output BFD rather
than input BFD.
(bfd_merge_private_bfd_data): Likewise.
* section.c (bfd_copy_private_section_data): Likewise.
* syms.c (bfd_copy_private_symbol_data): Likewise.
* bfd-in2.h: Rebuild.
* aout-target.h (MY_bfd_copy_private_section_data): Check that
both BFD's are the right flavour.
* ecoff.c (_bfd_ecoff_bfd_copy_private_bfd_data): Likewise.
* elf.c (_bfd_elf_copy_private_symbol_data): Likewise.
* elf32-mips.c (_bfd_mips_elf_copy_private_bfd_data): Likewise.
(_bfd_mips_elf_merge_private_bfd_data): Likewise.
* elf32-ppc.c (ppc_elf_copy_private_bfd_data): Likewise.
(ppc_elf_merge_private_bfd_data): Likewise.
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise.
* peicode.h (pe_bfd_copy_private_section_data): Likewise.

27 years ago * elf32-hppa.c (elf_hppa_howto_table): Fill in some fields for
Ian Lance Taylor [Fri, 13 Sep 1996 19:52:14 +0000 (19:52 +0000)]
* elf32-hppa.c (elf_hppa_howto_table): Fill in some fields for
R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes
its sanity check.

27 years ago * ldlex.l (SYMBOLCHARN): Add $, _, and ~.
Ian Lance Taylor [Fri, 13 Sep 1996 19:50:50 +0000 (19:50 +0000)]
* ldlex.l (SYMBOLCHARN): Add $, _, and ~.

27 years ago * simops.c (OP_5F00): Fix problems with system calls.
Mark Alexander [Thu, 12 Sep 1996 19:52:40 +0000 (19:52 +0000)]
* simops.c (OP_5F00): Fix problems with system calls.

27 years ago* cpu-m32r.c,elf32-m32r.c: New files.
David Edelsohn [Thu, 12 Sep 1996 18:58:36 +0000 (18:58 +0000)]
* cpu-m32r.c,elf32-m32r.c: New files.

27 years ago * reloc.c: Add m32r relocs.
David Edelsohn [Thu, 12 Sep 1996 18:56:14 +0000 (18:56 +0000)]
* reloc.c: Add m32r relocs.
* bfd-in2.h, libbfd.h: Rebuilt.

27 years agoCorrect trap tracing information
Michael Meissner [Thu, 12 Sep 1996 16:20:05 +0000 (16:20 +0000)]
Correct trap tracing information

27 years agoPrint line # and function name or filename if they exist for each PC.
Michael Meissner [Thu, 12 Sep 1996 16:06:02 +0000 (16:06 +0000)]
Print line # and function name or filename if they exist for each PC.

27 years agoStore bfd pointer in a global variable
Michael Meissner [Thu, 12 Sep 1996 15:28:40 +0000 (15:28 +0000)]
Store bfd pointer in a global variable

27 years ago * ieee.c (ieee_vec): Set symbol_leading_char field to '_'.
Ian Lance Taylor [Thu, 12 Sep 1996 15:15:06 +0000 (15:15 +0000)]
* ieee.c (ieee_vec): Set symbol_leading_char field to '_'.

27 years agoThu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 12 Sep 1996 09:31:02 +0000 (09:31 +0000)]
Thu Sep 12 10:25:45 1996  James G. Smith  <jsmith@cygnus.co.uk>

* config/tc-arm.c (md_apply_fix3): Update two thumb instruction
  slots when processing BL fixups.

* config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
  on the first half of the instruction.

Thu Sep 12 10:28:44 1996  James G. Smith  <jsmith@cygnus.co.uk>

* gas/arm/thumb.s (back): Check assembly of Thumb BL.

27 years ago * ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al.
Ian Lance Taylor [Thu, 12 Sep 1996 03:34:28 +0000 (03:34 +0000)]
* ldmain.c (get_emulation): Check for -mips4 like -mips1, et. al.

27 years agofix typo
Michael Meissner [Wed, 11 Sep 1996 22:56:25 +0000 (22:56 +0000)]
fix typo

27 years ago * tekhex.c (first_phase): Change type parameter from char to int.
Ian Lance Taylor [Wed, 11 Sep 1996 21:08:33 +0000 (21:08 +0000)]
* tekhex.c (first_phase): Change type parameter from char to int.
(out): Likewise.
(pass_over): Change func to expect int, not char.

27 years agoAdd tracing support; Fix some problems with hardwired sizes
Michael Meissner [Wed, 11 Sep 1996 20:54:21 +0000 (20:54 +0000)]
Add tracing support; Fix some problems with hardwired sizes

27 years ago * ecoff.c (ecoff_stab): Create an expression symbol for a complex
Ian Lance Taylor [Wed, 11 Sep 1996 18:40:25 +0000 (18:40 +0000)]
* ecoff.c (ecoff_stab): Create an expression symbol for a complex
stabs expression, rather than giving an error.

27 years ago * elf.c (assign_file_positions_for_segments): Test SEC_ALLOC
Ian Lance Taylor [Wed, 11 Sep 1996 15:59:34 +0000 (15:59 +0000)]
* elf.c (assign_file_positions_for_segments): Test SEC_ALLOC
rather than SEC_LOAD when aligning the file offset for the first
section in a segment.
Fixes the case in which . is set just before the .bss section in a
linker script.

27 years ago * mips-dis.c (print_insn_arg): Add prototype.
Fred Fish [Wed, 11 Sep 1996 04:26:58 +0000 (04:26 +0000)]
* mips-dis.c (print_insn_arg): Add prototype.
(_print_insn_mips): Ditto.

27 years ago * syms.c (coff_section_type): Make arg const.
Fred Fish [Wed, 11 Sep 1996 04:25:57 +0000 (04:25 +0000)]
* syms.c (coff_section_type): Make arg const.
* irix-core.c (irix_core_core_file_p): Remove extraneous extra arg
to make_bfd_asection().
* elf-bfd.h (bfd_section_from_phdr): Add prototype.
* elfcode.h (bfd_section_from_phdr): Remove prototype.
(_bfd_elf_stringtab_init): Remove prototype.

* netbsd-core.c (swap_abort): Add prototype.
* aix386-core.c (swap_abort): Ditto & make static
* hpux-core.c (swap_abort): Ditto & make static.
* irix-core.c (swap_abort): Ditto & make static.
* ptrace-core.c (swap_abort): Ditto & make static.
* trad-core.c (swap_abort): Ditto & make static.
* coffswap.h (coff_swap_reloc_in): Ditto.
(coff_swap_reloc_out): Ditto.
(coff_swap_filehdr_in): Ditto.
(coff_swap_filehdr_out): Ditto.
(coff_swap_sym_in): Ditto.
(coff_swap_sym_out): Ditto.
(coff_swap_aux_in): Ditto.
(coff_swap_aux_out): Ditto.
(coff_swap_lineno_in): Ditto.
(coff_swap_lineno_out): Ditto.
(coff_swap_aouthdr_in): Ditto.
(coff_swap_aouthdr_out): Ditto.
(coff_swap_scnhdr_in): Ditto.
(coff_swap_scnhdr_out): Ditto.
* ihex.c (ihex_sizeof_headers): Ditto.
* tekhex.c (getsym): Ditto.
(find_chunk): Ditto & make static.
(insert_byte): Ditto.
(first_phase): Ditto.
(pass_over): Ditto.
(tekhex_get_symtab): Ditto & make static.
(tekhex_get_symtab_upper_bound): Ditto & make static.
(tekhex_mkobject): Ditto.
(tekhex_object_p): Ditto.
(move_section_contents): Ditto.
(tekhex_get_section_contents): Ditto.
(tekhex_set_arch_mach): Ditto & make static.
(tekhex_set_section_contents): Ditto.
(writevalue): Ditto.
(writesym): Ditto.
(out): Ditto.
(tekhex_write_object_contents): Ditto.
(tekhex_sizeof_headers): Ditto.
(tekhex_make_empty_symbol): Ditto.
(tekhex_get_symbol_info): Ditto.
(tekhex_print_symbol): Ditto.
* irix-core.c (make_bfd_asection): Ditto.
(irix_core_core_file_p): Ditto.
(irix_core_core_file_failing_command): Ditto.
(irix_core_core_file_failing_signal): Ditto.
(irix_core_core_file_matches_executable_p): Ditto.
(irix_core_make_empty_symbol): Ditto.
* coff-mips.c (mips_bfd_reloc_type_lookup): Ditto.
* srec.c (srec_new_symbol): Ditto.
(srec_get_section_contents): Ditto.
(srec_set_arch_mach): Ditto.
(srec_set_section_contents): Ditto.
(internal_srec_write_object_contents): Ditto.
(srec_write_object_contents): Ditto.
(symbolsrec_write_object_contents): Ditto.
(srec_sizeof_headers): Ditto.
(srec_make_empty_symbol): Ditto.
(srec_get_symtab_upper_bound): Ditto.
(srec_get_symtab): Ditto.
(srec_print_symbol): Ditto and make static.
* elf.c (elf_read): Ditto
(assign_section_numbers): Ditto.
(elf_fake_sections): Ditto.
(sym_is_global): Ditto.
(elf_map_symbols): Ditto.
(get_program_header_size): Ditto.
* coffgen.c (make_a_section_from_file): Ditto.
(coff_real_object_p): Ditto.
(fixup_symbol_value): Ditto.
(build_debug_section): Ditto.
(copy_name): Ditto.
* syms.c (coff_section_type): Ditto.

27 years ago * ecoff.c (ecoff_new_file): Don't do anything if we are still in
Ian Lance Taylor [Wed, 11 Sep 1996 04:14:35 +0000 (04:14 +0000)]
* ecoff.c (ecoff_new_file): Don't do anything if we are still in
the same file.
PR 10595.

27 years ago * config/tc-mips.c (append_insn): Fill in the value for a constant
Ian Lance Taylor [Tue, 10 Sep 1996 15:47:16 +0000 (15:47 +0000)]
* config/tc-mips.c (append_insn): Fill in the value for a constant
jump, rather than creating a reloc.
PR 10589.

27 years ago * bfd-in2.h: Rebuilt after m32r changes.
Jeff Law [Tue, 10 Sep 1996 04:35:48 +0000 (04:35 +0000)]
    * bfd-in2.h: Rebuilt after m32r changes.

27 years ago * interp.c (hash): Make this an inline function
Jeff Law [Tue, 10 Sep 1996 02:51:07 +0000 (02:51 +0000)]
    * interp.c (hash): Make this an inline function
        when compiling with GCC.  Simplify.
        * simpos.c: Explicitly include "sys/syscall.h".  Remove
        some #if 0'd code.  Enable more emulated syscalls.
Checking in more stuff.

27 years agoDon't set interlocks for r5000. Rely on -mips4 settings.
Ian Lance Taylor [Tue, 10 Sep 1996 01:12:35 +0000 (01:12 +0000)]
Don't set interlocks for r5000.  Rely on -mips4 settings.

27 years ago * config.bfd,configure.in,configure: Add m32r support.
David Edelsohn [Mon, 9 Sep 1996 22:59:40 +0000 (22:59 +0000)]
* config.bfd,configure.in,configure: Add m32r support.
* Makefile.in,archures.c,elf.c,targets.c: Likewise.

27 years agoAddi needs to set the carry
Michael Meissner [Mon, 9 Sep 1996 21:12:46 +0000 (21:12 +0000)]
Addi needs to set the carry

27 years agoFix ld2w tracing
Michael Meissner [Mon, 9 Sep 1996 20:45:33 +0000 (20:45 +0000)]
Fix ld2w tracing

27 years agoCorrect tracing of cpfg
Michael Meissner [Mon, 9 Sep 1996 20:10:31 +0000 (20:10 +0000)]
Correct tracing of cpfg

27 years ago * config.bfd,configure.in,configure: Add m32r support.
David Edelsohn [Mon, 9 Sep 1996 19:37:47 +0000 (19:37 +0000)]
* config.bfd,configure.in,configure: Add m32r support.

27 years ago * config.bfd: Keep target list alphabetically sorted.
David Edelsohn [Mon, 9 Sep 1996 19:32:40 +0000 (19:32 +0000)]
* config.bfd: Keep target list alphabetically sorted.