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