aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-08-01Cleanups for z8k targetNick Clifton2-1/+18
2001-08-01 * config/tc-i386.c (lex_got): Match lower case relocation tokens.Alan Modra2-7/+26
Don't allocate more space than necessary for the input line copy.
2001-08-01 * gas/elf/section2.l: Adjust warning message comparison.Alan Modra2-1/+5
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra20-170/+224
final period or newline, don't say "ignored" or "zero assumed" for as_bad messages. In some cases, change the wording to that used elsewhere for similar messages. * app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c, ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c, output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise. * ecoff.c (ecoff_directive_end): Test for missing name by comparing input line pointers rather than reading string. (ecoff_directive_ent): Likewise. * read.c (s_set): Likewise. (s_align): Report a warning rather than an error for alignment too large. (s_comm): Check for missing symbol name. (s_lcomm_internal): Likewise. (s_lsym): Likewise. (s_globl): Use is_end_of_line instead of looking for '\n'. (s_lcomm_internal): Likewise. (ignore_rest_of_line): Report a warning rather than an error.
2001-07-31 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to haveGeoffrey Keating2-1/+6
any kind of relocation against a not-loaded section.
2001-07-30 * gas/mips/mips.exp (el): New variable.Richard Sandiford2-39/+17
Use it to pick ELF reloc tests.
2001-07-30 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_typeAlan Modra7-127/+102
to include '@' in symbol names when parsing versioned symbols rather than calling get_symbol_end multiple times. * config/tc-i370.c (register_name): Format fixes. Don't call get_symbol_end after parsing number. * config/tc-mn10200.c (data_register_name): Format fixes. Hoist code out of conditional. (address_register_name): Likewise. (other_register_name): Likewise. * config/tc-mn10300.c (r_register_name): Likewise. (xr_register_name): Likewise. (data_register_name): Likewise. (address_register_name): Likewise. (other_register_name): Likewise. * config/tc-ppc.c (register_name): Likewise. * config/tc-s390.c (register_name): Likewise.
2001-07-28 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsrStephane Carrez2-2/+7
and bra relax: update fragP->fr_fix after the fixup.
2001-07-27 * read.c (s_set): Check for missing symbol name.Alan Modra2-0/+13
2001-07-272001-07-26 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-3/+8
* gas/mips/lif-empic.d: Add back dollar signs before floating point register names.
2001-07-26 * gas/i386/relax.s: Test rs_space.Alan Modra3-4/+22
* gas/i386/relax.d: Update.
2001-07-26 * write.c (relax_segment <rs_space>): Account for fr_fix.Alan Modra2-1/+5
2001-07-252001-07-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+11
* config/tc-mips.c (md_estimate_size_before_relax): Make sure we treat weak like extern only for ELF. (mips_fix_adjustable): Make sure we don't adjust extern/weak symbols only for ELF.
2001-07-252001-07-25 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+5
* config/tc-mips.c: Fix spelling error in comment.
2001-07-252001-07-25 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+28
* app.c (LEX_IS_PARALLEL_SEPARATOR): New macro. (IS_PARALLEL_SEPARATOR): New macro. (do_scrub_begin): Set up characters in tc_parallel_separator_chars as LEX_IS_PARALLEL_SEPARATOR, if it is defined. (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has been seen).
2001-07-24 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.Alan Modra4-38/+49
(DEP1, DEPTC, DEPOBJ, DEP2): Use it. Update dependencies with "make dep-am".
2001-07-23 * config/tc-alpha.h: Fix formatting.Kazu Hirata21-106/+129
* config/tc-arc.c: Likewise. * config/tc-d10v.h: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-i386.h: Likewise. * config/tc-i960.h: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ia64.h: Likewise. * config/tc-m32r.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-m88k.c: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-pdp11.c: Likewise. * config/tc-pj.h: Likewise. * config/tc-s390.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-sparc.h: Likewise. * config/tc-tic80.c: Likewise. * config/tc-w65.h: Likewise.
2001-07-23 * symbols.c (S_GET_VALUE): Don't treat O_constant and localAlan Modra13-163/+132
symbols specially. Always resolve, adding fr_address to value. * write.c (write_object_file): Don't add fr_address to sym values. (relax_frag): Likewise. (relax_segment): Likewise. * config/obj-ieee.c (do_symbols): Likewise. * config/tc-cris.c (md_convert_frag): Likewise. * config/tc-fr30.c (md_convert_frag): Likewise. * config/tc-i386.c (md_convert_frag): Likewise. * config/tc-m32r.c (md_convert_frag): Likewise. * config/tc-m68hc11.c (md_convert_frag): Likewise. * config/tc-mcore.c (md_convert_frag): Likewise. * config/tc-mips.c (mips16_extended_frag): Likewise. * config/tc-ns32k.c (md_convert_frag): Likewise. * config/tc-m68k.c (md_convert_frag_1): Likewise. (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR, DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement. (md_relax_table): Remove first four entries. Format. (md_estimate_size_before_relax): Remove old_fix. Don't bother setting fr_var. Simplify byte branch checks.
2001-07-23 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): RemoveAlan Modra2-50/+43
"isbranch" param as all calls have it set. (pa_parse_neg_cmpsub_cmpltr): Likewise. (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of strcasecmp in "nullify" var. (pa_parse_neg_add_cmpltr): Likewise. (pa_ip): Don't "save_s" unnecessarily. Update calls to above functions. Don't print wrong conditions in error messages.
2001-07-23 * config/tc-s390.c (s390_force_relocation): Removed.Andreas Jaeger3-17/+9
* config/tc-s390.h: Remove double declaration of TC_FORCE_RELOCATION.
2001-07-23 * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.Alan Modra3-2/+7
* gas/i386/intel.d: Likewise.
2001-07-222001-07-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+6
* config/tc-mips.c (s_mips_end): Remove unused variables. (s_mips_frame): Add ATTRIBUTE_UNUSED.
2001-07-19Change bug reporting email address.Nick Clifton1-13/+17
2001-07-18 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file andAndreas Schwab3-0/+22
.loc. (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting insn. * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2001-07-17 * config/tc-i386.c (comment_chars): Don't use '/' as comment start ifMatthew Green2-2/+8
TE_NetBSD. (line_comment_chars): Set to '/' if TE_NetBSD.
2001-07-162001-07-16 Philip Blundell <philb@gnu.org>Phil Blundell3-8/+13
* gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for change to disassembler.
2001-07-14Fix failures in MIPS testsuiteNick Clifton4-1/+10
2001-07-14fix formatting goof in previous.Matthew Green1-1/+1
2001-07-14 * configure.in (i386-*-netbsdelf*): New target.Matthew Green3-0/+7
configure: Regenerate.
2001-07-11 * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support forJakub Jelinek3-7/+6
R_SPARC_UA64. (elf32_sparc_check_relocs): Likewise. Only create .rela section for alloced sections in shared libraries. (elf32_sparc_relocate_section): Likewise. Remove redundant check. Optimize unaligned reloc usage. * elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant check. * testsuite/gas/sparc/unalign.s: Remove .uaxword test. * testsuite/gas/sparc/unalign.d: Adjust accordingly.
2001-07-11*** empty log message ***John Healy2-10/+0
2001-07-11Don't merge if the storage class of the non-debug symbol is C_NULL.Nick Clifton2-1/+15
2001-07-102001-07-10 John Healy <jhealy@redhat.com>John Healy2-0/+10
* config/obj-elf.c (obj_elf_section): md_elf_section_change_data_hook added to grab section information after it's been extracted from the .section directive.
2001-07-10Fix grammatical errorsNick Clifton2-2/+7
2001-07-10Use FOPEN_.. macros in calls to fopen().Nick Clifton7-77/+94
2001-07-09Add .incbin pseudo opNick Clifton9-0/+174
2001-07-07Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.Nick Clifton2-1/+6
2001-07-062001-07-06 John Healy <jhealy@redhat.com>John Healy4-53/+126
* cgen.c (gas_cgen_save_fixups): Modified to allow more than one set of fixups to be stored. (gas_cgen_restore_fixups): Modified to allow the fixup chain to be restored to be chosen from any that are saved. (gas_cgen_swap_fixups): Modified to allow the current set of fixups to be swapped with any other set that has been saved. (gas_cgen_initialize_saved_fixups_array): New routine. * cgen.h: Modifed prototypes for gas_cgen_save_fixups, gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions or MAX_SAVED_FIXUP_CHAINS. * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup store, swap and restore fuctions to reflect the new interface.
2001-07-06Catch and ignore empty, ineffectual alignment frags when deciding if aNick Clifton2-4/+22
branch can be short.
2001-07-0632-bit unwind data for ia64-hpux, from Steve EllceyJim Wilson2-33/+86
* config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY and SPECIAL_SECTION_FINI_ARRAY. (special_section_name): Add .init_array and .fini_array. (md_pseudo_table): Add init_array and fini_array. (md): Add pointer_size and pointer_size_shift fields. (setup_unwind_header): New static function. (output_unw_records): Modify to use setup_unwind_header. (generate_unwind_image, dot_endp): Modify to use md.pointer_size and md.pointer_size_shift. (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
2001-07-06Oops, missed committing entry for 2001-07-05 change.Alan Modra1-0/+13
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+3
* README (Supported platforms): m88k no longer suffers bitrot.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+4
* config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
2001-07-05 * struc-symbol.h (struct local_symbol): Rename lsy_offset toAlan Modra2-17/+17
lsy_value. Correct typos in comments. * symbols.c (local_symbol_make): Update for name change. (local_symbol_convert): Likewise. (colon): Likewise. (S_GET_VALUE): Likewise. (S_SET_VALUE): Likewise. (print_symbol_value_1): Likewise. (resolve_symbol_value): Likewise. Don't divide local sym values by OCTETS_PER_BYTE twice.
2001-07-05Fix ia64-linux gas ehopt testsuite failure.Jim Wilson2-0/+11
* config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
2001-07-05Fix 2 ia64-linux gas testsuite failures.Jim Wilson2-5/+20
* config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod sched branches.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+4
* read.c (s_fill): Correct spelling error in comments.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston6-1/+89
* doc/c-m88k.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi. * doc/Makefile.in: Regenerate. * doc/all.texi: Set M880X0. * doc/as.texinfo: Hook in m88k-dependent documentation.
2001-07-042001-07-04 Eric Christopher <echristo@redhat.com>Eric Christopher3-1/+20
* doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu. * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261, and rm5721 as valid cpu strings. (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
2001-07-04[gas]Richard Sandiford4-2/+47
* config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero if it's expected to be non-zero. [gas/testsuite] * gas/mips/elf-rel3.s: Add zero word to end of file.