Commit graph

640 commits

Author SHA1 Message Date
Jeff Law
2757047686 * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
So we don't disassemble "biand" as "band".
1996-07-11 18:10:13 +00:00
Jeff Law
16cf520e5f No longer need to sanitize away h8s stuff. 1996-07-05 18:46:54 +00:00
Jeff Law
7eaffbec23 * h8300.h (SRC_IN_DST): Define.
* h8300.h (UNOP3): Mark the register operand in this insn
        as a source operand, not a destination operand.
        (SHIFT_2, SHIFT_IMM): Remove.  Eliminate all references.
        (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops.  Mark
        register operand with SRC_IN_DST.
More hackery for new shift ops on the H8/S.
1996-07-03 05:07:07 +00:00
Jeff Law
d3329f0d0c * h8300.h (UNOP3): Mark the register operand in this insn
as a source operand, not a destination operand.
So the simulator can handle shal #2,er0 correctly.
1996-07-02 19:20:37 +00:00
Ian Lance Taylor
b615d67824 fix sanitization of EXR in MODE 1996-06-29 16:47:12 +00:00
Ian Lance Taylor
e5a1a2ea99 * All files: Define FILHSZ, AOUTSZ, AOUTHDRSZ, SCNHSZ, SYMESZ,
AUXESZ, LINESZ, RELSZ as numeric constants rather than uses of
	sizeof.  Define AOUTHDRSZ in all files.
	* pe.h (AOUTSZ): Define by adding to AOUTHDRSZ.
1996-06-26 20:28:29 +00:00
David Edelsohn
c86c94ec31 (struct internal_scnhdr): Add comment regarding s_paddr. 1996-06-24 01:24:35 +00:00
Ian Lance Taylor
3853da56de Fri Jun 21 13:52:17 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: New file.
1996-06-21 17:52:56 +00:00
Ian Lance Taylor
3309648e5f Fri Jun 21 12:33:24 1996 Richard Henderson <rth@tamu.edu>
* alpha.h: New file.
	* common.h (EM_ALPHA): Define.
start-sanitize-arc
	(EM_CYGNUS_ARC): Change to not conflict with EM_ALPHA.
end-sanitize-arc
1996-06-21 16:34:37 +00:00
Ian Lance Taylor
180b9a3805 * rs6k.h: Remove obsolete file. 1996-06-20 19:04:10 +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
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
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
687455201c * mips.h (E_MIPS_ARCH_4): Define. 1996-05-30 16:36:27 +00:00
Ian Lance Taylor
80483b240f * mips.h (Elf64_Mips_External_Rel): Define.
(Elf64_Mips_Internal_Rel): Define.
	(Elf64_Mips_External_Rela, Elf64_Mips_Internal_Rela): Define.
	(RSS_*): Define.
1996-05-29 19:36:40 +00:00
Jeff Law
6ac0dc6502 * internal.h (R_JMPL2): Renamed from R_JMPL_B8 to be
consistent with other similar relocs.
Cleaning up while working on HMSE.
1996-05-07 08:11:43 +00:00
Jeff Law
552c64ac4b * internal.h (H8/300 specific relocs): Add comments better
explaining what each reloc is used for.
        (R_MOV16B1, R_MOV16B2): Renamed from R_MOVB1 and R_MOVB2.
        (R_MOV24B1, R_MOV24B2): Renamed from R_MOVLB1 and R_MOVLB2.
        (R_MOVL1, R_MOVL2): New relocs.
More changes for the H8/300 relaxing linker.  HMSE.
1996-05-07 06:40:28 +00:00
Jeff Law
b16619991b * internal.h (R_PCRWORD_B): Define for the h8300 relaxing
linker.
HMSE.
1996-05-03 18:57:49 +00:00
Ian Lance Taylor
ae105b8e5a * internal.h (SCNNMLEN): Define.
(struct internal_scnhdr): Use SCNNMLEN for s_name field.
1996-05-02 02:21:29 +00:00
Ian Lance Taylor
b4c22ad0df * i386.h: Remove Abs32 from lcall. 1996-05-01 01:38:55 +00:00
Ian Lance Taylor
b21efdbe64 * sparc.h (F_FLOAT, F_FBR): Define.
PR 355.
1996-04-11 21:28:49 +00:00
Jeff Law
bd03e603a7 * h8300.h (ABS8MEM): Renamed from ABSMOV. Remove ABSMOV
from all insns.
        (ABS8SRC,ABS8DST): Add ABS8MEM.
        (add.l): Fix reg+reg variant.
        (eepmov.w): Renamed from eepmovw.
        (ldc,stc): Fix many cases.
We'll use ABS8MEM for access to the 8-bit area.
Fixes from running the h8300 testsuite.
hmse.
1996-04-05 23:56:39 +00:00
David Edelsohn
4be1b31325 * sparc.h (SPARC_OPCODE_ARCH_MASK): New macro. 1996-03-31 21:32:00 +00:00
Ian Lance Taylor
563c235748 * arm.h (union external_auxent): Add x_checksum, x_associated, and
x_comdat fields to x_scn struct.
	* i386.h (union external_auxent): Likewise.
	* powerpc.h (union external_auxent): Likewise.
	* internal.h (union internal_auxent): Likewise.
1996-03-27 22:39:40 +00:00
Ian Lance Taylor
1e9e7ce0bb comment change 1996-03-12 17:30:44 +00:00
Ian Lance Taylor
a676355299 * stab.def: Use __define_stab_duplicate rather than __define_stab
for duplicate entries N_BROWS and N_MOD2.
	* stab_gnu.h (__define_stab_duplicate): Define before including
	stab.def.
1996-03-11 17:17:00 +00:00
David Edelsohn
8c3f315e6a * sparc.h (sparc_{encode,decode}_sparclet_cpreg): Declare.
Mark operand letters uU as in use.
1996-02-21 04:47:16 +00:00
Jeff Law
803108ab64 * sparc.h (sparc_opcode_lookup_arch) Make return type in
declaration consistent with return type in definition.
1996-02-16 19:24:15 +00:00
Ian Lance Taylor
8cc429e320 Wed Feb 14 18:14:11 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386.h (i386_optab): Remove Data32 from pushf and popf.
1996-02-14 23:15:10 +00:00
Ian Lance Taylor
c6bb231554 * aux-coff.h: Rename from aux.h, to avoid problems on hapless DOS
systems which think that aux is a com port.
1996-02-09 15:53:40 +00:00
Ian Lance Taylor
172727c059 Rename XL to JX, and remove sanitization. 1996-02-06 19:10:04 +00:00
Ian Lance Taylor
2192180d13 * i960.h (I_HX, I_HX2): Define.
start-sanitize-i960xl
	(I_XL): Remove.  The HX supports all XL instructions.
	end-sanitize-i960xl
	(i960_opcodes): Add HX instructions.
1996-02-05 23:37:25 +00:00
Ian Lance Taylor
3769ca4ce8 * i960.h (F_I960HX): Define. 1996-02-05 23:35:09 +00:00
Ian Lance Taylor
c31c8827c8 Wed Jan 31 13:11:54 1996 Richard Henderson <rth@tamu.edu>
* aux.h: New file.
	* internal.h, m68k.h: Protect against multiple inclusion.
1996-01-31 18:12:58 +00:00
Ken Raeburn
e185ddefd3 * i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, and fclex. 1996-01-29 17:45:18 +00:00
David Edelsohn
7484896ba2 * sparc.h (enum sparc_opcode_arch_val): Replaces sparc_architecture.
(SPARC_OPCODE_CONFLICT_P): Renamed from ARCHITECTURES_CONFLICT_P.
	(bfd_* defines): Delete.
	(sparc_opcode_archs): Replaces architecture_pname.
	(sparc_opcode_lookup_arch): Declare.
	(NUMOPCODES): Delete.
1996-01-25 11:09:06 +00:00
David Edelsohn
688beae52a Delete v8plus sanitization. 1996-01-24 16:46:45 +00:00
David Edelsohn
f29a36c0d4 * dis-asm.h (INIT_DISASSEMBLE_INFO): New argument FPRINTF_FUNC. 1996-01-23 22:53:45 +00:00
David Edelsohn
2b20fd720f * dis-asm.h (INIT_DISASSEMBLE_INFO): Set endian to BFD_ENDIAN_UNKNOWN. 1996-01-23 17:53:04 +00:00
David Edelsohn
3e496fff5a * dis-asm.h (disassemble_info): New members arch, mach, endian.
(INIT_DISASSEMBLE_INFO): Initialize them.
	(DISASM_RAW_INSN{,FLAG}): Define.
1996-01-23 00:39:54 +00:00
David Edelsohn
2d422c4234 (ARCHITECTURES_CONFLICT_P): Add ChangeLog entry for v9a addition and fix typo
in macro.
1996-01-22 16:41:31 +00:00
David Edelsohn
224721792f * sparc.h (enum sparc_architecture): Add v9a. 1996-01-22 16:25:54 +00:00
David Edelsohn
f12c04fd5e Update copyright. 1996-01-20 17:17:53 +00:00
Ian Lance Taylor
5826ca4cee * demangle.h (cplus_demangle_opname): Change opname parameter to
const char *.
	(cplus_mangle_opname): Change return type and opname parameter to
	const char *.
1996-01-18 16:33:36 +00:00
David Edelsohn
df9bd7f665 There's some question as to whether this stuff is NDA'd in the Ultrasparc
Early Access Program agreement.  Sanitize v8plus stuff out for now.
1996-01-17 20:50:32 +00:00
David Edelsohn
e46bbae22b (EM_SPARC32PLUS): Define.
I have a question outstanding to Sun regarding EM_SPARC64.
1996-01-17 17:13:25 +00:00
David Edelsohn
5a51a470f9 New file.
(Also delete arc.h ChangeLog entry, it's still sanitized).
1996-01-17 17:10:32 +00:00
Michael Meissner
533ed48e40 Add new V.4 flags 1996-01-11 21:41:01 +00:00
Ian Lance Taylor
e61e7bcbfe * ieee.h (enum ieee_record): Add ieee_asn_record_enum,
ieee_at_record_enum, ieee_ty_record_enum, ieee_atn_record_enum,
	ieee_bb_record_enum, and ieee_be_record_enum.
1996-01-05 05:02:15 +00:00
Michael Meissner
3389dfdcc0 Pentium Pro changes from John Hassey 1996-01-04 18:37:42 +00:00
Fred Fish
655492f4ff * obstack.h: Update copyright to 1996.
(_obstack_memory_used): Declare.
	(obstack_memory_used): Define macro.
1996-01-03 21:58:13 +00:00
Michael Meissner
29a766d2d4 Add ifndef wrappers 1995-12-21 19:51:55 +00:00
Ian Lance Taylor
6d2d98d313 * internal.h (struct elf_segment_map): Define. 1995-11-28 21:55:33 +00:00
Kim Knuttila
c46101ae0f NT Changes 1995-11-07 20:33:42 +00:00
Kim Knuttila
4e0785aa05 Added some NT defines 1995-11-07 20:00:23 +00:00
Ian Lance Taylor
da40dd5330 Mon Nov 6 17:28:01 1995 Harry Dolan <dolan@ssd.intel.com>
* i860.h: New file, based on i386.h.
1995-11-06 22:29:06 +00:00
Ian Lance Taylor
f8c814d644 Wed Nov 1 15:25:18 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* m68k.h (PAGEMAGICEXECSWAPPED): Define.
	(PAGEMAGICPEXECSWAPPED): Define.
	(PAGEMAGICPEXECTSHLIB): Define.
	(PAGEMAGICPEXECPAGED): Define.
	(_COMMENT): DEFINE.
	* m88k.h (_COMMENT): Define.
1995-11-01 20:26:50 +00:00
Ian Lance Taylor
bd830e07d4 * bfdlink.h (struct bfd_link_info): Add static_link field. 1995-10-25 01:46:09 +00:00
Jeff Law
5a71a0f7e8 * hppa.h: Add lci and syncdma instructions.
From the PA1.1 third edition manual.
1995-10-24 16:50:16 +00:00
Jackie Smith Cashion
7cbe28b655 mips.h: Added INSN_4100 flag to mark NEC VR4100 specific instructions. 1995-10-23 11:11:20 +00:00
Ken Raeburn
b5eab453ff update copyrights 1995-10-20 22:22:07 +00:00
Ian Lance Taylor
54e3c94698 * rs6000.h (SMALL_AOUTSZ): Define. 1995-10-16 21:24:29 +00:00
Ian Lance Taylor
0852080ffa * internal.h (XMC_TD): Define. 1995-10-16 15:12:53 +00:00
Ian Lance Taylor
b2a8627896 * internal.h (struct internal_aouthdr): Add o_maxdata field. 1995-10-09 18:50:11 +00:00
Ian Lance Taylor
01f873d2c7 * rs6000.h (AOUTHDR): Add o_maxdata field. Add comments.
(_PAD, _LOADER): Define.
	(STYP_LOADER): Define.
1995-10-09 18:46:30 +00:00
Ken Raeburn
cd22144a90 pentium updates 1995-10-06 01:43:38 +00:00
Ian Lance Taylor
90ce63bb0e * ecoff.h: Define section name macros and STYP macros for various
Alpha sections: .got, .hash, .dynsym, .dynstr, .rel.dyn, .conflic,
	.comment, .liblist, .dynamic.
PR 8141.
1995-10-05 17:04:31 +00:00
Kim Knuttila
db86ddb2b4 small rearranging, remove DEFAULT_* defines 1995-10-04 18:47:25 +00:00
Kim Knuttila
37c7b65a88 remove DEFAULT_* defines 1995-10-04 18:45:54 +00:00
Kim Knuttila
a69fa22350 remove DEFAULT_* defines 1995-10-04 18:38:13 +00:00
Ian Lance Taylor
85009674ba add powerpc.h 1995-09-27 14:24:33 +00:00
Kim Knuttila
ae42c05ea5 Powerpc and Pe support. 1995-09-27 11:06:00 +00:00
Kim Knuttila
2cdeb832a4 basic coff for powerpc/PE 1995-09-27 11:03:15 +00:00
Ian Lance Taylor
d8586e35ca * internal.h (struct internal_syment): Change n_numaux field from
char to unsigned char.
1995-09-12 16:08:51 +00:00
Steve Chamberlain
9aa83a0dc9 Thu Aug 31 16:51:50 1995 steve chamberlain <sac@slash.cygnus.com>
* internal.h (internal_aouthdr, internal_filehdr):
	don't indirect the pe stuff.
1995-08-31 23:54:04 +00:00
David Edelsohn
44292d2e1e * sparc.h (sparc_{encode,decode}_asi): Declare. 1995-08-29 22:36:32 +00:00
Steve Chamberlain
e2936fc40b * internal.h: (internal_filehdr): Moved PE stuff into
internal_extra_pe_filehdr.
	(internal_aouthdr): Moved PE stuff into
	interanl_extra_pe_aouthdr.

	* bfdlink.h (struct bfd_link_info): Remove PE stuff.
1995-08-22 01:13:43 +00:00
Ian Lance Taylor
bad44fedb1 * m68kmri.h: Remove. 1995-08-02 22:48:21 +00:00
Ian Lance Taylor
9b86fa21c3 * m68k.h: Move tables into opcodes/m68k-opc.c, leaving just the
declarations.  Remove F_ALIAS and flag field of struct
	m68k_opcode.  Change arch field of struct m68k_opcode to unsigned
	int.  Make name and args fields of struct m68k_opcode const.
1995-08-02 22:37:40 +00:00
David Edelsohn
97eab8a17c * sparc.h (F_NOTV9): Define. 1995-08-02 15:18:52 +00:00
Ken Raeburn
943fbd5bd5 fsf address update, but not in COPYING files 1995-07-07 22:49:42 +00:00
Ian Lance Taylor
8a55336153 * bfdlink.h (struct bfd_link_info): Change type of base_file to
PTR.
1995-07-02 21:49:21 +00:00
Steve Chamberlain
3ca120a5b3 * bfdlink.h (struct bfd_link_info): Added base_file member. 1995-06-29 07:03:35 +00:00
Steve Chamberlain
f581f995c2 New file. 1995-05-25 00:11:15 +00:00
Ken Raeburn
832338b24a internal.h: declare NT_subsystem and NT_stack_heap extern, so bfd compiles
better under picky compilers.

also added some changelog entries steve forgot to check in.
1995-05-16 19:11:48 +00:00
Steve Chamberlain
9111b25a5b Sat May 13 10:14:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
* coff/pe.h: New file.
	* bfdlink.h (subsytem, stack_heap_parameters): New.
	* coff/i386.h (NT_SECTION_ALIGNMENT, NT_FILE_ALIGNMENT,
	NT_DEF_RESERVE, NT_DEF_COMMIT): New.
	* coff/internal.h (internal_filehdr):  New fields for PE.
	(IMAGE_DATA_DIRECTORY): New.
	(internal_aouthdr): New fields for PE.
1995-05-13 17:16:31 +00:00
Jason Merrill
856afd1791 Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* demangle.h: Don't include ansidecl.h if IN_GCC.
1995-05-11 19:46:51 +00:00
David Edelsohn
4ad003d1d7 * arc.h (arc_get_opcode_mach): Define prototype. 1995-04-07 03:38:05 +00:00
Stan Shebs
01c32fc42c Always keep MPW subdir 1995-04-04 19:58:09 +00:00
Michael Meissner
796ee68bff fix typo 1995-03-08 23:19:48 +00:00
Michael Meissner
b14e618286 Add ppc.h 1995-03-08 23:15:42 +00:00
Ken Raeburn
20275e0c51 Separated out opcode aliases from m68k opcode table, to reduce table size and
processing time.  Aliases are now a separate table.

* m68k.h (enum m68k_architecture): Deleted.
(struct m68k_opcode_alias): New type.
(m68k_opcodes): Now const.  Deleted opcode aliases with exactly matching
constraints, values and flags.  As a side effect of this, the
MOTOROLA_SYNTAX_ONLY and MIT_SYNTAX_ONLY macros, which so far as I know were
never used, now may need re-examining.
(numopcodes): Now const.
(m68k_opcode_aliases, numaliases): New variables.
(endop): Deleted.
[DONT_DEFINE_TABLE]: Declare numopcodes, numaliases, and m68k_opcode_aliases;
update declaration of m68k_opcodes.
1995-03-08 08:20:11 +00:00
David Edelsohn
b543117eea * arc.h (ARC_MACH_BIG): Define.
(ARC_MACH_MASK): Update.
	(ARC_MACH_CPU_MASK): Define.
	(ARC_OPCODE_CPU, ARC_OPVAL_CPU, ARC_HAVE_CPU): Likewise.
1995-03-08 05:06:02 +00:00
Jeff Law
5476a7ac1c * hppa.h (delay_type): Delete unused enumeration.
(pa_opcode): Replace unused delayed field with an architecture
	field.
	(pa_opcodes): Mark each instruction as either PA1.0 or PA1.1.
1995-03-06 17:04:18 +00:00
Ian Lance Taylor
49f245127b * mips.h (INSN_ISA4): Define. 1995-03-03 21:13:37 +00:00
Jeff Law
292210add5 * hppa.h (fstwx): Fix single-bit error. 1995-02-24 00:34:19 +00:00
David Edelsohn
aa396c6858 * dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.
1995-02-17 20:41:34 +00:00
Ian Lance Taylor
882d9d1a2f * mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define. 1995-02-15 17:20:35 +00:00