aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1995-10-06 * Makefile.in (site.exp): Fix setting of $srcdir.David Edelsohn1-0/+6
* config/tc-arm.c (md_atof): Fix little-endian output.
1995-10-06more vms work (mostly whitespace/comment cleanup) from Pat RankinKen Raeburn2-124/+124
1995-10-06split out ns32k doc like other cpusKen Raeburn3-0/+35
1995-10-06* sb.c, macro.c: Include string.h.Ken Raeburn3-10/+75
1995-10-06* Makefile.in (comparison): Only check *.o; we don't care if timestampsKen Raeburn2-2/+7
inserted by the native linker differ.
1995-10-06* config/tc-alpha.c (alpha_align): Only fill with a no-op pattern if alignmentKen Raeburn1-0/+6
stricter than 4 bytes is requested; in that case, align to a 4-byte boundary first.
1995-10-04Better parsing, tocd, tocv startedKim Knuttila1-0/+8
1995-10-04Better parsing, tocd, tocv startedKim Knuttila1-47/+322
1995-10-04 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry forIan Lance Taylor2-124/+75
an absolute symbol.
1995-10-04 * config/tc-m68k.c (isbyte): Accept all values from -65536 toIan Lance Taylor1-2/+2
+65535, so ~VAL will not be rejected.
1995-10-03 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,Ian Lance Taylor2-11/+190
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-02 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permitIan Lance Taylor1-0/+5
periods in register names.
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.