PR gas/2623
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
870074dd
NC
12007-02-28 Nick Clifton <nickc@redhat.com>
2
3 PR gas/2623
4 * config/tc-msp430.c (line_separator_char): Change to '{'.
5
fd99afa7
AM
62007-02-27 Alan Modra <amodra@bigpond.net.au>
7
8 * config/tc-m68hc11.c (fixup24): Correct fixup size.
9 (build_jump_insn): Likewise.
10 (build_insn): Likewise.
11 (s_m68hc11_relax): Likewise.
12
07cb2078
AM
132007-02-27 Alan Modra <amodra@bigpond.net.au>
14
15 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
16
22b5b651
MS
172007-02-25 Mark Shinwell <shinwell@codesourcery.com>
18
19 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
20
acb02403
AM
212007-02-23 Alan Modra <amodra@bigpond.net.au>
22
23 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
24 (md_assemble): Likewise.
25
e5435dec
AM
262007-02-22 Alan Modra <amodra@bigpond.net.au>
27
28 * write.c (size_seg): Always clear SEC_RELOC here.
29 (install_reloc): New function, extracted from..
30 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
31 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
32 testing frag size. Set SEC_RELOC here.
33
a1836728
AM
342007-02-21 Alan Modra <amodra@bigpond.net.au>
35
36 PR 4082
37 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
38
f281862d
TS
392007-02-20 Thiemo Seufer <ths@mips.com>
40
41 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
42
01fd108f
TS
432007-02-20 Thiemo Seufer <ths@mips.com>
44
45 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
46
8b082fb1
TS
472007-02-20 Thiemo Seufer <ths@mips.com>
48 Chao-Ying Fu <fu@mips.com>
49
50 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
51 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
52 (macro_build): Add case '2'.
53 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
54 (validate_mips_insn): Add support for balign instruction.
55 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
56 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
57 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
58 command line options.
59 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
60 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
61 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
62 .set dspr2, .set nodspr2.
63
96e0bbcc
NS
642007-02-20 Nathan Sidwell <nathan@codesourcery.com>
65
66 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
67 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
68
d31f0f6d
AM
692007-02-18 Alan Modra <amodra@bigpond.net.au>
70
71 * write.c (TC_FX_SIZE_SLACK): Define.
72 (write_relocs): Reinstate check for fixup within frag.
73 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
74 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
75 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
76 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
77 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
78
92f01d61
JM
792007-02-17 Mark Mitchell <mark@codesourcery.com>
80 Nathan Sidwell <nathan@codesourcery.com>
81 Vladimir Prus <vladimir@codesourcery.com
82 Joseph Myers <joseph@codesourcery.com>
83
84 * configure.in (--with-bugurl): New option.
85 * configure: Regenerate.
86 * dep-in.sed: Remove bin-bugs.h.
87 * Makefile.am (REPORT_BUGS_TO): Define.
88 (INCLUDES): Define REPORT_BUGS_TO.
89 (DEP_INCLUDES): Likewise.
90 ($(OBJS)): No longer depend on bin-bugs.h.
91 * Makefile.in: Regenerate.
92 * doc/Makefile.in: Regenerate.
93 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
94 * as.h: Remove include of bin-bugs.h.
95
b4b24b79
AM
962007-02-17 Alan Modra <amodra@bigpond.net.au>
97
98 * write.c: White space fixes.
99 (fixup_segment): Move symbol_mri_common_p adjustments..
100 (write_relocs): ..and symbol_equated_reloc_p adjustments..
101 (adjust_reloc_syms): ..to here.
102
e7ff5c73
AM
1032007-02-16 Alan Modra <amodra@bigpond.net.au>
104
105 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
106 xmalloc, memset. Don't bother assigning NULL to known zero mem.
107 (subseg_set_rest): Remove unnecessary cast.
108 * write.c: Include libbfd.h. Replace PTR with void * throughout.
109 Remove unnecessary forward declarations and casts.
110 (set_symtab): Delete extern bfd_alloc.
111 (fixup_segment): Move.
112
a8e24a56
NS
1132007-02-15 Nathan Sidwell <nathan@codesourcery.com>
114
115 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
116 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
117 (mcf5475_ctrl, mcf5485_ctrl): New.
118 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
119 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
120 (init_table): Add asid, mmubar, adjust rombar0.
121
4eed87de
AM
1222007-02-14 Alan Modra <amodra@bigpond.net.au>
123
124 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
125 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
126 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
127 code, and test for these insns using a combination of
128 opcode_modifier and operand_types.
129
7bd1c961
PB
1302007-02-07 Paul Brook <paul@codesourcery.com>
131
5c817587 132 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 133
280d71bf 1342007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
135 Richard Sandiford <rsandifo@redhat.com>
136 DJ Delorie <dj@redhat.com>
137 Stan Cox <scox@redhat.com>
138 Jim Blandy <jimb@redhat.com>
139 Nick Clifton <nickc@redhat.com>
140 Jim Wilson <wilson@redhat.com>
141 Frank Ch. Eigler <fche@redhat.com>
142 Graydon Hoare <graydon@redhat.com>
143 Ben Elliston <bje@redhat.com>
144 John Healy <jhealy@redhat.com>
145 Richard Henderson <rth@redhat.com>
146
147 * Makefile.am (CPU_TYPES): Add mep.
148 (TARGET_CPU_CFILES): Add tc-mep.c.
149 (TARGET_CPU_HFILES): Add tc-mep.h.
150 (DEPTC_mep_elf): New variable.
151 (DEPTC_mep_coff): Likewise.
152 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
153 * configure.in: Support mep.
154 * configure.tgt: Likewise.
155 * config/tc-mep.c: New file.
280d71bf
DB
156 * config/obj-elf.c: New file.
157 * config/tc-mep.c: New file.
158 * config/tc-mep.h: New file.
159 * testsuite/gas/mep: New testsuite with content.
160 * Makefile.in: Regenerate.
161 * configure: Regenerate.
162
1632007-02-05 Dave Brolley <brolley@redhat.com>
164
165 * cgen.c (gas_cgen_install_complex_reloc): Removed.
166 (complex_reloc_installation_howto): Removed.
167
1682007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
169 Graydon Hoare <graydon@redhat.com>
170 DJ Delorie <dj@redhat.com>
171 Catherine Moore <clm@redhat.com>
172 Michael Chastain <chastain@redhat.com>
173 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
174
175 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
176 when to use complex relocs. Add signed RELC support.
177 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
178 encode expression symbols as mangled complex relocation symbols (when
179 compiled with -DOBJ_COMPLEX_RELOC).
180 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
181 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
182 encode_addend with new args. Modify to get start, length from
183 ifield whenever it is set. Also change condition on which
184 self-describing relocs are encoded. Add hook into
185 gas_cgen_encode_addend.
186 (queue_fixup_recursively): Add signed RELC support. Change from masked
187 expr to trunc flag. Restore assignment of sub-field value to
188 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 189 queue_fixup_recursively.
4948f0d4 190 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
191 (make_right_shifted_expr): New function.
192 (queue_fixup): Change to recursive function that fragments
193 fixups if operand has a multi-ifield.
194 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
195 symbols, call weak_operand_overflow_check, and fragment call
196 queue_fixup with operand fields.
197 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
198 (weak_operand_overflow_check): New function to try to select
199 insns correctly.
4948f0d4 200 (gas_cgen_encode_addend): New function for relc.
280d71bf 201 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 202 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
203 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
204 cgen_maybe_multi_ifield field to fx_cgen substructure.
205 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
206 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
207
e110eeb7
DD
2082007-02-03 DJ Delorie <dj@delorie.com>
209
210 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
211 byte relocs.
212 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
213 (m32c_cons_fix_new): Prototype.
214
60242db2
BW
2152007-02-02 Bob Wilson <bob.wilson@acm.org>
216
217 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
218 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
219
bbdd25a8
BW
2202007-02-02 Bob Wilson <bob.wilson@acm.org>
221
222 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
223 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
224 (map_suffix_reloc_to_operator): New.
225 (map_operator_to_reloc): New.
226 (expression_maybe_register): Fix incorrect test of return value from
227 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
228 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
229
9c874773
BW
2302007-02-02 Bob Wilson <bob.wilson@acm.org>
231
232 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
233 (tinsn_get_tok): Delete prototype.
234 * config/tc-xtensa.c (tinsn_get_tok): Delete.
235
61376837
BW
2362007-02-02 Bob Wilson <bob.wilson@acm.org>
237
238 * config/xtensa-relax.h (struct build_instr): Delete id field.
239 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
240 and LABEL tokens.
241 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
242 set op_data fields to zero.
243 (parse_id_constant): Delete.
244 (build_transition): Remove code to handle numbered literals and labels.
245
bc447904
BW
2462007-02-02 Bob Wilson <bob.wilson@acm.org>
247
248 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
249 (build_transition_table): Likewise.
250
63a7429b
BW
2512007-02-01 Bob Wilson <bob.wilson@acm.org>
252
253 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
254 fx_tcbit.
255 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
256
20ee54e8
AM
2572007-02-02 Alan Modra <amodra@bigpond.net.au>
258
259 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
260 (struct fix <fx_plt>): Rename to tcbit2.
261 * write.c (fix_new_internal): Adjust.
262 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
263 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
264 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
265 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
266 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
267 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
268 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
269 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
270 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
271 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
272 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
273 Instead, compare fx_r_type.
274 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
275 fx_tcbit in place of fx_plt.
276 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
277 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
278 to fx_plt.
279
bf083c64
NC
2802007-01-30 Nick Clifton <nickc@redhat.com>
281
282 * as.c (main): Mark symbols created via the --defsym command line
283 option as volatile so that they can be overridden later on by a
284 .set directive. This maintains compatibility with the behaviour
285 of earlier versions of the assembler.
286 * doc/as.texinfo (--defsym): Document that the defined symbol's
287 value can be overridden via a .set directive.
288
fc523535 2892007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
290
291 * config/tc-i386.c (swap_imm_operands): Renamed to ...
292 (swap_2_operands): This. Take 2 ints.
293 (md_assemble): Updated.
294 (swap_operands): Call swap_2_operands to swap 2 operands.
295
7bc4c13c
DD
2962007-01-24 DJ Delorie <dj@redhat.com>
297
298 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
299
48903831
NC
3002007-01-22 Nick Clifton <nickc@redhat.com>
301
07302d31 302 PR gas/3871
48903831
NC
303 * tc-score.c: Remove unnecessary uses of _().
304 Make the err_msg[] a file level local array in order to save
305 storage space.
306 Remove unnecessary sprintf()s.
307
14119072
ML
3082007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
309
07302d31 310 PR gas/3871
14119072
ML
311 * config/tc-score.c : Using _() for const string.
312 Do not assign inst.error with a local string pointer.
313 (md_section_align): Pad section.
314
99018f42
L
3152007-01-13 H.J. Lu <hongjiu.lu@intel.com>
316
317 * config/tc-i386.c (build_modrm_byte): Check number of operands
318 when procssing memory/register operand.
319
465e5617
NC
3202007-01-12 Nick Clifton <nickc@redhat.com>
321
322 PR gas/3856
323 * macro.c (expand_irp): Do not ignore spaces inside quoted
324 strings.
325
e8630bd7
AM
3262007-01-12 Alan Modra <amodra@bigpond.net.au>
327
328 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
329 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
330 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
331 (TC_FORCE_RELOCATION): Define.
332 (TC_FORCE_RELOCATION_LOCAL): Define.
333 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
334
1f5409bb
AM
3352007-01-12 Alan Modra <amodra@bigpond.net.au>
336
337 * input-file.c (input_file_open): Check fgets return.
338
dc4503c6
PB
3392007-01-11 Paul Brook <paul@codesourcery.com>
340
341 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
342
04f8d83b
NC
3432007-01-11 Nick Clifton <nickc@redhat.com>
344
493cb6ef
NC
345 PR gas/3707
346 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
347 variable.
348
04f8d83b
NC
349 * config/tc-mcore.c (md_number_to_chars): Use
350 number_to_chars_{big|little}endian.
351
3bdcfdf4
KH
3522007-01-08 Kazu Hirata <kazu@codesourcery.com>
353
354 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
355 architecture by itself.
356 (m68k_ip): Don't issue a warning for tbl instructions on fido.
357 (m68k_elf_final_processing): Treat Fido as an architecture by
358 itself.
359
42037fe5
NC
3602007-01-08 Kai Tietz <kai.tietz@onevision.com>
361
362 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
363
e4a3b5a4
L
3642007-01-05 H.J. Lu <hongjiu.lu@intel.com>
365
366 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
367 depending on allow_naked_reg.
368
a028a6f5
PB
3692007-01-04 Paul Brook <paul@codesourcery.com>
370
371 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
372
2ca3ace5
L
3732007-01-04 H.J. Lu <hongjiu.lu@intel.com>
374
44f9b8ac 375 PR gas/3830
2ca3ace5
L
376 * config/tc-i386.c (register_prefix): New.
377 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 378 prefix isn't needed.
2ca3ace5
L
379 (check_byte_reg): Use register_prefix for error message.
380 (check_long_reg): Likewise.
381 (check_qword_reg): Likewise.
382 (check_word_reg): Likewise.
383
627907b7
JB
3842006-01-04 Julian Brown <julian@codesourcery.com>
385
386 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
387 (do_neon_qshl_imm): Likewise.
388 (do_neon_rshl): New function. Handle rounding variants of
389 v{q}shl-by-register.
390 (insns): Use do_neon_rshl for vrshl, vqrshl.
391
92559b5b
PB
3922007-01-04 Paul Brook <paul@codesourcery.com>
393
394 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
395 and vacle.
396
2ca3ace5
L
3972007-01-03 H.J. Lu <hongjiu.lu@intel.com>
398
399 * config/tc-i386.c (swap_operands): Remove branches.
400
4dc85607
L
4012007-01-03 H.J. Lu <hongjiu.lu@intel.com>
402
403 * config/tc-i386.c: Update copyright year.
404 * config/tc-i386.h: Likewise.
405
1509aa9a
L
4062007-01-03 H.J. Lu <hongjiu.lu@intel.com>
407
408 * config/tc-i386.c (smallest_imm_type): Return unsigned int
409 instead of int.
410
e3bb37b5
L
4112007-01-03 H.J. Lu <hongjiu.lu@intel.com>
412
413 * config/tc-i386.c: Convert to ISO C90 formatting
414 * config/tc-i386.h: Likewise.
415
d821e36b
DD
4162007-01-03 David Daney <ddaney@avtrex.com>
417
418 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
419 documentation.
420
44021fe5 421For older changes see ChangeLog-2006
08d56133
NC
422\f
423Local Variables:
424mode: change-log
425left-margin: 8
426fill-column: 74
427version-control: never
428End:
This page took 0.300795 seconds and 4 git commands to generate.