aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
1997-06-16Mon Jun 16 19:12:51 1997 Geoff Keating <geoffk@ozemail.com.au>Ian Lance Taylor1-21/+25
* config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler calculate relocations to any external symbol, because we might be linking a shared object and the symbol might be overriden or moved (for instance, moved into a static executable's .bss section). (GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness. * config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't be calculated by the assembler. * config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch whose destination lies in the same file, by ignoring the @plt or @local and aiming the branch at its destination.
1997-06-16 * config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with aIan Lance Taylor1-12/+55
signed operand, sign extend a 32 bit value to the host size. Permits dubious usage like addi %r6,%r6,0xfffffeff to assemble on a 64 bit host as it does on a 32 bit host.
1997-06-16 * config/tc-i386.c (i386_operand): Use alloca rather than a fixedIan Lance Taylor1-29/+45
buffer size to make a copy of the symbol.
1997-06-10Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor1-2/+2
* config/tc-arm.c (arm_adjust_symtab): Only set storage classes if OBJ_COFF.
1997-06-10Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor1-142/+282
* config/tc-arm.c: Add prototypes for many static functions. (struct asm_opcode ): Add prototypes for parms field. (struct thumb_opcode ): Likewise. (fp_op2): Remove unused flags parameter. (output_inst): Make static. (arm_after_pass_hook): Remove unused ignore parameter. * config/tc-arm.h (arm_after_pass_hook): Declare. (arm_start_line_hook): Declare. (arm_frob_label): Declare.
1997-06-09 * config/tc-m68k.c (md_section_align): If a.out and BFD, forceIan Lance Taylor1-3/+30
section size to be aligned.
1997-06-06 * config/tc-sh.h (md_cons_align): Define.Ian Lance Taylor1-190/+496
(sh_cons_align): Declare. * config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong. (sh_no_align_cons): New static variable. (s_uacons): New static function. (sh_cons_align): New function. (sh_handle_align): Warn about misaligned data. * doc/c-sh.texi: Document .uaword and .ualong. PR 12528.
1997-06-03Merged in the changes from the armT-970328-branch.Nick Clifton1-8/+23
1997-06-02Add r3900 support.Gavin Romig-Koch1-74/+184
1997-05-14Added support for storing ARM Procedure Calling Standard variant, and ARMNick Clifton1-9/+105
architecture variant in the BFD and COFF structures. This goes towards fixing PRs 11709 and 11326 and will integrate with future updates to LD and GCC.
1997-05-13Fix thinko in previous change.Fred Fish1-1/+1
1997-05-13 * config/tc-tic80.c (md_apply_fix): Check PC relative relocationsFred Fish1-3/+13
for overflow/underflow, only insert lower 15 bits into instruction.
1997-05-07 * config/tc-mips.c (macro): Handle constants for M_LI_D andIan Lance Taylor1-13/+116
M_LI_DD. (mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather than an address if the floating point value looks sufficiently simple. PR 12237.
1997-05-06 * config/tc-i386.c (md_section_align): If a.out and BFD, forceIan Lance Taylor1-1/+15
section size to be aligned.
1997-05-05 * config/tc-i386.h (RegMMX): Define.Ian Lance Taylor1-23/+37
* config/tc-i386.c (pi): Check for all register types. (type_names): Add RegMMX. (md_assemble): Handle RegMMX.
1997-04-30Tue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com>Ian Lance Taylor1-8/+13
* config/tc-mips.c (nopic_need_relax): Add new parameter before_relaxing. Use it when testing ecoff_extern_size. (load_address, macro, md_estimate_size_before_relax): Fix all callers.
1997-04-20Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>Ian Lance Taylor1-4/+15
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT for all undefined symbols.
1997-04-15Correct test for fpr pairs.Gavin Romig-Koch1-5/+5
1997-04-10 * config/tc-m32r.c (md_begin): Set cgen_asm_parse_operand_fn.David Edelsohn1-2/+13
(md_assemble): Call cgen_asm_init_parse. Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
1997-04-05 * write.c (relax_frag): Make non-static.David Edelsohn1-0/+1000
* write.h (relax_frag): Add prototype for. * config/tc-m32r.h (md_do_align): New arg `max'. * config/tc-m32r.c (m32r_do_align): Likewise. Update calls to frag_align, frag_align_pattern. (fill_insn): Update call to m32r_do_align. (m32r_scomm): Update call to frag_align.
1997-04-05m32r support.David Edelsohn1-0/+2
1997-04-04 * config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',Ian Lance Taylor1-9/+21
rather than for any end of line character.
1997-04-04 * config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,Ian Lance Taylor1-13/+8
call abort (i.e., as_abort) rather than crashing.
1997-04-02 * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.Ian Lance Taylor1-0/+9
PR 11982.
1997-04-02 * config/tc-mips.c (md_begin): Don't set interlocks for 4100.Jim Wilson1-323/+406
1997-04-01Make # a line comment characterMichael Meissner1-1/+1
1997-03-28 * config/obj-elf.c (obj_elf_section_change_hook): New function.Ian Lance Taylor1-0/+10
* config/obj-elf.h (obj_elf_section_change_hook): Declare it. * config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
1997-03-27 * read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.Ian Lance Taylor2-10/+22
(s_mri_common): Check S_IS_COMMON unconditionally. * symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED. * config/tc-alpha.c (s_alpha_comm): Likewise. * config/tc-mips.c (nopic_need_relax): Likewise. * config/tc-ppc.c (ppc_elf_lcomm): Likewise. (ppc_pe_comm): Likewise. * config/obj-elf.c (obj_elf_common): Likewise. Set segment of common symbol to bfd_com_section_ptr. * config/tc-sparc.c (s_common): Likewise. (tc_gen_reloc): Likewise.
1997-03-24 * config/tc-i386.h (iclrKludge): Define.Ian Lance Taylor1-0/+7
* config/tc-i386.c (md_assemble): Handle iclrKludge.
1997-03-24Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-7/+6
* tc-d30v.c (build_insn): Enable range-checking code. (postfix): Stop at space or comma. Fixes PR 11862. (md_assemble): Change error message.
1997-03-21 * config/obj-ieee.c (segment_name): Don't define function if thisIan Lance Taylor1-0/+2
is a macro.
1997-03-21 * config/obj-coff.h (DO_STRIP): Don't define.Ian Lance Taylor2-6/+4
* config/tc-h8300.h (DO_STRIP): Don't define. * config/tc-h8500.h (DO_STRIP): Don't define. * config/tc-w65.h (DO_STRIP): Don't define. * config/tc-z8k.h (DO_STRIP): Don't define.
1997-03-21 * symbols.c (colon): Call obj_frob_label if it is defined.Ian Lance Taylor1-5/+7
* config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
1997-03-20Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor5-40/+89
* frags.c (frag_var): Change offset parameter to offsetT. (frag_variant): Likewise. * frags.h (frag_variant, frag_var): Update declarations. * config/tc-m68k.c (struct m68k_it): Change foff field to offsetT. (add_frag): Change off parameter to offsetT. * Several files: Add casts to calls to frag_var.
1997-03-20Thu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor2-20/+12
* config/te-delta.h (COFF_COMMON_ADDEND): Define. * config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when storing the value of a common symbol.
1997-03-18Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>Ian Lance Taylor2-1/+1
* Many files: Add function prototypes. * as.c (show_usage, parse_args): Make static. * frags.h (frag_alloc): Declare. * subsegs.c (subseg_set_rest): Don't declare frag_alloc. * symbols.c (dollar_label_instance): Change return type to long. * symbols.h (print_symbol_value): Declare. (print_expr, print_expr_1, print_symbol_value_1): Declare. * write.c (fix_new_exp): Don't declare make_expr_symbol. (remove_subsegs, relax_frag): Make static. * config/atof-vax.c (atof_vax_sizeof): Change letter to int. (what_kind_of_float): Likewise. (atof_vax): Make static. Change what_kind to int. (md_atof): Change what_statement_type to int. * config/obj-ecoff.h (obj_ecoff_set_ext): Declare. * config/tc-alpha.c (vax_md_atof): Declare. (md_atof): Don't declare atof_ieee and vax_md_atof. * config/tc-i386.c (set_16bit_code_flag): Make static. * config/tc-i386.h (tc_i386_fix_adjustable): Declare. * config/tc-m68k.c (add_fix): Change width to int. (insert_reg): Change regname to const. (md_atof): Don't declare atof_ieee. (demand_empty_rest_of_line): Don't declare. * config/tc-m88k.c (md_atof): Don't declare atof_ieee. * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR. (parse_keyword_arg): Change lookup_fn to take const arg. (md_atof): Don't declare atof_ieee. * config/tc-sparc.h: Add ifdef for multiple inclusion. (tc_aout_pre_write_hook): Don't declare.
1997-03-17 * as.h (bfd_alloc_by_size_t): Don't declare.Ian Lance Taylor8-881/+3101
* Many files: Use xmalloc rather than bfd_alloc_by_size_t.
1997-03-16 * config/tc-mips.c (md_apply_fix): Improve error message for outIan Lance Taylor1-1/+1
of range branch.
1997-03-15 * config/tc-mips.c (md_estimate_size_before_relax): Handle theIan Lance Taylor1-4/+24
case of a symbol equated to another symbol when using SVR4_PIC.
1997-03-13 * config/obj-elf.c (obj_elf_data): Call md_flush_pending_outputIan Lance Taylor1-1/+58
and md_elf_section_change_hook if they are defined. (obj_elf_text, obj_elf_previous): Likewise.
1997-03-11 * config/tc-m88k.c (m88k_do_align): Don't use a special nopIan Lance Taylor1-1/+1
alignment if a zero fill pattern was explicitly specified. * config/tc-sh.c (sh_do_align): Likewise.
1997-03-10 From Eric Youngdale <eric@andante.jic.com>:Ian Lance Taylor2-25/+254
* config/obj-elf.h (struct elf_obj_sy): Define. (OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct. Change all users. * config/obj-elf.c (obj_elf_symver): Just record the name. (obj_symbol_new_hook): Initialized versioned_name field. (elf_frob_symbol): If there is a versioned_name, either rename the symbol, or add an alias with that name.
1997-03-06 * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specificJeff Law1-15/+26
relocs anymore. Tweak fx_offset for pc-relative relocs. Cleanup/simplification of mn10300 port. Bring over changes from mn10200 port.
1997-03-05 * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"Fred Fish1-4/+8
pseudo-ops.
1997-03-05 * config/tc-tic80.c (md_begin): Declare external variableFred Fish1-1/+6
coff_flags and insert an F_AR32WR bit into it.
1997-03-01 * config/tc-mips.c (mips16_extended_frag): Don't assume that weIan Lance Taylor1-6/+11
can rely on the frag address to determine whether a frag is earlier or later.
1997-02-28 * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.Ian Lance Taylor4-41/+40
(S_LOCAL_NAME): Likewise. (FAKE_LABEL_NAME): Define unconditionally. * symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if BFD_ASSEMBLER. (S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL. * config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER. Don't define FAKE_LABEL_NAME. * config/te-ic960.h: Likewise. * config/tc-mips.h (tc_frob_file_before_adjust): Define. (mips_frob_file_before_adjust): Declare. * config/tc-mips.c (mips_frob_file_before_adjust): New function. (mips_local_label): Remove.
1997-02-28 * config/te-sco386.h: Remove; not used.Ian Lance Taylor2-11/+0
1997-02-27remove d10v sanitizationIan Lance Taylor1-8/+2
1997-02-27 * config/tc-tic80 (md_pseudo_table): Add align pseudo op to doFred Fish1-1/+2
byte alignment rather than power-of-two alignment that is the GAS default.