aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-03-13Fix typos.Alan Modra1-4/+4
2001-03-13Support for @GOTOFF in .long expressions.Alan Modra3-155/+182
2001-03-12Always set machine type based on cpu_variant.Nick Clifton2-21/+23
2001-03-08Fix copyright noticesNick Clifton211-262/+392
2001-03-08Fix typosNick Clifton4-189/+196
2001-03-07* config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.Alan Modra2-31/+39
(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 Clifton2-0/+14
2001-03-06Rest of the changes for Coldfire V4Nick Clifton3-253/+265
2001-03-022001-03-02 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+6
* 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 Clifton2-2/+30
2001-02-282001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>Andreas Jaeger2-12/+9
* 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-27Bump version to 2.11.90, fix missing dependencies in bfd/,Alan Modra6-472/+585
and run "make dep-am".
2001-02-27Set SEC_NEVER_LOAD when the 'n' flag is used.Nick Clifton2-2/+8
2001-02-262001-02-26 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/ia64/opc-a-err.l: Change "Operand [3|4]" to "Operand [34]".
2001-02-24 * symbols.c (decode_local_label_name): Initialize message_formatStephane Carrez2-2/+8
only when an error is reported (perf pb due to I18N).
2001-02-242001-02-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if BFD_ASSEMBLER is not defined.
2001-02-232001-02-23 H.J. Lu <hjl@gnu.org>H.J. Lu5-139/+293
* gas/ia64/opc-a-err.l: Fix "cmp4.lt.or". * gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and "cmp4". * gas/ia64/opc-a.s: Rebuilt. * gas/ia64/opc-a.d: Likewise.
2001-02-23Don't mark a fixup as done if it's against a symbol.Nick Clifton2-3/+10
2001-02-22Added ia64-*-aix* configuration.Timothy Wall7-475/+477
2001-02-22Improve gas error messages for invalid instructions.Jim Wilson2-99/+217
* 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 Wilson2-4/+24
* 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-21Note that some flags to the COFF version of .section remove attributes ratherNick Clifton2-1/+8
than setting them.
2001-02-21Fix a typo.Kazu Hirata1-1/+1
2001-02-212001-02-20 Kazu Hirata <kazu@hxi.com>Kazu Hirata3-17/+21
* tc-pdp11.c: Fix formatting. * tc-pdp11.h: Likewise.
2001-02-202001-02-20 Bo Thorsen <bo@suse.de>Andreas Jaeger2-3/+9
* 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'Brien4-2/+12
* 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 Clifton14-583/+2699
2001-02-182001-02-17 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-4/+10
* gas/mips/mips32.d: Remove ELF dependencies. This test wasn't meant to be ELF specific, and doesn't have to be. * gas/mips/mips64.d: Likewise.
2001-02-182001-02-17 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-11/+16
* gas/mips/mips.exp: Don't attempt the elf_e_flags family of tests if not ELF; they test ELF-specific features.
2001-02-162001-02-16 matthew green <mrg@redhat.com>Matthew Green2-1/+7
* gas/cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
2001-02-14Address comment from Richard about relocs always needing a type.Jim Wilson3-8/+21
* 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 Taylor9-26/+62
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 Modra3-72/+188
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-13Update copyright date.Alan Modra1-1/+1
2001-02-13Fix parsing of multi-char operators.Alan Modra2-14/+23
2001-02-12 * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.Jan Hubicka2-4/+22
* 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 Blundell2-5/+24
* 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 Clifton2-7/+32
2001-02-102001-02-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-244/+240
* configure.in: Make 'mipself' and 'mipsecoff' emulations map to MIPS-specific files, as they used to do before the change on 2000-05-21. * configure: Regerate.
2001-02-102001-02-10 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+9
* 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 Henderson3-62/+246
(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 Clifton10-717/+2759
2001-02-09* config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons forAlexandre Oliva2-3/+13
2byte, 4byte and 8byte.
2001-02-08 * gas/mri/mri.exp: Don't execute the M68K specific testsStephane Carrez2-3/+15
on m6811-elf and m6812-elf targets, still run the generic MRI tests.
2001-02-08(pa_build_unwind_subspace): Don't callAlan Modra2-2/+7
md_number_to_chars with size > sizeof (valueT).
2001-02-072001-02-06 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* 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. Lu1-0/+7
* 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-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 Wilson2-3/+11
* config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of aborting for invalid operands.