Bob Manson [Thu, 20 Feb 1997 23:45:23 +0000 (23:45 +0000)]
* gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
name.
Bob Manson [Thu, 20 Feb 1997 22:52:38 +0000 (22:52 +0000)]
* gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
hmmm, automagic conversion left -re things.
Ian Lance Taylor [Thu, 20 Feb 1997 22:49:40 +0000 (22:49 +0000)]
fix with make headers
Bob Manson [Thu, 20 Feb 1997 22:13:52 +0000 (22:13 +0000)]
* gdb.base/scope.exp: Use gdb_test.
* gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
aborting; the testsuite driver will do that for us (see
gdb_finish). Also, use gdb_test in a few more places.
Stan Shebs [Thu, 20 Feb 1997 21:38:08 +0000 (21:38 +0000)]
* gdb.base/help.exp: Fix syntax of "help info all-registers" test.
Jeff Law [Thu, 20 Feb 1997 20:54:28 +0000 (20:54 +0000)]
* elf32-mn10200.c (mn10200_elf_final_link_relocate): New function.
(mn10200_elf_relocate_section): Likewise.
(elf_backend_relocate_section): Define.
New style linker for the mn10200.
Ian Lance Taylor [Thu, 20 Feb 1997 19:12:05 +0000 (19:12 +0000)]
* config/obj-coff.c (obj_coff_ln [both versions]): Call
new_logical_line.
PR 11725.
Ian Lance Taylor [Thu, 20 Feb 1997 18:58:40 +0000 (18:58 +0000)]
* symbols.c (resolve_symbol_value): If both left and right
operands are undefined, warn about both of them.
PR 11724.
Jeff Law [Thu, 20 Feb 1997 17:36:12 +0000 (17:36 +0000)]
* gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
and "add_tests" are not at the same address.
Fixes gdb disassembler testsuite failure on sunos4 hosted toolchain.
Michael Meissner [Thu, 20 Feb 1997 17:00:14 +0000 (17:00 +0000)]
Since d10v is public now, remove all sanitization statements
Michael Meissner [Thu, 20 Feb 1997 16:05:18 +0000 (16:05 +0000)]
Since d10v is public now, remove all sanitization statements
Gavin Romig-Koch [Thu, 20 Feb 1997 15:48:57 +0000 (15:48 +0000)]
Correct test for ISA dependent bits
Jeff Law [Thu, 20 Feb 1997 06:19:13 +0000 (06:19 +0000)]
* configure.in: Don't require GCC to build the mn10200
simulator anymore.
* configure: Rebuilt.
Mark Alexander [Wed, 19 Feb 1997 22:44:02 +0000 (22:44 +0000)]
* interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
Ian Lance Taylor [Wed, 19 Feb 1997 21:33:00 +0000 (21:33 +0000)]
Based on patches from Eric Youngdale <eric@andante.jic.com>:
* config/obj-elf.c (elf_pseudo_table): Add "symver".
(obj_elf_symver): New static function.
* config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other
field.
Ian Lance Taylor [Wed, 19 Feb 1997 20:36:23 +0000 (20:36 +0000)]
From Eric Youngdale <eric@andante.jic.com>:
* external.h, internal.h, common.h: Added new structures and
definitions for ELF versions.
Ian Lance Taylor [Wed, 19 Feb 1997 19:52:17 +0000 (19:52 +0000)]
* Makefile.in: Add dependencies on ../bfd/bfd.h as required.
Ian Lance Taylor [Wed, 19 Feb 1997 05:57:55 +0000 (05:57 +0000)]
* gas/macros/semi.s, gas/macros/semi.d: New test.
* gas/macros/macros.exp: Run it.
* gas/mri/semi.s, gas/mri/semi.d: New test.
* gas/mri/mri.exp: Run it.
Taken from PR 11715.
Ian Lance Taylor [Wed, 19 Feb 1997 05:54:00 +0000 (05:54 +0000)]
* read.c (get_line_sb): Don't end the line on a semicolon inside a
string.
PR 11715.
Martin Hunt [Wed, 19 Feb 1997 02:53:39 +0000 (02:53 +0000)]
Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c, config/tc-d30v.h: New files.
* configure: Rebuilt.
* configure.in: Add case for d30v.
Martin Hunt [Wed, 19 Feb 1997 02:47:03 +0000 (02:47 +0000)]
Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c, config/tc-d30v.h: New files.
Martin Hunt [Wed, 19 Feb 1997 02:46:48 +0000 (02:46 +0000)]
Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c, config/tc-d30v.h: New files.
* configure: Rebuilt.
* configure.in: Add case for d30v.
Martin Hunt [Wed, 19 Feb 1997 01:53:26 +0000 (01:53 +0000)]
Tue Feb 18 17:43:43 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in: Added d30v object files.
* configure: (bfd_d30v_arch) Rebuilt.
* configure.in: (bfd_d30v_arch) Added new case.
* d30v-dis.c: New file.
* d30v-opc.c: New file.
* disassemble.c (disassembler) Add entry for d30v.
Martin Hunt [Wed, 19 Feb 1997 01:41:48 +0000 (01:41 +0000)]
Tue Feb 18 17:40:36 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* common.h (EM_CYGNUS_D30V): Define.
Martin Hunt [Wed, 19 Feb 1997 01:39:32 +0000 (01:39 +0000)]
Tue Feb 18 17:37:20 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h: New file.
Martin Hunt [Wed, 19 Feb 1997 01:34:14 +0000 (01:34 +0000)]
Tue Feb 18 17:32:42 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config.sub, configure.in: Add d30v target cpu.
Martin Hunt [Wed, 19 Feb 1997 01:29:29 +0000 (01:29 +0000)]
Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in, archures.c, config.bfd, configure.in, elf.c,
reloc.c, targets.c: New target, elf-*-D30V.
* bfd-in2.h, configure, libbfd.h: Rebuilt.
* cpu-d30v.c, elf32-d30v.c: New files.
Fred Fish [Tue, 18 Feb 1997 23:34:35 +0000 (23:34 +0000)]
* tic80-opc.c (tic80_predefined_symbols): Add symbolic
representations for the floating point BITNUM values.
Fred Fish [Tue, 18 Feb 1997 23:01:02 +0000 (23:01 +0000)]
* reloc.c (struct reloc_howto_struct): Fix typo in comment.
* bfd-in2.h: Regenerated.
start-sanitize-tic80
* coff-tic80.c (RTYPE2HOWTO): Replace abort with real function.
(rtype2howto): Add function.
(tic80_howto_table): Add.
end-sanitize-tic80
Gavin Romig-Koch [Tue, 18 Feb 1997 22:15:04 +0000 (22:15 +0000)]
Correct flags for PMADDUW insn
Mark Alexander [Tue, 18 Feb 1997 21:36:36 +0000 (21:36 +0000)]
* maint.c: Eliminate -Wall warnings by including some header files.
Mark Alexander [Tue, 18 Feb 1997 21:05:55 +0000 (21:05 +0000)]
* remote-sim.c (init_callbacks): Undo previous change.
Jeff Law [Tue, 18 Feb 1997 20:38:14 +0000 (20:38 +0000)]
* gas/hppa/unsorted/unsorted.exp (align4 tests): Tweak expected
output.
Dawn Perchik [Tue, 18 Feb 1997 19:33:29 +0000 (19:33 +0000)]
* maint.c: Fix dereference of pointer.
* remote-sim.c: Fix reference of structure member "last_error".
* debugify.c: Include config.h to get ANSI definitions.
Jeff Law [Tue, 18 Feb 1997 17:06:20 +0000 (17:06 +0000)]
* elf32-v850.c (v850_elf_relocate_section): Make sure r_symndx
is initialized before it is used.
Something Doug noticed.
Ian Lance Taylor [Mon, 17 Feb 1997 16:29:21 +0000 (16:29 +0000)]
* hp300hpux.c (convert_sym_type): Don't convert a secondary common
symbol into a weak undefined symbol; leave it as a common symbol.
Fred Fish [Mon, 17 Feb 1997 01:01:00 +0000 (01:01 +0000)]
* config/tc-alpha.h (md_operand): Define with a null expansion,
like all the other targets.
* doc/internals.texi (CPU backend): Add missing word in
md_flush_pending_output description. Fix typo in md_convert_frag
description.
start-sanitize-tic80
* config/tc-tic80: Minor comment additions/changes.
end-sanitize-tic80
Stu Grossman [Sun, 16 Feb 1997 01:50:18 +0000 (01:50 +0000)]
* remote-vx.c (vx_attach): Fix for PR 11356. Remove code added
by kung. It made no sense.
Ian Lance Taylor [Sat, 15 Feb 1997 00:12:47 +0000 (00:12 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't issue a warning
about a symbol defined in a dynamic object if it has already been
defined in a regular object.
Ian Lance Taylor [Fri, 14 Feb 1997 23:40:49 +0000 (23:40 +0000)]
Based on notes from Peter Eriksson <peter@ifm.liu.se>. The target
does not actually work, though:
* configure.in (i386-sequent-bsd*): New target.
* configure: Rebuild.
* config/tc-dynix.h: New file.
* config/tc-i386.h: Define TARGET_FORMAT if TE_DYNIX.
Ian Lance Taylor [Fri, 14 Feb 1997 23:12:29 +0000 (23:12 +0000)]
Fri Feb 14 18:09:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/tc-m68k.c (LOCAL_LABEL): Macro redefined if TE_DELTA.
(tc_canonicalize_symbol_name): Macro defined if TE_DELTA.
* config/obj-coff.c (obj_coff_def): Use
tc_canonicalize_symbol_name if defined.
(obj_coff_tag, obj_coff_val): Likewise.
* expr.c (operand): Reject '~' as operator if is_name_beginner.
Ian Lance Taylor [Fri, 14 Feb 1997 23:05:36 +0000 (23:05 +0000)]
random copyright and formatting fixes
Ian Lance Taylor [Fri, 14 Feb 1997 22:58:34 +0000 (22:58 +0000)]
* gas/all/align.d, gas/all/align.s: New test.
* gas/all/gas.exp: Run it.
Ian Lance Taylor [Fri, 14 Feb 1997 22:49:25 +0000 (22:49 +0000)]
* read.c (do_align): Add max parameter. Change all callers.
Remove useless static variables.
(s_align): New static function. Do common portion of
s_align_bytes and s_align_ptwo.
(s_align_bytes, s_align_ptwo): Just call s_align.
* frags.c (frag_align): Add max parameter. Change all callers.
(frag_align_pattern): Likewise.
* frags.h (frag_align, frag_align_pattern): Update declarations.
* write.c (relax_segment): Limit alignment change to fr_subtype.
Fix some types to be addressT.
* config/obj-coff.c (size_section): Likewise.
* config/obj-ieee.c (size_section): Likewise.
* config/tc-d10v.h (md_do_align): Add max parameter.
* config/tc-i386.h (md_do_align): Likewise.
* config/tc-m88k.h (md_do_align): Likewise.
* config/tc-m88k.c (m88k_do_align): Likewise.
* config/tc-sh.h (md_do_align): Likewise.
* config/tc-sh.c (sh_do_align): Likewise.
* as.h: Improve comments on rs_align and rs_align_code.
* doc/as.texinfo: Document new alignment arguments.
* doc/internals.texi (Frags): Document use of fr_subtype field for
rs_align and rs_align_code.
Andrew Cagney [Fri, 14 Feb 1997 21:58:48 +0000 (21:58 +0000)]
Per PR 11678 - also need to maintan .Sanitize
Andrew Cagney [Fri, 14 Feb 1997 19:06:08 +0000 (19:06 +0000)]
PR 11678 - rename long decode-rule files to shorter ones, eliminate
need for multiple almost identical decode-rule files
Gavin Romig-Koch [Fri, 14 Feb 1997 18:57:43 +0000 (18:57 +0000)]
fixes bugs caused by adding 5900
Ian Lance Taylor [Fri, 14 Feb 1997 18:00:34 +0000 (18:00 +0000)]
* main.c (print_gdb_help): Make static to match declaration.
Fred Fish [Fri, 14 Feb 1997 07:53:14 +0000 (07:53 +0000)]
* config/{tc-alpha.h, tc-arc.h, tc-d10v.h, tc-generic.h, tc-i960.h,
tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-v850.h, tc-vax.h, tc-w65.h}:
Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
* config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
* config/tc-i386.c: Remove misleading comment.
* doc/internals.texi (CPU backend): Add description of function
md_undefined_symbol.
start-sanitize-tic80
* config/tc-tic80.c: Add code to insert predefined symbols into the
symbol table so they can be parsed by the standard expression parser.
Remove custom code that use to parse them.
* config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
to a location consistent with the rest of the target include files.
end-sanitize-tic80
Ian Lance Taylor [Fri, 14 Feb 1997 03:09:46 +0000 (03:09 +0000)]
* config/tc-sparc.c (md_show_usage): Add missing backslash at end
of continued line.
Ian Lance Taylor [Fri, 14 Feb 1997 03:06:09 +0000 (03:06 +0000)]
Thu Feb 13 22:04:44 1997 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: New file.
* make-all.com: Remove.
Ian Lance Taylor [Fri, 14 Feb 1997 02:57:52 +0000 (02:57 +0000)]
Thu Feb 13 21:56:51 1997 Klaus Kaempf <kkaempf@progis.de>
* makefile.vms: Remove 8 bit characters. Update to latest
gcc release.
Ian Lance Taylor [Fri, 14 Feb 1997 02:55:29 +0000 (02:55 +0000)]
Thu Feb 13 21:44:18 1997 Klaus Kaempf <kkaempf@progis.de>
* as.h: GNU c provides unlink() function.
Unify section handling on openVMS/Alpha:
* config/tc-alpha.c(s_alpha_link): Remove.
(s_alpha_section): New function.
Remove case-hacking of symbols
Add .code_address pseudo-op.
(BFD_RELOC_ALPHA_CODEADDR): New relocation.
(s_alpha_code_address): New function.
(alpha_ctors_section, alpha_dtors_section): New sections for C++
static constructors/destructors.
Add debug code for crash debugs, to be removed when traceback code
is added to object code.
(s_alpha_name): New function for .name pseudo-op.
(alpha_print_token): New function to print token expressions with
alpha specific extensions.
* makefile.vms: Allow compilation with current gcc snapshot.
Ian Lance Taylor [Fri, 14 Feb 1997 02:36:21 +0000 (02:36 +0000)]
Thu Feb 13 21:34:43 1997 Klaus Kaempf (kkaempf@progis.de)
* config.h-vms: sbrk() is provided on openVMS/Alpha.
* makefile.vms: allow compiling with current gcc snapshot.
Dawn Perchik [Fri, 14 Feb 1997 02:20:48 +0000 (02:20 +0000)]
* remote-e7000.c, ser-e7kpc.c, serial.c: Remove // comments.
Ian Lance Taylor [Fri, 14 Feb 1997 02:13:19 +0000 (02:13 +0000)]
Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de)
* reloc.c (BFD_RELOC_ALPHA_CODEADDR): New relocation for
openVMS/Alpha.
* evax.h (ALPHA_R_CODEADDR): New relocation.
* evax-alpha.c (ALPHA_R_CODEADDR): 64 bit procedure relocation for
openVMS/Alpha.
* evax-etir.c (ALPHA_R_CODEADDR): Output object code for this
relocation.
* bfd-in2.h, libbfd.h: Rebuild.
Restrict symbol length to 64 bytes, case preserving:
* evax-emh.c (_bfd_evax_write_emh): Remove case hacking.
* evax-misc.c (_bfd_evax_case_hack_symbol): Remove.
(_bfd_evax_length_hash_symbol): Added.
* evax-etir.c (_bfd_evax_write_etir): Call
_bfd_evax_length_hash_symbol before output of symbol.
* evax-egsd.c (_bfd_evax_write_egsd): Likewise.
* evax.h (flag_hash_long_names, flag_show_after_trunc): Remove.
* evax-emh.c: Output filename to object file without path.
* evax-egsd.c: New sections for local and global commons.
* evax-alpha.c, evax-emh.c, evax-egsd.c, evax-etir.c,
evax-misc.c, evax.h: Remove 8 bit characters from copyright
notices. Replace AXP with Alpha.
Ian Lance Taylor [Fri, 14 Feb 1997 01:54:51 +0000 (01:54 +0000)]
Thu Feb 13 20:53:22 1997 Klaus Kaempf (kkaempf@progis.de)
* makefile.vms: Add gcc flags to allow compiling with current gcc
snapshot
(targmatch.h): New dependency.
Ian Lance Taylor [Fri, 14 Feb 1997 01:50:50 +0000 (01:50 +0000)]
Thu Feb 13 20:50:02 1997 Klaus Kaempf (kkaempf@progis.de)
* makefile.vms: New file.
Ian Lance Taylor [Fri, 14 Feb 1997 01:43:14 +0000 (01:43 +0000)]
Thu Feb 13 20:41:22 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* m68k-opc.c (m68k_opcodes): Add swbeg pseudo-instruction.
Ian Lance Taylor [Fri, 14 Feb 1997 01:36:24 +0000 (01:36 +0000)]
Thu Feb 13 20:31:37 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in: Call BFD_NEED_DECLARATION on getenv.
* acconfig.h (NEED_DECLARATION_GETENV): New macro.
* sysdep.h (getenv): Declare if NEED_DECLARATION_GETENV.
* ldemul.c (ld_emul_default_target): Do not cast getenv return
value.
* ldmain.c (get_emulation): Likewise.
* configure, config.in: Rebuild.
Ian Lance Taylor [Fri, 14 Feb 1997 01:18:32 +0000 (01:18 +0000)]
* arsup.c, coffgrok.c, dlltool.c, nlmconv.c: Use xmalloc rather
than malloc.
Fred Fish [Fri, 14 Feb 1997 01:04:19 +0000 (01:04 +0000)]
* doc/Makefile.in (TEXI2DVI): Set to just name of program.
(DVIPS): Set to dvips.
(ps, as.ps, gasp.ps): New targets.
(internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS
and MAKEINFO env variables.
(internals.ps): Use DVIPS macro.
(clean): Remove core and backup files.
(distclean): Remove temporary files from building internals.
(clean-dvi): Ditto.
* doc/internals.texi (Frags): Fix typo.
(GAS processing): Ditto.
(CPU backend): Ditto.
* ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly.
* mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1.
* read.c: Remove ugly hack that dealt with config files not
correctly defining TARGET_BYTES_BIG_ENDIAN.
(target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly.
* config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
* config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
* config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
* config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
* config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
* config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN
with TARGET_BYTES_BIG_ENDIAN defined to 0.
* config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
whether it is defined or not.
* config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN.
* config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
whether it is defined or not.
start-sanitize-tic80
* config/tic80.h (TARGET_FORMAT): Define to coff-tic80.
(TARGET_BYTES_BIG_ENDIAN): Define to 0.
end-sanitize-tic80
Jeff Law [Thu, 13 Feb 1997 23:33:33 +0000 (23:33 +0000)]
* gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
* gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
left in. No longer expect them to fail.
Jeff Law [Thu, 13 Feb 1997 23:31:53 +0000 (23:31 +0000)]
* mn10200-opc.c (IMM16_PCREL): This is a signed operand.
(IMM24_PCREL): Likewise.
Fixes bugs exposed by disassembler testsuite.
Jeff Law [Thu, 13 Feb 1997 23:20:09 +0000 (23:20 +0000)]
* gdb.stabs/*.mt; Deleted, no longer used.
* gdb.stabs/configure.in: Remove references to target makefile
frags.
* gdb.stabs/configure: Rebuilt.
Removing more crud.
Jeff Law [Thu, 13 Feb 1997 23:16:26 +0000 (23:16 +0000)]
* gdb.disasm/*.mt: Deleted, no longer used.
* gdb.disasm/configure.in: Remove references to target makefile
frags. Use "sh3.s" as the unique filename for this directory.
* gdb.disasm/configure: Rebuilt.
Cleaning up unused crud.
* gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
* gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
* gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
mn10200 disassembler testsuite.
David Edelsohn [Thu, 13 Feb 1997 23:12:14 +0000 (23:12 +0000)]
Correct errors in some comments (bfd_perform_relocation was refered to
instead of bfd_install_relocation).
David Edelsohn [Thu, 13 Feb 1997 23:08:52 +0000 (23:08 +0000)]
* write.c (write_relocs): Correct text in as_fatal error message,
bfd_perform_relocation -> bfd_install_relocation.
Ian Lance Taylor [Thu, 13 Feb 1997 19:50:01 +0000 (19:50 +0000)]
Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
* read.c (LEX_TILDE): Define if not defined.
(lex_type): Use LEX_TILDE.
* expr.c (get_symbol_end): Check first char with is_name_beginner,
not is_part_of_name.
Ian Lance Taylor [Thu, 13 Feb 1997 19:08:55 +0000 (19:08 +0000)]
* gencode.c (build_mips16_operands): Correct computation of base
address for extended PC relative instruction.
Ian Lance Taylor [Thu, 13 Feb 1997 18:33:26 +0000 (18:33 +0000)]
* config/tc-mips.c (mips16_extended_frag): Correct base address
for an extended PC relative instruction.
(md_convert_frag): Likewise.
Ian Lance Taylor [Thu, 13 Feb 1997 18:29:25 +0000 (18:29 +0000)]
* mips-dis.c (print_mips16_insn_arg): Use memaddr - 2 as the base
address for an extended PC relative instruction that is not a
branch.
Ian Lance Taylor [Thu, 13 Feb 1997 17:25:10 +0000 (17:25 +0000)]
* config/tc-mips.c (prev_nop_frag): New static variable.
(prev_nop_frag_holds): New static variable.
(prev_nop_frag_required): New static variable.
(prev_nop_frag_since): New static variable.
(append_insn): If we aren't reordering, and prev_nop_frag is not
NULL, and we don't need any nops, then decrease the size of
prev_nop_frag. Don't insert nops because of instructions in
noreorder sections. Remember whether the previous instructions
where in noreorder sections even when not reordering.
(mips_no_prev_insn): Add preserver parameter. Change all
callers. Refer prev_nop_frag variables when appropriate.
(mips_emit_delays): Set up prev_nop_frag.
(s_mipsset): Clear prev_nop_frag if reordering.
Ian Lance Taylor [Thu, 13 Feb 1997 01:29:39 +0000 (01:29 +0000)]
* config/tc-mips.c (append_insn): Remove useless code which
handled swapping a mips16 jump with a mips16 instruction with a
reloc.
Dawn Perchik [Thu, 13 Feb 1997 00:01:21 +0000 (00:01 +0000)]
* debugify.c, debugify.h: Make safe for non-ansi compilers.
Dawn Perchik [Wed, 12 Feb 1997 23:32:50 +0000 (23:32 +0000)]
* defs.h: Fix prototypes for new cleanup functions.
Dawn Perchik [Wed, 12 Feb 1997 23:16:32 +0000 (23:16 +0000)]
* debugify.c, debugify.h: Fix for general gnu use. Remove C++
comment, add PARAMS, add license info and fix indentation.
Ian Lance Taylor [Wed, 12 Feb 1997 23:14:36 +0000 (23:14 +0000)]
* sunos.c (sunos_create_dynamic_sections): We need the dynamic
sections if we are creating a shared library.
Dawn Perchik [Wed, 12 Feb 1997 22:48:45 +0000 (22:48 +0000)]
* debugify.c, debugify.h: New files. Provide common macros
for writing debug info to a log file or stdio.
Ian Lance Taylor [Wed, 12 Feb 1997 21:48:50 +0000 (21:48 +0000)]
* gas/mips/lif-svr4pic.d: Pass -EB when running the assembler.
* gas/mips/lif-xgot.d: Likewise.
* gas/mips/ulh-svr4pic.d: Likewise.
* gas/mips/ulh-xgot.d: Likewise.
Ian Lance Taylor [Wed, 12 Feb 1997 21:36:17 +0000 (21:36 +0000)]
revert earlier patch to set prev_insn_valid when not reordering
Ian Lance Taylor [Wed, 12 Feb 1997 21:30:02 +0000 (21:30 +0000)]
* config/tc-mips.c (md_parse_option): When debugging, set
mips_optimize to 1, not 0.
Ian Lance Taylor [Wed, 12 Feb 1997 21:13:06 +0000 (21:13 +0000)]
* objdump.c (disassemble_data): Correct VMA argument to
find_symbol_for_address. Improve handling of code with no symbol
followed by code with a symbol.
Jim Wilson [Wed, 12 Feb 1997 20:55:49 +0000 (20:55 +0000)]
Add optional way to build libgcc2.c without debug info for Noer/cygwin32.
* Makefile.in (EXTRA_GCC_FLAGS): Add LIBGCC2_DEBUG_CFLAGS.
Ian Lance Taylor [Wed, 12 Feb 1997 20:43:15 +0000 (20:43 +0000)]
* config/tc-mips.c (mips16_ip): Handle an extend operand.
Ian Lance Taylor [Wed, 12 Feb 1997 20:38:20 +0000 (20:38 +0000)]
* config/tc-mips.c (my_getExpression): In mips16 mode, if it looks
like the expression was based on `.', adjust the value of the
symbol.
Ian Lance Taylor [Wed, 12 Feb 1997 20:20:11 +0000 (20:20 +0000)]
* config/tc-mips.c (append_insn): Warn about an attempt to put an
extended instruction in a delay slot when not reordering. Set
prev_insn_valid even if not reordering.
(md_convert_frag): Warn if an extended instruction appears in a
delay slot.
Ian Lance Taylor [Wed, 12 Feb 1997 20:00:15 +0000 (20:00 +0000)]
* config/tc-mips.c (mips_pseudo_table): Add "insn".
(s_insn): New static function.
* doc/c-mips.texi: Document .insn.
Ian Lance Taylor [Wed, 12 Feb 1997 19:37:58 +0000 (19:37 +0000)]
* config/tc-mips.c (md_begin): Add the general registers to the
symbol table.
(mips16_ip): First parse the expression, and then see whether it
came up with a register, rather than trying to first see whether
we are looking at a register.
Ian Lance Taylor [Wed, 12 Feb 1997 17:33:41 +0000 (17:33 +0000)]
* gas/mips/mips16.d: Update for yet another change in disassembly
output (this one is spacing only).
Ian Lance Taylor [Wed, 12 Feb 1997 17:28:14 +0000 (17:28 +0000)]
Wed Feb 12 12:27:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68k-dis.c (print_insn_m68k): Set bytes_per_chunk and
bytes_per_line.
Ian Lance Taylor [Wed, 12 Feb 1997 17:18:38 +0000 (17:18 +0000)]
Wed Feb 12 12:16:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* objdump.c (disassemble_bytes): Make output of raw instructions
work better for non-standard values of bytes_per_chunk and
bytes_per_line.
I also fixed the spacing in the last patch.
Dawn Perchik [Wed, 12 Feb 1997 15:18:10 +0000 (15:18 +0000)]
* c-valprint.c: Fix checkin glitch.
Dawn Perchik [Wed, 12 Feb 1997 10:49:20 +0000 (10:49 +0000)]
* c-valprint.c (c_val_print): Fix printing for arrays defined
with 0 length. A sticky tag caused this fix from
revision 2.32 date: 1996/04/29 23:25:27; author: dawn;
state: Exp; lines: +1 -0 branches: 2.32.34;
to not make it into devo.
Dawn Perchik [Wed, 12 Feb 1997 10:27:11 +0000 (10:27 +0000)]
* defs.h: Fix cntl-C to read from the Windows message queue.
Add prototypes for make_final_cleanup (and the other cleanup
routines.
* remote-e7000.c: Fix sync code to timeout if unable to sync.
Change sync code to report status while trying to sync-up
with hardware. Add debugging output and document.
* ser-e7kpc.c: Swap order of len & offset to match implementation.
Add debugging output and document.
* serial.c: Add debugging output.
* top.c: Add call to do_final_cleanups.
Remove conditionals preventing Win32 from getting SIGQUIT.
* utils.c: (*_cleanup): Modify cleanup routines to accept a cleanup
chain as a parameter. Extract this generic code from the cleanup
routines into separate funtions (*_my_cleanup). Keep old
functionality by passing "cleanup_chain" to the new funtions.
Define the cleanup chain "final_cleanup_chain" to be a cleanup
chain which will be executed only when gdb exits. Add functions
(*_final_cleanup) to match the original (*_cleanup) functions.
(pollquit, quit, notice_quit): Fix to read cntl-C from the
Windows message queue.
Jeff Law [Wed, 12 Feb 1997 02:06:34 +0000 (02:06 +0000)]
Revert last structs.exp change -- I found the problem.
Bob Manson [Wed, 12 Feb 1997 01:00:49 +0000 (01:00 +0000)]
* config/udi.exp: Use mondfe,name instead of remote_host.
remote_host is a bad naming choice.
Jeff Law [Wed, 12 Feb 1997 01:00:46 +0000 (01:00 +0000)]
Remove REG_STRUCT_HAS_ADDR change.
Jeff Law [Wed, 12 Feb 1997 00:48:47 +0000 (00:48 +0000)]
* config/mn10200/tm-mn10200.h (STORE_STRUCT_RETURN): Fix.
* mn10200-tdep.c (mn10200_store_struct_return): New function.
(REG_STRUCT_HAS_ADDR): Tweak.
Fixes most of the structs.exp tests.
Jeff Law [Wed, 12 Feb 1997 00:45:46 +0000 (00:45 +0000)]
* gdb.base/structs.exp: Expect some failures from the mn10200 port.
I don't want to deal with this for the alpha!