PR bootstrap/30748
[binutils.git] / gas / ChangeLog
blobb6dd038bf73bc7cbc3e7543050b704418c7036d5
1 2007-02-07  Paul Brook  <paul@codesourcery.com>
3         * configure.tgt: Add arm*-*-uclinux-*eabi.
5 2007-02-05  Dave Brolley  <brolley@redhat.com>
6             Richard Sandiford  <rsandifo@redhat.com>
7             DJ Delorie  <dj@redhat.com>
8             Stan Cox  <scox@redhat.com>
9             Jim Blandy  <jimb@redhat.com>
10             Nick Clifton  <nickc@redhat.com>
11             Jim Wilson  <wilson@redhat.com>
12             Frank Ch. Eigler  <fche@redhat.com>
13             Graydon Hoare  <graydon@redhat.com>
14             Ben Elliston  <bje@redhat.com>
15             John Healy  <jhealy@redhat.com>
16             Richard Henderson  <rth@redhat.com>
18         * Makefile.am (CPU_TYPES): Add mep.
19         (TARGET_CPU_CFILES): Add tc-mep.c.
20         (TARGET_CPU_HFILES): Add tc-mep.h.
21         (DEPTC_mep_elf): New variable.
22         (DEPTC_mep_coff): Likewise.
23         (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
24         * configure.in: Support mep.
25         * configure.tgt: Likewise.
26         * config/tc-mep.c: New file.
27         * config/obj-elf.c: New file.
28         * config/tc-mep.c: New file.
29         * config/tc-mep.h: New file.
30         * testsuite/gas/mep: New testsuite with content.
31         * Makefile.in: Regenerate.
32         * configure: Regenerate.
34 2007-02-05  Dave Brolley  <brolley@redhat.com>
36         * cgen.c (gas_cgen_install_complex_reloc): Removed.
37         (complex_reloc_installation_howto): Removed.
39 2007-02-05  Dave Brolley  <brolley@redhat.com>
40             Graydon Hoare  <graydon@redhat.com>
41             DJ Delorie  <dj@redhat.com>
42             Catherine Moore  <clm@redhat.com>
43             Michael Chastain  <chastain@redhat.com>
44             Frank Ch. Eigler  <fche@redhat.com>
46         * symbols.c (use_complex_relocs_for): New, to decide
47         when to use complex relocs. Add signed RELC support.
48         (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
49         encode expression symbols as mangled complex relocation symbols (when
50         compiled with -DOBJ_COMPLEX_RELOC).
51         (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
52         * cgen.c (gas_cgen_md_apply_fix3):  Only set signed_p if RELC. Call
53         encode_addend with new args. Modify to get start, length from
54         ifield whenever it is set. Also change condition on which
55         self-describing relocs are encoded. Add hook into
56         gas_cgen_encode_addend.
57         (queue_fixup_recursively): Add signed RELC support. Change from masked
58         expr to trunc flag. Restore assignment of sub-field value to
59         temporary in fixups array. Reflect changed meaning of last arg to
60         queue_fixup_recursively.
61         (fixup): Add cgen_maybe_multi_ifield member.
62         (make_right_shifted_expr): New function.
63         (queue_fixup): Change to recursive function that fragments
64         fixups if operand has a multi-ifield.
65         (gas_cgen_parse_operand): Add RELC code to wrap expressions in
66         symbols, call weak_operand_overflow_check, and fragment call
67         queue_fixup with operand fields.
68         (gas_cgen_finish_insn) Modify to manage ifield pointer.
69         (weak_operand_overflow_check): New function to try to select
70         insns correctly.
71         (gas_cgen_encode_addend): New function for relc.
72         (gas_cgen_install_complex_reloc): Likewise.
73         (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
74         * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
75         cgen_maybe_multi_ifield field to fx_cgen substructure.
76         * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
77         * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
78         
79 2007-02-03  DJ Delorie  <dj@delorie.com>
81         * config/tc-m32c.c (m32c_cons_fix_new): New.  Added to support 3
82         byte relocs.
83         * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
84         (m32c_cons_fix_new): Prototype.
86 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
87         
88         * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
89         (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
90         
91 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
93         * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
94         (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
95         (map_suffix_reloc_to_operator): New.
96         (map_operator_to_reloc): New.
97         (expression_maybe_register): Fix incorrect test of return value from
98         xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
99         (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
101 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
103         * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
104         (tinsn_get_tok): Delete prototype.
105         * config/tc-xtensa.c (tinsn_get_tok): Delete.
106         
107 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
109         * config/xtensa-relax.h (struct build_instr): Delete id field.
110         * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
111         and LABEL tokens.
112         (append_literal_op, append_label_op): Remove litnum/labnum arguments;
113         set op_data fields to zero.
114         (parse_id_constant): Delete.
115         (build_transition): Remove code to handle numbered literals and labels.
117 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
119         * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
120         (build_transition_table): Likewise.
122 2007-02-01  Bob Wilson  <bob.wilson@acm.org>
124         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
125         fx_tcbit.
126         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
128 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
130         * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
131         (struct fix <fx_plt>): Rename to tcbit2.
132         * write.c (fix_new_internal): Adjust.
133         (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
134         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
135         * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
136         * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
137         * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
138         * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
139         * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
140         * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
141         * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
142         * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
143         * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
144         Instead, compare fx_r_type.
145         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
146         fx_tcbit in place of fx_plt.
147         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
148         * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
149         to fx_plt.
151 2007-01-30  Nick Clifton  <nickc@redhat.com>
153         * as.c (main): Mark symbols created via the --defsym command line
154         option as volatile so that they can be overridden later on by a
155         .set directive.  This maintains compatibility with the behaviour
156         of earlier versions of the assembler.
157         * doc/as.texinfo (--defsym): Document that the defined symbol's
158         value can be overridden via a .set directive.
160 2007-01-28  H.J. Lu  <hongjiu.lu@intel.com>
162         * config/tc-i386.c (swap_imm_operands): Renamed to ...
163         (swap_2_operands): This.  Take 2 ints.
164         (md_assemble): Updated.
165         (swap_operands): Call swap_2_operands to swap 2 operands.
167 2007-01-24  DJ Delorie  <dj@redhat.com>
169         * config/tc-m32c.c (md_pseudo_table): Add .3byte.
171 2007-01-22  Nick Clifton  <nickc@redhat.com>
173         PR gas/3871
174         * tc-score.c: Remove unnecessary uses of _().
175         Make the err_msg[] a file level local array in order to save
176         storage space.
177         Remove unnecessary sprintf()s.
179 2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>
181         PR gas/3871
182         * config/tc-score.c : Using _() for const string.
183         Do not assign inst.error with a local string pointer.
184         (md_section_align): Pad section.
185         
186 2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>
188         * config/tc-i386.c (build_modrm_byte): Check number of operands
189         when procssing memory/register operand.
191 2007-01-12  Nick Clifton  <nickc@redhat.com>
193         PR gas/3856
194         * macro.c (expand_irp): Do not ignore spaces inside quoted
195         strings.
197 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
199         * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
200         * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
201         * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
202         (TC_FORCE_RELOCATION): Define.
203         (TC_FORCE_RELOCATION_LOCAL): Define.
204         * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
206 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
208         * input-file.c (input_file_open): Check fgets return.
210 2007-01-11  Paul Brook  <paul@codesourcery.com>
212         * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
214 2007-01-11  Nick Clifton  <nickc@redhat.com>
216         PR gas/3707
217         * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
218         variable.
220         * config/tc-mcore.c (md_number_to_chars): Use
221         number_to_chars_{big|little}endian.
223 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
225         * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
226         architecture by itself.
227         (m68k_ip): Don't issue a warning for tbl instructions on fido.
228         (m68k_elf_final_processing): Treat Fido as an architecture by
229         itself.
231 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
233         * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
235 2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>
237         * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
238         depending on allow_naked_reg.
240 2007-01-04  Paul Brook  <paul@codesourcery.com>
242         * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
244 2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>
246         PR gas/3830
247         * config/tc-i386.c (register_prefix): New.
248         (set_intel_syntax): Set set_intel_syntax to "" if register
249         prefix isn't needed.
250         (check_byte_reg): Use register_prefix for error message.
251         (check_long_reg): Likewise.
252         (check_qword_reg): Likewise.
253         (check_word_reg): Likewise.
255 2006-01-04  Julian Brown  <julian@codesourcery.com>
257         * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
258         (do_neon_qshl_imm): Likewise.
259         (do_neon_rshl): New function. Handle rounding variants of
260         v{q}shl-by-register.
261         (insns): Use do_neon_rshl for vrshl, vqrshl.
263 2007-01-04  Paul Brook  <paul@codesourcery.com>
265         * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
266         and vacle.
268 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
270         * config/tc-i386.c (swap_operands): Remove branches.
272 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
274         * config/tc-i386.c: Update copyright year.
275         * config/tc-i386.h: Likewise.
277 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
279         * config/tc-i386.c (smallest_imm_type): Return unsigned int
280         instead of int.
282 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
284         * config/tc-i386.c: Convert to ISO C90 formatting
285         * config/tc-i386.h: Likewise.
287 2007-01-03  David Daney  <ddaney@avtrex.com>
289         * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
290         documentation.
292 For older changes see ChangeLog-2006
294 Local Variables:
295 mode: change-log
296 left-margin: 8
297 fill-column: 74
298 version-control: never
299 End: