Commit Graph

2236 Commits

Author SHA1 Message Date
Ian Lance Taylor 33a8c1b6cf * config/tc-mips.c (mips_elf_pseudo_table): Remove.
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
1995-10-16 14:57:35 +00:00
Michael Meissner 42b5ed2dfc Fix last fixes #3 1995-10-16 11:44:45 +00:00
Michael Meissner 653b59c8a6 Fix last fixes #2 1995-10-16 11:35:05 +00:00
Michael Meissner 17e2f77408 Fix last fixes 1995-10-16 11:23:34 +00:00
Michael Meissner 9f2c8daa27 Change error message 1995-10-16 11:18:23 +00:00
Michael Meissner b6b8f91187 Allow duplicate cmp instructions for -mcom 1995-10-16 11:10:22 +00:00
Michael Meissner 27ec941d72 spelling typo 1995-10-16 10:34:21 +00:00
Michael Meissner 958e09079d For -mcom, do not allow only POWER|PPC instructions. 1995-10-16 10:27:49 +00:00
Michael Meissner 4c2935f4c0 Add -mcom support. 1995-10-16 02:09:01 +00:00
Ian Lance Taylor 7db865dcad * config/tc-mips.c: Correct s_cons arguments. From Michael
Joosten <joost@ori.cadlab.de>.
1995-10-10 15:35:30 +00:00
Ian Lance Taylor 1b13e6fc49 * config/tc-ppc.c (ppc_macro): Make count unsigned.
(ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
	(ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
	the fix_line field.
	* config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
	make non-static.  Change all users.
	* config/obj-coff.h (coff_n_line_nos): Declare.
1995-10-10 00:25:16 +00:00
Ken Raeburn cdc49cba99 split change log 1995-10-06 22:39:14 +00:00
Ken Raeburn 9e3e3d4cff Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.

* config/obj-elf.c (obj_elf_common): Convert specified byte alignment to power
of two.  Set size of local bss symbol.

* config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
1995-10-06 21:39:20 +00:00
Ian Lance Taylor 13a6c75374 * sb.c, macro.c: Decide whether to include <string.h> or
<strings.h> just as as.h does.
1995-10-06 19:25:15 +00:00
David Edelsohn e34be374b8 * gas/arm/le-fpconst.[sd]: New testcase. 1995-10-06 19:10:17 +00:00
David Edelsohn a8d97d957e (le-fpconst): New testcase. 1995-10-06 19:08:47 +00:00
David Edelsohn f6ec8c4664 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
all coff targets.
1995-10-06 18:33:20 +00:00
David Edelsohn 845118c61c * gas/arm/arm.exp: Renamed from gas.exp. 1995-10-06 17:54:33 +00:00
David Edelsohn 1ba02d4f74 gas.exp renamed to arm.exp. 1995-10-06 17:53:56 +00:00
David Edelsohn a75aafcd47 * Makefile.in (site.exp): Fix setting of $srcdir.
* config/tc-arm.c (md_atof): Fix little-endian output.
1995-10-06 17:28:33 +00:00
Ken Raeburn 70aeac05ee more vms work (mostly whitespace/comment cleanup) from Pat Rankin 1995-10-06 02:29:16 +00:00
Ken Raeburn 4d2ba393c1 split out ns32k doc like other cpus 1995-10-06 01:39:35 +00:00
Ken Raeburn 2c5eb48d3a * sb.c, macro.c: Include string.h. 1995-10-06 01:37:30 +00:00
Ken Raeburn 6b0a6eaa68 * Makefile.in (comparison): Only check *.o; we don't care if timestamps
inserted by the native linker differ.
1995-10-06 00:57:16 +00:00
Ken Raeburn d89861c7c4 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern if alignment
stricter than 4 bytes is requested; in that case, align to a 4-byte boundary
first.
1995-10-06 00:54:53 +00:00
Kim Knuttila eaaa2a42bc Better parsing, tocd, tocv started 1995-10-04 21:43:23 +00:00
Kim Knuttila ca0bd54f8d Better parsing, tocd, tocv started 1995-10-04 21:02:22 +00:00
Ian Lance Taylor cd557d83d6 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
an absolute symbol.
1995-10-04 18:05:59 +00:00
Ian Lance Taylor a7512014c6 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
+65535,	so ~VAL will not be rejected.
1995-10-04 18:02:13 +00:00
Ian Lance Taylor 42ac8fa83d * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
skip characters after the pseudo-op.
	(s_else): Likewise.
	* read.c (get_line_sb): Don't look past buffer_limit.
	(s_include): In MRI mode, skip characters after the file name.
1995-10-03 16:43:45 +00:00
Ian Lance Taylor eef6693478 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
periods in register names.
1995-10-02 21:00:22 +00:00
Jeff Law 130f53ae7a * config/tc-hppa.c (hppa_fix_adjustable): DP relative relocs
are not adjustable in SOM to avoid confusing the optimizing
	linker.
1995-10-01 05:08:05 +00:00
Ian Lance Taylor 987013cd03 Add some support for i960 MRI compatibility mode.
* config/tc-i960.c (md_pseudo_table): Add endian.
	(get_args): Don't discard a space between alphanumeric characters.
	(get_cdisp): Change text_section to now_seg.
	(s_endian): New static function.
	* config/tc-i960.h (MRI_MODE_NEEDS_PSEUDO_DOT): Define.
	* expr.h (operatorT): Add O_logical_not, O_logical_and, and
	O_logical_or.
	* expr.c (operand): Treat '!' as logical not operator.  If
	TC_I960, in MRI mode permit `sizeof secname' and `startof
	secname'.
	(op_rank): Bump values by 2 to make room for && and ||.  Add
	entries for !, &&, and ||.
	(expr_begin): Only do MRI changes if TC_M68K.
	(operator): Recognize || and &&.
	(expr): Handle new operatorT values.
	* symbols.c (resolve_symbol_value): Handle new operatorT values.
	(print_expr_1): Likewise.
	* read.c (potable): Add debug, err, irep, irepc, print, purgem,
	and rep.
	(read_a_source_file): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
	(mri_comment_field): Only handle weird comments if TC_M68K.
	(s_err): New function.
	(s_org): Only punt in MRI mode if TC_M68K.
	(s_mri_sect): Write TC_I960 version.
	(s_print, s_purgem): New functions.
	* read.h (s_err, s_print, s_purgem): Declare.
	* cond.c (s_ifeqs): Implement.
	(ignore_input): Handle MRI_MODE_NEEDS_PSEUDO_DOT.
	* macro.c (macro_strip_at): New static variable.
	(macro_init): Add strip_at parameter.
	(do_formals): If macro_strip_at, change NARG to $NARG.
	(define_macro): Skip a comma after the macro name.
	(get_apost_token): Skip character if macro_strip_at, even if
	macro_mri.
	(macro_expand_body): If macro_strip_at, don't recognize parameters
	in strings unless they are preceded by an '@'.  If macro_strip_at,
	pass '@' as strip character to sub_actual.  If macro_strip_at,
	strip '@' characters.
	(macro_expand): If macro_strip_at, change NARG to $NARG.
	(delete_macro): New function.
	(expand_irp): Skip leading and trailing '"' characters if irpc.
	* macro.h (macro_init): Mention new strip_at parameter.
	(delete_macro): Declare.
	* as.c (main): If TC_I960, pass flag_mri to macro_init as
	strip_at; otherwise, pass 0.
	* gasp.c (process_pseudo_op): Pass 0 to macro_init as strip_at.
	(main): Likewise.
	* doc/as.texinfo: Document i960 MRI mode.

	* as.c (show_usage): Mention --defsym.
1995-09-29 19:36:07 +00:00
Stan Shebs 4c72b6a7ce Changes to Mac-specific files. 1995-09-29 02:38:28 +00:00
Stan Shebs 6144e9a945 * mpw-config.in: Translate "powerpc" into "ppc", remove gen of
VERSION, move gen of "conf" here from makefile.
	* mpw-make.sed: New file, sed commands to translate Unix makefile
	into MPW syntax.
	* mpw-make.in: Remove.
	* mac-as.r: New file, Mac resource file.
	* as.h (inline): Don't decide about defining if __MWERKS__,
	remove redundant conditional and definition.

	* stabs.c (s_stab_generic): Fix syntax for OBJ_PROCESS_STAB.
1995-09-29 02:37:17 +00:00
Kim Knuttila 1446dd7266 updated changes 1995-09-28 20:21:36 +00:00
David Edelsohn 8de16e5603 (arm-*-coff): Fix configuration. 1995-09-28 17:33:04 +00:00
Ian Lance Taylor 11b072f46c * config/tc-ppc.h (tc_fix_adjustable): Define.
(ppc_pe_fix_adjustable): Declare.
	* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
1995-09-28 16:17:53 +00:00
David Edelsohn 277c7a9919 * config/tc-arm.h (TARGET_FORMAT): Define for arm-coff. 1995-09-28 08:13:18 +00:00
Ian Lance Taylor 2a0f64a535 * symbols.c (S_IS_LOCAL): All symbols in reg_section are local. 1995-09-27 20:21:07 +00:00
Ian Lance Taylor 18c9057f2b * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.
Change OBJ_COFF checks to check OBJ_XCOFF instead.
	(TARGET_FORMAT): Fully parenthesize.
	(LEX_QM): Define if TE_PE.
	* config/tc-ppc.c: Replace OBJ_COFF by OBJ_XCOFF throughout.
	Remove checks of TE_PE within #ifdef OBJ_XCOFF sections.
	(init_regtable): Make i unsigned.
	(ppc_set_current_section): Rename from setCurrentSection.  Change
	all callers.
	(ppc_arch): Return after as_fatal to avoid gcc warning.
	(md_assemble): Only declare reloc if OBJ_ELF.  Add default to
	switch on fixups[i].reloc to avoid gcc warning.
	(IMAGE_SGN_LNK_OTHER): Fix nested comment.
	(ppc_pe_function): Don't call ppc_canonicalize_symbol_name.
	(ppc_frob_symbol): Remove TE_PE section checks.
	(md_estimate_size_before_relax): Return after abort to avoid gcc
	warning.
	(md_apply_fix3): Add BFD_RELOC_16_GOT_PCREL to switch.
	* read.c (LEX_QM): Define as 0 if not defined.
	(lex_type): Use LEX_QM for '?'.
1995-09-27 19:02:16 +00:00
Ian Lance Taylor 4cbbec3182 * configure.in: No need to check whether ${cpu_type} is powerpc;
it never will be.
	* configure: Rebuild.
1995-09-27 16:56:23 +00:00
Kim Knuttila 01c7fb71de Details of more fixes to earlier fixes 1995-09-27 16:33:05 +00:00
Kim Knuttila 7d85ea67ae Removed an extraneous PPC definition 1995-09-27 16:23:12 +00:00
Kim Knuttila 943dbfb8e8 Added back some missing code @ diff tc-ppc.c 1995-09-27 16:03:36 +00:00
Michael Meissner 0e31d0ce8a Undo md_apply_fix3 changes 1995-09-27 15:37:54 +00:00
Kim Knuttila d577efdd5f Initial asm support for ppc/PE 1995-09-27 14:52:16 +00:00
Kim Knuttila 85cc2190f5 Configure support for ppc/PE 1995-09-27 14:49:37 +00:00
Kim Knuttila 1f7cc434dc Added assembler support for ppc/PE environments 1995-09-27 14:48:45 +00:00
Kim Knuttila 1d854da665 Added TE_PE target environment support 1995-09-27 14:47:41 +00:00