Commit Graph

21186 Commits

Author SHA1 Message Date
Ian Lance Taylor
0e034c7751 Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
Add tms320c30 support:
	* config/tc-tic30.h: New file.
	* config/tc-tic30.c: New file.
	* config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
	TARGET_FORMAT as "coff-tic30".
	* configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
	* Makefile.am: Rebuild dependencies.
	(CPU_TYPES): Add tic30.
	(CPU_OBJ_VALID): tic30-aout is valid.
	(TARGET_CPU_CFILES): Add config/tc-tic30.c.
	(TARGET_CPU_HFILES): Add config/tc-tic30.h.
	* configure, Makefile.in: Rebuild.
1998-02-03 00:17:20 +00:00
Nick Clifton
6d0b44264f Improve error reporting for PR14724 1998-02-02 23:44:42 +00:00
Ian Lance Taylor
e8f2efef4d * Makefile.am ($(srcdir)/bfd-in2.h): Add dummy command to force
make to reexamine the file timestamp.
	($(srcdir)/libbfd.h, $(srcddir)/libcoff.h): Likewise.

Mon Feb  2 17:39:39 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>

	Add tms320c30 support:
	* cpu-tic30.c: New file.
	* aout-tic30.c: New file.
	* coff-tic30.c: New file.
	* archures.c (bfd_arch_tic30): Define.
	(bfd_tic30_arch): Declare.
	(bfd_archures_list): Add bfd_tic30_arch.
	* targets.c (bfd_target_vector): Add tic30_aout_vec and
	tic30_coff_vec.
	* reloc.c (BFD_RELOC_TIC30_LDP): Define.
	* coffcode.h (coff_set_arch_mach_hook): Add tic30 case.
	(coff_set_flags): Likewise.
	* config.bfd (tic30-*-*aout*, tic30-*-*coff*): New targets.
	* configure.in (tic30_aout_vec, tic30_coff_vec): New vectors.
	* Makefile.am: Rebuild dependencies.
	(ALL_MACHINES): Add cpu-tic30.lo.
	(ALL_MACHINES_CFILES): Add cpu-tic30.c.
	(BFD32_BACKENDS): Add aout-tic30.lo and coff-tic30.lo.
	(BFD32_BACKENDS_CFILES): Add aout-tic30.c and coff-tic30.c.
	* configure, Makefile.in, bfd-in2.h, libbfd.h: Rebuild.
