* config/tc-mep.c (md_estimate_size_before_relax): Handle weak
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
85143216
DD
12009-08-11 DJ Delorie <dj@redhat.com>
2
3 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
4 symbols correctly.
5 (md_convert_frag): Likewise.
6 (md_pcrel_from_section): Likewise.
7 (mep_force_relocation): Likewise.
8
d55cb1c5
BS
92009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
10
11 * config/bfin-parse.y (gen_multi_instr_1): New function.
12 (asm): Use it instead of bfin_gen_multi_instr.
13 (error): Add a format string when calling as_bad.
14 * config/bfin-defs.h (insn_regmask): Declare.
15 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
16 macros.
17 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
18 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
19 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
20 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
21 insn_regmask): New functions.
22
6306cd85
BS
23 From Jie Zhang <jie.zhang@analog.com>
24 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
25 (AC_05000074): Define.
26 (ENABLE_AC_05000074): Define.
27 * config/tc-bfin.c (enum bfin_cpu_type): New.
28 (bfin_cpu_t): Typedef.
29 (bfin_cpu_type): Define.
30 (bfin_si_revision): Define.
31 (bfin_anomaly_checks): Define.
32 (struct bfin_cpu): New.
33 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
34 (bfin_isa): New global variable.
35 (OPTION_MCPU): Define.
36 (md_longopts[]): Add -mcpu option.
37 (md_parse_option): Deal with -mcpu option and initialize
38 bfin_anomaly_checks.
39 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
40 -mcpu option.
41 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
42 05000074.
43
baa3eb38
MF
442009-08-11 Mike Frysinger <vapier@gentoo.org>
45
46 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
47 (unary): Likewise.
48
ba7e13e4
NC
492009-08-11 Nick Clifton <nickc@redhat.com>
50
51 PR 10443
52 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
53 operands.
54
0561d57c
JK
552009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
56
57 Fix compilation of i386-*-go32.
58 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
59 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
60 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
61 * config/tc-i386.h <!i386_target_format>: ... here.
62
539d4391
NC
632009-08-10 Daniel Gutson <dgutson@codesourcery.com>
64
65 PR gas/10479
66 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
67
940b5ce0
DJ
682009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
69
70 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
71 variables.
72 (mapping_state): Use the section's mapstate.
73 (mapping_state_2): Likewise. Skip special sections.
74 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
75 (arm_elf_change_section): Do not set deleted globals.
76 * config/tc-arm.h (struct arm_segment_info_type): Document
77 marked_pr_dependency.
78
caa03924
ME
792009-08-07 Michael Eager <eager@eagercon.com>
80
81 * NEWS: Mention MicroBlaze support.
82
7ba29e2a
NC
832009-08-06 Michael Eager <eager@eagercon.com>
84
85 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
86 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
87 DEP_microblaze_elf target.
88 * Makefile.in: Regenerate.
89 * config/tc-microblaze.c: Add MicroBlaze assembler.
90 * config/tc-microblaze.h: Add header for tc-microblaze.c.
91 * configure.in: Add microblaze target.
92 * configure: Regenerate.
93 * configure.tgt: Same.
94 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
95 * doc/Makefile.in: Same.
96 * doc/all.texi: Set MICROBLAZE.
97 * doc/as.texinfo: Add MicroBlaze doc links.
98 * doc/c-microblaze.texi: New MicroBlaze docs.
99
c877a2f2
NC
1002009-08-06 Nick Clifton <nickc@redhat.com>
101
102 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
103 block in case it is a null macro.
104
b12dd2e4
CF
1052009-08-05 Chao-ying Fu <fu@mips.com>
106
107 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
108 true for new abi. For non-IRIX targets, it is always true.
109 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
110
8453da2e
EW
1112009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
112
113 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
114 attiny861a, atmega644pa, attiny24a, attiny44a.
115 * doc/c-avr.texi: Likewise.
116
30f8113a
SL
1172009-08-04 Sandra Loosemore <sandra@codesourcery.com>
118
119 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
120 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
121
f86adc07
NS
1222009-08-04 Nathan Sidwell <nathan@codesourcery.com>
123
124 * config/tc-arm.c (my_get_expression): Detect missing expressions.
125
249da685
EW
1262009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
127
128 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
129 * doc/c-avr.texi: Likewise.
130
11908008
EW
1312009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
132
133 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
134 * doc/c-avr.texi: Likewise.
135
cd000bff
DJ
1362009-07-31 Daniel Gutson <dgutson@codesourcery.com>
137 Daniel Jacobowitz <dan@codesourcery.com>
138
139 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
140 * config/tc-arm.c (make_mapping_symbol): New function, from
141 mapping_state. Save mapping symbols in the frag.
142 (insert_data_mapping_symbol): New.
143 (mapping_state): Use make_mapping_symbol, improve state transitions.
144 (mapping_state_2): New. Provide dummy definition.
145 (opcode_select): Do not call mapping_state.
146 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
147 (output_inst): Update use of tc_frag_data.
148 (new_automatic_it_block): Call mapping_state before emitting the
149 IT instruction.
150 (md_assemble): Move mapping_state to just before outputting the
151 new instruction.
152 (arm_handle_align): Update use of tc_frag_data.
153 Call insert_data_mapping_symbol.
154 (arm_init_frag): Update use of tc_frag_data. Call
155 mapping_state_2.
156 (arm_elf_change_section): Always update the mapping symbol FSM state.
157 (check_mapping_symbols): New function.
158 (arm_adjust_symtab): Use check_mapping_symbols.
159 * config/tc-arm.h (struct arm_frag_type): New.
160 (TC_FRAG_TYPE): Change to struct arm_frag_type.
161 (TC_FRAG_INIT): Pass max_chars.
162 (arm_init_frag): Update prototype.
163
5d8d4872
AG
1642009-07-31 Anthony Green <green@moxielogic.com>
165
166 * configure.tgt (generic_target): Add moxie-uclinux support.
167
f746e6b9
NC
1682009-07-30 Nick Clifton <nickc@redhat.com>
169
cab7e4d9
NC
170 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
171 different syntaxes support by the ARM port.
172 (ARM Directives): Add entry for .syntax.
173
f746e6b9
NC
174 * doc/c-mips.texi (MIPS insn): Fix typo.
175
af65af87
AM
1762009-07-29 Alan Modra <amodra@bigpond.net.au>
177
178 PR ld/10269
179 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
180 * config/tc-i386.c: Revert 2009-06-13 change.
181 * config/tc-i386.h: Likewise.
182
1035ad42
JB
1832009-07-28 Jan Beulich <jbeulich@novell.com>
184
185 * expr.c (op_rank): Specify size. Remove O_md* initializers.
186
46203761
MK
1872009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
188
189 * config/tc-m68k.c (mcf5221x_ctrl): New.
190 (m68k_cpu): Add line for MCF5221x.
191
1922009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
b345c8c2
MK
193
194 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
195 (mcf53017_ctrl): Fix RAMBAR.
196
efa19bfd
JB
1972009-07-27 Jan Beulich <jbeulich@novell.com>
198
199 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
200 symbol_new() with the passed in, unmodified one.
201
7859b21d
SR
2022009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
203
204 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
205 object file without symbol values.
206 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
207 then set the relocation type as NULL.
208
8a9036a4
L
2092009-07-25 H.J. Lu <hongjiu.lu@intel.com>
210
211 * config/tc-i386.c (cpu_arch): Add l1om.
212 (check_cpu_arch_compatible): New.
213 (set_cpu_arch): Use it.
214 (i386_arch): New.
215 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
216 (md_show_usage): Display l1om.
217 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
218 cpu_arch_isa_flags.bitfield.cpul1om is set.
219
220 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
221 (i386_arch): New.
222 (ELF_TARGET_L1OM_FORMAT): Likewise.
223
224 * doc/c-i386.texi: Document l1om.
225
01fb1836 2262009-07-24 Roland McGrath <roland@redhat.com>
8e884a26 227 Mark Wielaard <mjw@redhat.com>
01fb1836
RM
228
229 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
230 flags on .comment section.
231
8fdcc58d
TS
2322009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
233 Alan Modra <amodra@bigpond.net.au>
234
235 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
236 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
237 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
238
309d3373
JB
2392009-07-24 Jan Beulich <jbeulich@novell.com>
240
241 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
242 .nosse, and .noavx.
243 (cpu_flags_and_not): New.
244 (set_cpu_arch): Check whether sub-architecture specified is a
245 feature disable.
246 (md_parse_option): Likewise.
247 (parse_real_register): Don't return floating point register
248 when x87 functionality is disabled.
249 (md_show_usage): Add new sub-options.
250 * doc/c-i386.texi: Update with new command line sub-options.
251
20203fb9
NC
2522009-07-24 Nick Clifton <nickc@redhat.com>
253
254 PR 10437
255 * config/tc-alpha.c: Fix up uses of gas printf like functions so
256 that the format string is a constant string. Add translation
257 support to message strings.
258 * config/tc-arc.c: Likewise.
259 * config/tc-arm.c: Likewise.
260 * config/tc-cris.c: Likewise.
261 * config/tc-fr30.c: Likewise.
262 * config/tc-frv.c: Likewise.
263 * config/tc-h8300.c: Likewise.
264 * config/tc-hppa.c: Likewise.
265 * config/tc-i370.c: Likewise.
266 * config/tc-i960.c: Likewise.
267 * config/tc-ia64.c: Likewise.
268 * config/tc-m32r.c: Likewise.
269 * config/tc-mep.c: Likewise.
270 * config/tc-mips.c: Likewise.
271 * config/tc-moxie.c: Likewise.
272 * config/tc-msp430.c: Likewise.
273 * config/tc-openrisc.c: Likewise.
274 * config/tc-pdp11.c: Likewise.
275 * config/tc-pj.c: Likewise.
276 * config/tc-s390.c: Likewise.
277 * config/tc-sh.c: Likewise.
278 * config/tc-sh64.c: Likewise.
279 * config/tc-sparc.c: Likewise.
280 * config/tc-spu.c: Likewise.
281 * config/tc-tic30.c: Likewise.
282 * config/tc-tic4x.c: Likewise.
283 * config/tc-tic54x.c: Likewise.
284 * config/tc-v850.c: Likewise.
285 * config/tc-xc16x.c: Likewise.
286 * config/tc-xstormy16.c: Likewise.
287 * config/tc-z80.c: Likewise.
288 * config/tc-z8k.c: Likewise.
289 * config/atof-ieee.c: Add translation support to as_warn
290 messages.
291 * config/obj-coff.c: Likewise.
292
3e7a7d11
NC
2932009-07-23 Ulrich Drepper <drepper@redhat.com>
294
295 * config/obj-elf.c (obj_elf_type): Add code to support a type of
296 gnu_unique_object.
297 * doc/as.texinfo: Document new feature of .type directive.
298 * NEWS: Mention support for gnu_unique_object symbol type.
299
a946d7e3
NC
3002009-07-23 Nick Clifton <nickc@redhat.com>
301
302 PR binutils/10379
303 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
304 the .global directive for MIPS ports.
305
711eedef
L
3062009-07-21 H.J. Lu <hongjiu.lu@intel.com>
307
308 PR gas/10420
309 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
310 64bit.
311 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
312 for 64bit.
313
bc0844ae
L
3142009-07-17 H.J. Lu <hongjiu.lu@intel.com>
315
316 * config/tc-i386.c (md_assemble): Update operand types.
317 (update_imm): Updated.
318 (finalize_imm): Update the first 2 immediate operands only
319 for instructions with 2 operands or more.
320
9afe6eb8
L
3212009-07-17 H.J. Lu <hongjiu.lu@intel.com>
322
323 * config/tc-i386.c (md_assemble): Check implicit registers
324 only for instructions with 3 operands or less.
325
a61a9fbc
NC
3262009-07-17 Nick Clifton <nickc@redhat.com>
327
328 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
329 compile time warning.
330
915bcca5
L
3312009-07-16 H.J. Lu <hongjiu.lu@intel.com>
332
333 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
334 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
335
9a6f4e97
NS
3362009-07-16 Nathan Sidwell <nathan@codesourcery.com>
337
338 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
339 the offset for REL targets here.
340
3726e6c5
L
3412009-07-15 Kai Tietz <kai.tietz@onevision.com>
342
343 * listing.c (print_source): Initialize cache by NULL.
344
52970753
NC
3452009-07-15 Daniel Gutson <dgutson@codesourcery.com>
346
347 * doc/c-arm.texi (mauto-it): Removed old option.
348 (mimplicit-it): Added right option.
349
140033b3
NC
3502009-07-14 Daniel Gutson <dgutson@codesourcery.com>
351
352 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
353 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
354 MAX_MEM_ALIGNMENT_BYTES.
355 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
356 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
357
63b33ceb
NC
3582009-07-14 Nick Clifton <nickc@redhat.com>
359
360 PR 10387
361 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
362 (ARM_IS_FUNC): Likewise.
363
752d5da4
NC
3642009-07-14 Daniel Gutson <dgutson@codesourcery.com>
365
366 * config/tc-arm.c (md_assemble): Added validation.
367
8455dd2c
L
3682009-07-10 H.J. Lu <hongjiu.lu@intel.com>
369
370 * Makefile.am: Run "make dep-am".
371 * Makefile.in: Regenerated.
372
fa8f86ff
TT
3732009-07-10 Tom Tromey <tromey@redhat.com>
374
375 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
376 elf/dwarf2.h.
377 (DEPTC_alpha_elf): Likewise.
378 (DEPTC_alpha_evax): Likewise.
379 (DEPTC_arm_elf): Likewise.
380 (DEPTC_hppa_elf): Likewise.
381 (DEPTC_i386_aout): Likewise.
382 (DEPTC_i386_coff): Likewise.
383 (DEPTC_i386_elf): Likewise.
384 (DEPTC_m68k_aout): Likewise.
385 (DEPTC_m68k_coff): Likewise.
386 (DEPTC_m68k_elf): Likewise.
387 (DEPTC_mips_coff): Likewise.
388 (DEPTC_mips_ecoff): Likewise.
389 (DEPTC_mips_elf): Likewise.
390 (DEPTC_ppc_coff): Likewise.
391 (DEPTC_ppc_elf): Likewise.
392 (DEPTC_s390_elf): Likewise.
393 (DEPTC_sh_coff): Likewise.
394 (DEPTC_sh_elf): Likewise.
395 (DEPTC_sh64_elf): Likewise.
396 (DEPTC_sparc_aout): Likewise.
397 (DEPTC_sparc_coff): Likewise.
398 (DEPTC_sparc_elf): Likewise.
399 (as.o): Likewise.
400 (dwarf2dbg.o): Likewise.
401 (dw2gencfi.o): Likewise.
402 (ehopt.o): Likewise.
403 (read.o): Likewise.
404 * Makefile.in: Rebuild.
405 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
406 * dwarf2dbg.c: Likewise.
407 * ehopt.c: Likewise.
408
c921be7d
NC
4092009-07-09 Daniel Gutson <dgutson@codesourcery.com>
410
411 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
412 (set_it_insn_type_nonvoid): New macro.
413 (emit_thumb32_expr): New function.
414 (thumb_insn_size): New function.
415 (emit_insn): New function.
416 (s_arm_elf_inst): New function.
417 (md_pseudo_table): New pseudo-opcode entries added.
418 * doc/c-arm.texi: New directive added.
419
7ec721f4
DD
4202009-07-07 DJ Delorie <dj@redhat.com>
421
422 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
423 when enabling other options without a specific configuration.
424
1103f72c
NC
4252009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
426
427 * config/tc-arm.c (insns): Fix encoding for torvsc.
428
922d8de8
DR
4292009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
430
431 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
432 (build_modrm_byte): Add support to handle FMA4 instructions.
433 (md_show_usage): Add fma4.
01fb1836 434
c1a6351f
AM
4352009-07-04 Alan Modra <amodra@bigpond.net.au>
436
437 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
438
e57f8c65
TG
4392009-07-02 Tristan Gingold <gingold@adacore.com>
440
441 * Makefile.am (OBJ_FORMATS): Add macho.
442 (CPU_OBJ_VALID): Ditto.
443 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
444 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
445 (obj-macho.o): New rule.
446 * Makefile.in: Regenerated.
447 * configure.tgt (generic_target): Add i386-*-darwin*.
448 * config/tc-i386.h: Use i386_target_format for Mach-O.
449 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
450 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
451 * config/obj-macho.h: New file.
452 * config/obj-macho.c: New file.
01fb1836 453
1ef52f49
NC
4542009-07-01 Nick Clifton <nickc@redhat.com>
455
456 PR 10168
457 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
458 PKHBT.
459
921e5f0a
PB
4602009-07-01 Paul Brook <paul@codesourcery.com>
461
462 * config/tc-arm.c (MISSING_FNSTART): Define.
463 (s_arm_unwind_fnstart): Diagnose duplicate directive.
464 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
465 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
466 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
467 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
468 not inside function unwinding region.
469
7ab9ffdd
L
4702009-06-29 H.J. Lu <hongjiu.lu@intel.com>
471
472 * config/tc-i386.c: Reformat.
473
3ef23cd4
DD
4742009-06-23 DJ Delorie <dj@redhat.com>
475
476 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
477 32 bits for relaxable branches so that we can relax them later.
478 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
479 (mep_relax_frag): New.
480 (md_convert_frag): Relax IVC2 branches in-place.
481 * config/tc-mep.h ((mep_relax_frag): New.
482
9c2799c2 4832009-06-22 Martin Thuresson <martin@mtme.org>
01fb1836 484
9c2799c2
NC
485 * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
486 gas/config/atof-ieee.c, gas/config/obj-aout.c,
487 gas/config/obj-coff.c, gas/config/obj-ecoff.c,
488 gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
489 gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
490 gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
491 gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
492 gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
493 gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
494 gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
495 gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
496 gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
497 gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
498 gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
499 gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
500 gas/config/tc-s390.c, gas/config/tc-score.c,
501 gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
502 gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
503 gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
504 gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
505 gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
506 gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
507 gas macro `assert' to `gas_assert'.
508
e07e6e58
NC
5092009-06-22 Daniel Gutson <dgutson@codesourcery.com>
510
511 * config/tc-arm.c (implicit_it_mode): New enum.
512 (implicit_it_mode): New global.
513 (it_instruction_type): New enum.
514 (arm_parse_it_mode): New function.
515 (arm_long_opts): New option added.
516 (arm_it): New field.
517 (it_state): New enum.
518 (now_it): New macro.
519 (check_it_blocks_finished): New function.
520 (insns[]): Use the IT Thumb opcodes for ARM too.
521 (arm_cleanup): Call check_it_blocks_finished.
522 (now_it_compatible): New function.
523 (conditional_insn): New function.
524 (set_it_insn_type): New macro.
525 (set_it_insn_type_last): New macro.
526 (do_it): Call automatic IT machinery functions.
527 (do_t_add_sub): Likewise
528 (do_t_arit3): Likewise.
529 (do_t_arit3c): Likewise.
530 (do_t_blx): Likewise.
531 (do_t_branch): Likewise.
532 (do_t_bkpt): Likewise.
533 (do_t_branch23): Likewise.
534 (do_t_bx): Likewise.
535 (do_t_bxj): Likewise.
536 (do_t_cps): Likewise.
537 (do_t_cpsi): Likewise.
538 (do_t_cbz): Likewise.
539 (do_t_it): Likewise.
540 (encode_thumb2_ldmstm): Likewise.
541 (do_t_ldst): Likewise.
542 (do_t_mov_cmp): Likewise.
543 (do_t_mvn_tst): Likewise.
544 (do_t_mul): Likewise.
545 (do_t_neg): Likewise.
546 (do_t_setend): Likewise.
547 (do_t_shift): Likewise.
548 (do_t_tb): Likewise.
549 (output_it_inst): New function.
550 (new_automatic_it_block): New function.
551 (close_automatic_it_block): New function.
552 (now_it_add_mask): New function.
553 (it_fsm_pre_encode): New function.
554 (handle_it_state): New function.
555 (it_fsm_post_encode): New function.
556 (force_automatic_it_block_close): New function.
557 (in_it_block): New function.
558 (md_assemble): Call automatic IT block machinery functions.
559 (arm_frob_label): Likewise.
560 (arm_opts): New element.
561 * config/tc-arm.h (it_state): New enum.
562 (current_it): New struct.
563 (arm_segment_info_type): New member added.
564 * doc/c-arm.texi: New option -mimplicit-it documented.
565
90dce00a
AM
5662009-06-20 Alan Modra <amodra@bigpond.net.au>
567
568 PR 10302
569 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
570
5e7c27a6
MS
5712009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
572
573 * config/tc-s390.c (md_gather_operands): Accept an instruction
574 without operands if all operands are tagged as optional.
575
3a21c15a
NC
5762009-06-18 Nick Clifton <nickc@redhat.com>
577
578 PR 10169
579 * gas/tc-arm.c (do_t_ssat): Move common code from here...
580 (do_t_usat): ... and here to...
581 (do_t_ssat_usat): New function: ... here. Add code to check that
582 the shift value, if present, is in range.
583
361dff73
DK
5842009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
585
32425da9
NC
586 Merge cegcc and mingw32ce target name changes
587 from CeGCC project:
361dff73 588
32425da9 589 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
590
591 * configure.tgt: Add arm*-*-cegcc* target.
592
32425da9 593 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
594
595 * configure.tgt: Add arm-*-mingw32ce* target.
596
7b6021f1
MR
5972009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
598
599 * config/tc-vax.c (md_estimate_size_before_relax): Accept
600 indirect symbol references in the PIC mode and emit a
601 PC-relative relocation instead of a GOT/PLT one. Likewise
602 for symbols known to be hidden at this point.
603
fe2ceba1
NC
6042009-06-15 Nick Clifton <nickc@redhat.com>
605
606 PR 10186
607 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
608 instruction.
609
c25bc9fc
L
6102009-06-13 H.J. Lu <hongjiu.lu@intel.com>
611
612 PR ld/10269
613 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
614 instead of generic_force_reloc.
615
616 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
617
f865a31d
AG
6182009-06-11 Anthony Green <green@moxielogic.com>
619
620 * config/tc-moxie.c (md_chars_to_number): Define.
621 (md_begin): Populate opcode hashtable with more form 3 opcodes.
622 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
623 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
624 (tc_gen_reloc): Ditto.
625 (md_pcrel_from): Ditto.
626 (md_chars_to_number): New function.
627
d7a5ed35
AG
6282009-06-10 Anthony Green <green@moxielogic.com>
629
630 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
631 opcodes.
632
1fbfe785
JJ
6332009-06-09 Jakub Jelinek <jakub@redhat.com>
634
635 PR gas/10255
636 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
637 to DW_CFA_advance_loc4.
638
fbeb56a4
DK
6392009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
640
641 PR gas/977
642 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
643 branches to weak symbols.
644 (md_apply_fix): Don't convert fixes against weak symbols to
645 section-relative offsets, but save addend for later reloc emission.
646 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
647 addend to pre-compensate for bfd_install_relocation.
648
26d1917c
AM
6492009-06-04 Alan Modra <amodra@bigpond.net.au>
650
651 * dep-in.sed: Don't use \n in replacement part of s command.
652 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
653 * Makefile.in: Regenerate.
654
d160e035
L
6552009-06-01 H.J. Lu <hongjiu.lu@intel.com>
656
657 PR gas/10198
658 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
659
ff239038
CM
6602009-05-26 Catherine Moore <clm@codesourcery.com>
661
662 * config/tc-mips.c (check_for_24k_errata): Remove.
663 (md_mips_end): Remove call to check_for_24k_errata.
664 (start_noreorder): Likewise.
665 (s_change_sec): Likewise.
666 (s_change_section): Likewise.
667 (insns_between): Add 24k errata checks.
668 (append_insn): Remove declaration and references to nhdx_24k.
669 Remove calls to check_for_24k_errata.
01fb1836 670
f12e7348
NC
6712009-05-26 Nick Clifton <nickc@redhat.com>
672
673 * po/id.po: Updated Indonesian translation.
674 * po/gas.pot: Updated template file.
675
f8f003f1
NC
6762009-05-26 Nick Clifton <nickc@redhat.com>
677
678 PR 10143
679 * config/bfin-parse.y (error): Use "%s" as format string for error
680 message.
681
5de4cd13
AM
6822009-05-26 Alan Modra <amodra@bigpond.net.au>
683
684 * dep-in.sed: Output one filename per line with all lines having
685 continuation backslash. Prefix first line with "A", following
686 lines with "B".
687 * Makefile.am (DEP): Don't use dep.sed here.
688 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
689 sort and uniq.
690 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
691 Emit multi dependencies on one line.
692 * Makefile.in: Regenerate.
693
295fa3cf 6942009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
695
696 * makefile.vms: New file to compile gas on VMS.
697
698 * configure.com: New file to do configuration on VMS with DCL.
699
65b02341
RS
7002009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
701
702 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
703 (nops_for_insn): Likewise.
704
ad04f5ce
L
7052009-05-22 H.J. Lu <hongjiu.lu@intel.com>
706
707 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
708
c1e679ec
DR
7092009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
710
711 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
712 (build_modrm_byte): Remove DREX handling support.
713 (DREX_*): Delete.
714 (drex_byte): Delete.
715 (md_assemble): Remove DREX handling support.
716 (process_operands): Remove DREX, SSE5 support.
717 (i386_insn): Remove DREX.
01fb1836 718
2b3decb5
AM
7192009-05-22 Alan Modra <amodra@bigpond.net.au>
720
721 * Makefile.am: Run "make dep-am".
722 * Makefile.in: Regenerate.
723
321098a5
L
7242009-05-20 Kai Tietz <kai.tietz@onevision.com>
725 H.J. Lu <hongjiu.lu@intel.com>
726
727 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
728 (TARGET_FORMAT): Removed for x86 pe-coff.
729 (COFF_TARGET_FORMAT): Likewise.
730
731 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
732 (md_parse_option): Likewise.
733 (md_show_usage): Show option --32/--64 for x86 pe-coff.
734 (i386_target_format): Use also for x86 pe-coff.
735
736 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
737 for x86 pe-coff.
738
b899d332
DD
7392009-05-19 DJ Delorie <dj@redhat.com>
740
741 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
742 (mep_process_saved_insns): Remove debugging printfs.
743
c1711530
DK
7442009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
745
746 * NEWS: Mention new feature.
747 * config/obj-coff.c (obj_coff_common_parse): New function.
748 (obj_coff_comm): Likewise.
749 (coff_pseudo_table): Override default ".comm" definition on PE.
750 * doc/as.texinfo: Document new feature.
751
63ad59ae
KT
7522009-05-17 Kai Tietz <kai.tietz@onevision.com>
753
321098a5
L
754 * config/obj-coff.c (obj_coff_section): Add 'y' as
755 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
756 * doc/as.texinfo: Add documentation about .section flag 'y'.
757
77ca1325
DD
7582009-05-13 DJ Delorie <dj@redhat.com>
759
760 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
761
42a68e18
AJ
7622009-05-13 Andrew Jenner <andrew@codesourcery.com>
763
764 * config/tc-arm.c: Move as.h to start of file.
765
267bf995
RR
7662009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
767
84df6011 768 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
769 (ARM_IS_FUNC): New macro.
770 (MD_APPLY_SYM_VALUE): Define.
771
84df6011 772 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
773 all versions of EABI.
774 (relax_branch): Do not relax for branches to ARM functions.
775 (md_pcrel_from_section): Set up base correctly for
776 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
777 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
778 BFD_RELOC_ARM_PCREL_CALL.
779 (md_apply_fix): Flip bl to blx where possible.
780 Flip blx to bl where possible.
781 (arm_force_relocation): Force relocations for
782 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
783 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
784 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
785 BFD_RELOC_THUMB_PCREL_BRANCH25.
786 (arm_apply_sym_value): New function.
01fb1836 787
eb979bfb
TG
7882009-05-04 Tristan Gingold <gingold@adacore.com>
789
790 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
791
45eb4c1b
NS
7922009-05-01 Nathan Sidwell <nathan@codesourcery.com>
793
794 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
795 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
796 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
797 the default FPU from the processor.
798
00adf2d4
JB
7992009-05-01 Julian Brown <julian@codesourcery.com>
800
801 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
802 (md_pcrel_from_section): Align address for BLX.
803 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
804 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
805
3526b680
DD
8062009-04-29 DJ Delorie <dj@redhat.com>
807
808 * config/tc-mep.c (md_begin): Check coprocessor type.
809 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
810 (md_check_parallel32_scheduling): Likewise.
811 (slot_ok): New.
812 (mep_check_ivc2_scheduling): New.
813 (mep_check_parallel_scheduling): Call it.
814 (mep_process_saved_insns): Add IVC2 slot support.
815 (md_assemble): Likewise.
816
d8045f23
NC
8172009-04-30 Nick Clifton <nickc@redhat.com>
818
819 * config/obj-elf.c (obj_elf_type): Add support for a
820 gnu_indirect_function type.
821 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
822 against indirect function symbols.
823 * doc/as.texinfo (.type): Document the support for the
824 gnu_indirect_function symbol type.
825 * NEWS: Mention the new feature.
826
92846e72
CC
8272009-04-24 Cary Coutant <ccoutant@google.com>
828
829 * NEWS: Add item about discriminator support.
830 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
831 * dwarf2dbg.c (current): Add discriminator field.
832 (dwarf2_where): Copy discriminator value.
833 (dwarf2_consume_line_info): Set discriminator to 0.
834 (dwarf2_directive_loc): Process discriminator sub-op.
835 (out_leb128): New function.
836 (process_entries): Output DW_LNE_set_discriminator.
837 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 838
520725ea
NS
8392009-04-22 Nathan Sidwell <nathan@codesourcery.com>
840
841 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
842 as_bad calls to silence compiler warning.
843
7ac3eb25
L
8442009-04-21 H.J. Lu <hongjiu.lu@intel.com>
845
846 * config/tc-i386-intel.c (O_XXX): Reorder.
847
ee86248c
JB
8482009-04-20 Jan Beulich <jbeulich@novell.com>
849
850 * Makefile.am: Add explicit dependency of tc-i386.o on
851 tc-i386-intel.c.
852 * Makefile.in: Likewise.
853 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
854 out from i386_immediate.
855 (i386_immediate): Slightly re-arrange, call
856 i386_finalize_immediate.
857 (i386_finalize_displacement): Declare, broken out from
858 i386_displacement.
859 (i386_displacement): Slightly re-arrange, call
860 i386_finalize_displacement.
861 (i386_intel_simplify, i386_intel_parse_name): Declare.
862 (this_operand): Initialize to -1.
863 (set_intel_syntax): Set expression rank for O_full_ptr.
864 (md_assemble): Set this_operand back to -1 after parsing
865 operands.
866 (x86_cons): Negate intel_syntax to indicate state. Call
867 i386_intel_simplify.
868 (md_operand): Convert if to switch. Handle '[' for Intel
869 syntax.
870 (i386_intel_operand): Delete, including all helper functions
871 and data.
872 * config/tc-i386-intel.c: New file, all new code.
873 * config/tc-i386.h (i386_operator): Declare.
874 (md_operator): Define to i386_operator.
875 (i386_need_index_operator): Declare.
876 (md_need_index_operator): Define to i386_need_index_operator.
877 (O_full_ptr): Define.
878
fcaed75e
JB
8792009-04-20 Jan Beulich <jbeulich@novell.com>
880
881 * expr.c (operand): Call md_need_index_operator() and
882 md_operator() if defined. Add unary label.
883 (operator): Call md_operator() if defined.
884 (expr): Adjust assertions on range and rank of op_left and
885 op_right. Don't abort on unhandled operators when reducing
886 expressions with both operands being constant.
887 (expr_set_rank): New.
888 * expr.h (expr_set_rank): Declare.
889
51a5d0aa 8902009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
891
892 * config/tc-moxie.h: New file.
893 * config/tc-moxie.c: New file.
894 * configure: Add support for moxie.
895 * configure.tgt: Add support for moxie.
896
d85733c8
JB
8972009-04-16 Jan Beulich <jbeulich@novell.com>
898
899 * expr.c: Include limits.h if available, and #define CHAR_BITS
900 otherwise.
901 (expr): Check range of shift count when evaluating a constant
902 expression.
903
d8a1b51e
JB
9042009-04-15 Jan Beulich <jbeulich@novell.com>
905
906 * config/tc-i386.c (process_operands): Print operands in
907 correct order depending on intel_syntax.
908
6a32d874
CM
9092009-04-09 Catherine Moore <clm@codesourcery.com>
910
911 * config/tc-mips.c (mips_fix_24k): Declare.
912 (check_for_24k_errata): New.
913 (mips_cleanup): Call check_for_24k_errata.
914 (start_noreorder): Likewise.
915 (md_mips_end): Likewise.
916 (s_change_sec): Likewise.
917 (s_change_section): Likewise.
918 (append_insn): Call check_for_24k_errata. Prevent
919 ERET/DERET instructions from being moved into delay
920 slots.
921 (OPTION_FIX_24K): New.
922 (OPTION_NO_FIX_24k) New.
923 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
924 (md_parse_option): Handle fix-24k options.
925 (md_show_usage): Display fix-24k options.
926 * doc/c-mips.texi: Document.
6a32d874 927
6b6b3450
AN
9282009-04-09 Adam Nemet <anemet@caviumnetworks.com>
929
930 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
931 instead of HAVE_64BIT_SYMBOLS.
932
4d28413b
DD
9332009-04-07 DJ Delorie <dj@redhat.com>
934
935 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
936 (md_show_usage): Change default endian to little.
937 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
938
bcb012d3
DD
9392009-04-06 DJ Delorie <dj@redhat.com>
940
941 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
942 immediates.
943 (build_bytes): Pass insn to do_a_fix_imm.
944
5b19eaba
NC
9452009-04-02 Daniel Gutson <dgutson@codesourcery.com>
946
947 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
948 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
949 Cortex-M1.
950
745435b6
MT
9512009-04-01 Matt Thomas <matt@netbsd.org>
952
953 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
954 (md_assemble): emit symbol name when used as immediate in PIC mode.
955 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
956
1ec520b7
SA
9572009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
958
959 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
960
4343666d
RR
9612009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
962
963 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
964 (find_real_start): Likewise.
965 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
966
e7495e45
NS
9672009-04-01 Nathan Sidwell <nathan@codesourcery.com>
968
969 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
970 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
971 whenever possible.
972
42240548
PB
9732009-03-31 Peter Bergner <bergner@vnet.ibm.com>
974
975 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
976
adfd7328
DK
9772009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
978
979 * doc/internals.texi: Fix trivial syntax errors.
980
0cc9e1d3
AM
9812009-03-26 Alan Modra <amodra@bigpond.net.au>
982
983 PR 10005
984 * config/tc-i386.c (reloc): Don't abort on lack of required
985 reloc type.
986
41aacd83
L
9872009-03-25 H.J. Lu <hongjiu.lu@intel.com>
988
989 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
990 arch.
991
d67ffd56
L
9922009-03-23 H.J. Lu <hongjiu.lu@intel.com>
993
994 PR gas/9966
995 * listing.c (listing_newline): Properly handle `\\"' and ';'.
996
997 * read.c (is_end_of_line): Update comments for line separator.
998 (read_begin): Set line separator in is_end_of_line to 2.
999
b7cac25f
DM
10002009-03-19 David S. Miller <davem@davemloft.net>
1001
1002 * config/tc-sparc.c (md_parse_option): If the user gives
1003 us '--64' make sure max_architecture is at least V9.
1004
42e5fcbf
AS
10052009-03-18 Andrew Stubbs <ams@codesourcery.com>
1006
1007 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1008 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1009 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1010
8d25cc3d
AM
10112009-03-18 Alan Modra <amodra@bigpond.net.au>
1012
1013 * as.h: Include alloca-conf.h instead of config.h and remove
1014 existing #if's handling alloca.
1015 * Makefile.am: Run "make dep-am".
1016 * Makefile.in: Regenerate.
1017
8602d4fe
RS
10182009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1019
1020 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1021 C_AIX_WEAKEXT too.
1022
9f0eb232
RS
10232009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1024
1025 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1026 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1027 where necessary.
1028
e5231592
RS
10292009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1030
1031 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1032 * configure.in: Likewise.
1033 * configure: Regenerate.
1034
a07dbd48
HPN
10352009-03-11 Hans-Peter Nilsson <hp@axis.com>
1036
1037 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1038 Rename, changing all callers, to...
1039 (md_create_short_jump): Adjust head comment. Assert
1040 word-sized-branch distance for v32. Bail out calling as_fatal for
1041 compatibility mode here.
1042 (md_create_long_jump): ...not here.
1043 * config/tc-cris.h (md_create_short_jump): Do not define.
1044
187af7df
HPN
10452009-03-10 Hans-Peter Nilsson <hp@axis.com>
1046
1047 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1048 the jump table for multiple overflowing entries with the same
1049 target, handle base symbols being different.
1050 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1051 single entry overflows, arrange to redirect all entries with the
1052 same target.
1053
69fe9ce5
AM
10542009-03-10 Alan Modra <amodra@bigpond.net.au>
1055
1056 * config/tc-ppc.c (parse_cpu): Delete.
1057 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1058
f378cd83
L
10592009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1060
1061 PR gas/9915
1062 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1063 (LOCAL_LABELS_FB): Undefine befoe define.
1064
d11fd249
NC
10652009-03-06 Nick Clifton <nickc@redhat.com>
1066
1067 * po/es.po: Updated Spanish translation.
1068
cc3f603a
JM
10692009-03-05 Joseph Myers <joseph@codesourcery.com>
1070
1071 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1072 s_incbin): Call md_cons_align (1).
1073
d9319cec
NC
10742009-03-04 Nick Clifton <nickc@redhat.com>
1075
1076 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1077 based targets.
1078 (s_alpha_comm): Only define "temp" and "log_align" local variables
1079 for EVAX targets.
1080
727fc41e
AM
10812009-03-04 Alan Modra <amodra@bigpond.net.au>
1082
1083 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1084 have non-zero addend.
1085 (md_assemble): Parse args of __tls_get_addr calls.
1086 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1087
1c5c6c13
DA
10882009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1089
1090 binutils/3807
1091 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1092 local scope for ELF targets.
1093
ed84b57b
AM
10942009-03-04 Alan Modra <amodra@bigpond.net.au>
1095
1096 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1097
198f1251
TG
10982009-03-03 Tristan Gingold <gingold@adacore.com>
1099 Eric Botcazou <ebotcazou@adacore.com>
1100 Douglas B Rupp <rupp@gnat.com>
1101
1102 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1103 for Alpha.
1104 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1105 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1106 (OBJ_SYMFIELD_TYPE): Remove.
1107 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1108 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1109 (tc_frob_file_before_fix): Do not defined on evax.
1110 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1111 Include vms.h if OBJ_EVAX.
1112 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1113 (enum alpha_macro_arg): Remove trailing comma.
1114 (md_longopts): Add replace and noreplace arguments (evax only).
1115 (alpha_evax_proc_hash): New variable.
1116 (alpha_link_section): Make it global.
1117 (alpha_ctors_section, alpha_dtors_section): Removed.
1118 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1119 (alpha_lit8_section): Ifndef'ed on evax.
1120 (alpha_lit8_symbol): Ditto.
1121 (alpha_prologue_label): New variable.
1122 (alpha_linkage_symbol): New variable (evax only).
1123 (alpha_flag_replace): Ditto.
1124 (struct alpha_evax_procs): Add handler and handler_data field.
1125 (alpha_evax_proc): Now of type pointer.
1126 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1127 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1128 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1129 (alpha_adjust_relocs): Ifndef'ed on evax.
1130 (load_expression): Add opname argument.
1131 Implement LDA/BSR optimization for evax.
1132 (emit_lda): Adjust for new prototype of load_expression.
1133 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1134 (emit_loadstore): Likewise.
1135 (emit_ldXu): Likewise.
1136 (emit_stX): Likewise.
1137 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1138 (emit_ldgp): Avoid warning in evax case.
1139 (add_to_link_pool): Make it static. Return symbolic expression rather
1140 than number expression for the offset.
1141 (s_alpha_text): Create .text symbol for evax if not already created.
1142 (s_alpha_comm): Do not create specific section for common symbol.
1143 Fill common area with zeros for evax.
1144 (s_alpha_prologue): Create alpha_prologue_label.
1145 (s_alpha_section_name): New function (evax).
1146 (s_alpha_section_word): Likewise.
1147 (section_name): New static variabke moved out from ...
1148 (s_alpha_section): ... here. Create new sections on demand.
1149 (s_alpha_literals): New function (evax).
1150 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1151 alpha_evax_proc_hash table.
1152 (s_alpha_handler): New function (evax).
1153 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1154 (s_alpha_prologue): New function (evax).
1155 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1156 handling of procedures with hash table.
1157 Add support for condition handlers.
1158 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1159 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1160 (s_alpha_mask): Likewise.
1161 (s_alpha_fmask): Likewise.
1162 (s_alpha_end): Clear alpha_evax_proc.
1163 (s_alpha_align): Increase max_alignment to 16.
1164 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 1165 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
1166 "handler_data" (evax). Do not ignore "prologue" on evax.
1167 Fix indentation.
1168 (md_begin): Create hash table for alpha_evax_proc_hash.
1169 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1170 (md_show_usage): Mention -replace/-noreplace for evax.
1171 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1172 (alpha_force_relocation): Likewise.
1173 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1174 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1175 (emit_insn): New cases for evax specific relocs.
1176 (assemble_insn): Fix indentation.
1177 Take care of -MDISP in operand table.
1178 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1179 (OBJ_SYMFIELD_TYPE): New macro.
1180 (obj_symbol_new_hook): Define.
1181 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1182 (obj_frob_file_before_fix): Ditto.
1183 (PDSC_S_M_HANDLER_VALID): New macro.
1184 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
1185 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
1186 Add prototypes for functions declared in obj-evax.c
1187 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
1188 (s_evax_weak): Convert to ansi-C.
1189 (evax_symbol_new_hook): New function.
1190 (evax_frob_symbol): Ditto.
1191 (evax_frob_file_before_adjust): Ditto.
1192 (evax_frob_file_before_fix): Ditto.
1193 (evax_shorten_name): Ditto.
1194 (crc32): Ditto.
1195 (encode_32): Ditto.
1196 (encode_16): Ditto.
1197 (decode_16): Ditto.
1198 (shorten_identifier): Ditto.
1199 (is_truncated_identifier): Ditto.
1200 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
1201 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
1202 (main): Ditto.
1203
a1f7ca36
AM
12042009-03-03 Alan Modra <amodra@bigpond.net.au>
1205
1206 * Makefile.am: Run "make dep-am".
1207 * Makefile.in: Regenerate.
1208
83cf10fd
NC
12092009-03-02 Nick Clifton <nickc@redhat.com>
1210
1211 PR 9874
1212 * config/tc-ia64.c (fix_insn): Fix warning reported by
1213 -Wformat-security.
1214
c3b7224a
NC
12152009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1216
1217 * config/tc-score7.c: New file.
1218 * doc/c-score.texi: New file.
1219 * Makefile.am: Update dependencies for tc-score.c.
1220 * Makefile.in: Regenerate.
1221 * NEWS: Mention support for Score7 architecture.
1222 * config/tc-score.c: Add support for Score7 architecture.
1223 * config/tc-score.h: Likewise.
1224 * doc/Makefile.am: Add c-score.texi.
1225 * doc/Makefile.in: Regenerate.
1226 * doc/all.texi: Add Score7.
1227 * doc/as.texinfo: Add Score7.
1228
04e2c417
MM
12292009-03-01 Mark Mitchell <mark@codesourcery.com>
1230
1231 * config/tc-arm.c (md_assemble): Allow barrier instructions on
1232 ARMv6-M cores.
1233
58e24671
RW
12342009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1235
1236 * configure: Regenerate.
1237
066be9f7
PB
12382009-02-26 Peter Bergner <bergner@vnet.ibm.com>
1239
1240 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
1241 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
1242 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
1243
784788d2
L
12442009-02-25 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * config/tc-i386.c (fits_in_imm4): Removed.
1247
91c2f09e
DA
12482009-02-24 Helge Deller <deller@gmx.de>
1249
dfaf9df8 1250 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
1251 (SAVE_IMMEDIATE): New define.
1252
94206790
MM
12532009-02-23 Mark Mitchell <mark@codesourcery.com>
1254
1255 * config/tc-arm.c (warn_deprecated_sp): New macro.
1256 (do_t_mov_cmp): Permit R13 as the second
1257 argument to "cmp.n".
1258
0349dc08
L
12592009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1260
1261 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
1262 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
1263
c1b80a2a
L
12642009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1265
1266 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
1267
4c664d7b
L
12682009-02-23 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 * config/tc-i386.c (vex_imm4): Removed.
1271 (VEX_check_operands): Likewise.
1272 (match_template): Updated.
1273
11c19e16
MS
12742009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
1275
1276 * doc/all.texi: Set S390.
1277 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
1278 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
1279 * doc/Makefile.in: Likewise.
1280 * doc/c-s390.texi: New.
1281
87298967
NS
12822009-02-12 Nathan Sidwell <nathan@codesourcery.com>
1283
1284 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
1285 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
1286 (mcf5307_ctrl): Add VBR.
1287 (no_mac): New variable.
1288 (m68k_extensions): Refer to no_mac mask.
1289 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
1290 52252..52259, 53011..53017.
1291 (m68k_ip): Process CPUCR.
1292 (init_table): Add cpucr entry.
1293 (m68k_set_extension): Allow negated mask to refer to a variable.
1294 (md_show_usage): Use '%s' to silence fprintf warning.
1295 * config/m68k-parse.h (CPUCR): New control register.
1296
ee2c9aa9
NS
12972009-02-10 Nathan Sidwell <nathan@codesourcery.com>
1298
1299 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
1300 as_bad calls to silence compiler warning.
1301
8dc2430f
NC
13022009-02-06 Nick Clifton <nickc@redhat.com>
1303
1304 PR 9814
1305 * config/tc-arm.c (MODE_RECORDED): New define.
1306 (output_inst): Record the thumb_mode in the current frag.
1307 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
1308 (arm_init_frag): Only set the tc_frag_data field if it has not
1309 already been set.
1310
ce2f5b3c
L
13112009-02-04 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 AVX Programming Reference (January, 2009)
1314 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
1315 (CPU_FLAGS_AVX_MATCH): Updated.
1316 (CPU_FLAGS_32BIT_MATCH): Likewise.
1317 (cpu_flags_match): Likewise.
1318
52b6b6b9
JM
13192009-02-03 Sandip Matte <sandip@rmicorp.com>
1320
1321 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
1322 M_MSGWAIT and M_MSGWAIT_T.
1323 (mips_cpu_info_table): Add XLR entry.
1324 * doc/c-mips.texi (-march): Document xlr.
1325
e94345ae 13262009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
1327
1328 * config/tc-avr.c (mcu_types): Add ata6289.
1329 * doc/c-avr.texi: Likewise.
1330
31dd3154
JM
13312009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1332
1333 * configure.in: AC_SUBST pdfdir.
1334 * Makefile.am: Add install-pdf, install-pdf-am,
1335 and install-pdf-recursive targets.
1336 * doc/Makefile.am: Define pdf__strip_dir. Add
1337 install-pdf and install-pdf-am targets.
1338 * po/Make-in: Add install-pdf target.
1339 * configure: Regenerate.
1340 * Makefile.in: Regenerate.
1341 * doc/Makefile.in: Regenerate.
1342
cf869cce
NC
13432009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
1344
1345 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
1346 relocations.
1347 * config/m68k-parse.y (yylex): Parse TLS relocations.
1348 * config/tc-m68k.c (m68k_elf_cons): New static function.
1349 (md_pseudo_table): Use it.
1350 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
1351 relocations.
1352 (md_apply_fix): Fix to set thread local flag.
1353 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
1354
bb0a86e1
NC
13552009-02-03 Vince Weaver <vince@csl.cornell.edu>
1356
1357 PR 9779
1358 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
1359 indexed addressing for symbolic expressions.
1360
fdfde340
JM
13612009-01-29 Mark Mitchell <mark@codesourcery.com>
1362
1363 * config/tc-arm.c (BAD_SP): Define.
1364 (s_arm_unwind_fnstart): Use REG_SP.
1365 (s_arm_unwind_setfp): Likewise.
1366 (reject_bad_reg): New macro.
1367 (do_co_reg): Check for bad registers.
1368 (do_co_reg2c): Likewise.
1369 (do_srs): Use REG_SP.
1370 (do_t_add_sub): Check for bad registers.
1371 (do_t_adr): Likewise.
1372 (do_t_arit3): Likewise.
1373 (do_t_arit3c): Likewise.
1374 (do_t_bfc): Likewise.
1375 (do_t_bfi): Likewise.
1376 (do_t_bfx): Likewise.
1377 (do_t_blx): Likewise.
1378 (do_t_bx): Likewise.
1379 (do_t_bxj): Likewise.
1380 (do_t_clz): Likewise.
1381 (do_t_div): Likewise.
1382 (do_t_mla): Likewise.
1383 (do_t_mlal): Likewise.
1384 (do_t_mov_cmp): Likewise.
1385 (do_t_mov16): Likewise.
1386 (do_t_mvn_tst): Likewise.
1387 (do_t_mrs): Likewise.
1388 (do_t_msr): Likewise.
1389 (do_t_mul): Likewise.
1390 (do_t_mull): Likewise.
1391 (do_t_orn): Likewise.
1392 (do_t_pkhbt): Likewise.
1393 (do_t_pld): Likewise.
1394 (do_t_rbit): Likewise.
1395 (do_t_rev): Likewise.
1396 (do_t_rrx): Likewise.
1397 (do_t_rsb): Likewise.
1398 (do_t_shift): Likewise.
1399 (do_t_simd): Likewise.
1400 (do_t_ssat): Likewise.
1401 (do_t_ssat16): Likewise.
1402 (do_t_sxtah): Likewise.
1403 (do_t_sxth): Likewise.
1404 (do_t_tb): Likewise.
1405 (do_t_usat): Likewise.
1406 (do_t_usat16): Likewise.
1407 (nysn_insert_sp): Use REG_SP.
1408
1c444d06
JM
14092009-01-29 Mark Mitchell <mark@codesourcery.com>
1410
1411 * config/tc-arm.c (do_t_orn): New function.
1412 (do_t_rrx): Likewise.
1413 (insns): Add orn and rrx.
1414
4f80ef3e
JM
14152009-01-29 Mark Mitchell <mark@codesourcery.com>
1416
1417 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 1418 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 1419
087b80de
JM
14202009-01-29 Mark Mitchell <mark@codesourcery.com>
1421
1422 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
1423 qdsub in Thumb-2 mode.
1424
17828f45 14252009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 1426 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
1427
1428 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
1429 of MUL when possible.
1430
ec0c103c
NC
14312009-01-29 Nick Clifton <nickc@redhat.com>
1432
1433 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
1434
4a6bc624
NS
14352009-01-29 Nathan Sidwell <nathan@codesourcery.com>
1436 Catherine Moore <clm@codesourcery.com?
1437
1438 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
1439 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
1440 directives.
1441
23fce1e3
NC
14422009-01-27 Nick Clifton <nickc@redhat.com>
1443
1444 * config/tc-mips.c (append_insn): Cope with a complex reloc
1445 sequence containing an unsupported reloc type.
1446 (enum options): Replace computed #define's constants for option
1447 numbers with this enum.
1448 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
1449 environment.
1450 (md_parse_option): Allow -32 in a non-ELF environment.
1451
ee3c0378
AS
14522009-01-26 Andrew Stubbs <ams@codesourcery.com>
1453
1454 * config/tc-arm.c (attributes_set_explicitly): New array.
1455 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
1456 (cpu_arch): Add ARM_ARCH_V5T.
1457 (aeabi_set_attribute_int): New function.
1458 (aeabi_set_attribute_string): New function.
1459 (aeabi_set_public_attributes): Set attributes according to the user's
1460 intentions, rather than the actual state of the binary.
1461 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
1462 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
1463 Support WMMXv2. Use attribute names instead of numbers.
1464 * read.c (s_vendor_attribute): Change return type to int.
1465 Return the tag number that was set.
1466 * read.h (s_vendor_attribute): Change return type to int.
1467
17f4880d
EW
14682009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
1469
1470 PR 9789
1471 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
1472 * doc/c-avr.texi: Likewise.
1473
278df34e
NS
14742009-01-23 Nathan Sidwell <nathan@codesourcery.com>
1475
1476 * doc/c-arm.texi (): Document -mwarn-deprecated.
1477 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
1478 (warn_on_deprecated): ... this.
1479 (opcode_lookup, md_assemble): Check it before warning.
1480 (arm_opts): Add m[no-]warn-deprecated.
1481 (md_parse_option): Replace WARN_DEPRECATED with
1482 warn_on_deprecated.
1483
199114c2
AS
14842009-01-23 Andreas Schwab <schwab@suse.de>
1485
750bdd57
AS
1486 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
1487 arguments to macro_build to match format.
1488
199114c2
AS
1489 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
1490 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
1491
d3bf77be
NC
14922009-01-19 Nick Clifton <nickc@redhat.com>
1493
1494 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
1495 ELF format ARM targets.
1496 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
1497
14982009-01-19 Nick Clifton <nickc@redhat.com>
1499
1500 * configure.tgt: Restore alpha sorting to object format switch
1501 statement.
1502
2d0bb761
AS
15032009-01-19 Andrew Stubbs <ams@codesourcery.com>
1504
1505 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
1506
3493e7b0
JM
15072009-01-16 Mark Shinwell <shinwell@codesourcery.com>
1508
1509 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
1510 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
1511
e04befd0
AS
15122009-01-16 Andrew Stubbs <ams@codesourcery.com>
1513 Daniel Jacobowitz <dan@codesourcery.com>
1514
1515 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
1516 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
1517 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
1518 * read.c (s_vendor_attribute): Add support for symbolic tag names.
1519 Improve string parser.
1520 * doc/c-arm.texi (ARM Machine Directives): Document
1521 .eabi_attribute symbolic tag names.
1522
29670fb9
AM
15232009-01-16 Alan Modra <amodra@bigpond.net.au>
1524
1525 * configure.in (commonbfdlib): Delete.
1526 * configure: Regenerate.
1527 * po/POTFILES.in: Regenerate.
1528
91e22acd
AS
15292009-01-15 Andrew Stubbs <ams@codesourcery.com>
1530 Julian Brown <julian@codesourcery.com>
1531
1532 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
1533
7b86a9fa
AS
15342009-01-15 Andrew Stubbs <ams@codesourcery.com>
1535
1536 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
1537 bfd_elf_add_obj_attr_int_string.
1538
01e1a5bc
NC
15392009-01-15 Douglas B Rupp <rupp@gnat.com>
1540
1541 * configure.tgt(ia64-*-*vms*): New target.
1542 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
1543 * tc.h (md_number_to_chars): Declare iff undefined.
1544 * config/obj-elf.c (obj_elf_change_section): Change type of arg
1545 attr to bfd_vma.
1546 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
1547 variables attr, md_attr to bfd_vma.
1548 (obj_elf_section_word): Likewise.
1549 (obj_elf_section): Change type of variable attr to bfd_vma
1550 * config/obj-elf.h (obj_elf_change_section): Change type of arg
1551 attr to bfd_vma.
1552 * config/tc-ia64.c (bfdver.h,time.h): Include.
1553 (ia64_elf_section_letter): Now returns a bfd_vma.
1554 Handle VMS specific attributes.
1555 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1556 (ia64_init): Don't turn on dependency checking for VMS.
1557 (ia64_target_format): Check for VMS flag bit.
1558 (do_alias): Hande decc$ functions.
1559 (get_vms_time): New function.
1560 (ia64_vms_note): New function.
1561 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
1562 (ia64_elf_section_flags): Arg attr now a bfd_vma.
1563 (tc_init_after_args): Define for VMS.
1564 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
1565 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
1566 * config/tc-alpha.h: Likewise.
1567 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
1568 (x86_64_section_word): Return a bfd_vma.
1569 * config/tc-i386.h: Likewise.
1570 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
1571 attr to bfd_vma.
1572 * config/tc-ip2k.h: Likewise.
1573 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
1574 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
1575 * config/tc-mep.h: Likewise.
1576 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
1577 (ppc_section_word): Return a bfd_vma.
1578 (ppc_section_flags): Change type of arg attr to bfd_vma.
1579 * config/tc-ppc.h: Likewise.
1580 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
1581 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
1582 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
1583 New file with new macros
1584 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
1585 macros.
01e1a5bc 1586
bc2d1808
NC
15872009-01-15 Nick Clifton <nickc@redhat.com>
1588
1589 PR 9722
1590 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
1591 instructions before generating a Thumb2 nop.
1592
7b6598a4 15932009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 1594
7b6598a4
AK
1595 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
1596
cd4a7468
AM
15972009-01-12 Alan Modra <amodra@bigpond.net.au>
1598
1599 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
1600 (brinfo): New var.
1601 (md_assemble): Poke brinfo into branch instructions.
1602 (spu_brinfo): New function.
1603 (md_apply_fix): Don't assume insn fields start off at zero, mask
1604 them to remove possible brinfo.
1605
1543849b
L
16062009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1607
1608 * doc/c-i386.texi: Reformat.
1609
bd5295b2
L
16102009-01-10 H.J. Lu <hongjiu.lu@intel.com>
1611
dfaf9df8 1612 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
1613 .syscall.
1614 (i386_align_code): Handle PROCESSOR_COREI7.
1615 (md_show_usage): Add corei7, clflush and syscall.
1616 (i386_target_format): Replace cpup4 with cpuclflush.
1617
dfaf9df8 1618 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
1619
1620 * doc/c-i386.texi: Document corei7, clflush and syscall.
1621
1b7f3fb0
L
16222009-01-09 H.J. Lu <hongjiu.lu@intel.com>
1623
1624 * config/tc-i386.c (cpu_arch): Add .rdtscp.
1625 (md_show_usage): Display rdtscp.
1626
1627 * doc/c-i386.texi: Document rdtscp.
1628
1cb0a767
PB
16292009-01-09 Peter Bergner <bergner@vnet.ibm.com>
1630
1631 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
1632 Test the new "deprecated" opcode field.
1633
19fc3723
SA
16342009-01-07 Sterling Augustine <sterling@tensilica.com>
1635
1636 * config/tc-xtensa.c (produce_flix): New.
1637 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
1638 (md_longopts): Add support for them.
1639 (md_parse_option): Likewise.
1640 (md_show_usage): Add help message.
1641 (finish_vinsn): Don't allow multi-slot flix when produce_flix
1642 option is set to FLIX_NONE.
1643 * config/xtensa-relax.c (transition_applies): Only relax to
1644 flix branches when produce_flix equals FLIX_ALL.
1645 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
1646 FLIX_NONE): New.
1647 (produce_flix): Declare.
1648
24864476
CF
16492009-01-06 Chao-ying Fu <fu@mips.com>
1650
1651 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
1652 Use strncmp to match jalr and jalr.hb.
1653 Fix a typo.
1654
0bfee649 16552009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 1656
0bfee649
L
1657 AVX Programming Reference (December, 2008)
1658 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
1659 support. Don't swap REG and NDS for FMA.
d62f07d0 1660
750bdd57 16612009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 1662
750bdd57
AS
1663 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
1664 behaviour.
e7c604dd 1665
0bfee649 1666For older changes see ChangeLog-2008
08d56133
NC
1667\f
1668Local Variables:
1669mode: change-log
1670left-margin: 8
1671fill-column: 74
1672version-control: never
1673End:
This page took 0.682295 seconds and 4 git commands to generate.