aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1995-10-01 * config/tc-hppa.c (hppa_fix_adjustable): DP relative relocsJeff Law1-0/+60
are not adjustable in SOM to avoid confusing the optimizing linker.
1995-09-29 Add some support for i960 MRI compatibility mode.Ian Lance Taylor1-2/+2
* 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-29Changes to Mac-specific files.Stan Shebs1-1/+2
1995-09-29 * mpw-config.in: Translate "powerpc" into "ppc", remove gen ofStan Shebs5-193/+175
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-28updated changesKim Knuttila1-0/+10
1995-09-28(arm-*-coff): Fix configuration.David Edelsohn1-0/+1
1995-09-28 * config/tc-ppc.h (tc_fix_adjustable): Define.Ian Lance Taylor2-0/+15
(ppc_pe_fix_adjustable): Declare. * config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
1995-09-28 * config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.David Edelsohn1-0/+4
1995-09-27 * symbols.c (S_IS_LOCAL): All symbols in reg_section are local.Ian Lance Taylor2-1/+6
1995-09-27 * config/tc-ppc.h (OBJ_XCOFF): Define if OBJ_COFF and not TE_PE.Ian Lance Taylor4-180/+241
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 * configure.in: No need to check whether ${cpu_type} is powerpc;Ian Lance Taylor3-20/+24
it never will be. * configure: Rebuild.
1995-09-27Details of more fixes to earlier fixesKim Knuttila1-0/+2
1995-09-27Removed an extraneous PPC definitionKim Knuttila1-4/+0
1995-09-27Added back some missing code @ diff tc-ppc.cKim Knuttila1-0/+4
1995-09-27Undo md_apply_fix3 changesMichael Meissner2-4/+38
1995-09-27Initial asm support for ppc/PEKim Knuttila1-0/+19
1995-09-27Configure support for ppc/PEKim Knuttila2-17/+48
1995-09-27Added assembler support for ppc/PE environmentsKim Knuttila1-6/+1003
1995-09-27Added TE_PE target environment supportKim Knuttila1-0/+7
1995-09-26Support all of the V.4 relocationsMichael Meissner3-86/+94
1995-09-25Better reloc supportMichael Meissner2-25/+78
1995-09-25 * gas/mri/mri.exp: Add setup_xfail for arm*-*-* for constantsIan Lance Taylor2-0/+14
test.
1995-09-25 * config/tc-arm.c (md_atof): Output little endian constants inIan Lance Taylor1-0/+6
little endian mode.
1995-09-25 * configure.in: Fix typo: fmt-elf to fmt=elf.Ian Lance Taylor2-0/+5
1995-09-22start at handling branch taken/branch not taken hints.Michael Meissner2-32/+47
1995-09-22do not set EF_PPC_RELOCATABLE for -mrelocatable-libMichael Meissner2-1/+6
1995-09-21 * subsegs.c (subseg_set): Permit SEG_ABSOLUTE in know expression.Ian Lance Taylor2-15/+51
* expr.c (expr): Account for new operatorT values in know expression. * write.c (fixup_segment): Clear fixp->fx_subsy if the relocation is fully resolved.
1995-09-21add -mrelocatable-lib, -memb supportMichael Meissner2-10/+56
1995-09-21 * gas/sh/fp.s (fmac): Update for new assembly syntax.Jeff Law1-0/+45
1995-09-19 * config/tc-m68k.c (m68k_ip): Reject immediate operands for '%'.Ian Lance Taylor1-0/+2
1995-09-19 * config/tc-m68k.c (m68k_ip): Reject immediate operands for '|'.Ian Lance Taylor2-6/+25
Replace 'P' with '0', '1', and '2'.
1995-09-19 * config/tc-m68k.c (parse_mri_control_operand): Change leftstopIan Lance Taylor2-45/+127
and rightstop to not be const. (parse_mri_control_expression): Likewise. (build_mri_control_operand): Likewise. Use m68k_ip_op to examine the operand, not m68k_reg_parse. (s_mri_if): In MRI mode, stop at the first '*'. (s_mri_while): Likewise. (s_mri_else): In MRI mode, ignore trailing characters. (s_mri_endi, s_mri_break, s_mri_next, s_mri_for): Likewise. (s_mri_endf, s_mri_repeat, s_mri_until, s_mri_endw): Likewise. * config/m68k-parse.y: Revert yesterday's change. * config/m68k-parse.h: Revert yesterday's change.
1995-09-18 * config/tc-m68k.c (parse_mri_control_operand): Change leftstartIan Lance Taylor4-31/+57
and rightstart to not be const. (parse_mri_control_expression): Likewise. (build_mri_control_operand): Likewise. If the left side of the comparison is a register, and the right side is not, swap the two sides. * config/m68k-parse.y (m68k_reg_parse): Make globally visible. * config/m68k-parse.h (m68k_reg_parse): Declare.
1995-09-18 * read.c (mri_comment_field): New function.Ian Lance Taylor2-5/+26
(mri_comment_end): New function. (s_align_bytes): Use mri_comment_field. (s_align_ptwo, s_comm, s_mri_common, s_fail, s_globl): Likewise. (s_float_space, s_struct): Likewise. (s_space): Use mri_comment_field rather than doing it by hand. (cons_worker, equals): Likewise. (s_end): Ignore comments starting with '*' or '!'. * read.h (mri_comment_field): Declare. (mri_comment_end): Declare. * cond.c (s_if): Use mri_comment_field. * config/tc-m68k.c (s_chip, s_reg): Likewise.
1995-09-18 * write.c (fixup_segment): Handle ABS-sym in -sym case rather thanIan Lance Taylor2-0/+23
sym-sym case. * config/obj-coff.c (fixup_segment): Likewise. Permit negative symbols if TC_M68K. * config/tc-m68k.c (tc_coff_fix2rtype): If fx_tcbit is set, return R_RELLONG_NEG. (tc_gen_reloc): If fx_tcbit is set, abort. (md_apply_fix_2): For a negative reloc, move fx_subsy to fx_addsy, and set fx_tcbit. Permits generating negative relocs for m68k COFF.
1995-09-18 * config/tc-m68k.c (s_reg): Ignore comment field in MRI mode.Ian Lance Taylor2-0/+11
1995-09-18Mon Sep 18 14:44:04 1995 Arne H. Juul <arnej@pvv.unit.no>Ian Lance Taylor1-0/+5
* configure.in (mips-dec-netbsd*): New target. * configure: Rebuild.
1995-09-18 * lib/gas-defs.exp (gas_run): Call prune_system_crud.Ian Lance Taylor1-0/+5
(run_dump_test, objdump): Likewise.
1995-09-18in verbose mode add newline after files are processedKen Raeburn2-0/+12
1995-09-18 * configure.in: Set endian to little for mips-*-ultrix*.Ian Lance Taylor3-2/+14
* configure: Rebuild.
1995-09-16 * config/tc-m68k.c: Change some "CONST" references to "const".Jeff Law2-5/+9
Just changed those which caused redefinition errors on a system where CONST != const. Many more remain.
1995-09-15vms updatesKen Raeburn1-0/+10
1995-09-15vms updatesKen Raeburn1-122/+138
1995-09-14 * gas/sparc/{wrdr.[ds],rdpr.[ds]}: New tests.David Edelsohn6-0/+91
* gas/sparc/sparc.exp: Run them.
1995-09-13 * Makefile.in, configure.in: Remove; the testsuite is now runIan Lance Taylor4-143/+5
directly from the gas Makefile.
1995-09-13 * Makefile.in (EXPECT): New variable.Ian Lance Taylor4-139/+82
(CHECKFLAGS): Remove. (site.exp): New target. (check): Rewrite to invoke runtest directly, rather than recurring down into testsuite. (clean-here): Remove testsuite directory. (clean, distclean): Don't recur into testsuite. * configure.in: Don't call AC_CONFIG_SUBDIRS(testsuite). * configure: Rebuild.
1995-09-13 * write.c (relax_and_size_seg): Change to the segment we areIan Lance Taylor3-21/+23
relaxing, in case md_convert_frag, called by cvt_frag_to_fill, wants to call fix_new. * config/tc-m68k.c (m68k_ip): Permit PC relative code if the segment of the symbol is the current segment, not just in text_section. (md_convert_frag_1): Don't call subseg_change. (md_estimate_size_before_relax): Likewise.
1995-09-12 * config/tc-arm.c (md_atof): Fix debugging printf, and leave itDavid Edelsohn1-0/+5
out by default.
1995-09-11 * doc/configure.in: Remove unused file.Ian Lance Taylor3-41/+2
1995-09-11 * app.c (do_scrub_chars): Grab all available spaces at start ofIan Lance Taylor1-0/+8
line before preserving a single space. Remove state == 0 test which will never succeed. * macro.c (macro_expand_body): Delete local variables from the formal hash table. (macro_expand): In MRI mode, stop when whitespace is seen in the argument list.