binutils-gdb.git
28 years ago * mdebugread.c (parse_symbol): Fix crash when malloc has
Mark Alexander [Sat, 19 Oct 1996 00:31:53 +0000 (00:31 +0000)]
* mdebugread.c (parse_symbol): Fix crash when malloc has
no type info and void type has no associated pointer type.

28 years ago * Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o.
Ian Lance Taylor [Fri, 18 Oct 1996 19:46:57 +0000 (19:46 +0000)]
* Makefile.in (ALL_EMULATIONS): Remove eelf64alpha.o.
(ALL_64_EMULATIONS): New variable.
* configure.in: Accept --enable-64-bit-bfd option.  If it is set
with --enable-targets=all, include ALL_64_EMULATIONS in
EMULATION_OFILES.
* configure: Rebuild.

28 years ago * config/tc-mips.c (mips_ip): Accept an odd floating point
Ian Lance Taylor [Fri, 18 Oct 1996 19:33:03 +0000 (19:33 +0000)]
* config/tc-mips.c (mips_ip): Accept an odd floating point
register with l.s or s.s.

28 years ago * scripttempl/v850.sc (__gp, __ep): Define.
Jeff Law [Fri, 18 Oct 1996 18:59:45 +0000 (18:59 +0000)]
    * scripttempl/v850.sc (__gp, __ep): Define.

28 years ago * config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
Ian Lance Taylor [Fri, 18 Oct 1996 18:07:55 +0000 (18:07 +0000)]
* config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
.type pseudo-op.
(obj_aout_type): New static function.

28 years ago * Makefile.in (CC_FOR_TARGET): Check for xgcc, not Makefile.
Ian Lance Taylor [Fri, 18 Oct 1996 17:40:56 +0000 (17:40 +0000)]
* Makefile.in (CC_FOR_TARGET): Check for xgcc, not Makefile.
(CXX_FOR_TARGET): Likewise.
(GCC_FOR_TARGET): Define.
(BASE_FLAGS_TO_PASS): Remove GCC_FOR_TARGET.
(EXTRA_GCC_FLAGS): Define GCC_FOR_TARGET based on whether
CC_FOR_TARGET was specified on the command line.
(MAKEOVERRIDES): Don't define.

28 years agoAdd support for fsel
Michael Meissner [Fri, 18 Oct 1996 16:22:35 +0000 (16:22 +0000)]
Add support for fsel

28 years agoKeep new configure helpers, update conditional sanitizes
Stan Shebs [Fri, 18 Oct 1996 01:34:49 +0000 (01:34 +0000)]
Keep new configure helpers, update conditional sanitizes

28 years ago * configure.host: New file, host configuration mapping.
Stan Shebs [Fri, 18 Oct 1996 01:27:59 +0000 (01:27 +0000)]
* configure.host: New file, host configuration mapping.
* configure.tgt: New file, target configuration mapping.
* configure.in: Remove host and target mapping.
* configure: Rebuild.

28 years ago * ld.texinfo: Try to consistently use a single or a double dash
Ian Lance Taylor [Thu, 17 Oct 1996 22:15:32 +0000 (22:15 +0000)]
* ld.texinfo: Try to consistently use a single or a double dash
for each option.

28 years ago * Makefile.in ($(OBJS)): Depend upon libiberty.h.
Ian Lance Taylor [Thu, 17 Oct 1996 22:00:04 +0000 (22:00 +0000)]
* Makefile.in ($(OBJS)): Depend upon libiberty.h.

28 years ago * scripttempl/v850.sc (.zdata): Add this before .text.
Jeff Law [Thu, 17 Oct 1996 20:48:42 +0000 (20:48 +0000)]
    * scripttempl/v850.sc (.zdata): Add this before .text.
        (.sdata): Also include .rosdata as part of the .sdata.
        (.tdata): Include this just before .sdata.

28 years ago * configure.in (--enable-sim-powerpc): Delete.
David Edelsohn [Thu, 17 Oct 1996 20:11:31 +0000 (20:11 +0000)]
* configure.in (--enable-sim-powerpc): Delete.
(--enable-sim): Add.
* configure: Regenerated.

