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