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