Ian Lance Taylor
180b9a3805
* rs6k.h: Remove obsolete file.
1996-06-20 19:04:10 +00:00
Ian Lance Taylor
55745b34b0
Add enough support to understand the gcc svr3.ifile script:
...
* ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add
BIND keyword.
* ldgram.y: Add BIND token.
(section): Recognize GROUP.
(opt_ext_with_type): Recognize a couple of cases of BIND.
* ldlang.c (init_os): Don't do anything if section is already
initialized. Call exp_init_os on addr_tree field.
(exp_init_os): New static function.
(map_input_to_output_sections): Call exp_init_os on assignment
expression.
(lang_place_orphans): Check for common sections by name COMMON
rather than by common_section field. Don't warn about absence of
[COMMON] command.
1996-06-20 18:23:24 +00:00
Michael Meissner
c180142240
Add support for Linux on PowerPC
1996-06-20 16:31:16 +00:00
Fred Fish
3f8eefba65
* gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
...
avoid backing up over prompt. At every input, make sure insert
point is at least after command start, handle control-u to delete
current input line.
(tclsh): Handle backspace to avoid backing up over prompt. Handle
control-u to delete current input line.
1996-06-20 15:50:37 +00:00
Ian Lance Taylor
793f9558f8
* write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
...
defined.
1996-06-20 01:45:14 +00:00
Ian Lance Taylor
84577ddeeb
* doc/as.texinfo: Document that any number of hex digits can
...
follow \x.
1996-06-20 01:34:19 +00:00
Ian Lance Taylor
4264a46e65
* sparc-dis.c (print_insn_sparc): Remove unused local variable i.
...
Set imm_added_to_rs1 even if the source and destination register
are not the same.
1996-06-20 01:18:47 +00:00
Ian Lance Taylor
25eb508ed4
* objdump.c (stabs): Change from struct internal_nlist * to
...
bfd_byte *.
(print_section_stabs): Fetch stabs information directly, rather
than assuming that struct internal_nlist is the right size.
1996-06-20 01:00:26 +00:00
Geoffrey Noer
b613bfbf2c
Changes to gdbtk configury so cygwin32 hosts (in addition to go32)
...
are configured without gdbtk
1996-06-20 00:29:38 +00:00
Ian Lance Taylor
0d6cae1e69
* as.c (struct defsym_list): Define.
...
(defsyms): New static variable.
(parse_args): Just put --defsym arguments on defsyms list, rather
than defining them.
(main): Define defsyms after output file is created.
1996-06-19 21:08:03 +00:00
Ian Lance Taylor
6e3f7f1bf9
* config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
...
cpu32. From Eric Norum <Eric.Norum@usask.ca>.
1996-06-19 20:33:30 +00:00
Ian Lance Taylor
c635473f30
* sparc-opc.c: Add some two operand forms of the wr instruction.
1996-06-19 19:56:51 +00:00
Ian Lance Taylor
ad8e053482
* i386.h: Correct opcode values for faddp, fsubp, fsubrp, fmulp,
...
fdivp, and fdivrp. Add ffreep.
1996-06-19 19:52:04 +00:00
Ian Lance Taylor
11de29d03b
* binutils.texi: Document change to binary format: file position
...
based on load address, not section VMA.
1996-06-19 18:50:41 +00:00
Ian Lance Taylor
8095b665cb
* as.c (emulation_name): Remove unused static variable.
...
(default_emul_bfd_name): Add return NULL to avoid warning.
* ecoff.c (ecoff_stab): Remove unused variables name and
name_end.
* frags.c (frag_new): Remove unused variable tmp.
* hash.c (hash_grow): Parenthesize + within <<.
(hash_print_statistics): Use %lu, not %d, to print unsigned
long variables.
* messages.c: Include "libiberty.h".
(fprint_value): Add cast to avoid printf warning.
(sprint_value): Likewise.
* read.c: Include "ecoff.h".
(emit_expr): Add casts to avoid printf warnings.
* read.h: Use extern for function declarations.
(pop_insert): Declare.
* stabs.c: Include "ecoff.h".
* subsegs.c (subseg_set_rest): Remove unused variables tmp,
former_last_fragP, and new_fragP.
* subsegs.h (subsegs_print_statistics): Declare.
* symbols.c (debug_verify_symchain): Change macro to discard
arguments.
* write.c (dump_section_relocs): Likewise.
* write.h: Use extern for function declarations.
(write_print_statistics): Declare.
* config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
warning.
* config/e-mipself.c (mipself_bfd_name): Likewise.
* config/obj-elf.h (elf_ecoff_set_ext): Declare.
1996-06-19 18:42:42 +00:00
Ian Lance Taylor
9753202d00
* config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
...
insn_error rather than calling check_absolute_expr.
1996-06-19 18:34:30 +00:00
Ian Lance Taylor
9ee759fc91
* config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
...
emit relocations against external symbols.
1996-06-19 17:06:41 +00:00
Ian Lance Taylor
faa3f5397d
* config/tc-alpha.c (tc_gen_reloc): Output a sensible error
...
message if bfd_reloc_type_lookup fails, rather than calling
assert.
1996-06-19 17:01:22 +00:00
Ian Lance Taylor
7fc6a16a7f
* elf.c (map_sections_to_segments): Fix up the test for -Ttext to
...
approximate the correct answer if SIZEOF_HEADERS was not used.
1996-06-19 16:30:27 +00:00
Tom Tromey
492b9bf044
Updated documentation for lose-inet -> keep-inet change
1996-06-19 15:40:45 +00:00
Ian Lance Taylor
c2073f05cf
* binary.c (binary_set_section_contents): Set section file
...
position based on LMA rather than VMA.
1996-06-19 15:39:08 +00:00
Ian Lance Taylor
7b9b1eb22e
* config/tc-alpha.c (alpha_force_relocation): Add
...
BFD_RELOC_12_PCREL to switch.
1996-06-19 15:33:44 +00:00
Ian Lance Taylor
4838929ec7
Wed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 <manfred@lts.sel.alcatel.de>
...
* linker.c (_bfd_generic_link_output_symbols): Don't output any
symbols if info->strip == strip_all.
1996-06-19 15:23:21 +00:00
Jason Merrill
9deb948534
Mon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com>
...
* Makefile.in (taz): texinfo/tex3patch no longer exists.
1996-06-19 01:28:24 +00:00
Jeff Law
88ea21e50c
* compile.c (sim_load): Treat the H8/S like the H8/300H for now.
...
* run.c (main): Treat the H8/S like the H8/300H for now.
More sanitize H8/S stuff.
1996-06-18 23:33:49 +00:00
Jeff Law
d15396dfe5
* h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
...
(h8300_command): Likewise.
(set_machine): Likewise.
(set_machine_hook): Likewise.
(_initialize_h8300m): Likewise.
* config/h8300/tm-h8300.h (h8300smode): Declare.
More sanitized H8/S work.
1996-06-18 23:29:39 +00:00
Jeff Law
934f9fa0ff
* dis-asm.h (print_insn_h8300s): Declare.
...
end-sanitize-h8s
More H8/S stuff.
1996-06-18 23:20:37 +00:00
Jeff Law
a3dbd3269f
* h8300.h (H8300SMAGIC): Define.
...
(H8300SBADMAG): Define.
end-sanitize-h8s
H8/S stuff
1996-06-18 23:20:15 +00:00
Jeff Law
04f5f28af7
* h8300.h: Reorder various #defines for readability.
...
(ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
(BITOP): Accept additional (unused) argument. All callers changed.
(EBITOP): Likewise.
(O_LAST): Bump.
(ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.
start-sanitize-h8s
* h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
(O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
(BITOP, EBITOP): Handle new H8/S addressing modes for
bit insns.
(UNOP3): Handle new shift/rotate insns on the H8/S.
(insns using exr): New instructions.
(tas, mac, ldmac, clrmac, ldm, stm): New instructions.
end-sanitize-h8s
You guessed it. More H8/S junk.
1996-06-18 23:19:44 +00:00
Jeff Law
cc97381776
* h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
...
to just "mode".
start-sanitize-h8s
* disassemble.c (disassembler): Handle H8/S.
* h8300-dis.c (print_insn_h8300s): New function for H8/S.
end-sanitize-h8s
Even more H8/S goo.
1996-06-18 23:00:38 +00:00
Jeff Law
71415be57c
* scripttempl/h8300s.sc: New file for H8/S.
...
* emulpararms/h8300s.sh: New file for H8/S.
* Makefile.in (ALL_EMULATIONS): Add H8/S.
(e_h8300s.c): Add dependencies.
* configure.tgt: Add H8/S to targ_extra_emuls.
H8/S linker stuff. Sanitized until status of this code is known.
1996-06-18 22:55:30 +00:00
Jeff Law
2459179f7a
* coff-h8300.c: Remove #if 0 code.
...
(compatable): Don't allow mixing/matching of different architectures.
Just stuff I noticed.
start-sanitize-h8s
* archures.c (bfd_mach_h8300s): Add.
* bfd-in2.h: Rebuilt.
* coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
(BADMAG): Likewise.
(h8300_reloc16_estimate): Likewise.
(h8300_reloc16_extra_cases): Likewise.
(h8300_bfd_link_add_symbols): Likewise.
* coffcode.h (coff_set_arch_mach_hook): Likewise.
(coff_set_flags): Likewise.
* cpu-h8300.c (h8300_scan): Likewise.
Add H8/S to bfd_h8300_arch list.
end-sanitize-h8s
H8/S support. Sanitized away until we know its official status.
1996-06-18 22:26:09 +00:00
Ian Lance Taylor
24b018ee72
* read.c (s_fill): Don't warn about a zero repeat count.
1996-06-18 22:17:40 +00:00
Ian Lance Taylor
1b5dbf7446
* ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
...
<sergei@msil.sps.mot.com>.
1996-06-18 22:08:44 +00:00
Ian Lance Taylor
2e71dfc02c
* configure.tgt (i[345]86*-*-isc*): New target. From
...
<uddeborg@carmen.se>.
1996-06-18 21:58:52 +00:00
Ian Lance Taylor
c674dcaa71
* config/tc-mips.c (mips_ip): Don't warn about using AT as a
...
coprocessor register.
1996-06-18 21:57:56 +00:00
Ian Lance Taylor
d75ea6de3d
* core.c (core_create_line_syms): Use xstrdup rather than strdup.
...
* source.c (source_file_lookup_path): Likewise.
1996-06-18 21:37:38 +00:00
Ian Lance Taylor
d945323396
* config/tc-i386.c (md_assemble): When checking the size of a
...
register to set the size of an instruction, do a bitwise and with
Reg8 and Reg16 rather than requiring the type to be exactly Reg8
or Reg16.
1996-06-18 21:15:35 +00:00
Jeff Law
3d0afe12c5
* config/tc-h8300.c (parse_reg): Tweak error messages.
...
(build_bytes): Likewise.
(skip_colonthing): Handle :32 suffix.
(get_specific): Promote L_24 to L_32 if it makes a match.
Don't always promote L_8 to L_16.
(do_a_fix_imm): Clean up L_32 and L_24 handling.
H8/S related stuff that doesn't need to be sanitized.
start-sanitize-h8s
* config/tc-h8300.c (Smode): New variable.
(h8300hmode): Turn off Hmode.
(h8300smode): New function. Turn on Smode and Hmode.
(md_pseudo_table): New ".h8300s" pseudo-op.
(parse_reg): Handle "exr" register.
(get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
Handle "mach" and "machl" operands for ldmac.
(get_specific): Handle "stm.l" and "ldm.l".
(build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
* config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
(Smode): Declare.
end-sanitize-h8s
Sanitized H8/S stuff until we know its status.
1996-06-18 20:28:20 +00:00
Jeff Law
0ed3f0f7cc
Tweak.
1996-06-18 20:02:10 +00:00
Jeff Law
e34c4939b5
* gas/h8300/cbranchh.s: Switch into h8300h mode.
...
* gas/h8300/h8300.exp (H8/300H misc tests): Fix test names.
Just something I noticed.
* gas/h8300/{addsubs.s,bitops1s.s,bitops2s.s}: New tests for the
H8/S.
* gas/h8300/{bitops3.s,bitops4.s,cbranchs.s,logicals.s}: Likewise.
* gas/h8300/{branchess.s,compares.s,macs.s,decimals.s}: Likewise.
* gas/h8300/{incdecs.s,divmuls.s,miscs.s,multiples.s}: Likewise.
* gas/h8300/{movbs.s,movws.s,movls.s,pushpops.s}: Likewise.
* gas/h8300/{rotshifts.s,extends.s}: Likewise.
* gas/h8300/h8300.exp: Run them.
Sanitized away until status is clarified.
1996-06-18 19:50:54 +00:00
Jeff Law
e4012892a3
* gas/h8300/cbranchh.s: Switch into h8300h mode.
...
Just something I noticed.
1996-06-18 19:40:18 +00:00
Ian Lance Taylor
a570d4b2d3
Tue Jun 18 15:11:33 1996 Klaus Kaempf <kkaempf@progis.de>
...
* fopen-vms.h: New file.
1996-06-18 19:14:57 +00:00
Ian Lance Taylor
03496c49d4
Tue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
...
* makefile.vms: New file.
* alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.
1996-06-18 19:10:42 +00:00
Ian Lance Taylor
e10a4fc492
Tue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de>
...
* config.h-vms, makefile.vms: New files.
1996-06-18 19:10:39 +00:00
Ian Lance Taylor
c3d8e071bf
Tue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de>
...
Added support for Alpha OpenVMS:
* evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files.
* evax-etir.c, evax-misc.c, hosts/alphavms.h: New files.
* config.h-vms, makefile.vms: New files.
* config.bfd (alpha-*-*vms*): New target.
* configure.in (evax_alpha_vec): New target vector.
* configure: Rebuild.
* reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define.
(BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define.
* targets.c (bfd_target_evax_flavour): Define.
(evax_alpha_vec): Declare.
(bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec
if BFD64 is defined.
* bfd-in2.h, libbfd.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o,
evax-emh.o, and evax-misc.o.
(BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c,
evax-etir.c, evax-emh.c, and evax-misc.c.
(HFILES): Add evax.h.
1996-06-18 19:07:51 +00:00
Ian Lance Taylor
bc70a91892
Tue Jun 18 14:24:12 1996 Klaus Kaempf (kkaempf@progis.de)
...
* config.sub: Recognize -openvms.
* configure.in (alpha*-*-*vms*): Set noconfigdirs.
* make-all.com, setup.com: New files.
1996-06-18 18:51:14 +00:00
Ian Lance Taylor
142aa7d93a
* coff-h8300.c (h8300_reloc16_extra_cases): Make name a const
...
pointer.
(h8300_bfd_link_add_symbols): Likewise.
1996-06-18 17:56:53 +00:00
J.T. Conklin
370181a2ae
* doc/as.texinfo: Reorder chapter of machine dependent options so
...
that it is sorted by chip name.
* doc/as.texinfo: Use consistant spelling of Vax.
* doc/c-vax.texi: Likewise.
1996-06-17 22:55:02 +00:00
Fred Fish
55f5fc4003
* Makefile.in (DVIPS): New define, set to dvips.
...
(dvi): Add stabs.dvi.
(ps): New target.
(all-doc): Depend on info, dvi, and ps targets.
(STAGESTUFF): Add *.ps and *.dvi files.
(clean-info, clean-dvi): Remove.
(mostlyclean): Does not depend upon clean-info or clean-dvi,
rules completely rewritten.
(maintainer-clean): Remove clean-info and clean-dvi
dependencies and put their actions in the rules.
(gdb.ps): New target
(gdb.dvi, gdbgui.dvi, gdbint.dvi, stabs.dvi): Remove
intermediate TeX files, whether they have 2 or 3 character
extensions.
(gdbint.ps): Add target and rules.
(gdb-internals): Delete unused target.
(Makefile): Depends upon config.status also.
1996-06-17 22:37:34 +00:00