28 years agoAdd more m32r support.
David Edelsohn [Thu, 17 Oct 1996 18:57:19 +0000 (18:57 +0000)]
Add more m32r support.

28 years ago * dis-asm.h (print_insn_m32r): Declare.
David Edelsohn [Thu, 17 Oct 1996 18:18:12 +0000 (18:18 +0000)]
* dis-asm.h (print_insn_m32r): Declare.

28 years ago * reloc.c (m32r relocs): Rename them.
David Edelsohn [Thu, 17 Oct 1996 17:46:53 +0000 (17:46 +0000)]
* reloc.c (m32r relocs): Rename them.
* bfd-in2.h, libbfd.h: Regenerated.
* elf32-m32r.c: Update.
(m32r_elf_10_pcrel_reloc): New function.
(elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it.
(elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks.

28 years ago * configure.in (m32r): Fix spelling of libg++ libs.
David Edelsohn [Thu, 17 Oct 1996 17:29:28 +0000 (17:29 +0000)]
* configure.in (m32r): Fix spelling of libg++ libs.

28 years ago * emulparams/m32relf.sh (EMBEDDED): Define.
David Edelsohn [Thu, 17 Oct 1996 17:19:52 +0000 (17:19 +0000)]
* emulparams/m32relf.sh (EMBEDDED): Define.

28 years ago * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
Jeff Law [Thu, 17 Oct 1996 16:58:31 +0000 (16:58 +0000)]
    * emulparms/v850.sh (SCRIPT_NAME): Use "v850" not "elf".
        * scripttempl/v850.sc: Wrap script with a "cat << EOF".
Problems with last night's changes.

28 years agoMake simulated loads/stores faster on x86, AIX, and big endian hosts
Michael Meissner [Thu, 17 Oct 1996 16:47:51 +0000 (16:47 +0000)]
Make simulated loads/stores faster on x86, AIX, and big endian hosts

28 years ago * scripttempl/v850.sc: New linker script for the V850.
Jeff Law [Thu, 17 Oct 1996 05:10:52 +0000 (05:10 +0000)]
    * scripttempl/v850.sc: New linker script for the V850.
        * Makefile.in: Use it.

28 years agoAdd missing v850 sanitization stuff.
Jeff Law [Thu, 17 Oct 1996 04:57:03 +0000 (04:57 +0000)]
Add missing v850 sanitization stuff.

28 years ago * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
Jeff Law [Thu, 17 Oct 1996 04:48:07 +0000 (04:48 +0000)]
    * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
        and sdaoff expressions.

28 years ago * elf32-v850.c (enum reloc_type): Add R_V850_SDA_OFFSET,
Jeff Law [Thu, 17 Oct 1996 04:45:29 +0000 (04:45 +0000)]
    * elf32-v850.c (enum reloc_type): Add R_V850_SDA_OFFSET,
        R_V850_TDA_OFFSET and R_V850_ZDA_OFFSET.
        (elf_v850_howto_table): Corresponding changes.
        (elf_v850_reloc_map): Corresponding changes.
        * reloc.c: Add additional V850 relocations.
        * bfd-in2.h, libbfd.h: Rebuilt.

28 years ago * gas/v850/reloc.s: New tests.
Jeff Law [Thu, 17 Oct 1996 04:41:24 +0000 (04:41 +0000)]
    * gas/v850/reloc.s: New tests.
        * gas/v850/basic.exp: Run them.

28 years ago * testsuite/gdb.base/break.exp: Make backtrace from factorial
Stu Grossman [Thu, 17 Oct 1996 02:12:24 +0000 (02:12 +0000)]
* testsuite/gdb.base/break.exp:  Make backtrace from factorial
errors unique.
* testsuite/gdb.base/nodebug.exp:  Whack out all -g options
explicitly.

* v850-tdep.c (v850_init_extra_frame_info v850_frame_chain):  Fix
sign bugs with scanning prologues.  Get a little smarter about
calculating the length of uninteresting instructions.

28 years ago * breakpoint.c (must_shift_inst_regs): New global.
Stan Shebs [Thu, 17 Oct 1996 00:54:59 +0000 (00:54 +0000)]
* breakpoint.c (must_shift_inst_regs): New global.
(bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
equivalent expression uses.
* infrun.c (wait_for_inferior): Ditto.

28 years agoMake read/write memory functions inlined
Michael Meissner [Wed, 16 Oct 1996 22:16:21 +0000 (22:16 +0000)]
Make read/write memory functions inlined

28 years agoMake read/write memory functions inlined
Michael Meissner [Wed, 16 Oct 1996 22:14:23 +0000 (22:14 +0000)]
Make read/write memory functions inlined

28 years ago * linker.c (_bfd_generic_final_link): Set "linker_mark" for
Jeff Law [Wed, 16 Oct 1996 20:27:18 +0000 (20:27 +0000)]
    * linker.c (_bfd_generic_final_link): Set "linker_mark" for
        all sections that will be included in the output file.
        (_bfd_generic_link_output_symbols): Discard symbols in sections
        which are being discarded.
Fixes 4 failures in the g++ testsuite on the v850.

28 years agoFix tracing of accumulators
Michael Meissner [Wed, 16 Oct 1996 17:52:31 +0000 (17:52 +0000)]
Fix tracing of accumulators

28 years ago * write.c (fixup_segment): Don't add symbol value to addend if
Jeff Law [Wed, 16 Oct 1996 17:32:39 +0000 (17:32 +0000)]
    * write.c (fixup_segment): Don't add symbol value to addend if
        TC_V850 and OBJ_ELF.
        * config/tc-v850.h (tc_fix_adjustable): Don't adjust any
        pc-relative fixups.
Fixing more failures in the g++ testsuite.

28 years ago * elf32-v850.c (bfd_elf32_v850_reloc): Mask out bits we
Jeff Law [Wed, 16 Oct 1996 17:26:50 +0000 (17:26 +0000)]
    * elf32-v850.c (bfd_elf32_v850_reloc): Mask out bits we
        no longer want in pc-relative relocs.
Fixing some g++ testsuite failures.

28 years ago * v850-tdep.c (v850_push_arguments): Use symbolic names for arg
Stu Grossman [Wed, 16 Oct 1996 08:57:35 +0000 (08:57 +0000)]
* v850-tdep.c (v850_push_arguments):  Use symbolic names for arg
registers.
* config/v850/tm-v850.h:  Change FP to 29.  Define arg regs.

28 years ago * config/tc-v850.c (md_pcrel_from): Delete unused function.
Jeff Law [Wed, 16 Oct 1996 06:21:23 +0000 (06:21 +0000)]
    * config/tc-v850.c (md_pcrel_from): Delete unused function.
        (md_pcrel_from_section): New function.
        * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
So we don't screw up pc-relative jumps/calls from one section
into another section within the same .o file.

Fixes global ctors/dtors to work with DECL_ONE_ONLY stuff.

28 years ago * elf32-v850.c (bfd_elf32_v850_reloc): Don't silently
Jeff Law [Wed, 16 Oct 1996 04:18:51 +0000 (04:18 +0000)]
    * elf32-v850.c (bfd_elf32_v850_reloc): Don't silently
        accept a reloc against an undefined sybmol!
jeez.  I'm going to go sit in the corner and hide.

28 years ago * Makefile.in (init.c): Don't use -s option with grep. It means
Stu Grossman [Tue, 15 Oct 1996 23:54:48 +0000 (23:54 +0000)]
* Makefile.in (init.c):  Don't use -s option with grep.  It means
something different under Digital Unix.

28 years ago * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
Stu Grossman [Tue, 15 Oct 1996 23:50:54 +0000 (23:50 +0000)]
* config/sim-gdb.exp (gdb_target_sim):  Remove setting of height
and width commands.  This is done elsewhere.
* (gdb_start):  Don't call gdb_start_sim here.  That's already
done in gdb_load.  This fixes lots of failures in default.exp.

28 years ago * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
Stu Grossman [Tue, 15 Oct 1996 23:44:13 +0000 (23:44 +0000)]
* buildsym.c (finish_block):  Treat LOC_BASEREG_ARG and
LOC_LOCAL_ARG as arguments so that GDB will know about function
args declared this way.  Mostly affects dwarf.
* dwarfread.c (decode_die_type):  Change default type from int to
void.  This allows GDB to recognize void functions.
* (new_symbol):  If AT_PROTOTYPED is present, set a flag in the
type structure.
* findvar.c (extract_floating store_floating):  Clean up comments
to reflect reality.
* gdbtypes.h:  Add TYPE_FLAG_PROTOTYPED so that we can tell if a
function has a prototype.  Currently, only dwarf supports this.
* utils.c (floatformat_from_doublest):  Fix logic error with
converting from double to float.  (It wasn't shifting mant_long if
it had a hidden bit.)

* v850-tdep.c:  Add support for function calling.  Fix some
problems with debugging code w/o debug symbols.
* config/v850/tm-v850.h:  Ditto.

28 years ago * interp.c (MEM_SIZE): It's now bytes, not a power of 2.
Stu Grossman [Tue, 15 Oct 1996 23:23:00 +0000 (23:23 +0000)]
* interp.c (MEM_SIZE):  It's now bytes, not a power of 2.
* (map):  Add support for external mem in the 1->2 meg range.
Also, abort() when memory access is way out of bounds.  (Better to
die than to give wrong result.  (This will be fixed later.))
* (sim_size):  MEM_SIZE is now bytes, not shift factor.

28 years ago * elf32-v850.c: Define elf_symbol_leading_char to be '_'.
Stu Grossman [Tue, 15 Oct 1996 23:19:29 +0000 (23:19 +0000)]
* elf32-v850.c:  Define elf_symbol_leading_char to be '_'.

28 years ago * utils.c: Always ensure that size_t is defined. Check
Ian Lance Taylor [Tue, 15 Oct 1996 22:24:17 +0000 (22:24 +0000)]
* utils.c: Always ensure that size_t is defined.  Check
HAVE_STDDEF_H rather than __STDC__
(xmalloc, xrealloc): Use size_t rather than long.

28 years agoTue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
Martin Hunt [Tue, 15 Oct 1996 21:26:29 +0000 (21:26 +0000)]
Tue Oct 15 14:24:19 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>

* config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
can use single-step commands.

28 years ago * VERSION: Bump for new relocation.
Ian Lance Taylor [Tue, 15 Oct 1996 20:58:52 +0000 (20:58 +0000)]
* VERSION: Bump for new relocation.

28 years ago * hosts/i386bsd.h: If NBPG is not defined, define it as
Ian Lance Taylor [Tue, 15 Oct 1996 16:41:38 +0000 (16:41 +0000)]
* hosts/i386bsd.h: If NBPG is not defined, define it as
PAGE_SIZE, for recent versions of FreeBSD.

28 years agoBetter error messages when a program stops due to signal; support d10v getpid/kill
Michael Meissner [Tue, 15 Oct 1996 15:44:10 +0000 (15:44 +0000)]
Better error messages when a program stops due to signal; support d10v getpid/kill

28 years ago * libiberty.h: Declare parameter types for xmalloc and xrealloc.
Ian Lance Taylor [Tue, 15 Oct 1996 03:57:09 +0000 (03:57 +0000)]
* libiberty.h: Declare parameter types for xmalloc and xrealloc.

28 years ago * config/tc-mips.c (load_register): Add cast to offsetT when using
Ian Lance Taylor [Mon, 14 Oct 1996 18:00:19 +0000 (18:00 +0000)]
* config/tc-mips.c (load_register): Add cast to offsetT when using
a constant with &~.

28 years ago * gas/mips: Add symbols to several testsuites, since the ELF
Ian Lance Taylor [Mon, 14 Oct 1996 17:54:49 +0000 (17:54 +0000)]
* gas/mips: Add symbols to several testsuites, since the ELF
assembler now always builds a symbol table, which means that
objdump will no longer report `No symbols in FILE'.  Change the
expected output accordingly.

28 years ago * configure.host: Use `long long' as the 64 bit type on a Solaris
Ian Lance Taylor [Mon, 14 Oct 1996 16:38:13 +0000 (16:38 +0000)]
* configure.host: Use `long long' as the 64 bit type on a Solaris
host, since both gcc and the SunPRO compilers support it.

28 years agoMon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Mon, 14 Oct 1996 15:40:15 +0000 (15:40 +0000)]
Mon Oct 14 11:24:28 1996  Richard Henderson  <rth@tamu.edu>

* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
(elf_frob_file_after_relocs): ... here.  New function.
* config/obj-elf.h (obj_from_file_after_relocs): New macro.
* write.c (write_object_file): Call *frob_after_relocs after the
call to write_relocs.

* config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.

* config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
symbol, as this messes up linking.  Instead, expand the recursive call
inline and change up the appropriate bits to get the 0x8000 offset
in the reloc addend.

28 years agoMon Oct 14 11:17:24 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Mon, 14 Oct 1996 15:21:54 +0000 (15:21 +0000)]
Mon Oct 14 11:17:24 1996  Richard Henderson  <rth@tamu.edu>

* reloc.c: Create a new BFD_RELOC_ALPHA_ELF_LITERAL.  It was a
mistake to have reused the ECOFF LITERAL for ELF since they have
different semantics.
* elf64-alpha.c (elf_reloc_map): Map from ELF_LITERAL.
* bfd-in2.h, libbfd.h: Rebuild.

* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Trap .got
section overflow.

* elf64-alpha.c (elf64_alpha_relocate_section): Do not emit a
dynamic relocation for an undefweak symbol when we are building
a static executable.

28 years ago * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
Peter Schauer [Sun, 13 Oct 1996 18:40:26 +0000 (18:40 +0000)]
* stabsread.c (define_symbol):  If REG_STRUCT_HAS_ADDR is non-zero,
follow typedefs before checking TYPE_CODE for structures and unions.

28 years agoFix ld2w r2,@r2 so that r3 loads the proper value
Michael Meissner [Sun, 13 Oct 1996 02:25:01 +0000 (02:25 +0000)]
Fix ld2w r2,@r2 so that r3 loads the proper value

28 years ago * configure.in: Only build the V850 simulator if
Jeff Law [Sat, 12 Oct 1996 03:14:54 +0000 (03:14 +0000)]
    * configure.in: Only build the V850 simulator if
        we are using gcc.
        * configure: Rebuild.
So builds with "cc" don't die in the v850 simulator directory.

28 years ago * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
Fred Fish [Sat, 12 Oct 1996 00:10:33 +0000 (00:10 +0000)]
* Makefile.in (clean mostlyclean): Also remove chill *.grt files.
(distclean maintainer-clean realclean): No need to remove files
  twice.  Nuke the duplicates.
* gdb.base/Makefile.in (EXECUTABLES): Add "structs".
* gdb.threads/Makefile.in (distclean maintainer-clean realclean):
Remove config.h along with other config files.

28 years ago * expstruct.exp (objfile2): Set and use, like other chill tests.
Fred Fish [Fri, 11 Oct 1996 23:54:12 +0000 (23:54 +0000)]
* expstruct.exp (objfile2): Set and use, like other chill tests.
* pr-4975.exp: Ditto.
* pr-5646.exp: Ditto.
* pr-8134.exp: Ditto.

28 years ago * frame.h: Move definition of struct frame_saved_args to before
Stu Grossman [Fri, 11 Oct 1996 22:50:42 +0000 (22:50 +0000)]
* frame.h:  Move definition of struct frame_saved_args to before
struct frame to make it possible to use frame_saved_args in
EXTRA_FRAME_INFO macro.

* v850-tdep.c config/v850/tm-v850.h:  Lotsa new functions and
macros to make frame operations (such as backtrace) work.

28 years ago * dbxread.c (process_one_symbol): Check for null string directly
Fred Fish [Fri, 11 Oct 1996 22:31:56 +0000 (22:31 +0000)]
* dbxread.c (process_one_symbol): Check for null string directly
rather than using strcmp against "".
* partial-stab.h: Ditto.

28 years ago * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
Jeff Law [Fri, 11 Oct 1996 22:06:47 +0000 (22:06 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode
        field for movhu instruction.
Bug found by gas testsuite.

        * v850-dis.c (disassemble): For V850_OPERAND_SIGNED operands,
        cast value to "long" not "signed long" to keep hpux10
        compiler quiet.
Found in an attempt to build the v850 on hpux10 with the HP
compiler.

28 years ago * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
Mark Alexander [Fri, 11 Oct 1996 19:26:04 +0000 (19:26 +0000)]
* gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
Make it compile on Linux and eliminate some warnings.

28 years agoRevert last change. I was fooled by an old Makefile that didn't
Fred Fish [Fri, 11 Oct 1996 17:48:24 +0000 (17:48 +0000)]
Revert last change.  I was fooled by an old Makefile that didn't
get rebuilt.

28 years ago Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:
Fred Fish [Fri, 11 Oct 1996 17:23:14 +0000 (17:23 +0000)]
Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:
* Makefile.in (init.c): Restore '-n' option in sed command.

28 years ago * Makefile.in (init.c): Fixup final sed script to work around
Stu Grossman [Thu, 10 Oct 1996 23:34:38 +0000 (23:34 +0000)]
* Makefile.in (init.c):  Fixup final sed script to work around
Linux bug with `p' operator.

28 years ago * config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
Ian Lance Taylor [Thu, 10 Oct 1996 22:34:06 +0000 (22:34 +0000)]
* config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
two symbols in the same segment to be adjusted.

28 years ago * gas/mn10300/basic.exp: Check bit patterns for instructions
Jeff Law [Thu, 10 Oct 1996 22:05:54 +0000 (22:05 +0000)]
    * gas/mn10300/basic.exp: Check bit patterns for instructions
        with a single 8bit or 16bit immediate operand.
We should correctly assemble just about everything except opcodes with:

  multiple immediate operands,
  3 register operands,
  really weird stuff

28 years ago * config/mn10300.c (md_assemble): Pass an extra shift count
Jeff Law [Thu, 10 Oct 1996 22:03:16 +0000 (22:03 +0000)]
    * config/mn10300.c (md_assemble): Pass an extra shift count
        to mn10300_insert_operand based on the opcode format.
        (mn10300_insert_operand): Accept and use extra shift count
        parameter.
Matsushita

28 years ago * emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
Ian Lance Taylor [Thu, 10 Oct 1996 21:59:34 +0000 (21:59 +0000)]
* emulparams/elf32b4300.sh: Define _gp in OTHER_GOT_SYMBOLS, not
OTHER_READWRITE_SECTIONS.
* emulparams/elf32l4300.sh: Likewise.

28 years ago * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
Jeff Law [Thu, 10 Oct 1996 21:42:01 +0000 (21:42 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Fix typo in opcode field
        for mov (abs16),DN.
Bug found by gas testsuite.  Matsushita.

28 years ago * configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
Ian Lance Taylor [Thu, 10 Oct 1996 21:31:27 +0000 (21:31 +0000)]
* configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
* configure: Rebuild.

28 years agoTurn most warnings into errors
Michael Meissner [Thu, 10 Oct 1996 21:26:59 +0000 (21:26 +0000)]
Turn most warnings into errors

28 years ago * config/tc-mn10300.c (md_assemble): Use FMT_* macros for
Jeff Law [Thu, 10 Oct 1996 20:33:47 +0000 (20:33 +0000)]
    * config/tc-mn10300.c (md_assemble): Use FMT_* macros for
        formats rather than hard-coded constants.
Minor cleanup.

28 years ago * mn10300-opc.c (FMT*): Remove definitions.
Jeff Law [Thu, 10 Oct 1996 20:31:06 +0000 (20:31 +0000)]
    * mn10300-opc.c (FMT*): Remove definitions.
Moved into opcode/mn10300.h

28 years ago * gas/mn10300/basic.exp: Check bit patterns for many
Jeff Law [Thu, 10 Oct 1996 19:13:48 +0000 (19:13 +0000)]
    * gas/mn10300/basic.exp: Check bit patterns for many
        instructions.  Add missing test in do_mov1.
        * gas/mn10300/mov1.s: Add missing test.
We should now assemble just about anything without any
immediate operands.

28 years ago * mn10300-opc.c (mn10300_opcodes): Fix destination register
Jeff Law [Thu, 10 Oct 1996 19:08:46 +0000 (19:08 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Fix destination register
        for shift-by-register opcodes.
Bug found by testsuite.

28 years ago * dlltool.c (scan_open_obj_file): Fix loop exit test.
David Edelsohn [Thu, 10 Oct 1996 18:47:46 +0000 (18:47 +0000)]
* dlltool.c (scan_open_obj_file): Fix loop exit test.
Add missing parameter to def_exports.

28 years ago * mpw-make.sed (config.bfd, targmatch.sed): Edit references to
Stan Shebs [Thu, 10 Oct 1996 18:21:37 +0000 (18:21 +0000)]
* mpw-make.sed (config.bfd, targmatch.sed): Edit references to
point explicitly to srcdir.
(targmatch.h): Edit references to point explicitly to objdir.

28 years ago * config.bfd: When setting targ_cpu, don't get confused by
Ian Lance Taylor [Thu, 10 Oct 1996 18:15:23 +0000 (18:15 +0000)]
* config.bfd: When setting targ_cpu, don't get confused by
linux-gnu.

28 years ago * configure: Don't get confused by CPU-VENDOR-linux-gnu.
Ian Lance Taylor [Thu, 10 Oct 1996 18:15:03 +0000 (18:15 +0000)]
* configure: Don't get confused by CPU-VENDOR-linux-gnu.

28 years ago * config/tc-mn10300.c (md_assemble): Format D5 instructions
Jeff Law [Thu, 10 Oct 1996 18:07:37 +0000 (18:07 +0000)]
    * config/tc-mn10300.c (md_assemble): Format D5 instructions
        are 7 bytes long.  Write out instructions in big-endian format.

Matsushita.

28 years ago * config.sub (-apple*): Remove, now redundant.
Stan Shebs [Thu, 10 Oct 1996 17:39:10 +0000 (17:39 +0000)]
* config.sub (-apple*): Remove, now redundant.

28 years ago * configure: Rework yesterday's sed script patch.
Ian Lance Taylor [Thu, 10 Oct 1996 17:03:43 +0000 (17:03 +0000)]
* configure: Rework yesterday's sed script patch.

28 years ago * config.sub: Merge with FSF.
Ian Lance Taylor [Thu, 10 Oct 1996 16:31:38 +0000 (16:31 +0000)]
* config.sub: Merge with FSF.

28 years ago * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
Jeff Law [Thu, 10 Oct 1996 16:28:14 +0000 (16:28 +0000)]
    * mn10300-opc.c (mn10300_operands): Break DN, DM, AN, AM
        into [AD][MN][01] for encoding the position of the register
        in the opcode.
Matsushita.

28 years ago * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
Stan Shebs [Thu, 10 Oct 1996 01:17:05 +0000 (01:17 +0000)]
* remote-mips.c: Use the correct name everywhere (DDB) for NEC's
  VR4300 target.
(ddb_ops, pmon_ops): Fix the documentation strings.

28 years ago * config.guess: Merge from FSF.
Per Bothner [Thu, 10 Oct 1996 00:28:52 +0000 (00:28 +0000)]
* config.guess:  Merge from FSF.

1996-09-12  Richard Stallman  <rms@ethanol.gnu.ai.mit.edu>
        * config.guess: Use pc instead of unknown, for pc clone systems.
        Change linux to linux-gnu.

Mon Jul 15 23:51:11 1996  Karl Heuer  <kwzh@gnu.ai.mit.edu>
        * config.guess: Avoid non-portable tr syntax.

28 years ago * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
Jeff Law [Wed, 9 Oct 1996 20:19:00 +0000 (20:19 +0000)]
    * gas/mn10300/{add.s, bcc.s, bit.s, cmp.s, ext.s}: New tests.
        * gas/mn10300/{extend.s logical.s, loop.s, mov1.s}: Likewise.
        * gas/mn10300/{mov2.s, mov3.s, mov4.s, movbu.s}: Likewise.
        * gas/mn10300/{movhu.s, movm.s, muldiv.s, other.s}: Likewise.
        * gas/mn10300/{shift.s, sub.s}: Likewise.
        * gas/mn10300/basic.exp: Run them.
Beginnings of gas testsuite for mn10300.  Matsushita.

28 years ago * ld.h (ld_config_type): Add warn_section_align field.
Ian Lance Taylor [Wed, 9 Oct 1996 19:45:29 +0000 (19:45 +0000)]
* ld.h (ld_config_type): Add warn_section_align field.
* lexsup.c (OPTION_WARN_SECTION_ALIGN): Define.
(ld_options): Add --warn-section-align.
(parse_args): Handle --warn-section-align.
* ldlang.c (lang_size_sections): If warn_section_align, warn if
the start of a section changes due to alignment.
* ld.texinfo, ld.1: Document --warn-section-align.
* ld.texinfo: Change some single dashes to double dashes.
PR 10739.

28 years ago * emultempl/pe.em (set_pe_subsystem): Record entry symbol for each
Ian Lance Taylor [Wed, 9 Oct 1996 18:37:57 +0000 (18:37 +0000)]
* emultempl/pe.em (set_pe_subsystem): Record entry symbol for each
subsystem type.  Ifdef out os2 type.  Recognize a version number.

28 years ago * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
Jeff Law [Wed, 9 Oct 1996 17:20:59 +0000 (17:20 +0000)]
    * mn10300-opc.c (mn10300_opcodes): Add "extended" instructions,
        "putx", "getx", "mulq", "mulqu", "sat16", "sat24", "bsch".
Matsushita.

28 years ago * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
Stu Grossman [Wed, 9 Oct 1996 14:47:29 +0000 (14:47 +0000)]
* Makefile.in (init.c):  Retro HPUX grep lacks -h option.  Strip
filenames with sed instead.

28 years ago * test-build.mk (HOLES): Add "xargs" for gdb.
Jeff Law [Wed, 9 Oct 1996 12:32:18 +0000 (12:32 +0000)]
    * test-build.mk (HOLES): Add "xargs" for gdb.

28 years ago * configure: Avoid hpux10.20 sed bug.
Jeff Law [Wed, 9 Oct 1996 12:08:15 +0000 (12:08 +0000)]
    * configure: Avoid hpux10.20 sed bug.

28 years agoAdd hpux-thread.c.
Stu Grossman [Wed, 9 Oct 1996 08:46:25 +0000 (08:46 +0000)]
Add hpux-thread.c.

28 years agoadd mh-dgux386 to Things-to-keep
Angela Marie Thomas [Wed, 9 Oct 1996 05:51:52 +0000 (05:51 +0000)]
add mh-dgux386 to Things-to-keep

28 years ago * emultempl/pe.em (set_pe_subsystem): When setting the subsystem
Ian Lance Taylor [Wed, 9 Oct 1996 03:27:41 +0000 (03:27 +0000)]
* emultempl/pe.em (set_pe_subsystem): When setting the subsystem
to windows, set the entry point.

28 years ago * defs.h: Remove decls of xmalloc and xrealloc. There is a
Stu Grossman [Tue, 8 Oct 1996 23:01:04 +0000 (23:01 +0000)]
* defs.h:  Remove decls of xmalloc and xrealloc.  There is a
conflicting definition in libiberty.h.

28 years ago * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
Jeff Law [Tue, 8 Oct 1996 21:09:57 +0000 (21:09 +0000)]
    * mn10300-opc.c (mn10300_operands): Remove "REGS" operand.
        Fix various typos.  Add "PAREN" operand.
        (MEM, MEM2): Define.
        (mn10300_opcodes): Surround all memory addresses with "PAREN"
        operands.  Fix several typos.
Should parse all opcodes in the instruction specification, except the
"user extension instructions".

28 years ago * config/tc-mn10300.h (md_assemble): Tweak further so
Jeff Law [Tue, 8 Oct 1996 20:59:28 +0000 (20:59 +0000)]
    * config/tc-mn10300.h (md_assemble): Tweak further so
        that all instructions are parsed correctly.

28 years ago * mn10300.h (MN10300_OPERAND_PAREN): Define.
Jeff Law [Tue, 8 Oct 1996 20:49:58 +0000 (20:49 +0000)]
    * mn10300.h (MN10300_OPERAND_PAREN): Define.
Matsushita.