aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-02-06Fix unwind info when cross-compiling from little-endian machines.Alan Modra2-37/+74
2001-02-04 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_headerStephane Carrez3-39/+44
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-04 * gas/m68hc11/malis.s: New test to verify compliance with MotorolaStephane Carrez5-0/+307
Assembly Language Input Standard. * gas/m68hc11/malis.d: New file. * gas/m68hc11/malis-include.s: New file. * gas/m68hc11/all.exp: Add the new test.
2001-02-02Fix 2001-02-02 Stephane Carrez ChangeLog entryStephane Carrez1-3/+3
2001-02-02 * tc-m68hc11.c (relaxable_symbol): Relax externally visible symbolsStephane Carrez2-4/+11
because there is no support for shared libraries and these symbols can't be overridden (unless they are weak).
2001-02-01 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviationsRichard Henderson2-0/+8
for the compilation unit with a zero byte.
2001-01-30Fix a null-pointer dereference and some range checks.Alan Modra2-13/+15
2001-01-25Do not abort if tcbit is still set. Issue an error message instead.Nick Clifton2-4/+20
Fix compile time warnings
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata6-11/+19
* as.c: Fix formatting. * ehopt.c: Likewise. * messages.c: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
2001-01-23(m32r_handle_align): Declare type of fragp.Alan Modra2-4/+9
2001-01-222001-01-22 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-109/+104
* config/tc-alpha.c: Fix formatting.
2001-01-202001-01-19 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-86/+91
* config/tc-alpha.c: Fix formatting.
2001-01-192001-01-18 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-163/+167
* config/tc-alpha.c: Fix formatting.
2001-01-19Remove redundant bit from "fa" and "da" flagsNick Clifton2-4/+10
2001-01-18* configure.in (cpu_type, arch): Match i386 too.Alexandre Oliva3-2/+7
* configure: Rebuilt.
2001-01-172001-01-16 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-55/+62
* config/tc-i386.c: Fix formatting.
2001-01-16Support hand-crafted .PARISC.unwind entriesAlan Modra2-8/+17
2001-01-16Build unwind info for more than just .text section.Alan Modra2-1/+8