aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2001-08-16Remove obsolete special handling of 64bit Relocations.Thiemo Seufer1-0/+6
2001-08-142001-08-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-0/+5
* expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as a label, not a hex constant. This patch was approved by Nick Clifton.
2001-08-13Add missing prototypesNick Clifton1-0/+4
2001-08-13 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLTAndreas Jaeger1-0/+5
relocations.
2001-08-12Fix behaviour of unaligned data directivesNick Clifton1-0/+7
2001-08-11 * config/tc-mips.c: Fix a comment typo.Kazu Hirata1-0/+4
2001-08-10 * config/tc-mips.c (move_register): New function.Richard Sandiford1-0/+9
(macro_build): Remove OPCODE_IS_MEMBER's gp32 argument. (mips_ip): Likewise. (macro2): Use move_register rather than macro_build for moves. (mips16_macro): Likewise. (macro): Likewise. Handle M_MOVE.
2001-08-10 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypesAndreas Jaeger1-0/+6
to build warnings. * configure: Regenerate.
2001-08-10 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.Alan Modra1-0/+4
Comment indentation of #pragma. * macro.c (alloca): Likewise.
2001-08-10Move one entry from gas/ChangeLog to gas/testsuite/ChangeLog.Alan Modra1-15/+8
Remove gas/ from file names. Fix FOPEN_W comment.
2001-08-10Revert 2001-08-08 changes.Alan Modra1-0/+4
2001-08-09 * symbols.c: Add missing prototypes.Alan Modra1-0/+14
* config/e-i386elf.c: Likewise. * config/e-i386coff.c: Likewise. * config/e-i386aout.c: Likewise. * config/obj-coff.c: Likewise. (def_symbol_in_progress, stack): Move definition. * config/obj-elf.c: Add missing prototypes. (obj_elf_change_section): Make static. (obj_elf_parse_section_letters): Likewise. (obj_elf_section_word): Likewise. (obj_elf_section_type): Likewise.
2001-08-08 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code forAlan Modra1-0/+6
determining reloc type with code reading operands->reloc field.
2001-08-08 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a globalAlan Modra1-0/+5
function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here. * config/obj-elf.h (elf_copy_symbol_attributes): Declare. (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
2001-08-08 * output-file.c (output_file_create): Don't try to open usingAlan Modra1-0/+5
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.
2001-08-07Replace a bunch of magic constants in tc-mips.c with their properThiemo Seufer1-0/+6
defines from mips.h.
2001-08-07Some formatting fixes and assorted cleanup in tc-mips.c.Thiemo Seufer1-0/+15
2001-08-07 * config/tc-mips.c (md_begin): Take -mcpu value into account even whenThiemo Seufer1-0/+8
-mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs mutually exclusive (if they are different). (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is set more than once.
2001-08-03 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol valueRichard Sandiford1-0/+5
from GPREL addends.
2001-08-02 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.Richard Sandiford1-0/+29
* config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables. (md_long_opts): Add -mfp32 option. (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32. (md_show_usage): Show usage for -mfp32 and -mgp32. (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros. (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above. (HAVE_32BIT_ADDRESSES): New macro. (load_register): Use HAVE_32BIT_GPRS to determine the register width. (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size. (s_cprestore, s_cpadd): Likewise. (macro): Use HAVE_32BIT_GPRS to determine the width of registers used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in load, store and jump macros. (macro2): Use HAVE_32BIT_GPRS to determine the width of registers used in set instructions; do not check the address size for them. Use HAVE_32BIT_ADDRESSES to determine the width of addresses in unaligned load and store macros. (mips_ip): Use the new macros to check the width of a register when processing float constants. Force a constant into memory if it is destined for an FPR and the FPRs are wider than the GPRs. Warn about odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather than mips_gp32 to select synthetic instructions. (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select synthetic instructions.
2001-08-01Cleanups for z8k targetNick Clifton1-0/+7
2001-08-01 * config/tc-i386.c (lex_got): Match lower case relocation tokens.Alan Modra1-0/+5
Don't allocate more space than necessary for the input line copy.
2001-08-01 * read.c: Standardize error/warning messages - don't capitalise, noAlan Modra1-0/+37
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 Keating1-0/+5
any kind of relocation against a not-loaded section.
2001-07-30 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_typeAlan Modra1-0/+19
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 Carrez1-0/+5
and bra relax: update fragP->fr_fix after the fixup.
2001-07-27 * read.c (s_set): Check for missing symbol name.Alan Modra1-0/+4
2001-07-26 * write.c (relax_segment <rs_space>): Account for fr_fix.Alan Modra1-0/+4
2001-07-252001-07-25 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+7
* 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 Demetriou1-0/+4
* config/tc-mips.c: Fix spelling error in comment.
2001-07-252001-07-25 Dave Brolley <brolley@redhat.com>Dave Brolley1-0/+10
* 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 Modra1-0/+8
(DEP1, DEPTC, DEPOBJ, DEP2): Use it. Update dependencies with "make dep-am".
2001-07-23 * config/tc-alpha.h: Fix formatting.Kazu Hirata1-0/+23
* 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 Modra1-23/+46
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 Modra1-0/+11
"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 Jaeger1-0/+7
* config/tc-s390.h: Remove double declaration of TC_FORCE_RELOCATION.
2001-07-222001-07-22 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+5
* config/tc-mips.c (s_mips_end): Remove unused variables. (s_mips_frame): Add ATTRIBUTE_UNUSED.
2001-07-18 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file andAndreas Schwab1-0/+8
.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 Green1-0/+6
TE_NetBSD. (line_comment_chars): Set to '/' if TE_NetBSD.
2001-07-14fix formatting goof in previous.Matthew Green1-1/+1
2001-07-14 * configure.in (i386-*-netbsdelf*): New target.Matthew Green1-0/+5
configure: Regenerate.
2001-07-11 * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support forJakub Jelinek1-0/+5
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 Healy1-6/+0
2001-07-11Don't merge if the storage class of the non-debug symbol is C_NULL.Nick Clifton1-0/+5
2001-07-102001-07-10 John Healy <jhealy@redhat.com>John Healy1-0/+6
* 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 Clifton1-0/+4
2001-07-10Use FOPEN_.. macros in calls to fopen().Nick Clifton1-0/+9
2001-07-09Add .incbin pseudo opNick Clifton1-0/+8
2001-07-07Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.Nick Clifton1-0/+5
2001-07-062001-07-06 John Healy <jhealy@redhat.com>John Healy1-0/+15
* 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.