*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
fd4db1a1
SE
12009-12-18 Steve Ellcey <sje@cup.hp.com>
2
3 * config/tc-hppa.c: Change access to access_ctr.
4
ff4a8d2b
NC
52009-12-17 Nick Clifton <nickc@redhat.com>
6
7 PR binutils/10924
8 * config/tc-arm.c (do_ldstv4): Do not allow r15 as the destination
9 register.
10 (do_mrs): Likewise.
11 (do_mul): Likewise.
12
2eb952a4
L
132009-12-16 H.J. Lu <hongjiu.lu@intel.com>
14
15 * config/tc-i386.c (process_suffix): Set i.suffix to 0 in
16 Intel syntax if size is ignored and b/l/w suffixes are
17 illegal.
18 (check_byte_reg): Remove byteokintel check.
19
7f399153
L
202009-12-16 H.J. Lu <hongjiu.lu@intel.com>
21
22 * config/tc-i386.c (build_vex_prefix): Replace vex0f, vex0f38,
23 vex0f3a, xop08, xop09 and xop0a with vexopcode.
24
8c43a48b
L
252009-12-15 H.J. Lu <hongjiu.lu@intel.com>
26
27 * config/tc-i386.c (build_modrm_byte): Check XOP2SOURCES
28 instead VEX2SOURCES.
29
8cd7925b
L
302009-12-15 H.J. Lu <hongjiu.lu@intel.com>
31
32 * config/tc-i386.c (process_operands): Check vexsources
33 instead of vex3sources.
34 (build_modrm_byte): Check vexsources instead of vex2sources
35 and vex3sources.
36
1ef99a7b
L
372009-12-15 H.J. Lu <hongjiu.lu@intel.com>
38
39 * config/tc-i386.c (build_vex_prefix): Replace vexw0/vexw1
40 with vexw.
41 (build_modrm_byte): Likewise.
42
0175442d
L
432009-12-15 H.J. Lu <hongjiu.lu@intel.com>
44
45 * as.h (mempcpy): New.
46
47 * configure.in: Check if mempcpy is declared.
48 * configure: Regenerated.
49 * config.in: Likewise.
50
e3c58833
L
512009-12-15 H.J. Lu <hongjiu.lu@intel.com>
52
53 * config/tc-i386.c (build_vex_prefix): Use VEX256.
54
34ab8888
NC
552009-12-14 Yoshinori Sato <ysato@users.sourceforge.jp>
56
3aa4238e 57 PR gas/11086
34ab8888
NC
58 * config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order
59 to avoid shadowing a global symbol of the same name.
60
c7d6f518
NC
612009-12-14 Nick Clifton <nickc@redhat.com>
62
63 * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in
34ab8888 64 order to avoid shadowing a global symbol of the same name.
c7d6f518 65
2e98972e
AJ
662009-12-11 Andrew Jenner <andrew@codesourcery.com>
67
68 * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag for
69 non-elf.
70 (arm_handle_align): Re-enable assert for non-elf.
71
91d6fa6a
NC
722009-12-11 Nick Clifton <nickc@redhat.com>
73
74 * Makefile.in: Regenerate.
75 * doc/Makefile.in: Regenerate.
76 * configure: Regenerate.
77 * dw2gencfi.c: Fix shadowed variable warnings.
78 * dwarf2dbg.c: Likewise.
79 * expr.c: Likewise.
80 * hash.c: Likewise.
81 * listing.c: Likewise.
82 * macro.c: Likewise.
83 * read.c: Likewise.
84 * stabs.c: Likewise.
85 * symbols.c: Likewise.
86 * write.c: Likewise.
87 * config/bfin-parse.y: Likewise.
88 * config/obj-coff.c: Likewise.
89 * config/tc-arm.c: Likewise.
90 * config/tc-bfin.c: Likewise.
91 * config/tc-cr16.c: Likewise.
92 * config/tc-crx.c: Likewise.
93 * config/tc-d10v.c: Likewise.
94 * config/tc-d30v.c: Likewise.
95 * config/tc-frv.c: Likewise.
96 * config/tc-i370.c: Likewise.
97 * config/tc-i386-intel.c: Likewise.
98 * config/tc-i386.c: Likewise.
99 * config/tc-ia64.c: Likewise.
100 * config/tc-m32r.c: Likewise.
101 * config/tc-m68hc11.c: Likewise.
102 * config/tc-mips.c: Likewise.
103 * config/tc-mn10200.c: Likewise.
104 * config/tc-mn10300.c: Likewise.
105 * config/tc-ns32k.c: Likewise.
106 * config/tc-ppc.c: Likewise.
107 * config/tc-score.c: Likewise.
108 * config/tc-score7.c: Likewise.
109 * config/tc-sh.c: Likewise.
110 * config/tc-sh64.c: Likewise.
111 * config/tc-sparc.c: Likewise.
112 * config/tc-tic30.c: Likewise.
113 * config/tc-tic4x.c: Likewise.
114 * config/tc-tic54x.c: Likewise.
115 * config/tc-xtensa.c: Likewise.
116 * config/tc-z8k.c: Likewise.
117
8a2c8fef
L
1182009-12-09 H.J. Lu <hongjiu.lu@intel.com>
119
120 * config/tc-i386.c (arch_entry): Add len and skip.
121 (cpu_arch): Use STRING_COMMA_LEN.
122 (MESSAGE_TEMPLATE): New.
123 (show_arch): Likewise.
124 (md_show_usage): Use show_arch.
125
087d837e
L
1262009-12-07 H.J. Lu <hongjiu.lu@intel.com>
127
128 PR gas/11037
129 * expr.c (resolve_expression): Call symbol_same_p to check
130 if 2 symbols are the same.
131
132 * symbols.c (symbol_same_p): New.
133 * symbols.h (symbol_same_p): Likewise.
134
03ee1b7f
NC
1352009-12-02 Nick Clifton <nickc@redhat.com>
136 Richard Earnshaw <rearnsha@arm.com>
137
138 PR gas/11013
139 * config/tc-arm.c (do_t_simd2): New function.
140 (insns): Use do_t_simd2 for QADD, QDADD, QSUB and QDSUB.
141
3388710e
JM
1422009-11-30 Joseph Myers <joseph@codesourcery.com>
143
144 * configure: Regenerate.
145
974da60d
NC
1462009-11-30 Nick Clifton <nickc@redhat.com>
147
148 PR gas/11032
149 * config/tc-arm.c (relax_adr): Cope with a frag with no symbol.
150
f08e1e19
JB
1512009-11-19 Jan Beulich <jbeulich@novell.com>
152
153 * read.c (pseudo_set): Also call copy_symbol_attributes() for
154 undefined target symbol.
155
f0ae4a24
SP
1562009-11-18 Sebastian Pop <sebastian.pop@amd.com>
157
158 * config/tc-i386.c (cpu_arch): Remove cvt16.
159 (md_show_usage): Same.
160 * doc/c-i386.texi: Same.
161
ada65aa3
PB
1622009-11-18 Paul Brook <paul@codesourcery.com>
163
164 * config/tc-arm.c (arm_fpus): Add fpv4-sp-d16.
165 (aeabi_set_public_attributes): Correctly mark VFPv3xD.
166
2d0f3896
AM
1672009-11-18 Alan Modra <amodra@bigpond.net.au>
168
169 * config/tc-ppc.c (md_assemble): Report error on invalid @tls operands
170 and opcode.
171
5dd85c99
SP
1722009-11-17 Sebastian Pop <sebastian.pop@amd.com>
173 Quentin Neill <quentin.neill@amd.com>
174
175 * config/tc-i386.c (cpu_arch): Added .xop and .cvt16.
176 (build_vex_prefix): Handle xop08.
177 (md_assemble): Don't special case the constant 3 for insns using MODRM.
178 (build_modrm_byte): Handle vex2sources.
179 (md_show_usage): Add xop and cvt16.
180 * doc/c-i386.texi: Document fma4, xop, and cvt16.
181
9e3c6df6
PB
1822009-11-17 Paul Brook <paul@codesourcery.com>
183 Daniel Jacobowitz <dan@codesourcery.com>
184
185 * doc/c-arm.texi: Document .arch armv7e-m.
186 * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New.
187 (insns): Put Thumb versions of v5TExP instructions into
188 arm_ext_v5exp also. Move some Thumb variants from
189 arm_ext_v6_notm to arm_ext_v6_dsp.
190 (arm_archs): Add armv7e-m architecture.
191 (aeabi_set_public_attributes): Handle -march=armv7e-m.
192
f7c21dc7
NC
1932009-11-16 Viktor Kutuzov <vkutuzov@accesssoftek.com>
194
195 * config/tc-arm.c (parse_operands): Encode APSR_nzcv as r15.
196 (do_vmrs): New function.
197 (do_vmsr): New function.
198 (insns): Add vmrs and vmsr.
199
c1ba0266
L
2002009-11-13 H.J. Lu <hongjiu.lu@intel.com>
201
202 * config/tc-i386.c (md_assemble): Check destination operand
203 for lockable instructions.
204
4473e004
L
2052009-11-13 H.J. Lu <hongjiu.lu@intel.com>
206
207 * config/tc-i386.c (_i386_insn): Don't use bit field on
208 swap_operand.
209
c32fa91d
L
2102009-11-12 H.J. Lu <hongjiu.lu@intel.com>
211
212 * config/tc-i386.c (LOCKREP_PREFIX): Removed.
213 (REP_PREFIX): New.
214 (LOCK_PREFIX): Likewise.
215 (PREFIX_GROUP): Likewise.
216 (REX_PREFIX): Updated.
217 (MAX_PREFIXES): Likewise.
218 (add_prefix): Updated. Return enum PREFIX_GROUP.
219 (md_assemble): Check for lock without a lockable instruction.
220 (parse_insn): Updated.
221 (output_insn): Likewise.
222
fa78c13a
NC
2232009-11-12 Nick Clifton <nickc@redhat.com>
224
225 * po/id.po: Updated Indonesian translation.
226
1b9f0c97
L
2272009-11-11 H.J. Lu <hongjiu.lu@intel.com>
228
229 * config/tc-i386.c (build_modrm_byte): Don't set register
230 operand twice.
231
da2f07f1
JK
2322009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
233
234 * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE.
235 * aclocal.m4: Regenerate.
236 * configure: Regenerate.
237
0d999f33
MK
2382009-11-10 Maxim Kuvyrkov <maxim@codesourcery.com>
239
240 * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR.
241 * config/tc-m68k.c (mcf5206_ctrl): Fix whitespace.
242 (mcf52223_ctrl): Remove non-existent registers.
243 (mcf54418): Define.
244 (mcf54455): Remove MBAR.
245 (m68k_cpus): Add lines for MCF5441x family.
246 (m68k_ip, init_table): Handle RGPIOBAR, ACR[4-7].
247
df6d8da1
L
2482009-11-06 H.J. Lu <hongjiu.lu@intel.com>
249
250 * doc/c-i386.texi: Move .lwp.
251
23ddb850
AM
2522009-11-06 Alan Modra <amodra@bigpond.net.au>
253
254 * config/obj-elf.c (obj_elf_change_section): Remove FIXME from
255 comment.
256
f88c9eb0
SP
2572009-11-05 Sebastian Pop <sebastian.pop@amd.com>
258 Quentin Neill <quentin.neill@amd.com>
259
260 * config/tc-i386.c (cpu_arch): Add CPU_LWP_FLAGS.
261 (build_vex_prefix): Handle xop09 and xop0a.
262 (build_modrm_byte): Handle vexlwp.
263 (md_show_usage): Add lwp.
264 * doc/c-i386.texi (i386-LWP): New section.
265
0d734b5d
DD
2662009-11-04 DJ Delorie <dj@redhat.com>
267
268 * config/rx-parse.y (MVTIPL): Update bit pattern.
269 (cpen): Remove.
270
2c678708
MK
2712009-11-04 Daniel Jacobowitz <dan@codesourcery.com>
272 Maxim Kuvyrkov <maxim@codesourcery.com>
273
274 * config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux.
275 (CFI_DIFF_LSDA_OK): Define.
276 * config/te-uclinux.h: New file.
277 * configure.tgt (m68k-uclinux): Define em.
278 * dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro.
279 (dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK.
280
1ee69515
PB
2812009-11-03 Paul Brook <paul@codesourcery.com>
282
c7cbc7a8 283 * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls encoding.
1ee69515 284
62f3b8c8
PB
2852009-11-02 Paul Brook <paul@codesourcery.com>
286
287 * doc/c-arm.texi: Document new -mfpu options.
288 * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma,
289 fpu_vfp_ext_fma): New.
290 (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms.
291 (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions.
292 (insns): Move double precision load/store. Split out double
293 precision VFPv3 instrucitons. Add VFPv4 instructions.
294 (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants.
295 (aeabi_set_public_attributes): Set VFPv4 variants
296
4cae74aa
AM
2972009-11-02 Alan Modra <amodra@bigpond.net.au>
298
299 * ecoff.c (ecoff_symbol_clone_hook): New function.
300 * ecoff.h (ecoff_symbol_clone_hook): Declare.
301 * obj.h (struct format_ops): Add symbol_clone_hook.
302 * config/obj-aout.c (aout_format_ops): Init new field.
303 * config/obj-coff.c (coff_format_ops): Likewise.
304 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
305 * config/obj-elf.c (elf_format_ops): Likewise.
306 * config/obj-ecoff.h (obj_symbol_clone_hook): Define.
307 * config/obj-multi.h (obj_symbol_clone_hook): Define.
308
8c16928a
AM
3092009-11-02 Alan Modra <amodra@bigpond.net.au>
310
311 * messages.c (as_fatal): Apply 2001-01-15 change and followup
312 to second copy of function.
313
b6cdf8ae
DA
3142009-10-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
315
316 * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol
317 with local symbol.
318
206c2556
L
3192009-10-29 Sebastian Pop <sebastian.pop@amd.com>
320
321 * config/tc-i386.c (build_modrm_byte): Do not swap REG and
322 NDS operands for FMA4.
323
e6655fda
PB
3242009-10-29 Paul Brook <paul@codesourcery.com>
325
326 * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes.
327
b38f9f31
PB
3282009-10-29 Paul Brook <paul@codesourcery.com>
329
330 * doc/c-arm.texi: Document ARM -mcpu=cortex-a5.
331 * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5.
332
1b31b9e3
TG
3332009-10-29 Tristan Gingold <gingold@adacore.com>
334
335 * config/tc-mep.c (md_pseudo_table): Remove dwarf2 debug pseudo
336 as they are already defined in obj-elf.c
337 * config/tc-m32c.c (md_pseudo_table): Ditto.
338 * config/tc-spu.c (md_pseudo_table): Ditto.
339 * config/tc-avr.c (md_pseudo_table): Ditto.
340
72737fba
AM
3412009-10-29 Alan Modra <amodra@bigpond.net.au>
342
343 * doc/as.texinfo (Set): Delete incorrect HPPA para.
344
721a8186
PB
3452009-10-28 Paul Brook <paul@codesourcery.com>
346
347 * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes
348 unconditionally.
349
14610ad1
AM
3502009-10-28 Alan Modra <amodra@bigpond.net.au>
351
352 PR gas/10856
353 * expr.c (resolve_expression): Only add "left" value to O_symbol
354 expression when the symbol is undefined and different from the
355 original symbol. Simplify negative logic.
356
66b4202f
TG
3572009-10-27 Tristan Gingold <gingold@adacore.com>
358
359 * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo.
360 * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
361 (DWARF2_ADDR_SIZE): Define.
362
c2069bb2
AM
3632009-10-27 Alan Modra <amodra@bigpond.net.au>
364
365 PR gas/10850
366 * listing.c (listing_flags): Delete.
367 * listing.h: Likewise.
368 * read.c (potable <lflags>): Call s_ignore.
369
7e891cef
NC
3702009-10-26 Nick Clifton <nickc@redhat.com>
371
372 * doc/as.texinfo: Add mention of RX port and inclusion of RX
373 documentation.
374
3c45a255
AM
3752009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
376
377 * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or
378 'defl' in cases where the space between the keyword and the
c2069bb2 379 expression has been scrubbed away.
3c45a255
AM
380 Do not check whether a symbol is redefined with 'equ' here;
381 the function equals takes an argument indicating whether
c2069bb2 382 redefinitions are allowed.
3c45a255 383 Only call LISTING_NEWLINE if needed, and then after the call to
c2069bb2
AM
384 bump_line_counters.
385
2babba43
MR
3862009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
387
388 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to
389 match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and
390 -mfix-vr4130/-mno-fix-vr4130.
391 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to
392 -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
393
4b06377f
L
3942009-10-20 H.J. Lu <hongjiu.lu@intel.com>
395
396 PR gas/10775
397 * doc/c-i386.texi: Mention movabs.
398
adc427c7
L
3992009-10-19 H.J. Lu <hongjiu.lu@intel.com>
400
401 * doc/c-i386.texi: Don't mention the 8 extra control registers
402 for x86-64.
403
23f5dfcb
DE
4042009-10-19 Doug Evans <dje@sebabeach.org>
405
d71f39f5
DE
406 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
407
23f5dfcb
DE
408 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
409 correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
410 isn't recognized, not BFD_RELOC_XC16X_SOF.
411
c5ed243b
AM
4122009-10-18 Alan Modra <amodra@bigpond.net.au>
413
414 * as.h (know): Don't define as empty.
415 * config/tc-arm.c (make_mapping_symbol): Revert last patch.
416
a75b9082
AM
4172009-10-18 Matthias Klose <doko@ubuntu.com>
418
419 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
420 in release builds.
421
995cef8c
L
4222009-10-16 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR gas/10775
425 * doc/c-i386.texi: Mention the 8 extra control registers for
426 x86-64.
427 Mention .code64 directive.
428
f19df8f7
AM
4292009-10-15 Alan Modra <amodra@bigpond.net.au>
430
431 PR gas/1491
432 * macro.c: Delete unnecessary function declarations.
433 (buffer_and_nest): Support multiple labels per line for
434 LABELS_WITHOUT_COLONS targets if the labels do have colons.
435 (free_macro): Move so that we don't need forward declaration.
436 * read.c (read_a_source_file): Take a copy of macro expansion line
437 before we trim labels.
438 * listing.c (listing_newline): Adjust stdin line save for
439 input_line_pointer still at start of line.
440
4c2c6516
L
4412009-10-13 H.J. Lu <hongjiu.lu@intel.com>
442
ec65d7ca 443 PR gas/10766
4c2c6516
L
444 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
445
313c53d1
L
4462009-10-13 H.J. Lu <hongjiu.lu@intel.com>
447
448 PR gas/10740
449 * config/tc-i386-intel.c (i386_intel_operand): Handle call
450 and jump with 2 immediate operands.
451
452 * config/tc-i386.c (i386_finalize_immediate): Don't generate
453 error message if operand string is NULL.
454
c2069bb2 4552009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
b2b74248
NC
456
457 PR gas/3041
458 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
459 located in data section an referencing a weak symbol.
460
5a5829dd
NS
4612009-10-07 Nathan Sidwell <nathan@codesourcery.com>
462
d3106081
NS
463 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
464 versions slightly more than nothing.
465
5a5829dd
NS
466 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
467
cd42ff9c
AM
4682009-10-07 Alan Modra <amodra@bigpond.net.au>
469 H.J. Lu <hongjiu.lu@intel.com>
470
471 PR gas/2117
472 * config/tc-ia64.c (parse_operand): Use expression rather than
473 expression_and_evalute.
474 (parse_operand_and_eval): New function. Replace all uses of
475 parse_operand outside of parse_operands with this function.
476 (parse_operans_maybe_eval): New function. Replace uses of
477 parse_operand in parse_operands, except for the dummy, with
478 this function.
479
d96eea71
AM
4802009-10-06 Alan Modra <amodra@bigpond.net.au>
481
482 PR gas/10704
483 * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
484
c188d0bb
AM
4852009-10-06 Alan Modra <amodra@bigpond.net.au>
486
487 * read.c (s_reloc): Don't use expression_and_evaluate.
488
9fe54b1c
PB
4892009-10-02 Peter Bergner <bergner@vnet.ibm.com>
490
491 * config/tc-ppc.c (md_show_usage): Document -m476.
492 * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
493
38462edf
JJ
4942009-10-02 Jakub Jelinek <jakub@redhat.com>
495
496 * dw2gencfi.c: Include dwarf2dbg.h.
497 (DWARF2_FORMAT): Define if not defined.
498 (dot_cfi_sections): New function.
499 (cfi_pseudo_table): Handle .cfi_sections.
500 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
501 (cfi_sections): New variable.
502 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
503 argument, add supporting for outputting .debug_frame
504 section.
505 (cfi_change_reg_numbers): New function or macro.
506 (cfi_finish): Only emit .eh_frame if
507 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
508 cfi_sections & CFI_EMIT_debug_frame.
509 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
510 * doc/as.texinfo (CFI directives): Document .cfi_sections.
511
634b50f2
PB
5122009-10-01 Peter Bergner <bergner@vnet.ibm.com>
513
514 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
515 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
516
9f32dd5b
L
5172009-10-01 H.J. Lu <hongjiu.lu@intel.com>
518
519 * config/tc-i386.c (x86_cons): Reformat.
520
c7927a3c
NC
5212009-09-29 DJ Delorie <dj@redhat.com>
522
523 * Makefile.am: Add RX target.
524 * configure.in: Likewise.
525 * configure.tgt: Likewise.
526 * read.c (do_repeat_with_expander): New function.
527 * read.h: Provide a prototype for do_repeat_with_expander.
528 * doc/Makefile.am: Add RX target documentation.
529 * doc/all.texi: Likewise.
530 * doc/as.texinfo: Likewise.
531 * Makefile.in: Regenerate.
532 * NEWS: Mention support for RX architecture.
533 * configure: Regenerate.
534 * doc/Makefile.in: Regenerate.
535 * config/rx-defs.h: New file.
536 * config/rx-parse.y: New file.
537 * config/tc-rx.h: New file.
538 * config/tc-rx.c: New file.
539 * doc/c-rx.texi: New file.
540
21d799b5
NC
5412009-09-25 Martin Thuresson <martint@google.com>
542
e0c483d6 543 Update sources to make alpha, arc and arm targets compile cleanly
21d799b5
NC
544 with -Wc++-compat:
545 * config/tc-alpha.c: Add casts.
546 (extended_bfd_reloc_code_real_type): New type. Used to avoid
547 enumeration conversion warnings.
548 (struct alpha_fixup, void assemble_insn, assemble_insn)
549 (assemble_tokens): Use new type.
550 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
551 * config/obj-elf.c: Add cast
552 * config/tc-arc.c: Add casts.
553 * config/obj-aout.h (text_section,data_section,bss_section):
554 Make extern.
555 * config/obj-elf.c: Add cast.
556 * config/tc-arm.c: Add casts.
557 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
558 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
559 need for keywords as arguments.
560
605b1dd4
NH
5612009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
562
563 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
9f32dd5b
L
564 entries
565
5662009-09-24 H.J. Lu <hongjiu.lu@intel.com>
2bf05e57
L
567
568 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
569 of vex256.
570
f5d9e816
L
5712009-09-24 H.J. Lu <hongjiu.lu@intel.com>
572
573 PR gas/10677
574 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
575 for BFD_RELOC_X86_64_GOTPCREL.
576
2a86604a
L
5772009-09-23 H.J. Lu <hongjiu.lu@intel.com>
578
579 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
580 BFD_RELOC_386_GOT32.
581
417ba50c
SA
5822009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
583
584 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
585 difference of of two symbols.
586 (xtensa_fix_adjustable): Likewise.
587
6eb94e77
TG
5882009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
589
bf70c4f8 590 * configure.com: Fix a typo.
6eb94e77 591
a3371076
AM
5922009-09-23 Alan Modra <amodra@bigpond.net.au>
593
594 * symbols.c (define_sym_at_dot): New function, extracted from..
595 (colon): ..here. Define error case cloned symbol.
596
76ba9986
L
5972009-09-21 H.J. Lu <hongjiu.lu@intel.com>
598
599 * config/tc-i386.c: Remove white spaces.
600
e0d602ec
BE
6012009-09-21 Ben Elliston <bje@au.ibm.com>
602 Peter Bergner <bergner@vnet.ibm.com>
603
604 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
605 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
606
ca58b19f
NC
6072009-09-18 Nick Clifton <nickc@redhat.com>
608
609 * po/es.po: Updated Spanish translation.
610
fa289fb8
L
6112009-09-15 H.J. Lu <hongjiu.lu@intel.com>
612
613 * config/tc-i386.c (offset_in_range): Sign extend offset only
614 if BFD64 is defined.
615
1acf546e
L
6162009-09-15 H.J. Lu <hongjiu.lu@intel.com>
617
618 * config/tc-i386-intel.c (i386_intel_operand): Initialize
619 intel_state.has_offset to 0.
620
9de868bf
L
6212009-09-15 H.J. Lu <hongjiu.lu@intel.com>
622
623 * config/tc-i386.c (offset_in_range): Sign extend offset only
624 for 32bit address mode.
625
aba69ce4
TG
6262009-09-15 Tristan Gingold <gingold@adacore.com>
627
628 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
629
6cee4cda
L
6302009-09-14 H.J. Lu <hongjiu.lu@intel.com>
631
632 PR gas/10637
633 * config/tc-i386-intel.c (intel_state): Add has_offset.
634 (i386_intel_simplify): Set intel_state.has_offset to 1 for
635 O_offset.
636 (i386_intel_operand): Turn on intel_state.is_mem if
637 intel_state.has_offset is 0 and the last char is ']'.
638
0e1147d9
L
6392009-09-14 H.J. Lu <hongjiu.lu@intel.com>
640
641 PR gas/10636
642 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
643 if there is an ADDR_PREFIX.
644 (i386_finalize_displacement): Repor error if signed 32bit
645 displacement is out of range.
646
1180b5a4
RS
6472009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
648
649 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
650 Require the target to be a bare symbol on targets with
651 in-place addends.
652 (macro_build_jalr): Update accordingly.
653 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
654 with in-place addends.
655
1e9cc1c2
NC
6562009-09-11 Nick Clifton <nickc@redhat.com>
657
658 * po/gas.pot: Updated by the Translation project.
659
6602009-09-11 Martin Thuresson <martint@google.com>
661
662 * as.c (main): Call dwarf2_init.
663 * config/obj-elf.c (struct group_list): New field.
664 (build_group_lists): Use hash lookup.
665 (free_section_idx): New function.
666 (elf_frob_file): Adjust.
667 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
668 (get_line_subseg): Adjust.
669 (dwarf2_init): New function.
670 * dwarf2dbg.h (dwarf2_init): New declaration.
671
6722009-09-11 Martin Thuresson <martint@google.com>
673
674 Updated sources to compile cleanly with -Wc++-compat:
675 * app.c: Add casts.
676 * as.c: Add casts.
677 * config/obj-elf.c: Add casts.
678 (obj_elf_type): Rename variable typename to type_name.
679 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
680 * config/tc-i386.c: Add casts.
681 (check_cpu_arch_compatible): Rename argument new to new_flag.
682 (gotrel): Update variable to use enum name instead of integer value.
683 * dw2gencfi.c: Add casts.
684 (struct cfi_escape_data): Move to top level.
685 * dwarf2dbg.c: Add cast.
686 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
687 * ehopt.c Add casts.
688 (enum frame_state): Move to top level.
689 * expr.c (operatorf): Rename function operator to operatorf.
690 (operand): Rename variable operator to op.
691 (expr_set_rank): Rename argument operator to op.
692 * frags.c: Add cast.
693 * hash.c: Add casts.
694 * input-scrub.c: Add cast.
695 * listing.c: Add casts.
696 (enum edict_enum): Move to top level.
697 * macro.c: Add casts.
698 * macro.h (enum formal_type): Move to top level.
699 * read.c: Add casts.
700 (s_include): Rename variable try to try_file.
701 * remap.c: Add cast.
702 * stabs.c: Add casts.
703 * subsegs.c: Add casts.
704 * symbols.c: Add casts.
705 * write.c: Add casts.
1e9cc1c2 706
3e81d9f9
HPN
7072009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
708
709 PR gas/10623
710 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
711 Allow register operands for SWYM as for TRIP and TRAP. Correct
712 operand handling and error checking. Never emit
713 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
714
800f6ec8
AM
7152009-09-10 Alan Modra <amodra@bigpond.net.au>
716
717 * config/tc-d10v.c: Include dwarf2dbg.h.
718 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
719 (d10v_frob_label): New function.
720 * config/tc-d10v.h (d10v_frob_label): Declare.
721 (tc_frob_label): Define as d10v_frob_label.
722
f2e25d93
AM
7232009-09-10 Alan Modra <amodra@bigpond.net.au>
724
725 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
726 * config/tc-frv.c (frv_frob_label): Likewise.
727
9384f2ff
AM
7282009-09-09 Alan Modra <amodra@bigpond.net.au>
729
22ba0981
AM
730 * config/obj-coff.h (USE_UNIQUE): Don't define.
731 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
732 * symbols.c (an_external_name): Define when TE_PE.
733 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
734 * tc.h (an_external_name): Declare when TE_PE.
735
9384f2ff
AM
736 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
737
7e127222
KK
7382009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
739
740 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
741
d4f4f3fb
AM
7422009-09-08 Alan Modra <amodra@bigpond.net.au>
743
744 * read.c (emit_expr_fix): Handle size 3.
745 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
746 * config/tc-d30v.c (write_long, write_1_short,
747 write_2_short, md_assemble): Likewise.
748 * config/tc-dlx.c (md_assemble): Likewise.
749 * config/tc-i860.c (md_assemble): Likewise.
750 * config/tc-mn10200.c (md_assemble): Likewise.
751 * config/tc-pj.c (md_assemble): Likewise.
752 * config/tc-vax.c (md_assemble): Likewise.
753
307c948d
DG
7542009-09-07 Daniel Gutson <dgutson@codesourcery.com>
755
756 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
757 * doc/c-arm.texi: cortex-r4f CPU added.
758
b11d79f2
TG
7592009-09-07 Tristan Gingold <gingold@adacore.com>
760
23f938f1
TG
761 * po/POTFILES.in: Regenerate.
762 * po/gas.pot: Regenerate.
763
b11d79f2
TG
764 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
765 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
766 (EXTRA_as_new_SOURCES): Ditto.
767 * Makefile: Regenerate.
768 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
769 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
770 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
771 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
772 sys/stat.h headers.
773 Add te-vms.o in extra_objects if te_file is vms.
774 * configure: Regenerate.
775 * config.in: Regenerate.
776 * config/te-vms.c: New file, from bfd/vmsutil.c
777 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
778 (vms_dwarf2_file_name): New functions.
779 (vms_file_stats_name): Make it static, add a dirname parameter to
780 locally create the full pathname.
781 * config/te-vms.h: Add a copyright header.
782 Declare the above functions.
783 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
784 the above functions in the definition.
785 * makefile.vms (OBJS): Add te-vms.obj.
786 (te-vms.obj): Create a specific target.
787 * configure.com: Create targ-env.h using a per target value.
788 Compile te-vms.c for ia64.
789
f8739b83
JZ
7902009-09-05 Jie Zhang <jie.zhang@analog.com>
791
792 * doc/as.texinfo: Document that Blackfin GAS does not
793 accept SYMBOL = VALUE.
794
96d56e9f
NC
7952009-09-05 Martin Thuresson <martin@mtme.org>
796
797 * config/tc-arc.c (struct syntax_classes): Rename member class
798 to s_class. (arc_extinst): Rename variable class to
799 s_class. Update code to use renamed members.
800 * config/tc-mips.c (insn_uses_reg): Rename argument class to
801 regclass.
802 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
803 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
804 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
805 members.
806 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
807 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
808 code to use renamed members.
809 * config/tc-score.c (s3_adjust_paritybit): Rename argument
810 class to i_class.
811 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
812 class to i_class.
813
81c23f82
TG
8142009-09-04 Tristan Gingold <gingold@adacore.com>
815
816 * NEWS: Add marker for 2.20.
817
66a6900a
JZ
8182009-09-04 Jie Zhang <jie.zhang@analog.com>
819
820 * config/bfin-parse.y (asm_1): Implement HLT instruction.
821 Fix comments for DBGA, DBGAH and DBGAL.
822 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
823 to the new encoding of DBGA, DBGAH, and DBGAL.
824
3b4e1885
JZ
8252009-09-04 Jie Zhang <jie.zhang@analog.com>
826
827 * doc/all.texi: Replace BFIN with Blackfin.
828 * doc/as.texinfo: Likewise.
829 * doc/c-bfin.texi: Likewise.
830 * doc/asconfig.texi: Likewise.
831
832 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
833 bf516 and bf518.
834
53ae48a2
JZ
8352009-09-04 Jie Zhang <jie.zhang@analog.com>
836
837 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
838 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
839 prerequisite.
840 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
e0c483d6 841 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
53ae48a2
JZ
842 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
843 to the prerequisite.
844 * Makefile.in: Regenerate.
845
ce4a1a3a
RW
8462009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
847
848 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
849 (itbl-ops.o, itbl-tops.o): Likewise.
850 (itbl-parse.h): Use separate rule.
851 * Makefile.in: Regenerate.
852
110c21e1
JZ
8532009-09-03 Jie Zhang <jie.zhang@analog.com>
854
855 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
856 -mcpu= option.
857
c639698b
JZ
8582009-09-03 Jie Zhang <jie.zhang@analog.com>
859
860 * config/bfin-lex.l: Remove V as STATUS_REG.
861
ad15c38e
JZ
8622009-09-03 Jie Zhang <jie.zhang@analog.com>
863
864 * config/bfin-parse.y: Remove trailing whitespace.
865 (ccstat): Indent.
866 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
867 (bfin_reg_info[]): Remove.
868
f31bf2c6
JZ
8692009-09-03 Jie Zhang <jie.zhang@analog.com>
870
871 * config/bfin-defs.h (F_REG_ALL): Remove macro.
872 (F_REG_HIGH): Redefine.
873 (F_REG_NONE): New macro.
874 (F_REG_LOW): New macro.
875 (REG_CLASS): Enclose macro argument in parentheses when used.
876 (REG_EVEN): Likewise.
877 (IS_H): Use flags.
878 (IS_HCOMPL): Use flags.
879 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
880 (parse_reg): Set flags.
881 (parse_halfreg): Set flags.
882
11817687
JZ
8832009-09-03 Jie Zhang <jie.zhang@analog.com>
884
885 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
886 05000074 only when both slot1 and slot2 are filled.
887
bd03da30
JZ
8882009-09-03 Jie Zhang <jie.zhang@analog.com>
889
890 * config/tc-bfin.c (md_assemble): Bump line counters if there is
891 EOL in the instruction.
892
c958a8a8
JZ
8932009-09-03 Jie Zhang <jie.zhang@analog.com>
894
895 * config/bfin-defs.h (IS_GENREG): Define.
896 (IS_DAGREG): Define.
897 (IS_SYSREG): Define.
898 * config/bfin-parse.y (asm_1): Check illegal register move
899 instructions.
900
1d3ad4d0
JZ
9012009-09-03 Jie Zhang <jie.zhang@analog.com>
902
903 * config/bfin-parse.y (asm_1): Fix a typo.
904
d3a50e14
JZ
9052009-09-03 Jie Zhang <jie.zhang@analog.com>
906
907 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
908 * config/tc-bfin.c (bfin_start_line_hook): Remove.
909 (bfin_loop_beginend): New.
910 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
911 (md_start_line_hook): Don't define.
912 * config/bfin-aux.h (bfin_loop_beginend): Declare.
913
a0840211
TG
9142009-09-03 Tristan Gingold <gingold@adacore.com>
915
916 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
917 Call xstrdup on the result and free the buffer after use.
918
5bc2ed93
TG
9192009-09-03 Tristan Gingold <gingold@adacore.com>
920
921 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
922
958cff2f
JZ
9232009-09-02 Jie Zhang <jie.zhang@analog.com>
924
925 * config/bfin-parse.y (value_match): Use int instead of long.
926
927 From Michael Frysinger <michael.frysinger@analog.com>
928 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
929 member as long long.
930
39b4412d
JZ
9312009-09-02 Jie Zhang <jie.zhang@analog.com>
932
933 From Bernd Schmidt <bernd.schmidt@analog.com>
1e9cc1c2 934 * config/bfin-parse.y (asm_1): Clean up and unify error handling
39b4412d
JZ
935 for load and store insns.
936 (neg_value): Delete function.
937
7bb7d81f
RW
9382009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
939
940 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
941 Supply correct source file name for generated files which may be
942 in $(srcdir).
943 * Makefile.in: Regenerate.
944
43123e98
L
9452009-09-01 H.J. Lu <hongjiu.lu@intel.com>
946
947 * version.c (parse_args): Change to "Copyright 2009".
948
fb792462
TG
9492009-09-01 Tristan Gingold <gingold@adacore.com>
950
951 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
952 library.
953 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
954 Make edit silent.
955
83ee431c
JZ
9562009-09-01 Jie Zhang <jie.zhang@analog.com>
957
958 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
959 in comparison.
960
08c1b056
JZ
9612009-09-01 Jie Zhang <jie.zhang@analog.com>
962
963 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
964 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
965 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
966
967 2007-08-23 Jie Zhang <jie.zhang@analog.com>
968 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
969 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
970 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
971
5e8c8f8f
JZ
9722009-09-01 Jie Zhang <jie.zhang@analog.com>
973
974 * read.c (TC_START_LABEL): Add a new argument.
975 (read_a_source_file): Pass the beginning of the symbol through
976 the new argument of TC_START_LABEL.
977 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
978 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
979 from the beginning of the symbol.
980 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
981 * config/tc-d30v.h (TC_START_LABEL): Likewise.
982 * config/tc-fr30.h (TC_START_LABEL): Likewise.
983 * config/tc-m32c.h (TC_START_LABEL): Likewise.
984 * config/tc-m32r.h (TC_START_LABEL): Likewise.
985 * config/tc-mep.h (TC_START_LABEL): Likewise.
986
f1c2d4af
L
9872009-08-31 H.J. Lu <hongjiu.lu@intel.com>
988
989 PR gas/10570
990 * write.c (write_object_file): Revert the accidental change
991 made in revision 1.124 on 2009-08-17.
992
94be91de
JB
9932009-08-31 Jan Beulich <jbeulich@novell.com>
994
995 * config/obj-elf.c (obj_elf_change_section): Set default type
996 by calling bfd_elf_get_default_section_type.
997
e690f7f3
JZ
9982009-08-31 Jie Zhang <jie.zhang@analog.com>
999
1000 * config/bfin-aux.h: Change format from DOS to UNIX.
1001
d3ce72d0
NC
10022009-08-29 Martin Thuresson <martin@mtme.org>
1003
1004 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
1005 asm_barrier_opt): Change member template to
1006 template_name. (md_begin): Update code to reflect new member
1007 names.
1008 * config/tc-i386.c (struct templates, struct _i386_insn)
1009 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
1010 (operand_size_match, md_begin, i386_print_statistics, pi)
1011 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
1012 (optimize_disp): Updated code to use new names. (parse_insn):
1013 Added casts.
1014 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
1015 code to use new names.
1016 * config/tc-score.c (struct s3_asm_opcode): Renamed member
1017 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
1018 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
1019 use new names.
1020 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
1021 template to template_name. (s7_parse_16_32_inst,
1022 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
1023 use new names.
1024 * config/tc-tic30.c (md_begin, struct tic30_insn)
1025 (md_assemble): Update code to use new names.
1026 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
1027 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
1028 Update code to use new names.
1029 * config/tc-arm.c (insert_reg_alias): Rename variable new to
1030 new_reg.
1031 * config/tc-dlx.c (parse_operand): Rename variable new to
1032 new_pos.
1033 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
1034 new to newr.
1035 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
1036 new to new_pointer.
1037 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
1038 Change name from new to new_pointer.
1039 * config/tc-or32.c (parse_operand): Rename variable new to
1040 new_pointer.
1041 * config/tc-pdp11.c (md_assemble): Rename variable new to
1042 new_pointer.
1043 * config/tc-pj.c (alias): Change argument new to new_name.
1044 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
1045 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
1046 new to new_i2n. (s3_convert): Rename variables old and new to
1047 r_old and r_new.
1048 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
1049 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
1050 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
1051 variables old and new to r_old and r_new.
1052 * config/tc-sh.c (parse_exp): Rename variable new to
1053 new_pointer.
1054 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
1055 new_pointer.
1056 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
1057 to new_pointer.
1058 * config/tc-z8k.c (parse_exp): Rename variable new to
1059 new_pointer.
1060 * listing.c (listing_newline): Rename variable new to new_i.
1061
0c9b4fd7
KK
10622009-08-29 Matt Fleming <matt@console-pimps.org>
1063
1064 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
1065 for 64-bit host.
1066
3632d14b
L
10672009-08-28 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
1070 (i386_align_code): Handle PROCESSOR_L1OM.
1071 (check_cpu_arch_compatible): Fix a typo in comments.
1072 (set_cpu_arch): Check cpu_arch_isa instead of
1073 cpu_arch_isa_flags.bitfield.cpul1om.
1074 (i386_mach): Likewise.
1075 (i386_target_format): Likewise.
1076
1077 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
1078
4e7defc1
DD
10792009-08-26 DJ Delorie <dj@redhat.com>
1080
1081 * config/tc-mep.c (md_pcrel_from_section): Handle any other
1082 forced-relocation cases.
1083
2cbd2211
RW
10842009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1085
1086 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
1087 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
1088 syntax error.
1089 * Makefile.in: Regenerate.
1090 * po/POTFILES.in: Likewise.
1091 * po/gas.pot: Likewise.
1092
604ab327
NC
10932009-08-26 Nick Clifton <nickc@redhat.com>
1094
1095 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
1096 seh_ctx_root being NULL.
1097
a15af8e2
RW
10982009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1099
1100 * Makefile.am (am__skiplex, am__skipyacc): New.
1101 * Makefile.in: Regenerate.
1102
81ecdfbb
RW
11032009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1104
14ec8efd
RW
1105 * Makefile.am (YFLAGS): Remove, not needed any more.
1106 (AM_CPPFLAGS): Renamed from ...
1107 (INCLUDES): ... this.
1108 * Makefile.in: Regenerate.
1109
a5c7551f
RW
1110 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
1111 foreign and no-dist.
1112 (all): Remove now-unneeded dependency upon info.
1113 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
1114 (DEP_FILE_DEPS): Remove variables.
1115 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
1116 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
1117 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
1118 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
1119 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
1120 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
1121 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
1122 now-unneeded rules.
1123 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
1124 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
1125 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
1126 are picked up in the Makefile.
1127 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
1128 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
1129 (itbl-test.o): Rewrite using automake-style dependency
1130 tracking rules; only list the dependency upon the primary source
1131 file, but no included headers.
1132 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
1133 Remove.
1134 (mkdep section): Remove.
1135 * Makefile.in: Regenerate.
1e9cc1c2 1136 * po/POTFILES.in, po/gas.pot: Regenerate.
a5c7551f 1137
af542c2e
RW
1138 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
1139 (install-html-recursive): Remove.
1140 * Makefile.in: Regenerate.
1141 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
1142 (html__strip_dir, install-html, install-html-am): Remove.
1143 * doc/Makefile.in: Regenerate.
1144
81ecdfbb
RW
1145 * Makefile.in: Regenerate.
1146 * aclocal.m4: Likewise.
1147 * config.in: Likewise.
1148 * configure: Likewise.
1149 * doc/Makefile.in: Likewise.
1150
62af60e2
SA
11512009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1152
1153 * config/tc-xtensa.c (config_max_slots): New global variable.
1154 (md_begin): Set config_max_slots.
1155 (total_frag_text_expansion): Use config_max_slots instead of
1156 MAX_SLOTS.
1157 (xg_init_vinsn): Likewise.
1158 (xg_clear_vinsn): Likewise.
1159 (xg_free_vinsn): Likewise.
1160
d8392fd9
SA
11612009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1162
1163 * config/tc-xtensa.c (xg_copy_vinsn): New function.
1164 (finish_vinsn): Call xg_copy_vinsn.
1165
983f90e3
SA
11662009-08-19 Sterling Augustine <sterling@tensilica.com>
1167
1168 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
1169 to no_transform_end.
1170 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
1171 and use no_transform_end.
1172
284e0531
KT
11732009-08-18 Kai Tietz <kai.tietz@onevision.com>
1174
1175 * config/obj-coff-seh.c: Add copyright notice.
1176 * config/obj-coff-seh.h: Add copyright notice.
1177 Add x64 specific macros from coff/pe.h header.
1178
2f1bf5c1
SA
11792009-08-18 Sterling Augustine <sterling@tensilica.com>
1180
1181 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
1182 sizeof instead of hard-coded value.
1183 (add_xt_block_frags): Remove unused local variable.
1184 (frag_flags_to_number): Change return type to flagword. Remove
1185 unused local variable.
1186
11872009-08-17 Sterling Augustine <sterling@tensilica.com>
b7afdeef 1188
e0c483d6 1189 * config/tc-xtensa.c (xtensa_frob_label): move call to
b7afdeef
SA
1190 do_align_targets to set frag_type only.
1191
f3d2b04b
KT
11922009-08-17 Kai Tietz <kai.tietz@onevision.com>
1193
1194 * config/obj-coff-seh.c: New file.
1195 * config/obj-coff-seh.h: Likewise.
1196 * config/obj-coff.c (obj-coff-seh.c): Add include.
1197 (coff_pseudo_table): Add new .seh... commands.
1198 * config/obj-coff.h (obj_coff_seh_do_final): Add new
1199 function prototype.
1200 (obj_coff_generate_pdata): New obj-coff hook.
1e9cc1c2 1201 * write.c (size_seg): Avoid sizing of already sized
f3d2b04b
KT
1202 sections.
1203 (write_object_file): Call conditional hook
1204 objc_coff_generate_pdata.
1205 * Makefile.am: Add dependencies for new files.
1206 * Makefile.in: Regenerated.
1207
e23c5ac0
NC
12082009-08-17 Nick Clifton <nickc@redhat.com>
1209
1210 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
1211 (parse_reg): Use safe-ctype.h macros.
1212 (parse_exp): Likewise.
1213 (md_assemble): Likewise.
1214
85143216
DD
12152009-08-11 DJ Delorie <dj@redhat.com>
1216
1217 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
1218 symbols correctly.
1219 (md_convert_frag): Likewise.
1220 (md_pcrel_from_section): Likewise.
1221 (mep_force_relocation): Likewise.
e23c5ac0 1222
d55cb1c5
BS
12232009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
1224
1225 * config/bfin-parse.y (gen_multi_instr_1): New function.
1226 (asm): Use it instead of bfin_gen_multi_instr.
1227 (error): Add a format string when calling as_bad.
1228 * config/bfin-defs.h (insn_regmask): Declare.
1229 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
1230 macros.
1231 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
1232 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
1233 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
1234 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
1235 insn_regmask): New functions.
1236
6306cd85
BS
1237 From Jie Zhang <jie.zhang@analog.com>
1238 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
1239 (AC_05000074): Define.
1240 (ENABLE_AC_05000074): Define.
1241 * config/tc-bfin.c (enum bfin_cpu_type): New.
1242 (bfin_cpu_t): Typedef.
1243 (bfin_cpu_type): Define.
1244 (bfin_si_revision): Define.
1245 (bfin_anomaly_checks): Define.
1246 (struct bfin_cpu): New.
1247 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
1248 (bfin_isa): New global variable.
1249 (OPTION_MCPU): Define.
1250 (md_longopts[]): Add -mcpu option.
1251 (md_parse_option): Deal with -mcpu option and initialize
1252 bfin_anomaly_checks.
1253 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
1254 -mcpu option.
1255 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
1256 05000074.
1257
baa3eb38
MF
12582009-08-11 Mike Frysinger <vapier@gentoo.org>
1259
1260 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
1261 (unary): Likewise.
1262
ba7e13e4
NC
12632009-08-11 Nick Clifton <nickc@redhat.com>
1264
1265 PR 10443
1266 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
1267 operands.
1268
0561d57c
JK
12692009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1270
1271 Fix compilation of i386-*-go32.
1272 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
1273 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
1274 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
1275 * config/tc-i386.h <!i386_target_format>: ... here.
1276
539d4391
NC
12772009-08-10 Daniel Gutson <dgutson@codesourcery.com>
1278
1279 PR gas/10479
1280 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
1281
940b5ce0
DJ
12822009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
1283
1284 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
1285 variables.
1286 (mapping_state): Use the section's mapstate.
1287 (mapping_state_2): Likewise. Skip special sections.
1288 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
1289 (arm_elf_change_section): Do not set deleted globals.
1290 * config/tc-arm.h (struct arm_segment_info_type): Document
1291 marked_pr_dependency.
1292
caa03924
ME
12932009-08-07 Michael Eager <eager@eagercon.com>
1294
1295 * NEWS: Mention MicroBlaze support.
1296
7ba29e2a
NC
12972009-08-06 Michael Eager <eager@eagercon.com>
1298
1299 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
e0c483d6 1300 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
7ba29e2a
NC
1301 DEP_microblaze_elf target.
1302 * Makefile.in: Regenerate.
1303 * config/tc-microblaze.c: Add MicroBlaze assembler.
1304 * config/tc-microblaze.h: Add header for tc-microblaze.c.
1305 * configure.in: Add microblaze target.
1306 * configure: Regenerate.
e0c483d6 1307 * configure.tgt: Same.
7ba29e2a
NC
1308 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
1309 * doc/Makefile.in: Same.
1310 * doc/all.texi: Set MICROBLAZE.
1311 * doc/as.texinfo: Add MicroBlaze doc links.
1312 * doc/c-microblaze.texi: New MicroBlaze docs.
1313
c877a2f2
NC
13142009-08-06 Nick Clifton <nickc@redhat.com>
1315
1316 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
1317 block in case it is a null macro.
1318
b12dd2e4
CF
13192009-08-05 Chao-ying Fu <fu@mips.com>
1320
1321 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
1322 true for new abi. For non-IRIX targets, it is always true.
1323 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
1324
8453da2e
EW
13252009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
1326
1327 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
1328 attiny861a, atmega644pa, attiny24a, attiny44a.
1329 * doc/c-avr.texi: Likewise.
1330
30f8113a
SL
13312009-08-04 Sandra Loosemore <sandra@codesourcery.com>
1332
1333 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
1334 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
1335
f86adc07
NS
13362009-08-04 Nathan Sidwell <nathan@codesourcery.com>
1337
1338 * config/tc-arm.c (my_get_expression): Detect missing expressions.
1339
249da685
EW
13402009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
1341
1342 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
1343 * doc/c-avr.texi: Likewise.
1344
11908008
EW
13452009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
1346
1347 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
1348 * doc/c-avr.texi: Likewise.
1349
cd000bff
DJ
13502009-07-31 Daniel Gutson <dgutson@codesourcery.com>
1351 Daniel Jacobowitz <dan@codesourcery.com>
1352
1353 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
1354 * config/tc-arm.c (make_mapping_symbol): New function, from
1355 mapping_state. Save mapping symbols in the frag.
1356 (insert_data_mapping_symbol): New.
1357 (mapping_state): Use make_mapping_symbol, improve state transitions.
1358 (mapping_state_2): New. Provide dummy definition.
1359 (opcode_select): Do not call mapping_state.
1360 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
1361 (output_inst): Update use of tc_frag_data.
1362 (new_automatic_it_block): Call mapping_state before emitting the
1363 IT instruction.
1364 (md_assemble): Move mapping_state to just before outputting the
1365 new instruction.
1366 (arm_handle_align): Update use of tc_frag_data.
1367 Call insert_data_mapping_symbol.
1368 (arm_init_frag): Update use of tc_frag_data. Call
1369 mapping_state_2.
1370 (arm_elf_change_section): Always update the mapping symbol FSM state.
1371 (check_mapping_symbols): New function.
1372 (arm_adjust_symtab): Use check_mapping_symbols.
1373 * config/tc-arm.h (struct arm_frag_type): New.
1374 (TC_FRAG_TYPE): Change to struct arm_frag_type.
1375 (TC_FRAG_INIT): Pass max_chars.
1376 (arm_init_frag): Update prototype.
1377
5d8d4872
AG
13782009-07-31 Anthony Green <green@moxielogic.com>
1379
1380 * configure.tgt (generic_target): Add moxie-uclinux support.
1381
f746e6b9
NC
13822009-07-30 Nick Clifton <nickc@redhat.com>
1383
cab7e4d9
NC
1384 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
1385 different syntaxes support by the ARM port.
1386 (ARM Directives): Add entry for .syntax.
1387
f746e6b9
NC
1388 * doc/c-mips.texi (MIPS insn): Fix typo.
1389
af65af87
AM
13902009-07-29 Alan Modra <amodra@bigpond.net.au>
1391
1392 PR ld/10269
1393 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
1394 * config/tc-i386.c: Revert 2009-06-13 change.
1395 * config/tc-i386.h: Likewise.
1396
1035ad42
JB
13972009-07-28 Jan Beulich <jbeulich@novell.com>
1398
1399 * expr.c (op_rank): Specify size. Remove O_md* initializers.
1400
46203761
MK
14012009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1402
1403 * config/tc-m68k.c (mcf5221x_ctrl): New.
1404 (m68k_cpu): Add line for MCF5221x.
1405
14062009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
b345c8c2
MK
1407
1408 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
1409 (mcf53017_ctrl): Fix RAMBAR.
1410
efa19bfd
JB
14112009-07-27 Jan Beulich <jbeulich@novell.com>
1412
1413 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
1414 symbol_new() with the passed in, unmodified one.
1415
7859b21d
SR
14162009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1417
1418 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
1419 object file without symbol values.
1420 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
e0c483d6 1421 then set the relocation type as NULL.
7859b21d 1422
8a9036a4
L
14232009-07-25 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * config/tc-i386.c (cpu_arch): Add l1om.
1426 (check_cpu_arch_compatible): New.
1427 (set_cpu_arch): Use it.
1428 (i386_arch): New.
1429 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
1430 (md_show_usage): Display l1om.
1431 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
1432 cpu_arch_isa_flags.bitfield.cpul1om is set.
1433
1434 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
1435 (i386_arch): New.
1436 (ELF_TARGET_L1OM_FORMAT): Likewise.
1437
1438 * doc/c-i386.texi: Document l1om.
1439
01fb1836 14402009-07-24 Roland McGrath <roland@redhat.com>
8e884a26 1441 Mark Wielaard <mjw@redhat.com>
01fb1836
RM
1442
1443 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
1444 flags on .comment section.
1445
8fdcc58d
TS
14462009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
1447 Alan Modra <amodra@bigpond.net.au>
1448
1449 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
1450 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
1451 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
1452
309d3373
JB
14532009-07-24 Jan Beulich <jbeulich@novell.com>
1454
1455 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
1456 .nosse, and .noavx.
1457 (cpu_flags_and_not): New.
1458 (set_cpu_arch): Check whether sub-architecture specified is a
1459 feature disable.
1460 (md_parse_option): Likewise.
1461 (parse_real_register): Don't return floating point register
1462 when x87 functionality is disabled.
1463 (md_show_usage): Add new sub-options.
1464 * doc/c-i386.texi: Update with new command line sub-options.
1465
20203fb9
NC
14662009-07-24 Nick Clifton <nickc@redhat.com>
1467
1468 PR 10437
1469 * config/tc-alpha.c: Fix up uses of gas printf like functions so
1470 that the format string is a constant string. Add translation
1471 support to message strings.
1472 * config/tc-arc.c: Likewise.
1473 * config/tc-arm.c: Likewise.
1474 * config/tc-cris.c: Likewise.
1475 * config/tc-fr30.c: Likewise.
1476 * config/tc-frv.c: Likewise.
1477 * config/tc-h8300.c: Likewise.
1478 * config/tc-hppa.c: Likewise.
1479 * config/tc-i370.c: Likewise.
1480 * config/tc-i960.c: Likewise.
1481 * config/tc-ia64.c: Likewise.
1482 * config/tc-m32r.c: Likewise.
1483 * config/tc-mep.c: Likewise.
1484 * config/tc-mips.c: Likewise.
1485 * config/tc-moxie.c: Likewise.
1486 * config/tc-msp430.c: Likewise.
1487 * config/tc-openrisc.c: Likewise.
1488 * config/tc-pdp11.c: Likewise.
1489 * config/tc-pj.c: Likewise.
1490 * config/tc-s390.c: Likewise.
1491 * config/tc-sh.c: Likewise.
1492 * config/tc-sh64.c: Likewise.
1493 * config/tc-sparc.c: Likewise.
1494 * config/tc-spu.c: Likewise.
1495 * config/tc-tic30.c: Likewise.
1496 * config/tc-tic4x.c: Likewise.
1497 * config/tc-tic54x.c: Likewise.
1498 * config/tc-v850.c: Likewise.
1499 * config/tc-xc16x.c: Likewise.
1500 * config/tc-xstormy16.c: Likewise.
1501 * config/tc-z80.c: Likewise.
1502 * config/tc-z8k.c: Likewise.
1503 * config/atof-ieee.c: Add translation support to as_warn
1504 messages.
1505 * config/obj-coff.c: Likewise.
1506
3e7a7d11
NC
15072009-07-23 Ulrich Drepper <drepper@redhat.com>
1508
1509 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1510 gnu_unique_object.
1511 * doc/as.texinfo: Document new feature of .type directive.
1512 * NEWS: Mention support for gnu_unique_object symbol type.
1513
a946d7e3
NC
15142009-07-23 Nick Clifton <nickc@redhat.com>
1515
1516 PR binutils/10379
1517 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1518 the .global directive for MIPS ports.
1519
711eedef
L
15202009-07-21 H.J. Lu <hongjiu.lu@intel.com>
1521
1522 PR gas/10420
1523 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1524 64bit.
1525 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1526 for 64bit.
1527
bc0844ae
L
15282009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1529
1530 * config/tc-i386.c (md_assemble): Update operand types.
1531 (update_imm): Updated.
1532 (finalize_imm): Update the first 2 immediate operands only
1533 for instructions with 2 operands or more.
1534
9afe6eb8
L
15352009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1536
1537 * config/tc-i386.c (md_assemble): Check implicit registers
1538 only for instructions with 3 operands or less.
1539
a61a9fbc
NC
15402009-07-17 Nick Clifton <nickc@redhat.com>
1541
1542 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1543 compile time warning.
1544
915bcca5
L
15452009-07-16 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1548 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1549
9a6f4e97
NS
15502009-07-16 Nathan Sidwell <nathan@codesourcery.com>
1551
1552 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1553 the offset for REL targets here.
1554
3726e6c5
L
15552009-07-15 Kai Tietz <kai.tietz@onevision.com>
1556
1557 * listing.c (print_source): Initialize cache by NULL.
1558
52970753
NC
15592009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1560
1561 * doc/c-arm.texi (mauto-it): Removed old option.
1562 (mimplicit-it): Added right option.
1563
140033b3
NC
15642009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1565
1566 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1567 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1568 MAX_MEM_ALIGNMENT_BYTES.
1569 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1570 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1571
63b33ceb
NC
15722009-07-14 Nick Clifton <nickc@redhat.com>
1573
1574 PR 10387
1575 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1576 (ARM_IS_FUNC): Likewise.
1577
752d5da4
NC
15782009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1579
1580 * config/tc-arm.c (md_assemble): Added validation.
1581
8455dd2c
L
15822009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 * Makefile.am: Run "make dep-am".
1585 * Makefile.in: Regenerated.
1586
fa8f86ff
TT
15872009-07-10 Tom Tromey <tromey@redhat.com>
1588
1589 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1590 elf/dwarf2.h.
1591 (DEPTC_alpha_elf): Likewise.
1592 (DEPTC_alpha_evax): Likewise.
1593 (DEPTC_arm_elf): Likewise.
1594 (DEPTC_hppa_elf): Likewise.
1595 (DEPTC_i386_aout): Likewise.
1596 (DEPTC_i386_coff): Likewise.
1597 (DEPTC_i386_elf): Likewise.
1598 (DEPTC_m68k_aout): Likewise.
1599 (DEPTC_m68k_coff): Likewise.
1600 (DEPTC_m68k_elf): Likewise.
1601 (DEPTC_mips_coff): Likewise.
1602 (DEPTC_mips_ecoff): Likewise.
1603 (DEPTC_mips_elf): Likewise.
1604 (DEPTC_ppc_coff): Likewise.
1605 (DEPTC_ppc_elf): Likewise.
1606 (DEPTC_s390_elf): Likewise.
1607 (DEPTC_sh_coff): Likewise.
1608 (DEPTC_sh_elf): Likewise.
1609 (DEPTC_sh64_elf): Likewise.
1610 (DEPTC_sparc_aout): Likewise.
1611 (DEPTC_sparc_coff): Likewise.
1612 (DEPTC_sparc_elf): Likewise.
1613 (as.o): Likewise.
1614 (dwarf2dbg.o): Likewise.
1615 (dw2gencfi.o): Likewise.
1616 (ehopt.o): Likewise.
1617 (read.o): Likewise.
1618 * Makefile.in: Rebuild.
1619 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1620 * dwarf2dbg.c: Likewise.
1621 * ehopt.c: Likewise.
1622
c921be7d
NC
16232009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1624
1625 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1626 (set_it_insn_type_nonvoid): New macro.
1627 (emit_thumb32_expr): New function.
1628 (thumb_insn_size): New function.
1629 (emit_insn): New function.
1630 (s_arm_elf_inst): New function.
1631 (md_pseudo_table): New pseudo-opcode entries added.
1632 * doc/c-arm.texi: New directive added.
1633
7ec721f4
DD
16342009-07-07 DJ Delorie <dj@redhat.com>
1635
1636 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1637 when enabling other options without a specific configuration.
1638
1103f72c
NC
16392009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1640
1641 * config/tc-arm.c (insns): Fix encoding for torvsc.
1642
922d8de8
DR
16432009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1644
1645 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1646 (build_modrm_byte): Add support to handle FMA4 instructions.
1647 (md_show_usage): Add fma4.
01fb1836 1648
c1a6351f
AM
16492009-07-04 Alan Modra <amodra@bigpond.net.au>
1650
1651 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1652
e57f8c65
TG
16532009-07-02 Tristan Gingold <gingold@adacore.com>
1654
1655 * Makefile.am (OBJ_FORMATS): Add macho.
1656 (CPU_OBJ_VALID): Ditto.
1657 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1658 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1659 (obj-macho.o): New rule.
1660 * Makefile.in: Regenerated.
1661 * configure.tgt (generic_target): Add i386-*-darwin*.
1662 * config/tc-i386.h: Use i386_target_format for Mach-O.
1663 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1664 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1665 * config/obj-macho.h: New file.
1666 * config/obj-macho.c: New file.
01fb1836 1667
1ef52f49
NC
16682009-07-01 Nick Clifton <nickc@redhat.com>
1669
1670 PR 10168
1671 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1672 PKHBT.
1673
921e5f0a
PB
16742009-07-01 Paul Brook <paul@codesourcery.com>
1675
1676 * config/tc-arm.c (MISSING_FNSTART): Define.
1677 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1678 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1679 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1680 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1681 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1682 not inside function unwinding region.
1683
7ab9ffdd
L
16842009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 * config/tc-i386.c: Reformat.
1687
3ef23cd4
DD
16882009-06-23 DJ Delorie <dj@redhat.com>
1689
1690 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1691 32 bits for relaxable branches so that we can relax them later.
1692 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1693 (mep_relax_frag): New.
1694 (md_convert_frag): Relax IVC2 branches in-place.
1695 * config/tc-mep.h ((mep_relax_frag): New.
1696
9c2799c2 16972009-06-22 Martin Thuresson <martin@mtme.org>
01fb1836 1698
1e9cc1c2
NC
1699 * app, as.c, as.h, atof-generic.c, cgen.c,
1700 config/atof-ieee.c, config/obj-aout.c,
1701 config/obj-coff.c, config/obj-ecoff.c,
1702 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1703 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1704 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1705 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1706 config/tc-i386-intel.c, config/tc-i386.c,
1707 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1708 config/tc-iq2000.c, config/tc-m32c.c,
1709 config/tc-m32r.c, config/tc-m68hc11.c,
1710 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1711 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1712 config/tc-mn10300.c, config/tc-moxie.c,
1713 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1714 config/tc-s390.c, config/tc-score.c,
1715 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1716 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1717 config/tc-xtensa.c, config/xtensa-relax.c,
1718 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1719 frags.c, input-file.c, read.c, sb.c,
1720 subsegs.c, symbols.c, write.c: Change the name of the
9c2799c2
NC
1721 gas macro `assert' to `gas_assert'.
1722
e07e6e58
NC
17232009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1724
1725 * config/tc-arm.c (implicit_it_mode): New enum.
1726 (implicit_it_mode): New global.
1727 (it_instruction_type): New enum.
1728 (arm_parse_it_mode): New function.
1729 (arm_long_opts): New option added.
1730 (arm_it): New field.
1731 (it_state): New enum.
1732 (now_it): New macro.
1733 (check_it_blocks_finished): New function.
1734 (insns[]): Use the IT Thumb opcodes for ARM too.
1735 (arm_cleanup): Call check_it_blocks_finished.
1736 (now_it_compatible): New function.
1737 (conditional_insn): New function.
1738 (set_it_insn_type): New macro.
1739 (set_it_insn_type_last): New macro.
1740 (do_it): Call automatic IT machinery functions.
1741 (do_t_add_sub): Likewise
1742 (do_t_arit3): Likewise.
1743 (do_t_arit3c): Likewise.
1744 (do_t_blx): Likewise.
1745 (do_t_branch): Likewise.
1746 (do_t_bkpt): Likewise.
1747 (do_t_branch23): Likewise.
1748 (do_t_bx): Likewise.
1749 (do_t_bxj): Likewise.
1750 (do_t_cps): Likewise.
1751 (do_t_cpsi): Likewise.
1752 (do_t_cbz): Likewise.
1753 (do_t_it): Likewise.
1754 (encode_thumb2_ldmstm): Likewise.
1755 (do_t_ldst): Likewise.
1756 (do_t_mov_cmp): Likewise.
1757 (do_t_mvn_tst): Likewise.
1758 (do_t_mul): Likewise.
1759 (do_t_neg): Likewise.
1760 (do_t_setend): Likewise.
1761 (do_t_shift): Likewise.
1762 (do_t_tb): Likewise.
1763 (output_it_inst): New function.
1764 (new_automatic_it_block): New function.
1765 (close_automatic_it_block): New function.
1766 (now_it_add_mask): New function.
1767 (it_fsm_pre_encode): New function.
1768 (handle_it_state): New function.
1769 (it_fsm_post_encode): New function.
1770 (force_automatic_it_block_close): New function.
1771 (in_it_block): New function.
1772 (md_assemble): Call automatic IT block machinery functions.
1773 (arm_frob_label): Likewise.
1774 (arm_opts): New element.
1775 * config/tc-arm.h (it_state): New enum.
1776 (current_it): New struct.
1777 (arm_segment_info_type): New member added.
1778 * doc/c-arm.texi: New option -mimplicit-it documented.
1779
90dce00a
AM
17802009-06-20 Alan Modra <amodra@bigpond.net.au>
1781
1782 PR 10302
1783 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1784
5e7c27a6
MS
17852009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1786
1787 * config/tc-s390.c (md_gather_operands): Accept an instruction
1788 without operands if all operands are tagged as optional.
1789
3a21c15a
NC
17902009-06-18 Nick Clifton <nickc@redhat.com>
1791
1792 PR 10169
1e9cc1c2 1793 * tc-arm.c (do_t_ssat): Move common code from here...
3a21c15a
NC
1794 (do_t_usat): ... and here to...
1795 (do_t_ssat_usat): New function: ... here. Add code to check that
1796 the shift value, if present, is in range.
1797
361dff73
DK
17982009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1799
32425da9
NC
1800 Merge cegcc and mingw32ce target name changes
1801 from CeGCC project:
361dff73 1802
32425da9 1803 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1804
1805 * configure.tgt: Add arm*-*-cegcc* target.
1806
32425da9 1807 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1808
1809 * configure.tgt: Add arm-*-mingw32ce* target.
1810
7b6021f1
MR
18112009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1812
1813 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1814 indirect symbol references in the PIC mode and emit a
1815 PC-relative relocation instead of a GOT/PLT one. Likewise
1816 for symbols known to be hidden at this point.
1817
fe2ceba1
NC
18182009-06-15 Nick Clifton <nickc@redhat.com>
1819
1820 PR 10186
1821 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1822 instruction.
1823
c25bc9fc
L
18242009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 PR ld/10269
1827 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1828 instead of generic_force_reloc.
1829
1830 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1831
f865a31d
AG
18322009-06-11 Anthony Green <green@moxielogic.com>
1833
1834 * config/tc-moxie.c (md_chars_to_number): Define.
1835 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1836 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1837 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1838 (tc_gen_reloc): Ditto.
1839 (md_pcrel_from): Ditto.
1840 (md_chars_to_number): New function.
1841
d7a5ed35
AG
18422009-06-10 Anthony Green <green@moxielogic.com>
1843
1844 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1845 opcodes.
1846
1fbfe785
JJ
18472009-06-09 Jakub Jelinek <jakub@redhat.com>
1848
1849 PR gas/10255
1850 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1851 to DW_CFA_advance_loc4.
1852
fbeb56a4
DK
18532009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1854
1855 PR gas/977
1856 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1857 branches to weak symbols.
1858 (md_apply_fix): Don't convert fixes against weak symbols to
1859 section-relative offsets, but save addend for later reloc emission.
1860 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1861 addend to pre-compensate for bfd_install_relocation.
1862
26d1917c
AM
18632009-06-04 Alan Modra <amodra@bigpond.net.au>
1864
1865 * dep-in.sed: Don't use \n in replacement part of s command.
1866 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1867 * Makefile.in: Regenerate.
1868
d160e035
L
18692009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1870
1871 PR gas/10198
1872 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1873
ff239038
CM
18742009-05-26 Catherine Moore <clm@codesourcery.com>
1875
1876 * config/tc-mips.c (check_for_24k_errata): Remove.
1877 (md_mips_end): Remove call to check_for_24k_errata.
1878 (start_noreorder): Likewise.
1879 (s_change_sec): Likewise.
1880 (s_change_section): Likewise.
1881 (insns_between): Add 24k errata checks.
1882 (append_insn): Remove declaration and references to nhdx_24k.
1883 Remove calls to check_for_24k_errata.
01fb1836 1884
f12e7348
NC
18852009-05-26 Nick Clifton <nickc@redhat.com>
1886
1887 * po/id.po: Updated Indonesian translation.
1888 * po/gas.pot: Updated template file.
1889
f8f003f1
NC
18902009-05-26 Nick Clifton <nickc@redhat.com>
1891
1892 PR 10143
1893 * config/bfin-parse.y (error): Use "%s" as format string for error
1894 message.
1895
5de4cd13
AM
18962009-05-26 Alan Modra <amodra@bigpond.net.au>
1897
1898 * dep-in.sed: Output one filename per line with all lines having
1899 continuation backslash. Prefix first line with "A", following
1900 lines with "B".
1901 * Makefile.am (DEP): Don't use dep.sed here.
1902 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1903 sort and uniq.
1904 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1905 Emit multi dependencies on one line.
1906 * Makefile.in: Regenerate.
1907
295fa3cf 19082009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
1909
1910 * makefile.vms: New file to compile gas on VMS.
1911
1912 * configure.com: New file to do configuration on VMS with DCL.
1913
65b02341
RS
19142009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1915
1916 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1917 (nops_for_insn): Likewise.
1918
ad04f5ce
L
19192009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1920
1921 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1922
c1e679ec
DR
19232009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1924
1925 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1926 (build_modrm_byte): Remove DREX handling support.
1927 (DREX_*): Delete.
1928 (drex_byte): Delete.
1929 (md_assemble): Remove DREX handling support.
1930 (process_operands): Remove DREX, SSE5 support.
1931 (i386_insn): Remove DREX.
01fb1836 1932
2b3decb5
AM
19332009-05-22 Alan Modra <amodra@bigpond.net.au>
1934
1935 * Makefile.am: Run "make dep-am".
1936 * Makefile.in: Regenerate.
1937
321098a5
L
19382009-05-20 Kai Tietz <kai.tietz@onevision.com>
1939 H.J. Lu <hongjiu.lu@intel.com>
1940
1941 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1942 (TARGET_FORMAT): Removed for x86 pe-coff.
1943 (COFF_TARGET_FORMAT): Likewise.
1944
1945 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1946 (md_parse_option): Likewise.
1947 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1948 (i386_target_format): Use also for x86 pe-coff.
1949
1950 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1951 for x86 pe-coff.
1952
b899d332
DD
19532009-05-19 DJ Delorie <dj@redhat.com>
1954
1955 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1956 (mep_process_saved_insns): Remove debugging printfs.
1957
c1711530
DK
19582009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1959
1960 * NEWS: Mention new feature.
1961 * config/obj-coff.c (obj_coff_common_parse): New function.
1962 (obj_coff_comm): Likewise.
1963 (coff_pseudo_table): Override default ".comm" definition on PE.
1964 * doc/as.texinfo: Document new feature.
1965
63ad59ae
KT
19662009-05-17 Kai Tietz <kai.tietz@onevision.com>
1967
321098a5
L
1968 * config/obj-coff.c (obj_coff_section): Add 'y' as
1969 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
1970 * doc/as.texinfo: Add documentation about .section flag 'y'.
1971
77ca1325
DD
19722009-05-13 DJ Delorie <dj@redhat.com>
1973
1974 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1975
42a68e18
AJ
19762009-05-13 Andrew Jenner <andrew@codesourcery.com>
1977
1978 * config/tc-arm.c: Move as.h to start of file.
1979
267bf995
RR
19802009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1981
84df6011 1982 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
1983 (ARM_IS_FUNC): New macro.
1984 (MD_APPLY_SYM_VALUE): Define.
1985
84df6011 1986 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
1987 all versions of EABI.
1988 (relax_branch): Do not relax for branches to ARM functions.
1989 (md_pcrel_from_section): Set up base correctly for
1990 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1991 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1992 BFD_RELOC_ARM_PCREL_CALL.
1993 (md_apply_fix): Flip bl to blx where possible.
1994 Flip blx to bl where possible.
1995 (arm_force_relocation): Force relocations for
1996 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1997 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1998 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1999 BFD_RELOC_THUMB_PCREL_BRANCH25.
2000 (arm_apply_sym_value): New function.
01fb1836 2001
eb979bfb
TG
20022009-05-04 Tristan Gingold <gingold@adacore.com>
2003
2004 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
2005
45eb4c1b
NS
20062009-05-01 Nathan Sidwell <nathan@codesourcery.com>
2007
2008 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
2009 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
2010 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
2011 the default FPU from the processor.
2012
00adf2d4
JB
20132009-05-01 Julian Brown <julian@codesourcery.com>
2014
2015 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
2016 (md_pcrel_from_section): Align address for BLX.
2017 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
2018 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
2019
3526b680
DD
20202009-04-29 DJ Delorie <dj@redhat.com>
2021
2022 * config/tc-mep.c (md_begin): Check coprocessor type.
2023 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
2024 (md_check_parallel32_scheduling): Likewise.
2025 (slot_ok): New.
2026 (mep_check_ivc2_scheduling): New.
2027 (mep_check_parallel_scheduling): Call it.
2028 (mep_process_saved_insns): Add IVC2 slot support.
2029 (md_assemble): Likewise.
2030
d8045f23
NC
20312009-04-30 Nick Clifton <nickc@redhat.com>
2032
2033 * config/obj-elf.c (obj_elf_type): Add support for a
2034 gnu_indirect_function type.
2035 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
2036 against indirect function symbols.
2037 * doc/as.texinfo (.type): Document the support for the
2038 gnu_indirect_function symbol type.
2039 * NEWS: Mention the new feature.
2040
92846e72
CC
20412009-04-24 Cary Coutant <ccoutant@google.com>
2042
2043 * NEWS: Add item about discriminator support.
2044 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
2045 * dwarf2dbg.c (current): Add discriminator field.
2046 (dwarf2_where): Copy discriminator value.
2047 (dwarf2_consume_line_info): Set discriminator to 0.
2048 (dwarf2_directive_loc): Process discriminator sub-op.
2049 (out_leb128): New function.
2050 (process_entries): Output DW_LNE_set_discriminator.
2051 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 2052
520725ea
NS
20532009-04-22 Nathan Sidwell <nathan@codesourcery.com>
2054
2055 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
2056 as_bad calls to silence compiler warning.
2057
7ac3eb25
L
20582009-04-21 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 * config/tc-i386-intel.c (O_XXX): Reorder.
2061
ee86248c
JB
20622009-04-20 Jan Beulich <jbeulich@novell.com>
2063
2064 * Makefile.am: Add explicit dependency of tc-i386.o on
2065 tc-i386-intel.c.
2066 * Makefile.in: Likewise.
2067 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
2068 out from i386_immediate.
2069 (i386_immediate): Slightly re-arrange, call
2070 i386_finalize_immediate.
2071 (i386_finalize_displacement): Declare, broken out from
2072 i386_displacement.
2073 (i386_displacement): Slightly re-arrange, call
2074 i386_finalize_displacement.
2075 (i386_intel_simplify, i386_intel_parse_name): Declare.
2076 (this_operand): Initialize to -1.
2077 (set_intel_syntax): Set expression rank for O_full_ptr.
2078 (md_assemble): Set this_operand back to -1 after parsing
2079 operands.
2080 (x86_cons): Negate intel_syntax to indicate state. Call
2081 i386_intel_simplify.
2082 (md_operand): Convert if to switch. Handle '[' for Intel
2083 syntax.
2084 (i386_intel_operand): Delete, including all helper functions
2085 and data.
2086 * config/tc-i386-intel.c: New file, all new code.
2087 * config/tc-i386.h (i386_operator): Declare.
2088 (md_operator): Define to i386_operator.
2089 (i386_need_index_operator): Declare.
2090 (md_need_index_operator): Define to i386_need_index_operator.
2091 (O_full_ptr): Define.
2092
fcaed75e
JB
20932009-04-20 Jan Beulich <jbeulich@novell.com>
2094
2095 * expr.c (operand): Call md_need_index_operator() and
2096 md_operator() if defined. Add unary label.
2097 (operator): Call md_operator() if defined.
2098 (expr): Adjust assertions on range and rank of op_left and
2099 op_right. Don't abort on unhandled operators when reducing
2100 expressions with both operands being constant.
2101 (expr_set_rank): New.
2102 * expr.h (expr_set_rank): Declare.
2103
51a5d0aa 21042009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
2105
2106 * config/tc-moxie.h: New file.
2107 * config/tc-moxie.c: New file.
2108 * configure: Add support for moxie.
2109 * configure.tgt: Add support for moxie.
2110
d85733c8
JB
21112009-04-16 Jan Beulich <jbeulich@novell.com>
2112
2113 * expr.c: Include limits.h if available, and #define CHAR_BITS
2114 otherwise.
2115 (expr): Check range of shift count when evaluating a constant
2116 expression.
2117
d8a1b51e
JB
21182009-04-15 Jan Beulich <jbeulich@novell.com>
2119
2120 * config/tc-i386.c (process_operands): Print operands in
2121 correct order depending on intel_syntax.
2122
6a32d874
CM
21232009-04-09 Catherine Moore <clm@codesourcery.com>
2124
2125 * config/tc-mips.c (mips_fix_24k): Declare.
2126 (check_for_24k_errata): New.
2127 (mips_cleanup): Call check_for_24k_errata.
2128 (start_noreorder): Likewise.
2129 (md_mips_end): Likewise.
2130 (s_change_sec): Likewise.
2131 (s_change_section): Likewise.
2132 (append_insn): Call check_for_24k_errata. Prevent
2133 ERET/DERET instructions from being moved into delay
2134 slots.
2135 (OPTION_FIX_24K): New.
2136 (OPTION_NO_FIX_24k) New.
2137 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
2138 (md_parse_option): Handle fix-24k options.
2139 (md_show_usage): Display fix-24k options.
2140 * doc/c-mips.texi: Document.
6a32d874 2141
6b6b3450
AN
21422009-04-09 Adam Nemet <anemet@caviumnetworks.com>
2143
2144 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
2145 instead of HAVE_64BIT_SYMBOLS.
2146
4d28413b
DD
21472009-04-07 DJ Delorie <dj@redhat.com>
2148
2149 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
2150 (md_show_usage): Change default endian to little.
2151 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
2152
bcb012d3
DD
21532009-04-06 DJ Delorie <dj@redhat.com>
2154
2155 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
2156 immediates.
2157 (build_bytes): Pass insn to do_a_fix_imm.
2158
5b19eaba
NC
21592009-04-02 Daniel Gutson <dgutson@codesourcery.com>
2160
2161 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
2162 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
2163 Cortex-M1.
2164
745435b6
MT
21652009-04-01 Matt Thomas <matt@netbsd.org>
2166
2167 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
2168 (md_assemble): emit symbol name when used as immediate in PIC mode.
2169 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
2170
1ec520b7
SA
21712009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
2172
2173 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
2174
4343666d
RR
21752009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2176
2177 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
2178 (find_real_start): Likewise.
2179 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
2180
e7495e45
NS
21812009-04-01 Nathan Sidwell <nathan@codesourcery.com>
2182
2183 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
2184 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
2185 whenever possible.
2186
42240548
PB
21872009-03-31 Peter Bergner <bergner@vnet.ibm.com>
2188
2189 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
2190
adfd7328
DK
21912009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
2192
2193 * doc/internals.texi: Fix trivial syntax errors.
2194
0cc9e1d3
AM
21952009-03-26 Alan Modra <amodra@bigpond.net.au>
2196
2197 PR 10005
2198 * config/tc-i386.c (reloc): Don't abort on lack of required
2199 reloc type.
2200
41aacd83
L
22012009-03-25 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
2204 arch.
2205
d67ffd56
L
22062009-03-23 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 PR gas/9966
2209 * listing.c (listing_newline): Properly handle `\\"' and ';'.
2210
2211 * read.c (is_end_of_line): Update comments for line separator.
2212 (read_begin): Set line separator in is_end_of_line to 2.
2213
b7cac25f
DM
22142009-03-19 David S. Miller <davem@davemloft.net>
2215
2216 * config/tc-sparc.c (md_parse_option): If the user gives
2217 us '--64' make sure max_architecture is at least V9.
2218
42e5fcbf
AS
22192009-03-18 Andrew Stubbs <ams@codesourcery.com>
2220
2221 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
2222 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
2223 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
2224
8d25cc3d
AM
22252009-03-18 Alan Modra <amodra@bigpond.net.au>
2226
2227 * as.h: Include alloca-conf.h instead of config.h and remove
2228 existing #if's handling alloca.
2229 * Makefile.am: Run "make dep-am".
2230 * Makefile.in: Regenerate.
2231
8602d4fe
RS
22322009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
2233
2234 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
2235 C_AIX_WEAKEXT too.
2236
9f0eb232
RS
22372009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
2238
2239 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
2240 "value" from fx_offset. Manually resubtract md_pcrel_from_section
2241 where necessary.
2242
e5231592
RS
22432009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
2244
2245 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
2246 * configure.in: Likewise.
2247 * configure: Regenerate.
2248
a07dbd48
HPN
22492009-03-11 Hans-Peter Nilsson <hp@axis.com>
2250
2251 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
2252 Rename, changing all callers, to...
2253 (md_create_short_jump): Adjust head comment. Assert
2254 word-sized-branch distance for v32. Bail out calling as_fatal for
2255 compatibility mode here.
2256 (md_create_long_jump): ...not here.
2257 * config/tc-cris.h (md_create_short_jump): Do not define.
2258
187af7df
HPN
22592009-03-10 Hans-Peter Nilsson <hp@axis.com>
2260
2261 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
2262 the jump table for multiple overflowing entries with the same
2263 target, handle base symbols being different.
2264 (relax_segment) <case rs_broken_word, second loop>: Whenever a
2265 single entry overflows, arrange to redirect all entries with the
2266 same target.
2267
69fe9ce5
AM
22682009-03-10 Alan Modra <amodra@bigpond.net.au>
2269
2270 * config/tc-ppc.c (parse_cpu): Delete.
2271 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
2272
f378cd83
L
22732009-03-09 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 PR gas/9915
2276 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
2277 (LOCAL_LABELS_FB): Undefine befoe define.
2278
d11fd249
NC
22792009-03-06 Nick Clifton <nickc@redhat.com>
2280
2281 * po/es.po: Updated Spanish translation.
2282
cc3f603a
JM
22832009-03-05 Joseph Myers <joseph@codesourcery.com>
2284
2285 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
2286 s_incbin): Call md_cons_align (1).
2287
d9319cec
NC
22882009-03-04 Nick Clifton <nickc@redhat.com>
2289
2290 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
2291 based targets.
2292 (s_alpha_comm): Only define "temp" and "log_align" local variables
2293 for EVAX targets.
2294
727fc41e
AM
22952009-03-04 Alan Modra <amodra@bigpond.net.au>
2296
2297 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
2298 have non-zero addend.
2299 (md_assemble): Parse args of __tls_get_addr calls.
2300 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
2301
1c5c6c13
DA
23022009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2303
2304 binutils/3807
2305 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
2306 local scope for ELF targets.
2307
ed84b57b
AM
23082009-03-04 Alan Modra <amodra@bigpond.net.au>
2309
2310 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
2311
198f1251
TG
23122009-03-03 Tristan Gingold <gingold@adacore.com>
2313 Eric Botcazou <ebotcazou@adacore.com>
2314 Douglas B Rupp <rupp@gnat.com>
2315
2316 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
2317 for Alpha.
2318 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
2319 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
2320 (OBJ_SYMFIELD_TYPE): Remove.
2321 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
2322 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
2323 (tc_frob_file_before_fix): Do not defined on evax.
2324 * config/tc-alpha.c: Always includes dwarf2dbg.h.
2325 Include vms.h if OBJ_EVAX.
2326 (struct alpha_fixup): Add xtrasym and procsym (evax only).
2327 (enum alpha_macro_arg): Remove trailing comma.
2328 (md_longopts): Add replace and noreplace arguments (evax only).
2329 (alpha_evax_proc_hash): New variable.
2330 (alpha_link_section): Make it global.
2331 (alpha_ctors_section, alpha_dtors_section): Removed.
2332 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
2333 (alpha_lit8_section): Ifndef'ed on evax.
2334 (alpha_lit8_symbol): Ditto.
2335 (alpha_prologue_label): New variable.
2336 (alpha_linkage_symbol): New variable (evax only).
2337 (alpha_flag_replace): Ditto.
2338 (struct alpha_evax_procs): Add handler and handler_data field.
2339 (alpha_evax_proc): Now of type pointer.
2340 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
2341 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
2342 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
2343 (alpha_adjust_relocs): Ifndef'ed on evax.
2344 (load_expression): Add opname argument.
2345 Implement LDA/BSR optimization for evax.
2346 (emit_lda): Adjust for new prototype of load_expression.
2347 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
2348 (emit_loadstore): Likewise.
2349 (emit_ldXu): Likewise.
2350 (emit_stX): Likewise.
2351 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
2352 (emit_ldgp): Avoid warning in evax case.
2353 (add_to_link_pool): Make it static. Return symbolic expression rather
2354 than number expression for the offset.
2355 (s_alpha_text): Create .text symbol for evax if not already created.
2356 (s_alpha_comm): Do not create specific section for common symbol.
2357 Fill common area with zeros for evax.
2358 (s_alpha_prologue): Create alpha_prologue_label.
2359 (s_alpha_section_name): New function (evax).
2360 (s_alpha_section_word): Likewise.
2361 (section_name): New static variabke moved out from ...
2362 (s_alpha_section): ... here. Create new sections on demand.
2363 (s_alpha_literals): New function (evax).
2364 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
2365 alpha_evax_proc_hash table.
2366 (s_alpha_handler): New function (evax).
2367 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
2368 (s_alpha_prologue): New function (evax).
2369 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
2370 handling of procedures with hash table.
2371 Add support for condition handlers.
2372 (s_alpha_linkage): Create linkage_fixup instance and chain it.
2373 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
2374 (s_alpha_mask): Likewise.
2375 (s_alpha_fmask): Likewise.
2376 (s_alpha_end): Clear alpha_evax_proc.
2377 (s_alpha_align): Increase max_alignment to 16.
2378 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 2379 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
2380 "handler_data" (evax). Do not ignore "prologue" on evax.
2381 Fix indentation.
2382 (md_begin): Create hash table for alpha_evax_proc_hash.
2383 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
2384 (md_show_usage): Mention -replace/-noreplace for evax.
2385 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
2386 (alpha_force_relocation): Likewise.
2387 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
2388 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
2389 (emit_insn): New cases for evax specific relocs.
2390 (assemble_insn): Fix indentation.
2391 Take care of -MDISP in operand table.
2392 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
2393 (OBJ_SYMFIELD_TYPE): New macro.
2394 (obj_symbol_new_hook): Define.
2395 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
2396 (obj_frob_file_before_fix): Ditto.
2397 (PDSC_S_M_HANDLER_VALID): New macro.
2398 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
2399 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
2400 Add prototypes for functions declared in obj-evax.c
2401 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
2402 (s_evax_weak): Convert to ansi-C.
2403 (evax_symbol_new_hook): New function.
2404 (evax_frob_symbol): Ditto.
2405 (evax_frob_file_before_adjust): Ditto.
2406 (evax_frob_file_before_fix): Ditto.
2407 (evax_shorten_name): Ditto.
2408 (crc32): Ditto.
2409 (encode_32): Ditto.
2410 (encode_16): Ditto.
2411 (decode_16): Ditto.
2412 (shorten_identifier): Ditto.
2413 (is_truncated_identifier): Ditto.
2414 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
2415 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
2416 (main): Ditto.
2417
a1f7ca36
AM
24182009-03-03 Alan Modra <amodra@bigpond.net.au>
2419
2420 * Makefile.am: Run "make dep-am".
2421 * Makefile.in: Regenerate.
2422
83cf10fd
NC
24232009-03-02 Nick Clifton <nickc@redhat.com>
2424
2425 PR 9874
2426 * config/tc-ia64.c (fix_insn): Fix warning reported by
2427 -Wformat-security.
2428
c3b7224a
NC
24292009-03-02 Qinwei <qinwei@sunnorth.com.cn>
2430
2431 * config/tc-score7.c: New file.
2432 * doc/c-score.texi: New file.
2433 * Makefile.am: Update dependencies for tc-score.c.
2434 * Makefile.in: Regenerate.
2435 * NEWS: Mention support for Score7 architecture.
2436 * config/tc-score.c: Add support for Score7 architecture.
2437 * config/tc-score.h: Likewise.
2438 * doc/Makefile.am: Add c-score.texi.
2439 * doc/Makefile.in: Regenerate.
2440 * doc/all.texi: Add Score7.
2441 * doc/as.texinfo: Add Score7.
2442
04e2c417
MM
24432009-03-01 Mark Mitchell <mark@codesourcery.com>
2444
2445 * config/tc-arm.c (md_assemble): Allow barrier instructions on
2446 ARMv6-M cores.
2447
58e24671
RW
24482009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2449
2450 * configure: Regenerate.
2451
066be9f7
PB
24522009-02-26 Peter Bergner <bergner@vnet.ibm.com>
2453
2454 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
2455 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
2456 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
2457
784788d2
L
24582009-02-25 H.J. Lu <hongjiu.lu@intel.com>
2459
2460 * config/tc-i386.c (fits_in_imm4): Removed.
2461
91c2f09e
DA
24622009-02-24 Helge Deller <deller@gmx.de>
2463
dfaf9df8 2464 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
2465 (SAVE_IMMEDIATE): New define.
2466
94206790
MM
24672009-02-23 Mark Mitchell <mark@codesourcery.com>
2468
2469 * config/tc-arm.c (warn_deprecated_sp): New macro.
2470 (do_t_mov_cmp): Permit R13 as the second
2471 argument to "cmp.n".
2472
0349dc08
L
24732009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2474
2475 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
2476 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
2477
c1b80a2a
L
24782009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
2481
4c664d7b
L
24822009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * config/tc-i386.c (vex_imm4): Removed.
2485 (VEX_check_operands): Likewise.
2486 (match_template): Updated.
2487
11c19e16
MS
24882009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2489
2490 * doc/all.texi: Set S390.
2491 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
2492 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2493 * doc/Makefile.in: Likewise.
2494 * doc/c-s390.texi: New.
2495
87298967
NS
24962009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2497
2498 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2499 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2500 (mcf5307_ctrl): Add VBR.
2501 (no_mac): New variable.
2502 (m68k_extensions): Refer to no_mac mask.
2503 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2504 52252..52259, 53011..53017.
2505 (m68k_ip): Process CPUCR.
2506 (init_table): Add cpucr entry.
2507 (m68k_set_extension): Allow negated mask to refer to a variable.
2508 (md_show_usage): Use '%s' to silence fprintf warning.
2509 * config/m68k-parse.h (CPUCR): New control register.
2510
ee2c9aa9
NS
25112009-02-10 Nathan Sidwell <nathan@codesourcery.com>
2512
2513 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2514 as_bad calls to silence compiler warning.
2515
8dc2430f
NC
25162009-02-06 Nick Clifton <nickc@redhat.com>
2517
2518 PR 9814
2519 * config/tc-arm.c (MODE_RECORDED): New define.
2520 (output_inst): Record the thumb_mode in the current frag.
2521 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2522 (arm_init_frag): Only set the tc_frag_data field if it has not
2523 already been set.
2524
ce2f5b3c
L
25252009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 AVX Programming Reference (January, 2009)
2528 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2529 (CPU_FLAGS_AVX_MATCH): Updated.
2530 (CPU_FLAGS_32BIT_MATCH): Likewise.
2531 (cpu_flags_match): Likewise.
2532
52b6b6b9
JM
25332009-02-03 Sandip Matte <sandip@rmicorp.com>
2534
2535 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2536 M_MSGWAIT and M_MSGWAIT_T.
2537 (mips_cpu_info_table): Add XLR entry.
2538 * doc/c-mips.texi (-march): Document xlr.
2539
e94345ae 25402009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
2541
2542 * config/tc-avr.c (mcu_types): Add ata6289.
2543 * doc/c-avr.texi: Likewise.
2544
31dd3154
JM
25452009-02-03 Carlos O'Donell <carlos@codesourcery.com>
2546
2547 * configure.in: AC_SUBST pdfdir.
2548 * Makefile.am: Add install-pdf, install-pdf-am,
2549 and install-pdf-recursive targets.
2550 * doc/Makefile.am: Define pdf__strip_dir. Add
2551 install-pdf and install-pdf-am targets.
2552 * po/Make-in: Add install-pdf target.
2553 * configure: Regenerate.
2554 * Makefile.in: Regenerate.
2555 * doc/Makefile.in: Regenerate.
2556
cf869cce
NC
25572009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2558
2559 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2560 relocations.
2561 * config/m68k-parse.y (yylex): Parse TLS relocations.
2562 * config/tc-m68k.c (m68k_elf_cons): New static function.
2563 (md_pseudo_table): Use it.
2564 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2565 relocations.
2566 (md_apply_fix): Fix to set thread local flag.
2567 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2568
bb0a86e1
NC
25692009-02-03 Vince Weaver <vince@csl.cornell.edu>
2570
2571 PR 9779
2572 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2573 indexed addressing for symbolic expressions.
2574
fdfde340
JM
25752009-01-29 Mark Mitchell <mark@codesourcery.com>
2576
2577 * config/tc-arm.c (BAD_SP): Define.
2578 (s_arm_unwind_fnstart): Use REG_SP.
2579 (s_arm_unwind_setfp): Likewise.
2580 (reject_bad_reg): New macro.
2581 (do_co_reg): Check for bad registers.
2582 (do_co_reg2c): Likewise.
2583 (do_srs): Use REG_SP.
2584 (do_t_add_sub): Check for bad registers.
2585 (do_t_adr): Likewise.
2586 (do_t_arit3): Likewise.
2587 (do_t_arit3c): Likewise.
2588 (do_t_bfc): Likewise.
2589 (do_t_bfi): Likewise.
2590 (do_t_bfx): Likewise.
2591 (do_t_blx): Likewise.
2592 (do_t_bx): Likewise.
2593 (do_t_bxj): Likewise.
2594 (do_t_clz): Likewise.
2595 (do_t_div): Likewise.
2596 (do_t_mla): Likewise.
2597 (do_t_mlal): Likewise.
2598 (do_t_mov_cmp): Likewise.
2599 (do_t_mov16): Likewise.
2600 (do_t_mvn_tst): Likewise.
2601 (do_t_mrs): Likewise.
2602 (do_t_msr): Likewise.
2603 (do_t_mul): Likewise.
2604 (do_t_mull): Likewise.
2605 (do_t_orn): Likewise.
2606 (do_t_pkhbt): Likewise.
2607 (do_t_pld): Likewise.
2608 (do_t_rbit): Likewise.
2609 (do_t_rev): Likewise.
2610 (do_t_rrx): Likewise.
2611 (do_t_rsb): Likewise.
2612 (do_t_shift): Likewise.
2613 (do_t_simd): Likewise.
2614 (do_t_ssat): Likewise.
2615 (do_t_ssat16): Likewise.
2616 (do_t_sxtah): Likewise.
2617 (do_t_sxth): Likewise.
2618 (do_t_tb): Likewise.
2619 (do_t_usat): Likewise.
2620 (do_t_usat16): Likewise.
2621 (nysn_insert_sp): Use REG_SP.
2622
1c444d06
JM
26232009-01-29 Mark Mitchell <mark@codesourcery.com>
2624
2625 * config/tc-arm.c (do_t_orn): New function.
2626 (do_t_rrx): Likewise.
2627 (insns): Add orn and rrx.
2628
4f80ef3e
JM
26292009-01-29 Mark Mitchell <mark@codesourcery.com>
2630
2631 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 2632 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 2633
087b80de
JM
26342009-01-29 Mark Mitchell <mark@codesourcery.com>
2635
2636 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2637 qdsub in Thumb-2 mode.
2638
17828f45 26392009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 2640 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
2641
2642 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2643 of MUL when possible.
2644
ec0c103c
NC
26452009-01-29 Nick Clifton <nickc@redhat.com>
2646
2647 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2648
4a6bc624
NS
26492009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2650 Catherine Moore <clm@codesourcery.com?
2651
2652 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2653 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2654 directives.
2655
23fce1e3
NC
26562009-01-27 Nick Clifton <nickc@redhat.com>
2657
2658 * config/tc-mips.c (append_insn): Cope with a complex reloc
2659 sequence containing an unsupported reloc type.
2660 (enum options): Replace computed #define's constants for option
2661 numbers with this enum.
2662 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2663 environment.
2664 (md_parse_option): Allow -32 in a non-ELF environment.
2665
ee3c0378
AS
26662009-01-26 Andrew Stubbs <ams@codesourcery.com>
2667
2668 * config/tc-arm.c (attributes_set_explicitly): New array.
2669 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2670 (cpu_arch): Add ARM_ARCH_V5T.
2671 (aeabi_set_attribute_int): New function.
2672 (aeabi_set_attribute_string): New function.
2673 (aeabi_set_public_attributes): Set attributes according to the user's
2674 intentions, rather than the actual state of the binary.
2675 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2676 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2677 Support WMMXv2. Use attribute names instead of numbers.
2678 * read.c (s_vendor_attribute): Change return type to int.
2679 Return the tag number that was set.
2680 * read.h (s_vendor_attribute): Change return type to int.
2681
17f4880d
EW
26822009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2683
2684 PR 9789
2685 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2686 * doc/c-avr.texi: Likewise.
2687
278df34e
NS
26882009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2689
2690 * doc/c-arm.texi (): Document -mwarn-deprecated.
2691 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2692 (warn_on_deprecated): ... this.
2693 (opcode_lookup, md_assemble): Check it before warning.
2694 (arm_opts): Add m[no-]warn-deprecated.
2695 (md_parse_option): Replace WARN_DEPRECATED with
2696 warn_on_deprecated.
2697
199114c2
AS
26982009-01-23 Andreas Schwab <schwab@suse.de>
2699
750bdd57
AS
2700 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2701 arguments to macro_build to match format.
2702
199114c2
AS
2703 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2704 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2705
d3bf77be
NC
27062009-01-19 Nick Clifton <nickc@redhat.com>
2707
2708 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2709 ELF format ARM targets.
2710 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2711
27122009-01-19 Nick Clifton <nickc@redhat.com>
2713
2714 * configure.tgt: Restore alpha sorting to object format switch
2715 statement.
2716
2d0bb761
AS
27172009-01-19 Andrew Stubbs <ams@codesourcery.com>
2718
2719 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2720
3493e7b0
JM
27212009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2722
2723 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2724 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2725
e04befd0
AS
27262009-01-16 Andrew Stubbs <ams@codesourcery.com>
2727 Daniel Jacobowitz <dan@codesourcery.com>
2728
2729 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2730 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2731 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2732 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2733 Improve string parser.
2734 * doc/c-arm.texi (ARM Machine Directives): Document
2735 .eabi_attribute symbolic tag names.
2736
29670fb9
AM
27372009-01-16 Alan Modra <amodra@bigpond.net.au>
2738
2739 * configure.in (commonbfdlib): Delete.
2740 * configure: Regenerate.
2741 * po/POTFILES.in: Regenerate.
2742
91e22acd
AS
27432009-01-15 Andrew Stubbs <ams@codesourcery.com>
2744 Julian Brown <julian@codesourcery.com>
2745
2746 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2747
7b86a9fa
AS
27482009-01-15 Andrew Stubbs <ams@codesourcery.com>
2749
2750 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2751 bfd_elf_add_obj_attr_int_string.
2752
01e1a5bc
NC
27532009-01-15 Douglas B Rupp <rupp@gnat.com>
2754
2755 * configure.tgt(ia64-*-*vms*): New target.
2756 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2757 * tc.h (md_number_to_chars): Declare iff undefined.
2758 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2759 attr to bfd_vma.
2760 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2761 variables attr, md_attr to bfd_vma.
2762 (obj_elf_section_word): Likewise.
2763 (obj_elf_section): Change type of variable attr to bfd_vma
2764 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2765 attr to bfd_vma.
2766 * config/tc-ia64.c (bfdver.h,time.h): Include.
2767 (ia64_elf_section_letter): Now returns a bfd_vma.
2768 Handle VMS specific attributes.
2769 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2770 (ia64_init): Don't turn on dependency checking for VMS.
2771 (ia64_target_format): Check for VMS flag bit.
2772 (do_alias): Hande decc$ functions.
2773 (get_vms_time): New function.
2774 (ia64_vms_note): New function.
2775 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2776 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2777 (tc_init_after_args): Define for VMS.
2778 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2779 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2780 * config/tc-alpha.h: Likewise.
2781 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2782 (x86_64_section_word): Return a bfd_vma.
2783 * config/tc-i386.h: Likewise.
2784 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2785 attr to bfd_vma.
2786 * config/tc-ip2k.h: Likewise.
2787 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2788 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2789 * config/tc-mep.h: Likewise.
2790 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2791 (ppc_section_word): Return a bfd_vma.
2792 (ppc_section_flags): Change type of arg attr to bfd_vma.
2793 * config/tc-ppc.h: Likewise.
2794 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2795 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
2796 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2797 New file with new macros
2798 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2799 macros.
01e1a5bc 2800
bc2d1808
NC
28012009-01-15 Nick Clifton <nickc@redhat.com>
2802
2803 PR 9722
2804 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2805 instructions before generating a Thumb2 nop.
2806
7b6598a4 28072009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 2808
7b6598a4
AK
2809 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2810
cd4a7468
AM
28112009-01-12 Alan Modra <amodra@bigpond.net.au>
2812
2813 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2814 (brinfo): New var.
2815 (md_assemble): Poke brinfo into branch instructions.
2816 (spu_brinfo): New function.
2817 (md_apply_fix): Don't assume insn fields start off at zero, mask
2818 them to remove possible brinfo.
2819
1543849b
L
28202009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2821
2822 * doc/c-i386.texi: Reformat.
2823
bd5295b2
L
28242009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2825
dfaf9df8 2826 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
2827 .syscall.
2828 (i386_align_code): Handle PROCESSOR_COREI7.
2829 (md_show_usage): Add corei7, clflush and syscall.
2830 (i386_target_format): Replace cpup4 with cpuclflush.
2831
dfaf9df8 2832 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
2833
2834 * doc/c-i386.texi: Document corei7, clflush and syscall.
2835
1b7f3fb0
L
28362009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2839 (md_show_usage): Display rdtscp.
2840
2841 * doc/c-i386.texi: Document rdtscp.
2842
1cb0a767
PB
28432009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2844
2845 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2846 Test the new "deprecated" opcode field.
2847
19fc3723
SA
28482009-01-07 Sterling Augustine <sterling@tensilica.com>
2849
2850 * config/tc-xtensa.c (produce_flix): New.
2851 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2852 (md_longopts): Add support for them.
2853 (md_parse_option): Likewise.
2854 (md_show_usage): Add help message.
2855 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2856 option is set to FLIX_NONE.
2857 * config/xtensa-relax.c (transition_applies): Only relax to
2858 flix branches when produce_flix equals FLIX_ALL.
2859 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2860 FLIX_NONE): New.
2861 (produce_flix): Declare.
2862
24864476
CF
28632009-01-06 Chao-ying Fu <fu@mips.com>
2864
2865 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2866 Use strncmp to match jalr and jalr.hb.
2867 Fix a typo.
2868
0bfee649 28692009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 2870
0bfee649
L
2871 AVX Programming Reference (December, 2008)
2872 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2873 support. Don't swap REG and NDS for FMA.
d62f07d0 2874
750bdd57 28752009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 2876
750bdd57
AS
2877 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2878 behaviour.
e7c604dd 2879
0bfee649 2880For older changes see ChangeLog-2008
08d56133
NC
2881\f
2882Local Variables:
2883mode: change-log
2884left-margin: 8
2885fill-column: 74
2886version-control: never
2887End:
This page took 0.61814 seconds and 4 git commands to generate.