* armemu.c (handle_v6_insn): Fix typo in sign extension test of the sext and sxtah...
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
4eed87de
AM
12007-02-14 Alan Modra <amodra@bigpond.net.au>
2
3 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
4 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
5 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
6 code, and test for these insns using a combination of
7 opcode_modifier and operand_types.
8
7bd1c961
PB
92007-02-07 Paul Brook <paul@codesourcery.com>
10
5c817587 11 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 12
280d71bf 132007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
14 Richard Sandiford <rsandifo@redhat.com>
15 DJ Delorie <dj@redhat.com>
16 Stan Cox <scox@redhat.com>
17 Jim Blandy <jimb@redhat.com>
18 Nick Clifton <nickc@redhat.com>
19 Jim Wilson <wilson@redhat.com>
20 Frank Ch. Eigler <fche@redhat.com>
21 Graydon Hoare <graydon@redhat.com>
22 Ben Elliston <bje@redhat.com>
23 John Healy <jhealy@redhat.com>
24 Richard Henderson <rth@redhat.com>
25
26 * Makefile.am (CPU_TYPES): Add mep.
27 (TARGET_CPU_CFILES): Add tc-mep.c.
28 (TARGET_CPU_HFILES): Add tc-mep.h.
29 (DEPTC_mep_elf): New variable.
30 (DEPTC_mep_coff): Likewise.
31 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
32 * configure.in: Support mep.
33 * configure.tgt: Likewise.
34 * config/tc-mep.c: New file.
280d71bf
DB
35 * config/obj-elf.c: New file.
36 * config/tc-mep.c: New file.
37 * config/tc-mep.h: New file.
38 * testsuite/gas/mep: New testsuite with content.
39 * Makefile.in: Regenerate.
40 * configure: Regenerate.
41
422007-02-05 Dave Brolley <brolley@redhat.com>
43
44 * cgen.c (gas_cgen_install_complex_reloc): Removed.
45 (complex_reloc_installation_howto): Removed.
46
472007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
48 Graydon Hoare <graydon@redhat.com>
49 DJ Delorie <dj@redhat.com>
50 Catherine Moore <clm@redhat.com>
51 Michael Chastain <chastain@redhat.com>
52 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
53
54 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
55 when to use complex relocs. Add signed RELC support.
56 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
57 encode expression symbols as mangled complex relocation symbols (when
58 compiled with -DOBJ_COMPLEX_RELOC).
59 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
60 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
61 encode_addend with new args. Modify to get start, length from
62 ifield whenever it is set. Also change condition on which
63 self-describing relocs are encoded. Add hook into
64 gas_cgen_encode_addend.
65 (queue_fixup_recursively): Add signed RELC support. Change from masked
66 expr to trunc flag. Restore assignment of sub-field value to
67 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 68 queue_fixup_recursively.
4948f0d4 69 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
70 (make_right_shifted_expr): New function.
71 (queue_fixup): Change to recursive function that fragments
72 fixups if operand has a multi-ifield.
73 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
74 symbols, call weak_operand_overflow_check, and fragment call
75 queue_fixup with operand fields.
76 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
77 (weak_operand_overflow_check): New function to try to select
78 insns correctly.
4948f0d4 79 (gas_cgen_encode_addend): New function for relc.
280d71bf 80 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 81 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
82 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
83 cgen_maybe_multi_ifield field to fx_cgen substructure.
84 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
85 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
86
e110eeb7
DD
872007-02-03 DJ Delorie <dj@delorie.com>
88
89 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
90 byte relocs.
91 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
92 (m32c_cons_fix_new): Prototype.
93
60242db2
BW
942007-02-02 Bob Wilson <bob.wilson@acm.org>
95
96 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
97 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
98
bbdd25a8
BW
992007-02-02 Bob Wilson <bob.wilson@acm.org>
100
101 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
102 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
103 (map_suffix_reloc_to_operator): New.
104 (map_operator_to_reloc): New.
105 (expression_maybe_register): Fix incorrect test of return value from
106 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
107 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
108
9c874773
BW
1092007-02-02 Bob Wilson <bob.wilson@acm.org>
110
111 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
112 (tinsn_get_tok): Delete prototype.
113 * config/tc-xtensa.c (tinsn_get_tok): Delete.
114
61376837
BW
1152007-02-02 Bob Wilson <bob.wilson@acm.org>
116
117 * config/xtensa-relax.h (struct build_instr): Delete id field.
118 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
119 and LABEL tokens.
120 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
121 set op_data fields to zero.
122 (parse_id_constant): Delete.
123 (build_transition): Remove code to handle numbered literals and labels.
124
bc447904
BW
1252007-02-02 Bob Wilson <bob.wilson@acm.org>
126
127 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
128 (build_transition_table): Likewise.
129
63a7429b
BW
1302007-02-01 Bob Wilson <bob.wilson@acm.org>
131
132 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
133 fx_tcbit.
134 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
135
20ee54e8
AM
1362007-02-02 Alan Modra <amodra@bigpond.net.au>
137
138 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
139 (struct fix <fx_plt>): Rename to tcbit2.
140 * write.c (fix_new_internal): Adjust.
141 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
142 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
143 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
144 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
145 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
146 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
147 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
148 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
149 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
150 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
151 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
152 Instead, compare fx_r_type.
153 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
154 fx_tcbit in place of fx_plt.
155 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
156 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
157 to fx_plt.
158
bf083c64
NC
1592007-01-30 Nick Clifton <nickc@redhat.com>
160
161 * as.c (main): Mark symbols created via the --defsym command line
162 option as volatile so that they can be overridden later on by a
163 .set directive. This maintains compatibility with the behaviour
164 of earlier versions of the assembler.
165 * doc/as.texinfo (--defsym): Document that the defined symbol's
166 value can be overridden via a .set directive.
167
fc523535 1682007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
169
170 * config/tc-i386.c (swap_imm_operands): Renamed to ...
171 (swap_2_operands): This. Take 2 ints.
172 (md_assemble): Updated.
173 (swap_operands): Call swap_2_operands to swap 2 operands.
174
7bc4c13c
DD
1752007-01-24 DJ Delorie <dj@redhat.com>
176
177 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
178
48903831
NC
1792007-01-22 Nick Clifton <nickc@redhat.com>
180
07302d31 181 PR gas/3871
48903831
NC
182 * tc-score.c: Remove unnecessary uses of _().
183 Make the err_msg[] a file level local array in order to save
184 storage space.
185 Remove unnecessary sprintf()s.
186
14119072
ML
1872007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
188
07302d31 189 PR gas/3871
14119072
ML
190 * config/tc-score.c : Using _() for const string.
191 Do not assign inst.error with a local string pointer.
192 (md_section_align): Pad section.
193
99018f42
L
1942007-01-13 H.J. Lu <hongjiu.lu@intel.com>
195
196 * config/tc-i386.c (build_modrm_byte): Check number of operands
197 when procssing memory/register operand.
198
465e5617
NC
1992007-01-12 Nick Clifton <nickc@redhat.com>
200
201 PR gas/3856
202 * macro.c (expand_irp): Do not ignore spaces inside quoted
203 strings.
204
e8630bd7
AM
2052007-01-12 Alan Modra <amodra@bigpond.net.au>
206
207 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
208 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
209 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
210 (TC_FORCE_RELOCATION): Define.
211 (TC_FORCE_RELOCATION_LOCAL): Define.
212 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
213
1f5409bb
AM
2142007-01-12 Alan Modra <amodra@bigpond.net.au>
215
216 * input-file.c (input_file_open): Check fgets return.
217
dc4503c6
PB
2182007-01-11 Paul Brook <paul@codesourcery.com>
219
220 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
221
04f8d83b
NC
2222007-01-11 Nick Clifton <nickc@redhat.com>
223
493cb6ef
NC
224 PR gas/3707
225 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
226 variable.
227
04f8d83b
NC
228 * config/tc-mcore.c (md_number_to_chars): Use
229 number_to_chars_{big|little}endian.
230
3bdcfdf4
KH
2312007-01-08 Kazu Hirata <kazu@codesourcery.com>
232
233 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
234 architecture by itself.
235 (m68k_ip): Don't issue a warning for tbl instructions on fido.
236 (m68k_elf_final_processing): Treat Fido as an architecture by
237 itself.
238
42037fe5
NC
2392007-01-08 Kai Tietz <kai.tietz@onevision.com>
240
241 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
242
e4a3b5a4
L
2432007-01-05 H.J. Lu <hongjiu.lu@intel.com>
244
245 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
246 depending on allow_naked_reg.
247
a028a6f5
PB
2482007-01-04 Paul Brook <paul@codesourcery.com>
249
250 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
251
2ca3ace5
L
2522007-01-04 H.J. Lu <hongjiu.lu@intel.com>
253
44f9b8ac 254 PR gas/3830
2ca3ace5
L
255 * config/tc-i386.c (register_prefix): New.
256 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 257 prefix isn't needed.
2ca3ace5
L
258 (check_byte_reg): Use register_prefix for error message.
259 (check_long_reg): Likewise.
260 (check_qword_reg): Likewise.
261 (check_word_reg): Likewise.
262
627907b7
JB
2632006-01-04 Julian Brown <julian@codesourcery.com>
264
265 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
266 (do_neon_qshl_imm): Likewise.
267 (do_neon_rshl): New function. Handle rounding variants of
268 v{q}shl-by-register.
269 (insns): Use do_neon_rshl for vrshl, vqrshl.
270
92559b5b
PB
2712007-01-04 Paul Brook <paul@codesourcery.com>
272
273 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
274 and vacle.
275
2ca3ace5
L
2762007-01-03 H.J. Lu <hongjiu.lu@intel.com>
277
278 * config/tc-i386.c (swap_operands): Remove branches.
279
4dc85607
L
2802007-01-03 H.J. Lu <hongjiu.lu@intel.com>
281
282 * config/tc-i386.c: Update copyright year.
283 * config/tc-i386.h: Likewise.
284
1509aa9a
L
2852007-01-03 H.J. Lu <hongjiu.lu@intel.com>
286
287 * config/tc-i386.c (smallest_imm_type): Return unsigned int
288 instead of int.
289
e3bb37b5
L
2902007-01-03 H.J. Lu <hongjiu.lu@intel.com>
291
292 * config/tc-i386.c: Convert to ISO C90 formatting
293 * config/tc-i386.h: Likewise.
294
d821e36b
DD
2952007-01-03 David Daney <ddaney@avtrex.com>
296
297 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
298 documentation.
299
44021fe5 300For older changes see ChangeLog-2006
08d56133
NC
301\f
302Local Variables:
303mode: change-log
304left-margin: 8
305fill-column: 74
306version-control: never
307End:
This page took 0.412508 seconds and 4 git commands to generate.