Fred Fish [Mon, 24 Feb 1997 20:21:13 +0000 (20:21 +0000)]
* config/obj-coff.c: Fix typo in comment section.
start-sanitize-tic80
* config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
an additional alignment argument.
(find_opcode): Allow O_symbol relocs for any 32 bit field, not just
base relative ones.
(build_insn): Handle O_symbol relocs for any 32 bit field, not just
base relative ones.
end-sanitize-tic80
Fred Fish [Mon, 24 Feb 1997 18:25:19 +0000 (18:25 +0000)]
* gas/tic80/{add.d, bitnum.d, ccode.d, cregops.d, endmask.d,
regops.d, relocs1.d,
(relocs1.c): Add file for reference.
(relocs1b.d): Split reloc table contents test to different test file.
(relocs2.c): Add test that uses various types (char, short, int, ...) of
static and global variables with data shuffling to generate lots of ld/st
instructions for the different types.
(relocs2.d): New file, expected code for relocs2 test.
(relocs2.lst): New file, TI assembler listing for reference.
(relocs2.s): New file, assembly source for relocs2 test.
(relocs2b.d): New file, expected reloc table contents for relocs2 test.
(tic80.exp): Run the relocs1b, relocs2, and relocs2b tests.
Jeff Law [Mon, 24 Feb 1997 18:13:23 +0000 (18:13 +0000)]
Update some comments to reflect current reality.
Dawn Perchik [Mon, 24 Feb 1997 10:42:50 +0000 (10:42 +0000)]
* Makefile.in: Remove dependancies on itbl-cpu.h.
* as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU
is not defined.
Dawn Perchik [Mon, 24 Feb 1997 10:01:19 +0000 (10:01 +0000)]
* itbl-ops.h: Include as.h.
Dawn Perchik [Mon, 24 Feb 1997 09:21:31 +0000 (09:21 +0000)]
* as.c: Remove -t option.
* configure, configure.in: Move itbl-cpu.h to mips specific configure.
* itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
* config/tc-mips.h: Define HAVE_ITBL_CPU.
Bob Manson [Mon, 24 Feb 1997 05:43:35 +0000 (05:43 +0000)]
* config/vr4300.exp: New file.
* gdb.*/*.exp: Call gdb_expect instead of expect.
* lib/gdb.exp(gdb_expect): New function.
Dawn Perchik [Mon, 24 Feb 1997 01:57:55 +0000 (01:57 +0000)]
* itbl-ops.c: Don't define DEBUG.
Dawn Perchik [Mon, 24 Feb 1997 01:51:04 +0000 (01:51 +0000)]
* gas/all/itbl-test.c(main): Update function calls.
Remove parameters from itbl_get_reg_val and
change itbl_get_insn_name to itbl_get_field.
Dawn Perchik [Mon, 24 Feb 1997 01:44:47 +0000 (01:44 +0000)]
* Makefile.in: Update itbl-test.c to reflect its new location.
Dawn Perchik [Mon, 24 Feb 1997 01:17:50 +0000 (01:17 +0000)]
* gas/mips/itbl: Add comments.
* gas/mips/itbl.s: Add comments. Prefix register names with $.
* gas/all/itbl: Generic table for testing for itbl support.
* gas/all/itbl.s: Generic assembly for testing for itbl support.
* gas/mips/itbl-test.c: Moved to gas/all.
* gas/all/itbl-test.c: Moved from gas/mips.
Dawn Perchik [Sun, 23 Feb 1997 23:46:12 +0000 (23:46 +0000)]
* itbl-ops.c: Add test for itbl_have_entries.
* config/tc-mips.c: Remove test for itbl_have_entries.
* config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
Ian Lance Taylor [Sun, 23 Feb 1997 23:15:09 +0000 (23:15 +0000)]
* Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
itbl-ops.c. Add itbl-parse.c and itbl-lex.c.
(LEX, LEXFLAGS): Define.
* itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
Ian Lance Taylor [Sun, 23 Feb 1997 23:14:39 +0000 (23:14 +0000)]
fix minor formatting problem
Ian Lance Taylor [Sun, 23 Feb 1997 23:05:35 +0000 (23:05 +0000)]
update copyrights
Ian Lance Taylor [Sun, 23 Feb 1997 22:47:20 +0000 (22:47 +0000)]
minor formatting fixes
Dawn Perchik [Sun, 23 Feb 1997 22:26:01 +0000 (22:26 +0000)]
* mips-opc.c: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
and change bfd_mips_num_opcodes from const int to int,
so that we can increase the size of the mips opcodes table
dynamically.
Dawn Perchik [Sun, 23 Feb 1997 22:24:49 +0000 (22:24 +0000)]
* mips.h: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
and change bfd_mips_num_opcodes from const int to int,
so that we can increase the size of the mips opcodes table
dynamically.
Dawn Perchik [Sun, 23 Feb 1997 22:23:12 +0000 (22:23 +0000)]
* itbl-parse.y: Fix indentation mistakes from indent program.
* itbl-lex.l: Fix indentation mistakes from indent program.
* itbl-ops.h: Add include for ansidecl.h.
Add PARAMS around function arguments.
Add declaration for itbl_have_entries.
* itbl-ops.c: Add PARAMS around function arguments.
* Makefile.in: Add itbl build rules.
Add dependancies for itbl files to mips target.
* as.c: Add itbl support.
Add new option "--insttbl" for dynamically extending instruction set.
* as.h: Declare insttbl_file_name;
the name of file defining extensions to the basic instruction set
* configure.in, configure: Add itbl-parse.o, itbl-lex.o, and
itbl-ops.o to extra_objects for mips configuration.
Add include file link from itbl-cpu.h to
config/itbl-${target_cpu_type}.h.
* config/tc-mips.c: Allow copz instructions.
Add notes for future additions to the itbl support.
Add debug macros.
(macro): Call itbl_assemble to assemble itbl instructions.
See if an unknown register is specified in an itbl entry.
Fred Fish [Sun, 23 Feb 1997 04:06:51 +0000 (04:06 +0000)]
* tic80-opc.c (tic80_predefined_symbols): Revert change to
store BITNUM values in the table in one's complement form
to match behavior when assembler is given a raw numeric
value for a BITNUM operand.
* tic80-dis.c (print_operand_bitnum): Ditto.
Fred Fish [Sun, 23 Feb 1997 04:01:39 +0000 (04:01 +0000)]
* doc/internals.texi (CPU backend): Fix typo in md_section_align
description.
start-sanitize-tic80
* config/tc-tic80.h (NEED_FX_R_TYPE): Define.
* config/tc-tic80.c (find_opcode): Add code to support O_symbol
operands.
(build_insn): Grab a frag early so we can use the address in
fixups. Take one's complement of BITNUM values before insertion
in opcode. Add code to support O_symbol operands.
(md_apply_fix): Replace unimplemented warning with implementation.
(md_pcrel_from): Ditto.
(tc_coff_fix2rtype): Ditto.
end-sanitize-tic80
Fred Fish [Sun, 23 Feb 1997 03:34:25 +0000 (03:34 +0000)]
* gas/tic80/{add.lst, bitnum.lst, ccode.lst, cregops.lst,
endmask.lst, regops.lst}: Remove ^M's from end of lines.
* gas/tic80/bitnum.s: Add comment to each line showing value
that symbolic BITNUM assembles to. Add coverage for raw
numeric values for the BITNUM operand.
* gas/tic80/bitnum.d: Update due to bitnum.s changes.
* gas/tic80/regops.d: Update due to opcode library additions
of floating point test BITNUM values that are ambiguous with
the integral ones.
* gas/tic80/relocs1.s: New test case that tests simple relocs.
* gas/tic80/relocs1.d: Expected output for above.
* gas/tic80/relocs1.lst: TI assembler listing for above.
* gas/tic80/tic80.exp: Add relocs1 test.
Peter Schauer [Sat, 22 Feb 1997 11:42:07 +0000 (11:42 +0000)]
* stabsread.c (read_type): Fix handling of template names
with template parameters containing `::'.
* valops.c (search_struct_field, search_struct_method):
Pass correct valaddr parameter to baseclass_offset.
Prevent gdb crashes by making sure that the virtual base pointer
from an user object still points to accessible memory.
Martin Hunt [Sat, 22 Feb 1997 02:02:27 +0000 (02:02 +0000)]
Fri Feb 21 17:56:25 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* configure.in (noconfigdirs): Enable ld for d30v.
Michael Meissner [Sat, 22 Feb 1997 01:59:42 +0000 (01:59 +0000)]
Build tic80 compiler
Martin Hunt [Sat, 22 Feb 1997 01:42:27 +0000 (01:42 +0000)]
Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in (ed30velf.c): New target.
* configure.tgt (d30v-*-*): New target.
* emulparams/d30velf.sh: New file.
* scripttempl/elfd30v.sc: New file.
Martin Hunt [Sat, 22 Feb 1997 00:34:58 +0000 (00:34 +0000)]
Fri Feb 21 16:34:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h (FLAG_X): Remove unused flag.
Martin Hunt [Sat, 22 Feb 1997 00:32:23 +0000 (00:32 +0000)]
Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v-opc.c: Removed references to FLAG_X.
Martin Hunt [Sat, 22 Feb 1997 00:29:55 +0000 (00:29 +0000)]
Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d30v.c (parallel_ok): New function.
* config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
Bob Manson [Sat, 22 Feb 1997 00:17:12 +0000 (00:17 +0000)]
Added vxworks.exp.
Jeff Law [Fri, 21 Feb 1997 23:19:34 +0000 (23:19 +0000)]
* elf32-mn10200.c (mn10200_elf_final_link_relocate): Simplify
somewhat.
(mn10200_elf_relax_section): Correctly compute a symbol's value
when the symbol is local, but not in the same section as we are
relaxing. Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16
relaxing.
Another 1.3% size reduction for hello world. Only relaxing left todo is
imm16 -> imm8 and d16 -> d8 where applicable.
Martin Hunt [Fri, 21 Feb 1997 22:36:21 +0000 (22:36 +0000)]
Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config/tc-d10v.c (md_pcrel_from_section): Return 0 if
relocation is in different section. Fixes PR11574.
Martin Hunt [Fri, 21 Feb 1997 22:28:16 +0000 (22:28 +0000)]
Fri Feb 21 14:23:14 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* gas/d30v/{align.d, align.s, d30.exp, guard.d, guard.s,
inst.d, inst.s, opt.d, opt.s}: Test files for D30V.
David Edelsohn [Fri, 21 Feb 1997 22:09:40 +0000 (22:09 +0000)]
* elf32-m32r.c: Rewrite to use ELF backend linker.
Store lower 16 bits of addend in R_M32R_HI16_[SU]LO insns.
Add small data area support (R_M32R_SDA16).
* reloc.c: Document BFD_RELOC_M32R_SDA16.
* bfd-in2.h,libbfd.h: Regenerated.
David Edelsohn [Fri, 21 Feb 1997 21:01:40 +0000 (21:01 +0000)]
* m32r.h (enum reloc_type): Add R_M32R_SDA16.
(SHN_M32R_SCOMMON): Define.
Ian Lance Taylor [Fri, 21 Feb 1997 19:54:34 +0000 (19:54 +0000)]
* config/tc-m68k.c (line_comment_chars): Add '*'.
Jim Wilson [Fri, 21 Feb 1997 18:28:36 +0000 (18:28 +0000)]
Fix linker relocation overflow errors for the NEC vr4300/ddb toolchain.
These changes are related to Ian's gas/libgloss changes of Dec 13/Dec 18.
* tc-mips.c (mips_ip): If configured for an embedded ELF system,
don't set the section alignment to 2**4.
* mips/ddb.ld: Align the location counter before setting _gp, and
before setting edata. Remove ALIGN from _gp computation.
* mips/idt.ld, mips/pmon.ld: Before setting _gp, use ALIGN(8) instead
of ALIGN(16). Remove ALIGN from _gp computation.
Ian Lance Taylor [Fri, 21 Feb 1997 17:21:09 +0000 (17:21 +0000)]
* app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
(do_scrub_begin): Don't set lex['*'].
(do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for
a literal '*'.
Ian Lance Taylor [Fri, 21 Feb 1997 17:00:45 +0000 (17:00 +0000)]
* configure.in: Set em=svr4 for m68k-*-sysv4*.
* configure: Rebuild.
* config/te-svr4.h: New file.
* config/tc-m68k.c (m68k_comment_chars): Only include `#' if
TE_SVR4 or TE_DELTA.
Jeff Law [Fri, 21 Feb 1997 07:21:32 +0000 (07:21 +0000)]
Twiddle some comments to more accurately reflect reality.
Jeff Law [Fri, 21 Feb 1997 07:18:35 +0000 (07:18 +0000)]
Remove debugging printf.
Jeff Law [Fri, 21 Feb 1997 07:14:30 +0000 (07:14 +0000)]
* elf32-mn10200.c (mn10200_elf_relax_section): New function.
(mn10200_elf_relax_delete_bytes): Likewise.
(mn10200_elf_symbol_address_p): Likewise.
(mn10200_elf_get_relocated_section_contents): Likewise.
(bfd_elf32_bfd_relax_section): Define.
(bfd_elf32_bfd_get_relocated_section_contents): Likewise.
First cut at relaxing linker for the mn10200:
jsr:24 -> jsr:16
jmp:24 -> jmp:16
jmp:16 -> bra:8
bCC .+4;bra:8 -> bCC':8
Reduces code size by about 2.5% for hello world.
Jeff Law [Fri, 21 Feb 1997 05:27:10 +0000 (05:27 +0000)]
* config/tc-mn10200.c (md_convert_frag): Create a fixup for the
short conditional branch around a long unconditional branch.
Showing the reloc will allow the linker to shorten the long unconditional
branch or remove the long unconditional branch entirely when relaxing.
Andrew Cagney [Fri, 21 Feb 1997 03:46:32 +0000 (03:46 +0000)]
Commit the other half of the top level configure change for enabling
the sim directory.
Andrew Cagney [Fri, 21 Feb 1997 03:33:03 +0000 (03:33 +0000)]
Really checkin the d30v sim directory configure files.
Andrew Cagney [Fri, 21 Feb 1997 02:50:27 +0000 (02:50 +0000)]
The remainder of igen taken from the PowerPC simulator directory.
Andrew Cagney [Fri, 21 Feb 1997 02:49:21 +0000 (02:49 +0000)]
Instruction decode generator taken from the PowerPC simulator
and being made more generic.
Andrew Cagney [Fri, 21 Feb 1997 02:44:57 +0000 (02:44 +0000)]
Add d30v simulator configuration but sanatize it out.
Andrew Cagney [Fri, 21 Feb 1997 02:42:48 +0000 (02:42 +0000)]
Make useful macro's and functions found in the PowerPC simulator
directory more widely available.
Bob Manson [Fri, 21 Feb 1997 00:22:50 +0000 (00:22 +0000)]
* lib/gdb.exp(gdb_init): New function.
Bob Manson [Fri, 21 Feb 1997 00:21:34 +0000 (00:21 +0000)]
* gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
for each individual variable set.
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