X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2FChangeLog;h=76a8c20894277e65e0eaaadc9772bb0d4875fe4d;hb=c3a27914b8158876b94fda0beaa26da202103b62;hp=f18a868f34b02db52d304f55024e80b5bd51cc34;hpb=33d01f331b0673ed67fa8a71c9cb90f7d35d16b7;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index f18a868f34..76a8c20894 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,218 @@ +2001-03-23 Nick Clifton + + * doc/as.texinfo: Document --listing-XXX command line switches. + Explain why listings behave differently when -pipe is used. + +2001-03-23 Richard Sandiford + + * write.c (fix_new_exp): Print an error if passed a register. + +2001-03-23 Hans-Peter Nilsson + + * config/tc-cris.c: Tweak attribution. Fix typos. PIC support. + (PIC_SUFFIX_CHAR): New macro. + (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions. + (pic): New variable. + (md_longopts): New option --pic. + (OPTION_PIC): Define. + (md_estimate_size_before_relax): Tweak longish comment. + (md_create_long_jump): Make the long jumps generate ADD.D offset,PC. + (md_assemble): Handle a PIC relocation on prefix and normal + instruction operands. + : Handle + "complex" operand expressions. Call frag_more outside + gen_cond_branch_32 parameter list. + (cris_process_instruction): Handle PIC relocs on parsed + operand expressions. Validize PIC reloc sizes. + (get_autoinc_prefix_or_indir_op): Handle PIC suffix. + (gen_bdap): Handle "complex" operand expressions. + (gen_cond_branch_32): Use as_warn_where, not as_warn. Use + ADD.D offset,PC as jump instruction if generating PIC. Generate + error instead of crashing on complex expressions. + (cris_number_to_imm): Add segT parameter. All callers changed. + Use segT parameter, not now_seg, for segment of fixup. Handle + PCREL relocations but check that they are fully resolved. + (md_parse_option): Handle OPTION_PIC. + (tc_gen_reloc): Handle PIC relocs. + (md_show_usage): Update for --pic. + (md_apply_fix3): Renamed from md_apply_fix. + (md_pcrel_from): Accept emitting PCREL relocs when ELF. + (md_cris_force_relocation): Force relocation for PIC relocs. + + * config/tc-cris.h: Tweak attribution. + (MD_APPLY_FIX3): Define. + (IS_CRIS_PIC_RELOC): New macro. + (TC_RELOC_RTSYM_LOC_FIXUP): Define. + (tc_fix_adjustable): Don't adjust a globally visible symbol when + generating ELF. + (tc_frob_symbol): Avoid emitting undefined symbols. + +2001-03-20 Alan Modra + + * frags.h (struct frag): Add relax_marker. + * write.c (is_dnrange): Delete. + (relax_frag): Use correct types for `aim', `target', `address'. + Delete `offset', `was_address'. Test `relax_marker' instead of + using fragile (and slow) address test. + (relax_segment): Init and flip `relax_marker'. + +2001-03-19 Alan Modra + + * config/tc-i386.c (md_assemble ): Correct + used register name. + +2001-03-18 Stephane Carrez + + * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply + with 'Motorola specification for assembly language input standard'. + +2001-03-17 Richard Henderson + + * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove. + (dwarf2_directive_loc): Don't use them. + (dwarf2_directive_file): Reject duplicate file definitions. + (get_filenum): Zero allocated memory. + (out_file_list): Complain about missing file definitions. + +2001-03-17 Alan Modra + + * read.c (do_org): Handle complex expressions. + * cgen.c (gas_cgen_finish_insn): Likewise. + +2001-03-15 David Mosberger + + * 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. + +2001-03-15 Jim Wilson + + * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local + label support. + +2001-03-15 Alexandre Oliva + + * config/tc-sh.c (parse_reg): Match capital MACH and MACL. + +2001-03-15 DJ Delorie + + * stabs.c (s_stab_generic): Don't corrupt the notes obstack by + blindly freeing string if it isn't at the top of the obstack. + +2001-03-13 Alan Modra + + * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file. + (NUM_FLAG_CODE): Define. + (lex_got): New function. + (got_reloc): New global var. + (x86_cons_fix_new): New function. + (x86_cons): New function. + (i386_immediate): Use lex_got here, replacing inline code. Change + "ignoring junk.." error message to "junk.." + (i386_displacement): Likewise. + * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define. + (x86_cons): Declare. + (TC_CONS_FIX_NEW): Define. + (x86_cons_fix_new): Declare. + +2001-03-12 Nick Clifton + + * config/tc-arm.c (md_begin): Always set machine type based on + cpu_variant. + +2001-03-07 Alan Modra + + * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc. + (md_assemble) : Use correct field of i.op[] + union. + : Use correct i.disp_reloc[]. + : Likewise. + +2001-03-06 Nick Clifton + + * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in + BLX(1) instruction. + +2001-03-06 Igor Shevlyakov + + * config/tc-m68k.c : Add 5407 to archs[] table. + (HAVE_LONG_BRANCH): Add mcf5407. + (select_control_regs): Recognize 5407. + +2001-03-02 Dave Brolley + + * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather + than m32r_do_align. + +2001-03-02 Richard Sandiford + + * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro. + (gen_to_words): Print warnings if NaNs are found and the target CPU + does not support them. Allow largest exponent to be used in normal + numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true. + +2001-02-28 Andreas Jaeger , Bo Thorsen + + * 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-27 Alan Modra + + * configure.in (BFD_VERSION): New. + (AM_INIT_AUTOMAKE): Use $BFD_VERSION. + * configure: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + * doc/Makefile.in: Regenerate. + +2001-02-26 Mark Elbrecht + + * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set + SEC_NEVER_LOAD when the 'n' flag is used. + Add SEC_NEVER_LOAD to matchflags. + +2001-02-24 Stephane Carrez + + * symbols.c (decode_local_label_name): Initialize message_format + only when an error is reported (perf pb due to I18N). + +2001-02-23 H.J. Lu + + * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if + BFD_ASSEMBLER is not defined. + +2001-02-23 Richard Sandiford + + * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as + done if it's against a symbol. + +2001-02-22 Timothy Wall + + * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific + target formats if applicable. + * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64. + * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h. + * Makefile.in: Regenerated. + * configure.in: Added configuration for ia64-*-aix*. + * configure: Regenerated. + +2001-02-21 David Mosberger + + * 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. + 2001-02-21 David Mosberger * config/tc-ia64.c (struct unwind): Add member "prologue_count". @@ -15,8 +230,8 @@ 2001-02-20 Kazu Hirata - * tc-pdp11.c: Fix formatting. - * tc-pdp11.h: Likewise. + * config/tc-pdp11.c: Fix formatting. + * config/tc-pdp11.h: Likewise. 2001-02-20 Bo Thorsen @@ -100,7 +315,7 @@ Mon Feb 12 17:45:50 CET 2001 Jan Hubicka - * tc-i386.c (i386_displacement): Fix handling of + * config/tc-i386.c (i386_displacement): Fix handling of BFD_RELOC_X86_64_GOTPCREL. (i386_validate_fix): Likewise. @@ -346,9 +561,9 @@ Mon Feb 12 17:45:50 CET 2001 Jan Hubicka Sun Jan 14 00:36:42 MET 2001 Jan Hubicka - * tc-i386.h (TARGET_MACH): New macro. + * config/tc-i386.h (TARGET_MACH): New macro. (i386_mach): Declare. - * tc-i386.c (i386_mach): New function. + * config/tc-i386.c (i386_mach): New function. 2001-01-13 Philip Blundell @@ -468,7 +683,7 @@ Sat Jan 13 01:47:35 MET 2001 Jan Hubicka Sat Jan 6 13:33:10 MET 2001 Jan Hubicka * configure.in: Define DEFAULT_ARCH for i386. - * tc-i386.c (md_assemble): Return after the error message; + * config/tc-i386.c (md_assemble): Return after the error message; move testing for 64bit operands to proper place. 2001-01-06 Jan Hubicka , Andreas Jaeger @@ -480,21 +695,21 @@ Sat Jan 6 13:33:10 MET 2001 Jan Hubicka Fri Jan 5 13:26:42 MET 2001 Jan Hubicka - * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix. + * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix. Thu Jan 4 22:25:26 MET 2001 Jan Hubicka - * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry. + * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry. * NEWS: Add note about Pentium4 support. Wed Jan 3 17:26:32 MET 2001 Jan Hubicka - * tc-i387.c (pi, pte, pt): Update. + * config/tc-i387.c (pi, pte, pt): Update. (type_names): Add new types. Wed Jan 3 16:26:52 MET 2001 Jan Hubicka - * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow, + * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow, CpuUnknown): Renumber (CpuP4, CpuSSE2): New. (CpuUnknownFlags): Add CpuP4 and CpuSSE2 @@ -607,7 +822,7 @@ Sat Dec 30 19:02:48 MET 2000 Jan Hubicka Wed Dec 20 14:21:22 MET 2000 Jan Hubicka - * tc-i386.h (i386_target_format): Define even for ELFs. + * config/tc-i386.h (i386_target_format): Define even for ELFs. (QWORD_MNEM_SUFFIX): New macro. (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): New macros @@ -627,7 +842,7 @@ Wed Dec 20 14:21:22 MET 2000 Jan Hubicka (AnyMem): Add Disp32S. (RegRex, RegRex64): New macros. (rex_byte): New type. - * tc-i386.c (set_16bit_code_flag): Kill. + * config/tc-i386.c (set_16bit_code_flag): Kill. (fits_in_unsigned_long, fits_in_signed_long): New functions. (reloc): New parameter "signed"; support x86_64. (set_code_flag): New. @@ -735,12 +950,12 @@ Wed Dec 20 14:21:22 MET 2000 Jan Hubicka Mon Dec 11 14:35:42 MET 2000 Jan hubicka - * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel + * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX references. (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse otherwise. - * tc-i386.h (DWORD_MNEM_SUFFIX): Kill. + * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill. (No_dSuf): Kill. * i386.h (*_Suf): Remove No_dSuf. @@ -856,7 +1071,7 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka 4Kp entries with a single mips32-4k entry. Note that you can use ".set mips32". - * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and + * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and ISA_MIPS64. (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for -mips5 and -mips64. @@ -899,7 +1114,7 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka 2000-11-30 Diego Novillo - * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel + * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel syntax. 2000-11-29 Richard Henderson @@ -1180,7 +1395,7 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka 2000-11-15 Bernd Schmidt - * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX. + * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX. (errata_nops_necessary_p): New function. (emit_one_bundle): Call it. Update the GROUP_IDX field in struct md. @@ -1381,7 +1596,7 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka 2000-10-31 Bernd Schmidt - * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. + * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. 2000-10-30 Kazu Hirata @@ -1440,12 +1655,12 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka 2000-10-25 Diego Novillo - * tc-i386.c: Fix prototype declarations for functions taking no + * config/tc-i386.c: Fix prototype declarations for functions taking no arguments. 2000-10-24 Diego Novillo - * tc-i386.c (i386_operand_modifier): Remove. + * config/tc-i386.c (i386_operand_modifier): Remove. (build_displacement_string): Remove. (i386_parse_seg): Remove. (i386_intel_memory_operand): Remove. @@ -2013,7 +2228,7 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka 2000-08-25 J. David Anglin - * tc-vax.c (md_convert_frag): Correctly calculate the pc relative + * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative offset of the target destination for jmp instructions. (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments. @@ -2028,8 +2243,8 @@ Thu Aug 24 20:41:05 2000 Denis Chertykov 2000-08-23 Alexandre Oliva - * config/tc-i386.h - (TC_FIX_ADJUSTABLE): Define. + * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF, + TC_FIX_ADJUSTABLE): Define. 2000-08-23 Jim Wilson @@ -2228,8 +2443,8 @@ Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com) Wed Aug 9 16:28:21 EDT 2000 Diego Novillo - * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier - has the IgnoreSize bit set. + * config/tc-i386.c (md_assemble): Skip suffix check if the opcode + modifier has the IgnoreSize bit set. 2000-08-09 Alan Modra @@ -3567,7 +3782,7 @@ Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com) 2000-04-24 Mark Klein - * obj-som.c: Terminate obj_pseudo_table. + * config/obj-som.c: Terminate obj_pseudo_table. Mon Apr 24 15:21:11 2000 Clinton Popetz