aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2001-04-04 * config/tc-cris.c (cris_insn_first_word_frag): New.Hans-Peter Nilsson1-18/+32
(md_assemble): Call cris_insn_first_word_frag to get the first frag in an insn, not frag_more. Don't call dwarf2_emit_insn at end. Drop variable insn_size. (gen_bdap): Call cris_insn_first_word_frag, not frag_more. (cris_sym_leading_underscore): Wrap first as_bad parameter in _(). (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
2001-04-04 * config/tc-cris.c (md_estimate_size_before_relax) <caseHans-Peter Nilsson1-28/+15
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var. <all cases>: Always set fragP->fr_var using md_cris_relax_table. Add cases to cover all relax states.
2001-03-30Pass finalize_syms on calls to resolve_symbol_value.Alan Modra6-19/+21
2001-03-30Prepare for multi-pass relaxation.Alan Modra9-145/+161
2001-03-29 * config/tc-cris.h (tc_fix_adjustable): Allow onlyHans-Peter Nilsson2-9/+12
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs. * config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in example to valid.
2001-03-28Default hppa64 to ".level 2.0w"Alan Modra1-1/+7
2001-03-26Do not optimize BFD_RELOC_390_GOTENT relocs.Nick Clifton2-784/+942
Always generate relocs for VT_ relocs.
2001-03-25Automate generate on man pagesNick Clifton1-1/+32
2001-03-25Accept an absolute expression for index scale factor.Alan Modra1-16/+23
2001-03-23 * config/tc-cris.[ch]: Tweak attribution. Fix typos. PIC support.Hans-Peter Nilsson2-88/+406
2001-03-19Fix register name printed in warning message.Alan Modra1-3/+6
2001-03-18 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to complyStephane Carrez1-0/+3
with 'Motorola specification for assembly language input standard'.
2001-03-16Add local tag support. Don't flush instructions for .xdata directives.Jim Wilson1-4/+39
* config/tc-ia64.c (md): New member keep_pending_output. (ia64_flush_pending_output): Flush only if md.keep_pending_output is not set. (dot_xdata): Turn on md.keep_pending_output for the duration of this function. (dot_xfloat_cons): Ditto. (dot_xstringer): Ditto. (dot_xdata_ua): Ditto. (dot_xfloat_cons_ua): Ditto. * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local label support.
2001-03-16* config/tc-sh.c (parse_reg): Match capital MACH and MACL.Alexandre Oliva1-2/+2
2001-03-13Support for @GOTOFF in .long expressions.Alan Modra2-152/+163
2001-03-12Always set machine type based on cpu_variant.Nick Clifton1-21/+18
2001-03-08Fix copyright noticesNick Clifton123-148/+199
2001-03-07* config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.Alan Modra1-29/+29
(md_assemble [smallest displacement]): Use correct field of i.op[] union. (md_assemble [JumpInterSegment output]): Use correct i.disp_reloc[]. (md_assemble [immediate output]): Likewise.
2001-03-06Fix BLX(1) for ThumbNick Clifton1-0/+9
2001-03-06Rest of the changes for Coldfire V4Nick Clifton1-51/+55
2001-03-022001-03-02 Dave Brolley <brolley@redhat.com>Dave Brolley1-1/+1
* config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather than m32r_do_align.
2001-03-02Print warnings if NaNs are found and the target CPU does not support themNick Clifton1-2/+23
2001-02-282001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>Andreas Jaeger1-10/+1
* config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed anymore since we use bfd_elf_generic_reloc now. (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
2001-02-27Set SEC_NEVER_LOAD when the 'n' flag is used.Nick Clifton1-2/+2
2001-02-23Don't mark a fixup as done if it's against a symbol.Nick Clifton1-3/+5
2001-02-22Added ia64-*-aix* configuration.Timothy Wall2-0/+21
2001-02-22Improve gas error messages for invalid instructions.Jim Wilson1-99/+207
* cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for C8 said "1" instead of "8". Clarify error string for IMM22: "signed integer" instead of just "integer". * config/tc-ia64.c (enum operand_match_result): New type. (operand_match): Change return type to operand_match_result. Fix all returns appropriately, adding support for returning the out-of-range result. (parse_operands): New locals result, error_pos, out_of_range_pos, curr_out_of_range_pos. Rewrite operand matching loop to give better error messages. * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two separate variants: one for IMM22 and the other for IMM14. * ia64-asmtab.c: Regenerate.
2001-02-21Fix bugs in handling of the .restore directive.Jim Wilson1-4/+14
* config/tc-ia64.c (struct unwind): Add member "prologue_count". (dot_proc): Clear unwind.prologue_count to zero. (dot_prologue): Increment unwind.prologue_count. (dot_restore): If second operand is omitted, use unwind.prologue_count -1 for "ecount" (# of additional regions to pop). Decrement unwind.prologue_count by number of regions popped.
2001-02-212001-02-20 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-17/+16
* tc-pdp11.c: Fix formatting. * tc-pdp11.h: Likewise.
2001-02-202001-02-20 Bo Thorsen <bo@suse.de>Andreas Jaeger1-0/+1
* config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT entry.
2001-02-19001-02-18 David O'Brien <obrien@FreeBSD.org>David O'Brien1-0/+3
* configure.in (cpu_type, arch): Add a generic FreeBSD specification as all FreeBSD platforms should look the same at this level. * configure: Rebuilt. * config/tc-i386.c: Add support for old FreeBSD a.out hosts. Approved by: Philip Blundell <philb@gnu.org> Message-Id: <E14URxF-00023n-00@kings-cross.london.uk.eu.org>
2001-02-18Add PDP-11 supportNick Clifton2-0/+1651
2001-02-14Address comment from Richard about relocs always needing a type.Jim Wilson2-8/+13
* config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED reloc instead of a 0 reloc. (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it as done. * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
2001-02-13 * write.c (is_dnrange): Stop as soon as the address becomesIan Lance Taylor5-9/+11
larger. (relax_frag): Add segment parameter. Only call symbol_get_frag once. Only call is_dnrange if the symbol is in the same segment, and the symbol address is larger. (relax_segment): Pass segment to md_relax_frag and relax_frag. * write.h (relax_frag): Update declaration. * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass it to relax_frag. * config/tc-m32r.c (m32r_relax_frag): Likewise. * config/tc-m32r.h (md_relax_frag): Add segment parameter. (m32r_relax_frag): Update declaration. * config/tc-mips.h (md_relax_frag): Add segment parameter. * config/tc-tic54x.h (md_relax_frag): Likewise. * doc/internals.texi (CPU backend): Update documentation for md_relax_frag.
2001-02-13Handle long jumps for .code16 and .arch < 386 by using a twoAlan Modra1-66/+142
instruction sequence consisting of a conditional jump of the opposite sense around an unconditional jump to the target. Add jumps/nojumps .arch modifier.
2001-02-12 * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.Jan Hubicka1-4/+16
* tc-i386.c (i386_displacement): Fix handling of BFD_RELOC_X86_64_GOTPCREL. (i386_validate_fix): Likewise.
2001-02-122001-02-12 Philip Blundell <pb@futuretv.com>Phil Blundell1-5/+19
* config/tc-arm.c (do_ldst): Improve warnings for unpredictable ldrt/strt instructions.
2001-02-11fix formattingNick Clifton1-7/+7
2001-02-11Apply several patches from Maciej W. RozyckiNick Clifton1-7/+23
2001-02-102001-02-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou1-0/+4
* config/tc-mips.c (md_parse_option): Don't try to compile ELF-only option code if not ELF.
2001-02-10 * config/tc-ia64.h (md_elf_section_type): New macro.Richard Henderson2-62/+211
(ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info (they're now handled via ia64_elf_section_type. * config/tc-ia64.c (unwind): New members saved_text_seg, saved_text_subseg, and force_unwind_entry. (optimize_unw_records): New function to optimize away unnecessary unwind directives. (ia64_elf_section_type): New function. (output_unw_records): Generate unwind info only if the size is non-zero or if it's forced for some other reason (e.g., handlerdata or a personality routine). (generate_unwind_image): Don't switch back to previous section---stay inside the unwind info section instead so that handlerdata that may follow goes into the right place. (dot_handlerdata): Force generation of unwind entry and save the current active text segment before generating unwind image. (dot_unwentry): Force generation of unwind entry. (dot_personality): Ditto. (dot_endp): Generate unwind table entry only if there is some unwind info or the unwind entry was forced. * config/tc-ia64.c (make_unw_section_name): New macro to form unwind section name. (generate_unwind_image): Add "text_name" argument. Use it to form unwind section name. (dot_handlerdata): Determine current segment (section) name and pass it to generate_unwind_image(). (dot_endp): Determine current segment (section) name and use it to determine the appropriate unwind section name. (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to n, fill, and max arguments.
2001-02-10Add s390 supportNick Clifton2-0/+1869
2001-02-09* config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons forAlexandre Oliva1-3/+8
2byte, 4byte and 8byte.
2001-02-08(pa_build_unwind_subspace): Don't callAlan Modra1-2/+2
md_number_to_chars with size > sizeof (valueT).
2001-02-072001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu1-1/+2
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if there is no relocation.
2001-02-062001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+14
* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. * config/tc-ia64.c (md_parse_option): Only accept the valid ia64 options on "-axxx".
2001-02-06Don't abort for invalid input, print an error message instead.Jim Wilson1-3/+6
* config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of aborting for invalid operands.
2001-02-06Fix unwind info when cross-compiling from little-endian machines.Alan Modra1-37/+61
2001-02-04 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_headerStephane Carrez2-39/+32
function to select the header according to the cpu. (md_after_pass_hook, md_do_align): Remove. (md_cleanup, m68hc11_cleanup): Remove. (md_pcrel_from_section): Declare. * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size. (build_jump_insn, build_insn): Likewise. (m68hc11_listing_header): New function. (m68hc11_cleanup): Remove.
2001-02-02 * tc-m68hc11.c (relaxable_symbol): Relax externally visible symbolsStephane Carrez1-4/+5
because there is no support for shared libraries and these symbols can't be overridden (unless they are weak).