Fred Fish
ef60d6973c
* 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.
1997-02-23 03:34:25 +00:00
Peter Schauer
f3cc5a0ea4
* 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.
1997-02-22 11:42:07 +00:00
Martin Hunt
50b264e375
Fri Feb 21 17:56:25 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* configure.in (noconfigdirs): Enable ld for d30v.
1997-02-22 02:02:27 +00:00
Michael Meissner
41416969f6
Build tic80 compiler
1997-02-22 01:59:42 +00:00
Martin Hunt
232e870207
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.
1997-02-22 01:42:27 +00:00
Martin Hunt
ca5ef3cb83
Fri Feb 21 16:34:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d30v.h (FLAG_X): Remove unused flag.
1997-02-22 00:34:58 +00:00
Martin Hunt
4fe23bdd06
Fri Feb 21 16:31:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d30v-opc.c: Removed references to FLAG_X.
1997-02-22 00:32:23 +00:00
Martin Hunt
1b52469766
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.
1997-02-22 00:29:55 +00:00
Bob Manson
cea0f6fc02
Added vxworks.exp.
1997-02-22 00:17:12 +00:00
Jeff Law
7b951eed4d
* 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.
1997-02-21 23:19:34 +00:00
Martin Hunt
09d9ef26c9
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.
1997-02-21 22:36:21 +00:00
Martin Hunt
80e3b2aa53
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.
1997-02-21 22:28:16 +00:00
David Edelsohn
77dd1a25d8
* 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.
1997-02-21 22:09:40 +00:00
David Edelsohn
8a733d7109
* m32r.h (enum reloc_type): Add R_M32R_SDA16.
...
(SHN_M32R_SCOMMON): Define.
1997-02-21 21:01:40 +00:00
Ian Lance Taylor
b2f7cdd005
* config/tc-m68k.c (line_comment_chars): Add '*'.
1997-02-21 19:54:34 +00:00
Jim Wilson
e2e5acfa75
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.
1997-02-21 18:28:36 +00:00
Ian Lance Taylor
830ce6319a
* 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 '*'.
1997-02-21 17:21:09 +00:00
Ian Lance Taylor
fee3e248a6
* 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.
1997-02-21 17:00:45 +00:00
Jeff Law
7c49f021ca
Twiddle some comments to more accurately reflect reality.
1997-02-21 07:21:32 +00:00
Jeff Law
c17db7cfb4
Remove debugging printf.
1997-02-21 07:18:35 +00:00
Jeff Law
fd39566111
* 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.
1997-02-21 07:14:30 +00:00
Jeff Law
48242b28d6
* 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.
1997-02-21 05:27:10 +00:00
Andrew Cagney
7713cb96cd
Commit the other half of the top level configure change for enabling
...
the sim directory.
1997-02-21 03:46:32 +00:00
Andrew Cagney
1fe4ec0766
Really checkin the d30v sim directory configure files.
1997-02-21 03:33:03 +00:00
Andrew Cagney
978a4d8b93
The remainder of igen taken from the PowerPC simulator directory.
1997-02-21 02:50:27 +00:00
Andrew Cagney
a4c97499d9
Instruction decode generator taken from the PowerPC simulator
...
and being made more generic.
1997-02-21 02:49:21 +00:00
Andrew Cagney
317df3b530
Add d30v simulator configuration but sanatize it out.
1997-02-21 02:44:57 +00:00
Andrew Cagney
332cb5d943
Make useful macro's and functions found in the PowerPC simulator
...
directory more widely available.
1997-02-21 02:42:48 +00:00
Bob Manson
c309781f7e
* lib/gdb.exp(gdb_init): New function.
1997-02-21 00:22:50 +00:00
Bob Manson
eb659148ad
* gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
...
for each individual variable set.
1997-02-21 00:21:34 +00:00
Bob Manson
38ee47dc4a
* gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
...
name.
1997-02-20 23:45:23 +00:00
Bob Manson
42c254c939
* gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
...
hmmm, automagic conversion left -re things.
1997-02-20 22:52:38 +00:00
Ian Lance Taylor
db986c6049
fix with make headers
1997-02-20 22:49:40 +00:00
Bob Manson
dadace266a
* 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.
1997-02-20 22:13:52 +00:00
Stan Shebs
3fe495606c
* gdb.base/help.exp: Fix syntax of "help info all-registers" test.
1997-02-20 21:38:08 +00:00
Jeff Law
64af667971
* 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.
1997-02-20 20:54:28 +00:00
Ian Lance Taylor
64c5df8d21
* config/obj-coff.c (obj_coff_ln [both versions]): Call
...
new_logical_line.
PR 11725.
1997-02-20 19:12:05 +00:00
Ian Lance Taylor
1af411e17e
* symbols.c (resolve_symbol_value): If both left and right
...
operands are undefined, warn about both of them.
PR 11724.
1997-02-20 18:58:40 +00:00
Jeff Law
66a5e0e94c
* 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.
1997-02-20 17:36:12 +00:00
Michael Meissner
b934926eac
Since d10v is public now, remove all sanitization statements
1997-02-20 17:00:14 +00:00
Michael Meissner
c6c7035cfb
Since d10v is public now, remove all sanitization statements
1997-02-20 16:05:18 +00:00
Gavin Romig-Koch
528031fd49
Correct test for ISA dependent bits
1997-02-20 15:48:57 +00:00
Jeff Law
8f06365c2f
* configure.in: Don't require GCC to build the mn10200
...
simulator anymore.
* configure: Rebuilt.
1997-02-20 06:19:13 +00:00
Mark Alexander
7e05106dc8
* interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
1997-02-19 22:44:02 +00:00
Ian Lance Taylor
dd7feeb5ce
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.
1997-02-19 21:33:00 +00:00
Ian Lance Taylor
56c4200b35
From Eric Youngdale <eric@andante.jic.com>:
...
* external.h, internal.h, common.h: Added new structures and
definitions for ELF versions.
1997-02-19 20:36:23 +00:00
Ian Lance Taylor
7adf26304e
* Makefile.in: Add dependencies on ../bfd/bfd.h as required.
1997-02-19 19:52:17 +00:00
Ian Lance Taylor
f87ac26665
* 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.
1997-02-19 05:57:55 +00:00
Ian Lance Taylor
78673fc661
* read.c (get_line_sb): Don't end the line on a semicolon inside a
...
string.
PR 11715.
1997-02-19 05:54:00 +00:00
Martin Hunt
14f23c288c
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.
1997-02-19 02:53:39 +00:00