1998-02-02 22:49:54 +00:00
Ian Lance Taylor
5de944588a Mon Feb 2 17:10:38 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
* tic30.h: New file.
1998-02-02 22:13:36 +00:00
Nick Clifton
581d7269d0 Allow HI16_S reloc to lag behind LO16 reloc by a couple of instructions. 1998-02-02 20:37:53 +00:00
Ian Lance Taylor
f3d26cc56a * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. 1998-02-02 19:18:42 +00:00
Ian Lance Taylor
1a58a2d805 * elf64-alpha.c (ELF_MAXPAGESIZE): Change to 0x10000 from
0x100000.
1998-02-02 19:15:33 +00:00
Ian Lance Taylor
49d579a06c * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
accept either ld.so or ld-linux.so.
1998-02-02 19:14:33 +00:00
Nick Clifton
b73ebb798d Removed mulwhi-a mulwlo-a, macwhi-a, macwlo-a instructions. 1998-02-02 19:07:04 +00:00
Nick Clifton
c519430b50 Improvments to error message reporting for PR14720 1998-02-02 18:22:20 +00:00
Ian Lance Taylor
32715d71b8 Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
* config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
 	BFD_RELOC_HI16_S to store the high bits of any value.

	* config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
	(TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
	assembler calculate relocations to any external symbol at all.
	* config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
	involving generation of pc-relative relocs.
	(md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
	has been moved to md_apply_fix3.

	* config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
	(ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
	which actually means (the address of identifier's GOT entry) +
	constant, which is not particularly useful.
1998-02-02 17:44:57 +00:00
Andrew Cagney
4634263c4c Make IGEN the generator for all but mips16 simulators.
Clean up botched merge in interp.c:sim_open().
1998-02-02 14:14:17 +00:00
Andrew Cagney
a97f304b04 Add support for configuring the size of the floating point unit (fp_word).
For mips, move fp_registers into a separate array of type fp_word[].
1998-02-02 14:06:52 +00:00
Andrew Cagney
2acd126a47 Rewrite the mipsI/II/III pending-slot code. 1998-02-02 13:49:17 +00:00
Andrew Cagney
192ae475f9 Always compile FP code (test for FP at run-time).
Remove dependance of interp.c on gencode.c's output.
1998-02-02 08:25:33 +00:00
Andrew Cagney
fcb12def35 New test - verify sdl insn. 1998-02-02 06:16:07 +00:00
Jeff Law
f16c443c2d * gas/mips/4010.s: Pad test code out to a 16byte boundary.
* gas/mips/4010.d: Corresponding changes.
        * gas/mips/4100.s: Pad test code out to a 16byte boundary.
        * gas/mips/4100.d: Corresponding changes.
        * gas/mips/4650.s: Pad test code out to a 16byte boundary.
        * gas/mips/4650.d: Corresponding changes.
start-sanitize-r5900
        * gas/mips/5900.s: Pad test code out to a 16byte boundary.
        * gas/mips/5900.d: Corresponding changes.
end-sanitize-r5900

To make mips-ecoff happy, which apparently pads out the sections...
1998-02-02 04:43:07 +00:00
Andrew Cagney
01737f42d8 mips: Add multi-processor support for r5900. Others might work.
common, igen: Fix MP related bugs.
1998-02-01 03:29:48 +00:00
Andrew Cagney
412c4e940e Add config support for the size of the target address and OF cell. 1998-01-31 14:07:23 +00:00
Andrew Cagney
c4db5b04f8 mips - for r5900 generate igen simulator.
igen - stop crash when simulator isn't multi-sim'ed
1998-01-31 06:56:13 +00:00
Fred Fish
6271cadd10 Sanitize away "*-windows*" host makefile frag when sanitizing
with --lose-mswin.
1998-01-31 06:25:12 +00:00
Andrew Cagney
9ec6741b17 igen: Fix SMP simulator generator support.
Use the bfd-processor name in the sim-engine switch.
	Add nr_cpus argument to sim_engine_run.
tic80, v850, d30v, mips, common:
	Update
mips:	Fill in bfd-processor field of model records so that
	they match ../bfd/archures.
1998-01-31 06:23:41 +00:00
Fred Fish
5266a484f4 Make --keep-mswin 1998-01-31 06:19:34 +00:00
Doug Evans
2aff49dd48 * Makefile.am (CC_FOR_TARGET,nlmcomv.o): Change program_transform_name
to transform.
	* Makefile.in: Regenerate.
1998-01-31 03:30:32 +00:00
Doug Evans
ca7f5c98bd * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name
to transform.
	* Makefile.in: Regenerate.
1998-01-31 03:22:45 +00:00
Doug Evans
32729d87dd config/tc-dvp.c (md_pcrel_from_section): Add offset to delay slot for
undefined symbols.
1998-01-31 02:51:33 +00:00
Geoffrey Noer
383a466768 Fri Jan 30 17:18:32 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Remove expect from noconfigdirs when target
        is cygwin32.  OK to build expect and dejagnu with Canadian
        Cross.
1998-01-31 01:23:12 +00:00
Ian Lance Taylor
93ed82b0c7 Fri Jan 30 19:15:17 1998 Geoff Keating <geoffk@ozemail.com.au>
* scripttempl/elfppc.sc: Put .dynsbss in .sbss.
1998-01-31 00:16:44 +00:00
Doug Evans
c44b38d742 * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true
and partial_inplace=false.
	(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.
1998-01-31 00:11:35 +00:00
Doug Evans
c62a82b5a0 * elf32-mips.c (elf_mips_dvp_11_pcrel_howto): Set pcrel_offset=true.
(mips_elf_relocate_section): Recognize R_MIPS_DVP_11_PCREL.
1998-01-31 00:11:34 +00:00
Ian Lance Taylor
8a5863beeb Fri Jan 30 19:07:07 1998 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_create_dynamic_sections): New procedure
	to create .dynsbss and .rela.sbss sections.
	(ppc_elf_adjust_dynamic_symbol): Put space for small data to be
	copied from dynamic objects into .sbss.
	(ppc_elf_size_dynamic_sections): Strip .rela.sbss if we don't
	use it.  Correct typo of .rela.sdata2.
	(ppc_elf_finish_dynamic_symbol): Generate reloc to where we
	put the data, which may now be in .sbss.
	(ppc_elf_relocate_section): A SDAREL16 reloc can be in dynsbss.
	(elf_backend_create_dynamic_sections): Define as
	ppc_elf_create_dynamic_sections.
	* elf32-ppc.c (ppc_elf_check_relocs): Don't emit R_PPC_REL* relocs
	against _GLOBAL_OFFSET_TABLE_.
 	(ppc_elf_relocate_section): Don't emit R_PPC_REL32 relocs in
	shared libraries which refer to local symbols.  Make sure that the
	test for allocating space for a reloc in a shared object is the
	same as the test for emitting a reloc.
1998-01-31 00:11:33 +00:00
Doug Evans
b6675c1a8e (md_pcrel_from_section): Add offset to delay slot for
undefined symbols.
1998-01-31 00:04:27 +00:00
James Lemke
3b2215c2ed Implement DMAcnt, DMAret & DMAend with explicit count args. 1998-01-31 00:04:26 +00:00
Doug Evans
83f3596372 don't build itcl libgui tk tix 1998-01-30 23:25:03 +00:00
Ian Carmichael
54917cbbd5 * dvp-opc.c, a bunch of little change to the instruction table to make
* it consistent with the SCE asmvu assembler (and inconsistent with the
* spec).
1998-01-30 22:42:04 +00:00
Ian Lance Taylor
f2e272e077 * configure.in: Correct check for shared opcodes library.
* configure: Rebuild.
1998-01-30 22:04:36 +00:00
David Taylor
6981a588db changelog entries for gdb/13521. 1998-01-30 21:11:53 +00:00
Doug Evans
04eb2dddaf fix d30v and sky sanitization 1998-01-30 20:45:53 +00:00
David Taylor
7d0a3fc844 Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
from a function in one dynamically linked library into a function in another
dynamically linked library.
1998-01-30 20:33:43 +00:00
Doug Evans
cd9a4eec49 tweak last dvp entry 1998-01-30 20:10:19 +00:00
Doug Evans
5b86203923 * config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
(md_parse_option): Handle them.
	(md_show_usage): Print them.
	(output_dma,output_pke): New static globals.
	(md_begin): Initialize them to 1.
	(assemble_pke): Handle -no-dma-pke.
	(insert_file): Search include dir list.
	(s_enddirect): Validate length if prespecified.
	(s_endmpg): Likewise.  Handle -no-dma-pke.
	(s_endunpack): Handle -no-dma-pke.
1998-01-30 20:02:46 +00:00
Doug Evans
d341ae3fef * read.h (include_dirs): Declare.
(include_dir_count,include_dir_maxlen): Declare.
1998-01-30 19:13:17 +00:00
Ian Lance Taylor
577e9a32f7 * gas/mri/moveml.d: Add test comments, fix regexps. 1998-01-30 19:09:44 +00:00
Ian Lance Taylor
ce44ad74d9 * listing.c (buffer_line): If we can't open the file, set at_end.
(listing_print): Remove unused local variable fi.
1998-01-30 19:06:39 +00:00
Ian Lance Taylor
4b02738729 * config/vms-conf.h: Don't undef VERSION. 1998-01-30 16:48:57 +00:00
Ian Lance Taylor
532fe3e58e Fri Jan 30 11:43:49 1998 H.J. Lu <hjl@gnu.ai.mit.edu>
* Makefile.am (eelf32bsmip.c, eelf32lsmip.c): New targets.
	* Makefile.in: Rebuild.
1998-01-30 16:46:05 +00:00
Doug Evans
4ae438d7db Fix date in one entry. 1998-01-30 13:47:05 +00:00
Doug Evans
08847198d5 fix typo in last change 1998-01-30 12:10:00 +00:00
Doug Evans
fe9efeb6d9 * config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
(md_parse_option): Handle them.
	(md_show_usage): Print them.
	(output_dma,output_pke): New static globals.
	(md_begin): Initialize them to 1.
	(assemble_pke): Handle -no-dma-pke.
	(insert_file): Search include dir list.
	(s_enddirect): Validate length if prespecified.
	(s_endmpg): Likewise.  Handle -no-dma-pke.
	(s_endunpack): Handle -no-dma-pke.
1998-01-30 12:01:27 +00:00
Stan Shebs
3e269acb3e * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
never be defined.
	* dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
	Remove, no longer needed.
	* hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
	* config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
	* config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
	* config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
Cruft discovered while working on GDB internals manual
1998-01-30 03:54:54 +00:00