2009-10-28 Paul Pluzhnikov <ppluzhnikov@google.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
721a8186
PB
12009-10-28 Paul Brook <paul@codesourcery.com>
2
3 * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes
4 unconditionally.
5
14610ad1
AM
62009-10-28 Alan Modra <amodra@bigpond.net.au>
7
8 PR gas/10856
9 * expr.c (resolve_expression): Only add "left" value to O_symbol
10 expression when the symbol is undefined and different from the
11 original symbol. Simplify negative logic.
12
66b4202f
TG
132009-10-27 Tristan Gingold <gingold@adacore.com>
14
15 * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo.
16 * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
17 (DWARF2_ADDR_SIZE): Define.
18
c2069bb2
AM
192009-10-27 Alan Modra <amodra@bigpond.net.au>
20
21 PR gas/10850
22 * listing.c (listing_flags): Delete.
23 * listing.h: Likewise.
24 * read.c (potable <lflags>): Call s_ignore.
25
7e891cef
NC
262009-10-26 Nick Clifton <nickc@redhat.com>
27
28 * doc/as.texinfo: Add mention of RX port and inclusion of RX
29 documentation.
30
3c45a255
AM
312009-10-25 Arnold Metselaar <arnold.metselaar@planet.nl>
32
33 * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' or
34 'defl' in cases where the space between the keyword and the
c2069bb2 35 expression has been scrubbed away.
3c45a255
AM
36 Do not check whether a symbol is redefined with 'equ' here;
37 the function equals takes an argument indicating whether
c2069bb2 38 redefinitions are allowed.
3c45a255 39 Only call LISTING_NEWLINE if needed, and then after the call to
c2069bb2
AM
40 bump_line_counters.
41
2babba43
MR
422009-10-25 Maciej W. Rozycki <macro@linux-mips.org>
43
44 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 to
45 match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and
46 -mfix-vr4130/-mno-fix-vr4130.
47 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to
48 -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
49
4b06377f
L
502009-10-20 H.J. Lu <hongjiu.lu@intel.com>
51
52 PR gas/10775
53 * doc/c-i386.texi: Mention movabs.
54
adc427c7
L
552009-10-19 H.J. Lu <hongjiu.lu@intel.com>
56
57 * doc/c-i386.texi: Don't mention the 8 extra control registers
58 for x86-64.
59
23f5dfcb
DE
602009-10-19 Doug Evans <dje@sebabeach.org>
61
d71f39f5
DE
62 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
63
23f5dfcb
DE
64 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
65 correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
66 isn't recognized, not BFD_RELOC_XC16X_SOF.
67
c5ed243b
AM
682009-10-18 Alan Modra <amodra@bigpond.net.au>
69
70 * as.h (know): Don't define as empty.
71 * config/tc-arm.c (make_mapping_symbol): Revert last patch.
72
a75b9082
AM
732009-10-18 Matthias Klose <doko@ubuntu.com>
74
75 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
76 in release builds.
77
995cef8c
L
782009-10-16 H.J. Lu <hongjiu.lu@intel.com>
79
80 PR gas/10775
81 * doc/c-i386.texi: Mention the 8 extra control registers for
82 x86-64.
83 Mention .code64 directive.
84
f19df8f7
AM
852009-10-15 Alan Modra <amodra@bigpond.net.au>
86
87 PR gas/1491
88 * macro.c: Delete unnecessary function declarations.
89 (buffer_and_nest): Support multiple labels per line for
90 LABELS_WITHOUT_COLONS targets if the labels do have colons.
91 (free_macro): Move so that we don't need forward declaration.
92 * read.c (read_a_source_file): Take a copy of macro expansion line
93 before we trim labels.
94 * listing.c (listing_newline): Adjust stdin line save for
95 input_line_pointer still at start of line.
96
4c2c6516
L
972009-10-13 H.J. Lu <hongjiu.lu@intel.com>
98
ec65d7ca 99 PR gas/10766
4c2c6516
L
100 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
101
313c53d1
L
1022009-10-13 H.J. Lu <hongjiu.lu@intel.com>
103
104 PR gas/10740
105 * config/tc-i386-intel.c (i386_intel_operand): Handle call
106 and jump with 2 immediate operands.
107
108 * config/tc-i386.c (i386_finalize_immediate): Don't generate
109 error message if operand string is NULL.
110
c2069bb2 1112009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
b2b74248
NC
112
113 PR gas/3041
114 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
115 located in data section an referencing a weak symbol.
116
5a5829dd
NS
1172009-10-07 Nathan Sidwell <nathan@codesourcery.com>
118
d3106081
NS
119 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
120 versions slightly more than nothing.
121
5a5829dd
NS
122 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
123
cd42ff9c
AM
1242009-10-07 Alan Modra <amodra@bigpond.net.au>
125 H.J. Lu <hongjiu.lu@intel.com>
126
127 PR gas/2117
128 * config/tc-ia64.c (parse_operand): Use expression rather than
129 expression_and_evalute.
130 (parse_operand_and_eval): New function. Replace all uses of
131 parse_operand outside of parse_operands with this function.
132 (parse_operans_maybe_eval): New function. Replace uses of
133 parse_operand in parse_operands, except for the dummy, with
134 this function.
135
d96eea71
AM
1362009-10-06 Alan Modra <amodra@bigpond.net.au>
137
138 PR gas/10704
139 * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
140
c188d0bb
AM
1412009-10-06 Alan Modra <amodra@bigpond.net.au>
142
143 * read.c (s_reloc): Don't use expression_and_evaluate.
144
9fe54b1c
PB
1452009-10-02 Peter Bergner <bergner@vnet.ibm.com>
146
147 * config/tc-ppc.c (md_show_usage): Document -m476.
148 * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
149
38462edf
JJ
1502009-10-02 Jakub Jelinek <jakub@redhat.com>
151
152 * dw2gencfi.c: Include dwarf2dbg.h.
153 (DWARF2_FORMAT): Define if not defined.
154 (dot_cfi_sections): New function.
155 (cfi_pseudo_table): Handle .cfi_sections.
156 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
157 (cfi_sections): New variable.
158 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
159 argument, add supporting for outputting .debug_frame
160 section.
161 (cfi_change_reg_numbers): New function or macro.
162 (cfi_finish): Only emit .eh_frame if
163 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
164 cfi_sections & CFI_EMIT_debug_frame.
165 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
166 * doc/as.texinfo (CFI directives): Document .cfi_sections.
167
634b50f2
PB
1682009-10-01 Peter Bergner <bergner@vnet.ibm.com>
169
170 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
171 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
172
9f32dd5b
L
1732009-10-01 H.J. Lu <hongjiu.lu@intel.com>
174
175 * config/tc-i386.c (x86_cons): Reformat.
176
c7927a3c
NC
1772009-09-29 DJ Delorie <dj@redhat.com>
178
179 * Makefile.am: Add RX target.
180 * configure.in: Likewise.
181 * configure.tgt: Likewise.
182 * read.c (do_repeat_with_expander): New function.
183 * read.h: Provide a prototype for do_repeat_with_expander.
184 * doc/Makefile.am: Add RX target documentation.
185 * doc/all.texi: Likewise.
186 * doc/as.texinfo: Likewise.
187 * Makefile.in: Regenerate.
188 * NEWS: Mention support for RX architecture.
189 * configure: Regenerate.
190 * doc/Makefile.in: Regenerate.
191 * config/rx-defs.h: New file.
192 * config/rx-parse.y: New file.
193 * config/tc-rx.h: New file.
194 * config/tc-rx.c: New file.
195 * doc/c-rx.texi: New file.
196
21d799b5
NC
1972009-09-25 Martin Thuresson <martint@google.com>
198
e0c483d6 199 Update sources to make alpha, arc and arm targets compile cleanly
21d799b5
NC
200 with -Wc++-compat:
201 * config/tc-alpha.c: Add casts.
202 (extended_bfd_reloc_code_real_type): New type. Used to avoid
203 enumeration conversion warnings.
204 (struct alpha_fixup, void assemble_insn, assemble_insn)
205 (assemble_tokens): Use new type.
206 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
207 * config/obj-elf.c: Add cast
208 * config/tc-arc.c: Add casts.
209 * config/obj-aout.h (text_section,data_section,bss_section):
210 Make extern.
211 * config/obj-elf.c: Add cast.
212 * config/tc-arm.c: Add casts.
213 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
214 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
215 need for keywords as arguments.
216
605b1dd4
NH
2172009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
218
219 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
9f32dd5b
L
220 entries
221
2222009-09-24 H.J. Lu <hongjiu.lu@intel.com>
2bf05e57
L
223
224 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
225 of vex256.
226
f5d9e816
L
2272009-09-24 H.J. Lu <hongjiu.lu@intel.com>
228
229 PR gas/10677
230 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
231 for BFD_RELOC_X86_64_GOTPCREL.
232
2a86604a
L
2332009-09-23 H.J. Lu <hongjiu.lu@intel.com>
234
235 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
236 BFD_RELOC_386_GOT32.
237
417ba50c
SA
2382009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
239
240 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
241 difference of of two symbols.
242 (xtensa_fix_adjustable): Likewise.
243
6eb94e77
TG
2442009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
245
bf70c4f8 246 * configure.com: Fix a typo.
6eb94e77 247
a3371076
AM
2482009-09-23 Alan Modra <amodra@bigpond.net.au>
249
250 * symbols.c (define_sym_at_dot): New function, extracted from..
251 (colon): ..here. Define error case cloned symbol.
252
76ba9986
L
2532009-09-21 H.J. Lu <hongjiu.lu@intel.com>
254
255 * config/tc-i386.c: Remove white spaces.
256
e0d602ec
BE
2572009-09-21 Ben Elliston <bje@au.ibm.com>
258 Peter Bergner <bergner@vnet.ibm.com>
259
260 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
261 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
262
ca58b19f
NC
2632009-09-18 Nick Clifton <nickc@redhat.com>
264
265 * po/es.po: Updated Spanish translation.
266
fa289fb8
L
2672009-09-15 H.J. Lu <hongjiu.lu@intel.com>
268
269 * config/tc-i386.c (offset_in_range): Sign extend offset only
270 if BFD64 is defined.
271
1acf546e
L
2722009-09-15 H.J. Lu <hongjiu.lu@intel.com>
273
274 * config/tc-i386-intel.c (i386_intel_operand): Initialize
275 intel_state.has_offset to 0.
276
9de868bf
L
2772009-09-15 H.J. Lu <hongjiu.lu@intel.com>
278
279 * config/tc-i386.c (offset_in_range): Sign extend offset only
280 for 32bit address mode.
281
aba69ce4
TG
2822009-09-15 Tristan Gingold <gingold@adacore.com>
283
284 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
285
6cee4cda
L
2862009-09-14 H.J. Lu <hongjiu.lu@intel.com>
287
288 PR gas/10637
289 * config/tc-i386-intel.c (intel_state): Add has_offset.
290 (i386_intel_simplify): Set intel_state.has_offset to 1 for
291 O_offset.
292 (i386_intel_operand): Turn on intel_state.is_mem if
293 intel_state.has_offset is 0 and the last char is ']'.
294
0e1147d9
L
2952009-09-14 H.J. Lu <hongjiu.lu@intel.com>
296
297 PR gas/10636
298 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
299 if there is an ADDR_PREFIX.
300 (i386_finalize_displacement): Repor error if signed 32bit
301 displacement is out of range.
302
1180b5a4
RS
3032009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
304
305 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
306 Require the target to be a bare symbol on targets with
307 in-place addends.
308 (macro_build_jalr): Update accordingly.
309 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
310 with in-place addends.
311
1e9cc1c2
NC
3122009-09-11 Nick Clifton <nickc@redhat.com>
313
314 * po/gas.pot: Updated by the Translation project.
315
3162009-09-11 Martin Thuresson <martint@google.com>
317
318 * as.c (main): Call dwarf2_init.
319 * config/obj-elf.c (struct group_list): New field.
320 (build_group_lists): Use hash lookup.
321 (free_section_idx): New function.
322 (elf_frob_file): Adjust.
323 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
324 (get_line_subseg): Adjust.
325 (dwarf2_init): New function.
326 * dwarf2dbg.h (dwarf2_init): New declaration.
327
3282009-09-11 Martin Thuresson <martint@google.com>
329
330 Updated sources to compile cleanly with -Wc++-compat:
331 * app.c: Add casts.
332 * as.c: Add casts.
333 * config/obj-elf.c: Add casts.
334 (obj_elf_type): Rename variable typename to type_name.
335 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
336 * config/tc-i386.c: Add casts.
337 (check_cpu_arch_compatible): Rename argument new to new_flag.
338 (gotrel): Update variable to use enum name instead of integer value.
339 * dw2gencfi.c: Add casts.
340 (struct cfi_escape_data): Move to top level.
341 * dwarf2dbg.c: Add cast.
342 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
343 * ehopt.c Add casts.
344 (enum frame_state): Move to top level.
345 * expr.c (operatorf): Rename function operator to operatorf.
346 (operand): Rename variable operator to op.
347 (expr_set_rank): Rename argument operator to op.
348 * frags.c: Add cast.
349 * hash.c: Add casts.
350 * input-scrub.c: Add cast.
351 * listing.c: Add casts.
352 (enum edict_enum): Move to top level.
353 * macro.c: Add casts.
354 * macro.h (enum formal_type): Move to top level.
355 * read.c: Add casts.
356 (s_include): Rename variable try to try_file.
357 * remap.c: Add cast.
358 * stabs.c: Add casts.
359 * subsegs.c: Add casts.
360 * symbols.c: Add casts.
361 * write.c: Add casts.
1e9cc1c2 362
3e81d9f9
HPN
3632009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
364
365 PR gas/10623
366 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
367 Allow register operands for SWYM as for TRIP and TRAP. Correct
368 operand handling and error checking. Never emit
369 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
370
800f6ec8
AM
3712009-09-10 Alan Modra <amodra@bigpond.net.au>
372
373 * config/tc-d10v.c: Include dwarf2dbg.h.
374 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
375 (d10v_frob_label): New function.
376 * config/tc-d10v.h (d10v_frob_label): Declare.
377 (tc_frob_label): Define as d10v_frob_label.
378
f2e25d93
AM
3792009-09-10 Alan Modra <amodra@bigpond.net.au>
380
381 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
382 * config/tc-frv.c (frv_frob_label): Likewise.
383
9384f2ff
AM
3842009-09-09 Alan Modra <amodra@bigpond.net.au>
385
22ba0981
AM
386 * config/obj-coff.h (USE_UNIQUE): Don't define.
387 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
388 * symbols.c (an_external_name): Define when TE_PE.
389 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
390 * tc.h (an_external_name): Declare when TE_PE.
391
9384f2ff
AM
392 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
393
7e127222
KK
3942009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
395
396 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
397
d4f4f3fb
AM
3982009-09-08 Alan Modra <amodra@bigpond.net.au>
399
400 * read.c (emit_expr_fix): Handle size 3.
401 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
402 * config/tc-d30v.c (write_long, write_1_short,
403 write_2_short, md_assemble): Likewise.
404 * config/tc-dlx.c (md_assemble): Likewise.
405 * config/tc-i860.c (md_assemble): Likewise.
406 * config/tc-mn10200.c (md_assemble): Likewise.
407 * config/tc-pj.c (md_assemble): Likewise.
408 * config/tc-vax.c (md_assemble): Likewise.
409
307c948d
DG
4102009-09-07 Daniel Gutson <dgutson@codesourcery.com>
411
412 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
413 * doc/c-arm.texi: cortex-r4f CPU added.
414
b11d79f2
TG
4152009-09-07 Tristan Gingold <gingold@adacore.com>
416
23f938f1
TG
417 * po/POTFILES.in: Regenerate.
418 * po/gas.pot: Regenerate.
419
b11d79f2
TG
420 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
421 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
422 (EXTRA_as_new_SOURCES): Ditto.
423 * Makefile: Regenerate.
424 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
425 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
426 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
427 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
428 sys/stat.h headers.
429 Add te-vms.o in extra_objects if te_file is vms.
430 * configure: Regenerate.
431 * config.in: Regenerate.
432 * config/te-vms.c: New file, from bfd/vmsutil.c
433 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
434 (vms_dwarf2_file_name): New functions.
435 (vms_file_stats_name): Make it static, add a dirname parameter to
436 locally create the full pathname.
437 * config/te-vms.h: Add a copyright header.
438 Declare the above functions.
439 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
440 the above functions in the definition.
441 * makefile.vms (OBJS): Add te-vms.obj.
442 (te-vms.obj): Create a specific target.
443 * configure.com: Create targ-env.h using a per target value.
444 Compile te-vms.c for ia64.
445
f8739b83
JZ
4462009-09-05 Jie Zhang <jie.zhang@analog.com>
447
448 * doc/as.texinfo: Document that Blackfin GAS does not
449 accept SYMBOL = VALUE.
450
96d56e9f
NC
4512009-09-05 Martin Thuresson <martin@mtme.org>
452
453 * config/tc-arc.c (struct syntax_classes): Rename member class
454 to s_class. (arc_extinst): Rename variable class to
455 s_class. Update code to use renamed members.
456 * config/tc-mips.c (insn_uses_reg): Rename argument class to
457 regclass.
458 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
459 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
460 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
461 members.
462 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
463 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
464 code to use renamed members.
465 * config/tc-score.c (s3_adjust_paritybit): Rename argument
466 class to i_class.
467 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
468 class to i_class.
469
81c23f82
TG
4702009-09-04 Tristan Gingold <gingold@adacore.com>
471
472 * NEWS: Add marker for 2.20.
473
66a6900a
JZ
4742009-09-04 Jie Zhang <jie.zhang@analog.com>
475
476 * config/bfin-parse.y (asm_1): Implement HLT instruction.
477 Fix comments for DBGA, DBGAH and DBGAL.
478 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
479 to the new encoding of DBGA, DBGAH, and DBGAL.
480
3b4e1885
JZ
4812009-09-04 Jie Zhang <jie.zhang@analog.com>
482
483 * doc/all.texi: Replace BFIN with Blackfin.
484 * doc/as.texinfo: Likewise.
485 * doc/c-bfin.texi: Likewise.
486 * doc/asconfig.texi: Likewise.
487
488 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
489 bf516 and bf518.
490
53ae48a2
JZ
4912009-09-04 Jie Zhang <jie.zhang@analog.com>
492
493 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
494 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
495 prerequisite.
496 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
e0c483d6 497 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
53ae48a2
JZ
498 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
499 to the prerequisite.
500 * Makefile.in: Regenerate.
501
ce4a1a3a
RW
5022009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
503
504 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
505 (itbl-ops.o, itbl-tops.o): Likewise.
506 (itbl-parse.h): Use separate rule.
507 * Makefile.in: Regenerate.
508
110c21e1
JZ
5092009-09-03 Jie Zhang <jie.zhang@analog.com>
510
511 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
512 -mcpu= option.
513
c639698b
JZ
5142009-09-03 Jie Zhang <jie.zhang@analog.com>
515
516 * config/bfin-lex.l: Remove V as STATUS_REG.
517
ad15c38e
JZ
5182009-09-03 Jie Zhang <jie.zhang@analog.com>
519
520 * config/bfin-parse.y: Remove trailing whitespace.
521 (ccstat): Indent.
522 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
523 (bfin_reg_info[]): Remove.
524
f31bf2c6
JZ
5252009-09-03 Jie Zhang <jie.zhang@analog.com>
526
527 * config/bfin-defs.h (F_REG_ALL): Remove macro.
528 (F_REG_HIGH): Redefine.
529 (F_REG_NONE): New macro.
530 (F_REG_LOW): New macro.
531 (REG_CLASS): Enclose macro argument in parentheses when used.
532 (REG_EVEN): Likewise.
533 (IS_H): Use flags.
534 (IS_HCOMPL): Use flags.
535 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
536 (parse_reg): Set flags.
537 (parse_halfreg): Set flags.
538
11817687
JZ
5392009-09-03 Jie Zhang <jie.zhang@analog.com>
540
541 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
542 05000074 only when both slot1 and slot2 are filled.
543
bd03da30
JZ
5442009-09-03 Jie Zhang <jie.zhang@analog.com>
545
546 * config/tc-bfin.c (md_assemble): Bump line counters if there is
547 EOL in the instruction.
548
c958a8a8
JZ
5492009-09-03 Jie Zhang <jie.zhang@analog.com>
550
551 * config/bfin-defs.h (IS_GENREG): Define.
552 (IS_DAGREG): Define.
553 (IS_SYSREG): Define.
554 * config/bfin-parse.y (asm_1): Check illegal register move
555 instructions.
556
1d3ad4d0
JZ
5572009-09-03 Jie Zhang <jie.zhang@analog.com>
558
559 * config/bfin-parse.y (asm_1): Fix a typo.
560
d3a50e14
JZ
5612009-09-03 Jie Zhang <jie.zhang@analog.com>
562
563 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
564 * config/tc-bfin.c (bfin_start_line_hook): Remove.
565 (bfin_loop_beginend): New.
566 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
567 (md_start_line_hook): Don't define.
568 * config/bfin-aux.h (bfin_loop_beginend): Declare.
569
a0840211
TG
5702009-09-03 Tristan Gingold <gingold@adacore.com>
571
572 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
573 Call xstrdup on the result and free the buffer after use.
574
5bc2ed93
TG
5752009-09-03 Tristan Gingold <gingold@adacore.com>
576
577 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
578
958cff2f
JZ
5792009-09-02 Jie Zhang <jie.zhang@analog.com>
580
581 * config/bfin-parse.y (value_match): Use int instead of long.
582
583 From Michael Frysinger <michael.frysinger@analog.com>
584 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
585 member as long long.
586
39b4412d
JZ
5872009-09-02 Jie Zhang <jie.zhang@analog.com>
588
589 From Bernd Schmidt <bernd.schmidt@analog.com>
1e9cc1c2 590 * config/bfin-parse.y (asm_1): Clean up and unify error handling
39b4412d
JZ
591 for load and store insns.
592 (neg_value): Delete function.
593
7bb7d81f
RW
5942009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
595
596 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
597 Supply correct source file name for generated files which may be
598 in $(srcdir).
599 * Makefile.in: Regenerate.
600
43123e98
L
6012009-09-01 H.J. Lu <hongjiu.lu@intel.com>
602
603 * version.c (parse_args): Change to "Copyright 2009".
604
fb792462
TG
6052009-09-01 Tristan Gingold <gingold@adacore.com>
606
607 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
608 library.
609 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
610 Make edit silent.
611
83ee431c
JZ
6122009-09-01 Jie Zhang <jie.zhang@analog.com>
613
614 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
615 in comparison.
616
08c1b056
JZ
6172009-09-01 Jie Zhang <jie.zhang@analog.com>
618
619 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
620 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
621 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
622
623 2007-08-23 Jie Zhang <jie.zhang@analog.com>
624 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
625 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
626 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
627
5e8c8f8f
JZ
6282009-09-01 Jie Zhang <jie.zhang@analog.com>
629
630 * read.c (TC_START_LABEL): Add a new argument.
631 (read_a_source_file): Pass the beginning of the symbol through
632 the new argument of TC_START_LABEL.
633 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
634 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
635 from the beginning of the symbol.
636 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
637 * config/tc-d30v.h (TC_START_LABEL): Likewise.
638 * config/tc-fr30.h (TC_START_LABEL): Likewise.
639 * config/tc-m32c.h (TC_START_LABEL): Likewise.
640 * config/tc-m32r.h (TC_START_LABEL): Likewise.
641 * config/tc-mep.h (TC_START_LABEL): Likewise.
642
f1c2d4af
L
6432009-08-31 H.J. Lu <hongjiu.lu@intel.com>
644
645 PR gas/10570
646 * write.c (write_object_file): Revert the accidental change
647 made in revision 1.124 on 2009-08-17.
648
94be91de
JB
6492009-08-31 Jan Beulich <jbeulich@novell.com>
650
651 * config/obj-elf.c (obj_elf_change_section): Set default type
652 by calling bfd_elf_get_default_section_type.
653
e690f7f3
JZ
6542009-08-31 Jie Zhang <jie.zhang@analog.com>
655
656 * config/bfin-aux.h: Change format from DOS to UNIX.
657
d3ce72d0
NC
6582009-08-29 Martin Thuresson <martin@mtme.org>
659
660 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
661 asm_barrier_opt): Change member template to
662 template_name. (md_begin): Update code to reflect new member
663 names.
664 * config/tc-i386.c (struct templates, struct _i386_insn)
665 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
666 (operand_size_match, md_begin, i386_print_statistics, pi)
667 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
668 (optimize_disp): Updated code to use new names. (parse_insn):
669 Added casts.
670 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
671 code to use new names.
672 * config/tc-score.c (struct s3_asm_opcode): Renamed member
673 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
674 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
675 use new names.
676 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
677 template to template_name. (s7_parse_16_32_inst,
678 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
679 use new names.
680 * config/tc-tic30.c (md_begin, struct tic30_insn)
681 (md_assemble): Update code to use new names.
682 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
683 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
684 Update code to use new names.
685 * config/tc-arm.c (insert_reg_alias): Rename variable new to
686 new_reg.
687 * config/tc-dlx.c (parse_operand): Rename variable new to
688 new_pos.
689 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
690 new to newr.
691 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
692 new to new_pointer.
693 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
694 Change name from new to new_pointer.
695 * config/tc-or32.c (parse_operand): Rename variable new to
696 new_pointer.
697 * config/tc-pdp11.c (md_assemble): Rename variable new to
698 new_pointer.
699 * config/tc-pj.c (alias): Change argument new to new_name.
700 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
701 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
702 new to new_i2n. (s3_convert): Rename variables old and new to
703 r_old and r_new.
704 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
705 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
706 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
707 variables old and new to r_old and r_new.
708 * config/tc-sh.c (parse_exp): Rename variable new to
709 new_pointer.
710 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
711 new_pointer.
712 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
713 to new_pointer.
714 * config/tc-z8k.c (parse_exp): Rename variable new to
715 new_pointer.
716 * listing.c (listing_newline): Rename variable new to new_i.
717
0c9b4fd7
KK
7182009-08-29 Matt Fleming <matt@console-pimps.org>
719
720 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
721 for 64-bit host.
722
3632d14b
L
7232009-08-28 H.J. Lu <hongjiu.lu@intel.com>
724
725 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
726 (i386_align_code): Handle PROCESSOR_L1OM.
727 (check_cpu_arch_compatible): Fix a typo in comments.
728 (set_cpu_arch): Check cpu_arch_isa instead of
729 cpu_arch_isa_flags.bitfield.cpul1om.
730 (i386_mach): Likewise.
731 (i386_target_format): Likewise.
732
733 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
734
4e7defc1
DD
7352009-08-26 DJ Delorie <dj@redhat.com>
736
737 * config/tc-mep.c (md_pcrel_from_section): Handle any other
738 forced-relocation cases.
739
2cbd2211
RW
7402009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
741
742 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
743 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
744 syntax error.
745 * Makefile.in: Regenerate.
746 * po/POTFILES.in: Likewise.
747 * po/gas.pot: Likewise.
748
604ab327
NC
7492009-08-26 Nick Clifton <nickc@redhat.com>
750
751 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
752 seh_ctx_root being NULL.
753
a15af8e2
RW
7542009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
755
756 * Makefile.am (am__skiplex, am__skipyacc): New.
757 * Makefile.in: Regenerate.
758
81ecdfbb
RW
7592009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
760
14ec8efd
RW
761 * Makefile.am (YFLAGS): Remove, not needed any more.
762 (AM_CPPFLAGS): Renamed from ...
763 (INCLUDES): ... this.
764 * Makefile.in: Regenerate.
765
a5c7551f
RW
766 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
767 foreign and no-dist.
768 (all): Remove now-unneeded dependency upon info.
769 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
770 (DEP_FILE_DEPS): Remove variables.
771 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
772 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
773 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
774 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
775 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
776 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
777 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
778 now-unneeded rules.
779 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
780 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
781 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
782 are picked up in the Makefile.
783 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
784 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
785 (itbl-test.o): Rewrite using automake-style dependency
786 tracking rules; only list the dependency upon the primary source
787 file, but no included headers.
788 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
789 Remove.
790 (mkdep section): Remove.
791 * Makefile.in: Regenerate.
1e9cc1c2 792 * po/POTFILES.in, po/gas.pot: Regenerate.
a5c7551f 793
af542c2e
RW
794 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
795 (install-html-recursive): Remove.
796 * Makefile.in: Regenerate.
797 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
798 (html__strip_dir, install-html, install-html-am): Remove.
799 * doc/Makefile.in: Regenerate.
800
81ecdfbb
RW
801 * Makefile.in: Regenerate.
802 * aclocal.m4: Likewise.
803 * config.in: Likewise.
804 * configure: Likewise.
805 * doc/Makefile.in: Likewise.
806
62af60e2
SA
8072009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
808
809 * config/tc-xtensa.c (config_max_slots): New global variable.
810 (md_begin): Set config_max_slots.
811 (total_frag_text_expansion): Use config_max_slots instead of
812 MAX_SLOTS.
813 (xg_init_vinsn): Likewise.
814 (xg_clear_vinsn): Likewise.
815 (xg_free_vinsn): Likewise.
816
d8392fd9
SA
8172009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
818
819 * config/tc-xtensa.c (xg_copy_vinsn): New function.
820 (finish_vinsn): Call xg_copy_vinsn.
821
983f90e3
SA
8222009-08-19 Sterling Augustine <sterling@tensilica.com>
823
824 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
825 to no_transform_end.
826 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
827 and use no_transform_end.
828
284e0531
KT
8292009-08-18 Kai Tietz <kai.tietz@onevision.com>
830
831 * config/obj-coff-seh.c: Add copyright notice.
832 * config/obj-coff-seh.h: Add copyright notice.
833 Add x64 specific macros from coff/pe.h header.
834
2f1bf5c1
SA
8352009-08-18 Sterling Augustine <sterling@tensilica.com>
836
837 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
838 sizeof instead of hard-coded value.
839 (add_xt_block_frags): Remove unused local variable.
840 (frag_flags_to_number): Change return type to flagword. Remove
841 unused local variable.
842
8432009-08-17 Sterling Augustine <sterling@tensilica.com>
b7afdeef 844
e0c483d6 845 * config/tc-xtensa.c (xtensa_frob_label): move call to
b7afdeef
SA
846 do_align_targets to set frag_type only.
847
f3d2b04b
KT
8482009-08-17 Kai Tietz <kai.tietz@onevision.com>
849
850 * config/obj-coff-seh.c: New file.
851 * config/obj-coff-seh.h: Likewise.
852 * config/obj-coff.c (obj-coff-seh.c): Add include.
853 (coff_pseudo_table): Add new .seh... commands.
854 * config/obj-coff.h (obj_coff_seh_do_final): Add new
855 function prototype.
856 (obj_coff_generate_pdata): New obj-coff hook.
1e9cc1c2 857 * write.c (size_seg): Avoid sizing of already sized
f3d2b04b
KT
858 sections.
859 (write_object_file): Call conditional hook
860 objc_coff_generate_pdata.
861 * Makefile.am: Add dependencies for new files.
862 * Makefile.in: Regenerated.
863
e23c5ac0
NC
8642009-08-17 Nick Clifton <nickc@redhat.com>
865
866 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
867 (parse_reg): Use safe-ctype.h macros.
868 (parse_exp): Likewise.
869 (md_assemble): Likewise.
870
85143216
DD
8712009-08-11 DJ Delorie <dj@redhat.com>
872
873 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
874 symbols correctly.
875 (md_convert_frag): Likewise.
876 (md_pcrel_from_section): Likewise.
877 (mep_force_relocation): Likewise.
e23c5ac0 878
d55cb1c5
BS
8792009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
880
881 * config/bfin-parse.y (gen_multi_instr_1): New function.
882 (asm): Use it instead of bfin_gen_multi_instr.
883 (error): Add a format string when calling as_bad.
884 * config/bfin-defs.h (insn_regmask): Declare.
885 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
886 macros.
887 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
888 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
889 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
890 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
891 insn_regmask): New functions.
892
6306cd85
BS
893 From Jie Zhang <jie.zhang@analog.com>
894 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
895 (AC_05000074): Define.
896 (ENABLE_AC_05000074): Define.
897 * config/tc-bfin.c (enum bfin_cpu_type): New.
898 (bfin_cpu_t): Typedef.
899 (bfin_cpu_type): Define.
900 (bfin_si_revision): Define.
901 (bfin_anomaly_checks): Define.
902 (struct bfin_cpu): New.
903 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
904 (bfin_isa): New global variable.
905 (OPTION_MCPU): Define.
906 (md_longopts[]): Add -mcpu option.
907 (md_parse_option): Deal with -mcpu option and initialize
908 bfin_anomaly_checks.
909 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
910 -mcpu option.
911 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
912 05000074.
913
baa3eb38
MF
9142009-08-11 Mike Frysinger <vapier@gentoo.org>
915
916 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
917 (unary): Likewise.
918
ba7e13e4
NC
9192009-08-11 Nick Clifton <nickc@redhat.com>
920
921 PR 10443
922 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
923 operands.
924
0561d57c
JK
9252009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
926
927 Fix compilation of i386-*-go32.
928 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
929 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
930 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
931 * config/tc-i386.h <!i386_target_format>: ... here.
932
539d4391
NC
9332009-08-10 Daniel Gutson <dgutson@codesourcery.com>
934
935 PR gas/10479
936 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
937
940b5ce0
DJ
9382009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
939
940 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
941 variables.
942 (mapping_state): Use the section's mapstate.
943 (mapping_state_2): Likewise. Skip special sections.
944 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
945 (arm_elf_change_section): Do not set deleted globals.
946 * config/tc-arm.h (struct arm_segment_info_type): Document
947 marked_pr_dependency.
948
caa03924
ME
9492009-08-07 Michael Eager <eager@eagercon.com>
950
951 * NEWS: Mention MicroBlaze support.
952
7ba29e2a
NC
9532009-08-06 Michael Eager <eager@eagercon.com>
954
955 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
e0c483d6 956 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
7ba29e2a
NC
957 DEP_microblaze_elf target.
958 * Makefile.in: Regenerate.
959 * config/tc-microblaze.c: Add MicroBlaze assembler.
960 * config/tc-microblaze.h: Add header for tc-microblaze.c.
961 * configure.in: Add microblaze target.
962 * configure: Regenerate.
e0c483d6 963 * configure.tgt: Same.
7ba29e2a
NC
964 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
965 * doc/Makefile.in: Same.
966 * doc/all.texi: Set MICROBLAZE.
967 * doc/as.texinfo: Add MicroBlaze doc links.
968 * doc/c-microblaze.texi: New MicroBlaze docs.
969
c877a2f2
NC
9702009-08-06 Nick Clifton <nickc@redhat.com>
971
972 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
973 block in case it is a null macro.
974
b12dd2e4
CF
9752009-08-05 Chao-ying Fu <fu@mips.com>
976
977 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
978 true for new abi. For non-IRIX targets, it is always true.
979 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
980
8453da2e
EW
9812009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
982
983 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
984 attiny861a, atmega644pa, attiny24a, attiny44a.
985 * doc/c-avr.texi: Likewise.
986
30f8113a
SL
9872009-08-04 Sandra Loosemore <sandra@codesourcery.com>
988
989 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
990 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
991
f86adc07
NS
9922009-08-04 Nathan Sidwell <nathan@codesourcery.com>
993
994 * config/tc-arm.c (my_get_expression): Detect missing expressions.
995
249da685
EW
9962009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
997
998 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
999 * doc/c-avr.texi: Likewise.
1000
11908008
EW
10012009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
1002
1003 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
1004 * doc/c-avr.texi: Likewise.
1005
cd000bff
DJ
10062009-07-31 Daniel Gutson <dgutson@codesourcery.com>
1007 Daniel Jacobowitz <dan@codesourcery.com>
1008
1009 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
1010 * config/tc-arm.c (make_mapping_symbol): New function, from
1011 mapping_state. Save mapping symbols in the frag.
1012 (insert_data_mapping_symbol): New.
1013 (mapping_state): Use make_mapping_symbol, improve state transitions.
1014 (mapping_state_2): New. Provide dummy definition.
1015 (opcode_select): Do not call mapping_state.
1016 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
1017 (output_inst): Update use of tc_frag_data.
1018 (new_automatic_it_block): Call mapping_state before emitting the
1019 IT instruction.
1020 (md_assemble): Move mapping_state to just before outputting the
1021 new instruction.
1022 (arm_handle_align): Update use of tc_frag_data.
1023 Call insert_data_mapping_symbol.
1024 (arm_init_frag): Update use of tc_frag_data. Call
1025 mapping_state_2.
1026 (arm_elf_change_section): Always update the mapping symbol FSM state.
1027 (check_mapping_symbols): New function.
1028 (arm_adjust_symtab): Use check_mapping_symbols.
1029 * config/tc-arm.h (struct arm_frag_type): New.
1030 (TC_FRAG_TYPE): Change to struct arm_frag_type.
1031 (TC_FRAG_INIT): Pass max_chars.
1032 (arm_init_frag): Update prototype.
1033
5d8d4872
AG
10342009-07-31 Anthony Green <green@moxielogic.com>
1035
1036 * configure.tgt (generic_target): Add moxie-uclinux support.
1037
f746e6b9
NC
10382009-07-30 Nick Clifton <nickc@redhat.com>
1039
cab7e4d9
NC
1040 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
1041 different syntaxes support by the ARM port.
1042 (ARM Directives): Add entry for .syntax.
1043
f746e6b9
NC
1044 * doc/c-mips.texi (MIPS insn): Fix typo.
1045
af65af87
AM
10462009-07-29 Alan Modra <amodra@bigpond.net.au>
1047
1048 PR ld/10269
1049 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
1050 * config/tc-i386.c: Revert 2009-06-13 change.
1051 * config/tc-i386.h: Likewise.
1052
1035ad42
JB
10532009-07-28 Jan Beulich <jbeulich@novell.com>
1054
1055 * expr.c (op_rank): Specify size. Remove O_md* initializers.
1056
46203761
MK
10572009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1058
1059 * config/tc-m68k.c (mcf5221x_ctrl): New.
1060 (m68k_cpu): Add line for MCF5221x.
1061
10622009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
b345c8c2
MK
1063
1064 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
1065 (mcf53017_ctrl): Fix RAMBAR.
1066
efa19bfd
JB
10672009-07-27 Jan Beulich <jbeulich@novell.com>
1068
1069 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
1070 symbol_new() with the passed in, unmodified one.
1071
7859b21d
SR
10722009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1073
1074 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
1075 object file without symbol values.
1076 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
e0c483d6 1077 then set the relocation type as NULL.
7859b21d 1078
8a9036a4
L
10792009-07-25 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 * config/tc-i386.c (cpu_arch): Add l1om.
1082 (check_cpu_arch_compatible): New.
1083 (set_cpu_arch): Use it.
1084 (i386_arch): New.
1085 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
1086 (md_show_usage): Display l1om.
1087 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
1088 cpu_arch_isa_flags.bitfield.cpul1om is set.
1089
1090 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
1091 (i386_arch): New.
1092 (ELF_TARGET_L1OM_FORMAT): Likewise.
1093
1094 * doc/c-i386.texi: Document l1om.
1095
01fb1836 10962009-07-24 Roland McGrath <roland@redhat.com>
8e884a26 1097 Mark Wielaard <mjw@redhat.com>
01fb1836
RM
1098
1099 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
1100 flags on .comment section.
1101
8fdcc58d
TS
11022009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
1103 Alan Modra <amodra@bigpond.net.au>
1104
1105 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
1106 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
1107 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
1108
309d3373
JB
11092009-07-24 Jan Beulich <jbeulich@novell.com>
1110
1111 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
1112 .nosse, and .noavx.
1113 (cpu_flags_and_not): New.
1114 (set_cpu_arch): Check whether sub-architecture specified is a
1115 feature disable.
1116 (md_parse_option): Likewise.
1117 (parse_real_register): Don't return floating point register
1118 when x87 functionality is disabled.
1119 (md_show_usage): Add new sub-options.
1120 * doc/c-i386.texi: Update with new command line sub-options.
1121
20203fb9
NC
11222009-07-24 Nick Clifton <nickc@redhat.com>
1123
1124 PR 10437
1125 * config/tc-alpha.c: Fix up uses of gas printf like functions so
1126 that the format string is a constant string. Add translation
1127 support to message strings.
1128 * config/tc-arc.c: Likewise.
1129 * config/tc-arm.c: Likewise.
1130 * config/tc-cris.c: Likewise.
1131 * config/tc-fr30.c: Likewise.
1132 * config/tc-frv.c: Likewise.
1133 * config/tc-h8300.c: Likewise.
1134 * config/tc-hppa.c: Likewise.
1135 * config/tc-i370.c: Likewise.
1136 * config/tc-i960.c: Likewise.
1137 * config/tc-ia64.c: Likewise.
1138 * config/tc-m32r.c: Likewise.
1139 * config/tc-mep.c: Likewise.
1140 * config/tc-mips.c: Likewise.
1141 * config/tc-moxie.c: Likewise.
1142 * config/tc-msp430.c: Likewise.
1143 * config/tc-openrisc.c: Likewise.
1144 * config/tc-pdp11.c: Likewise.
1145 * config/tc-pj.c: Likewise.
1146 * config/tc-s390.c: Likewise.
1147 * config/tc-sh.c: Likewise.
1148 * config/tc-sh64.c: Likewise.
1149 * config/tc-sparc.c: Likewise.
1150 * config/tc-spu.c: Likewise.
1151 * config/tc-tic30.c: Likewise.
1152 * config/tc-tic4x.c: Likewise.
1153 * config/tc-tic54x.c: Likewise.
1154 * config/tc-v850.c: Likewise.
1155 * config/tc-xc16x.c: Likewise.
1156 * config/tc-xstormy16.c: Likewise.
1157 * config/tc-z80.c: Likewise.
1158 * config/tc-z8k.c: Likewise.
1159 * config/atof-ieee.c: Add translation support to as_warn
1160 messages.
1161 * config/obj-coff.c: Likewise.
1162
3e7a7d11
NC
11632009-07-23 Ulrich Drepper <drepper@redhat.com>
1164
1165 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1166 gnu_unique_object.
1167 * doc/as.texinfo: Document new feature of .type directive.
1168 * NEWS: Mention support for gnu_unique_object symbol type.
1169
a946d7e3
NC
11702009-07-23 Nick Clifton <nickc@redhat.com>
1171
1172 PR binutils/10379
1173 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1174 the .global directive for MIPS ports.
1175
711eedef
L
11762009-07-21 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 PR gas/10420
1179 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1180 64bit.
1181 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1182 for 64bit.
1183
bc0844ae
L
11842009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * config/tc-i386.c (md_assemble): Update operand types.
1187 (update_imm): Updated.
1188 (finalize_imm): Update the first 2 immediate operands only
1189 for instructions with 2 operands or more.
1190
9afe6eb8
L
11912009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 * config/tc-i386.c (md_assemble): Check implicit registers
1194 only for instructions with 3 operands or less.
1195
a61a9fbc
NC
11962009-07-17 Nick Clifton <nickc@redhat.com>
1197
1198 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1199 compile time warning.
1200
915bcca5
L
12012009-07-16 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1204 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1205
9a6f4e97
NS
12062009-07-16 Nathan Sidwell <nathan@codesourcery.com>
1207
1208 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1209 the offset for REL targets here.
1210
3726e6c5
L
12112009-07-15 Kai Tietz <kai.tietz@onevision.com>
1212
1213 * listing.c (print_source): Initialize cache by NULL.
1214
52970753
NC
12152009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1216
1217 * doc/c-arm.texi (mauto-it): Removed old option.
1218 (mimplicit-it): Added right option.
1219
140033b3
NC
12202009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1221
1222 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1223 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1224 MAX_MEM_ALIGNMENT_BYTES.
1225 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1226 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1227
63b33ceb
NC
12282009-07-14 Nick Clifton <nickc@redhat.com>
1229
1230 PR 10387
1231 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1232 (ARM_IS_FUNC): Likewise.
1233
752d5da4
NC
12342009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1235
1236 * config/tc-arm.c (md_assemble): Added validation.
1237
8455dd2c
L
12382009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1239
1240 * Makefile.am: Run "make dep-am".
1241 * Makefile.in: Regenerated.
1242
fa8f86ff
TT
12432009-07-10 Tom Tromey <tromey@redhat.com>
1244
1245 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1246 elf/dwarf2.h.
1247 (DEPTC_alpha_elf): Likewise.
1248 (DEPTC_alpha_evax): Likewise.
1249 (DEPTC_arm_elf): Likewise.
1250 (DEPTC_hppa_elf): Likewise.
1251 (DEPTC_i386_aout): Likewise.
1252 (DEPTC_i386_coff): Likewise.
1253 (DEPTC_i386_elf): Likewise.
1254 (DEPTC_m68k_aout): Likewise.
1255 (DEPTC_m68k_coff): Likewise.
1256 (DEPTC_m68k_elf): Likewise.
1257 (DEPTC_mips_coff): Likewise.
1258 (DEPTC_mips_ecoff): Likewise.
1259 (DEPTC_mips_elf): Likewise.
1260 (DEPTC_ppc_coff): Likewise.
1261 (DEPTC_ppc_elf): Likewise.
1262 (DEPTC_s390_elf): Likewise.
1263 (DEPTC_sh_coff): Likewise.
1264 (DEPTC_sh_elf): Likewise.
1265 (DEPTC_sh64_elf): Likewise.
1266 (DEPTC_sparc_aout): Likewise.
1267 (DEPTC_sparc_coff): Likewise.
1268 (DEPTC_sparc_elf): Likewise.
1269 (as.o): Likewise.
1270 (dwarf2dbg.o): Likewise.
1271 (dw2gencfi.o): Likewise.
1272 (ehopt.o): Likewise.
1273 (read.o): Likewise.
1274 * Makefile.in: Rebuild.
1275 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1276 * dwarf2dbg.c: Likewise.
1277 * ehopt.c: Likewise.
1278
c921be7d
NC
12792009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1280
1281 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1282 (set_it_insn_type_nonvoid): New macro.
1283 (emit_thumb32_expr): New function.
1284 (thumb_insn_size): New function.
1285 (emit_insn): New function.
1286 (s_arm_elf_inst): New function.
1287 (md_pseudo_table): New pseudo-opcode entries added.
1288 * doc/c-arm.texi: New directive added.
1289
7ec721f4
DD
12902009-07-07 DJ Delorie <dj@redhat.com>
1291
1292 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1293 when enabling other options without a specific configuration.
1294
1103f72c
NC
12952009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1296
1297 * config/tc-arm.c (insns): Fix encoding for torvsc.
1298
922d8de8
DR
12992009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1300
1301 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1302 (build_modrm_byte): Add support to handle FMA4 instructions.
1303 (md_show_usage): Add fma4.
01fb1836 1304
c1a6351f
AM
13052009-07-04 Alan Modra <amodra@bigpond.net.au>
1306
1307 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1308
e57f8c65
TG
13092009-07-02 Tristan Gingold <gingold@adacore.com>
1310
1311 * Makefile.am (OBJ_FORMATS): Add macho.
1312 (CPU_OBJ_VALID): Ditto.
1313 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1314 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1315 (obj-macho.o): New rule.
1316 * Makefile.in: Regenerated.
1317 * configure.tgt (generic_target): Add i386-*-darwin*.
1318 * config/tc-i386.h: Use i386_target_format for Mach-O.
1319 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1320 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1321 * config/obj-macho.h: New file.
1322 * config/obj-macho.c: New file.
01fb1836 1323
1ef52f49
NC
13242009-07-01 Nick Clifton <nickc@redhat.com>
1325
1326 PR 10168
1327 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1328 PKHBT.
1329
921e5f0a
PB
13302009-07-01 Paul Brook <paul@codesourcery.com>
1331
1332 * config/tc-arm.c (MISSING_FNSTART): Define.
1333 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1334 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1335 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1336 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1337 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1338 not inside function unwinding region.
1339
7ab9ffdd
L
13402009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * config/tc-i386.c: Reformat.
1343
3ef23cd4
DD
13442009-06-23 DJ Delorie <dj@redhat.com>
1345
1346 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1347 32 bits for relaxable branches so that we can relax them later.
1348 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1349 (mep_relax_frag): New.
1350 (md_convert_frag): Relax IVC2 branches in-place.
1351 * config/tc-mep.h ((mep_relax_frag): New.
1352
9c2799c2 13532009-06-22 Martin Thuresson <martin@mtme.org>
01fb1836 1354
1e9cc1c2
NC
1355 * app, as.c, as.h, atof-generic.c, cgen.c,
1356 config/atof-ieee.c, config/obj-aout.c,
1357 config/obj-coff.c, config/obj-ecoff.c,
1358 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1359 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1360 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1361 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1362 config/tc-i386-intel.c, config/tc-i386.c,
1363 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1364 config/tc-iq2000.c, config/tc-m32c.c,
1365 config/tc-m32r.c, config/tc-m68hc11.c,
1366 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1367 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1368 config/tc-mn10300.c, config/tc-moxie.c,
1369 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1370 config/tc-s390.c, config/tc-score.c,
1371 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1372 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1373 config/tc-xtensa.c, config/xtensa-relax.c,
1374 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1375 frags.c, input-file.c, read.c, sb.c,
1376 subsegs.c, symbols.c, write.c: Change the name of the
9c2799c2
NC
1377 gas macro `assert' to `gas_assert'.
1378
e07e6e58
NC
13792009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1380
1381 * config/tc-arm.c (implicit_it_mode): New enum.
1382 (implicit_it_mode): New global.
1383 (it_instruction_type): New enum.
1384 (arm_parse_it_mode): New function.
1385 (arm_long_opts): New option added.
1386 (arm_it): New field.
1387 (it_state): New enum.
1388 (now_it): New macro.
1389 (check_it_blocks_finished): New function.
1390 (insns[]): Use the IT Thumb opcodes for ARM too.
1391 (arm_cleanup): Call check_it_blocks_finished.
1392 (now_it_compatible): New function.
1393 (conditional_insn): New function.
1394 (set_it_insn_type): New macro.
1395 (set_it_insn_type_last): New macro.
1396 (do_it): Call automatic IT machinery functions.
1397 (do_t_add_sub): Likewise
1398 (do_t_arit3): Likewise.
1399 (do_t_arit3c): Likewise.
1400 (do_t_blx): Likewise.
1401 (do_t_branch): Likewise.
1402 (do_t_bkpt): Likewise.
1403 (do_t_branch23): Likewise.
1404 (do_t_bx): Likewise.
1405 (do_t_bxj): Likewise.
1406 (do_t_cps): Likewise.
1407 (do_t_cpsi): Likewise.
1408 (do_t_cbz): Likewise.
1409 (do_t_it): Likewise.
1410 (encode_thumb2_ldmstm): Likewise.
1411 (do_t_ldst): Likewise.
1412 (do_t_mov_cmp): Likewise.
1413 (do_t_mvn_tst): Likewise.
1414 (do_t_mul): Likewise.
1415 (do_t_neg): Likewise.
1416 (do_t_setend): Likewise.
1417 (do_t_shift): Likewise.
1418 (do_t_tb): Likewise.
1419 (output_it_inst): New function.
1420 (new_automatic_it_block): New function.
1421 (close_automatic_it_block): New function.
1422 (now_it_add_mask): New function.
1423 (it_fsm_pre_encode): New function.
1424 (handle_it_state): New function.
1425 (it_fsm_post_encode): New function.
1426 (force_automatic_it_block_close): New function.
1427 (in_it_block): New function.
1428 (md_assemble): Call automatic IT block machinery functions.
1429 (arm_frob_label): Likewise.
1430 (arm_opts): New element.
1431 * config/tc-arm.h (it_state): New enum.
1432 (current_it): New struct.
1433 (arm_segment_info_type): New member added.
1434 * doc/c-arm.texi: New option -mimplicit-it documented.
1435
90dce00a
AM
14362009-06-20 Alan Modra <amodra@bigpond.net.au>
1437
1438 PR 10302
1439 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1440
5e7c27a6
MS
14412009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1442
1443 * config/tc-s390.c (md_gather_operands): Accept an instruction
1444 without operands if all operands are tagged as optional.
1445
3a21c15a
NC
14462009-06-18 Nick Clifton <nickc@redhat.com>
1447
1448 PR 10169
1e9cc1c2 1449 * tc-arm.c (do_t_ssat): Move common code from here...
3a21c15a
NC
1450 (do_t_usat): ... and here to...
1451 (do_t_ssat_usat): New function: ... here. Add code to check that
1452 the shift value, if present, is in range.
1453
361dff73
DK
14542009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1455
32425da9
NC
1456 Merge cegcc and mingw32ce target name changes
1457 from CeGCC project:
361dff73 1458
32425da9 1459 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1460
1461 * configure.tgt: Add arm*-*-cegcc* target.
1462
32425da9 1463 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
1464
1465 * configure.tgt: Add arm-*-mingw32ce* target.
1466
7b6021f1
MR
14672009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1468
1469 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1470 indirect symbol references in the PIC mode and emit a
1471 PC-relative relocation instead of a GOT/PLT one. Likewise
1472 for symbols known to be hidden at this point.
1473
fe2ceba1
NC
14742009-06-15 Nick Clifton <nickc@redhat.com>
1475
1476 PR 10186
1477 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1478 instruction.
1479
c25bc9fc
L
14802009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1481
1482 PR ld/10269
1483 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1484 instead of generic_force_reloc.
1485
1486 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1487
f865a31d
AG
14882009-06-11 Anthony Green <green@moxielogic.com>
1489
1490 * config/tc-moxie.c (md_chars_to_number): Define.
1491 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1492 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1493 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1494 (tc_gen_reloc): Ditto.
1495 (md_pcrel_from): Ditto.
1496 (md_chars_to_number): New function.
1497
d7a5ed35
AG
14982009-06-10 Anthony Green <green@moxielogic.com>
1499
1500 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1501 opcodes.
1502
1fbfe785
JJ
15032009-06-09 Jakub Jelinek <jakub@redhat.com>
1504
1505 PR gas/10255
1506 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1507 to DW_CFA_advance_loc4.
1508
fbeb56a4
DK
15092009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1510
1511 PR gas/977
1512 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1513 branches to weak symbols.
1514 (md_apply_fix): Don't convert fixes against weak symbols to
1515 section-relative offsets, but save addend for later reloc emission.
1516 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1517 addend to pre-compensate for bfd_install_relocation.
1518
26d1917c
AM
15192009-06-04 Alan Modra <amodra@bigpond.net.au>
1520
1521 * dep-in.sed: Don't use \n in replacement part of s command.
1522 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1523 * Makefile.in: Regenerate.
1524
d160e035
L
15252009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 PR gas/10198
1528 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1529
ff239038
CM
15302009-05-26 Catherine Moore <clm@codesourcery.com>
1531
1532 * config/tc-mips.c (check_for_24k_errata): Remove.
1533 (md_mips_end): Remove call to check_for_24k_errata.
1534 (start_noreorder): Likewise.
1535 (s_change_sec): Likewise.
1536 (s_change_section): Likewise.
1537 (insns_between): Add 24k errata checks.
1538 (append_insn): Remove declaration and references to nhdx_24k.
1539 Remove calls to check_for_24k_errata.
01fb1836 1540
f12e7348
NC
15412009-05-26 Nick Clifton <nickc@redhat.com>
1542
1543 * po/id.po: Updated Indonesian translation.
1544 * po/gas.pot: Updated template file.
1545
f8f003f1
NC
15462009-05-26 Nick Clifton <nickc@redhat.com>
1547
1548 PR 10143
1549 * config/bfin-parse.y (error): Use "%s" as format string for error
1550 message.
1551
5de4cd13
AM
15522009-05-26 Alan Modra <amodra@bigpond.net.au>
1553
1554 * dep-in.sed: Output one filename per line with all lines having
1555 continuation backslash. Prefix first line with "A", following
1556 lines with "B".
1557 * Makefile.am (DEP): Don't use dep.sed here.
1558 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1559 sort and uniq.
1560 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1561 Emit multi dependencies on one line.
1562 * Makefile.in: Regenerate.
1563
295fa3cf 15642009-05-25 Tristan Gingold <gingold@adacore.com>
cb0e7c25
TG
1565
1566 * makefile.vms: New file to compile gas on VMS.
1567
1568 * configure.com: New file to do configuration on VMS with DCL.
1569
65b02341
RS
15702009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1571
1572 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1573 (nops_for_insn): Likewise.
1574
ad04f5ce
L
15752009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1578
c1e679ec
DR
15792009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1580
1581 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1582 (build_modrm_byte): Remove DREX handling support.
1583 (DREX_*): Delete.
1584 (drex_byte): Delete.
1585 (md_assemble): Remove DREX handling support.
1586 (process_operands): Remove DREX, SSE5 support.
1587 (i386_insn): Remove DREX.
01fb1836 1588
2b3decb5
AM
15892009-05-22 Alan Modra <amodra@bigpond.net.au>
1590
1591 * Makefile.am: Run "make dep-am".
1592 * Makefile.in: Regenerate.
1593
321098a5
L
15942009-05-20 Kai Tietz <kai.tietz@onevision.com>
1595 H.J. Lu <hongjiu.lu@intel.com>
1596
1597 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1598 (TARGET_FORMAT): Removed for x86 pe-coff.
1599 (COFF_TARGET_FORMAT): Likewise.
1600
1601 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1602 (md_parse_option): Likewise.
1603 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1604 (i386_target_format): Use also for x86 pe-coff.
1605
1606 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1607 for x86 pe-coff.
1608
b899d332
DD
16092009-05-19 DJ Delorie <dj@redhat.com>
1610
1611 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1612 (mep_process_saved_insns): Remove debugging printfs.
1613
c1711530
DK
16142009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1615
1616 * NEWS: Mention new feature.
1617 * config/obj-coff.c (obj_coff_common_parse): New function.
1618 (obj_coff_comm): Likewise.
1619 (coff_pseudo_table): Override default ".comm" definition on PE.
1620 * doc/as.texinfo: Document new feature.
1621
63ad59ae
KT
16222009-05-17 Kai Tietz <kai.tietz@onevision.com>
1623
321098a5
L
1624 * config/obj-coff.c (obj_coff_section): Add 'y' as
1625 specifier for SEC_COFF_NOREAD section flag.
63ad59ae
KT
1626 * doc/as.texinfo: Add documentation about .section flag 'y'.
1627
77ca1325
DD
16282009-05-13 DJ Delorie <dj@redhat.com>
1629
1630 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1631
42a68e18
AJ
16322009-05-13 Andrew Jenner <andrew@codesourcery.com>
1633
1634 * config/tc-arm.c: Move as.h to start of file.
1635
267bf995
RR
16362009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1637
84df6011 1638 * config/tc-arm.h: Fix typo in comment.
267bf995
RR
1639 (ARM_IS_FUNC): New macro.
1640 (MD_APPLY_SYM_VALUE): Define.
1641
84df6011 1642 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
267bf995
RR
1643 all versions of EABI.
1644 (relax_branch): Do not relax for branches to ARM functions.
1645 (md_pcrel_from_section): Set up base correctly for
1646 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1647 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1648 BFD_RELOC_ARM_PCREL_CALL.
1649 (md_apply_fix): Flip bl to blx where possible.
1650 Flip blx to bl where possible.
1651 (arm_force_relocation): Force relocations for
1652 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1653 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1654 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1655 BFD_RELOC_THUMB_PCREL_BRANCH25.
1656 (arm_apply_sym_value): New function.
01fb1836 1657
eb979bfb
TG
16582009-05-04 Tristan Gingold <gingold@adacore.com>
1659
1660 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1661
45eb4c1b
NS
16622009-05-01 Nathan Sidwell <nathan@codesourcery.com>
1663
1664 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1665 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1666 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1667 the default FPU from the processor.
1668
00adf2d4
JB
16692009-05-01 Julian Brown <julian@codesourcery.com>
1670
1671 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1672 (md_pcrel_from_section): Align address for BLX.
1673 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1674 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1675
3526b680
DD
16762009-04-29 DJ Delorie <dj@redhat.com>
1677
1678 * config/tc-mep.c (md_begin): Check coprocessor type.
1679 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1680 (md_check_parallel32_scheduling): Likewise.
1681 (slot_ok): New.
1682 (mep_check_ivc2_scheduling): New.
1683 (mep_check_parallel_scheduling): Call it.
1684 (mep_process_saved_insns): Add IVC2 slot support.
1685 (md_assemble): Likewise.
1686
d8045f23
NC
16872009-04-30 Nick Clifton <nickc@redhat.com>
1688
1689 * config/obj-elf.c (obj_elf_type): Add support for a
1690 gnu_indirect_function type.
1691 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1692 against indirect function symbols.
1693 * doc/as.texinfo (.type): Document the support for the
1694 gnu_indirect_function symbol type.
1695 * NEWS: Mention the new feature.
1696
92846e72
CC
16972009-04-24 Cary Coutant <ccoutant@google.com>
1698
1699 * NEWS: Add item about discriminator support.
1700 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1701 * dwarf2dbg.c (current): Add discriminator field.
1702 (dwarf2_where): Copy discriminator value.
1703 (dwarf2_consume_line_info): Set discriminator to 0.
1704 (dwarf2_directive_loc): Process discriminator sub-op.
1705 (out_leb128): New function.
1706 (process_entries): Output DW_LNE_set_discriminator.
1707 * doc/as.texinfo: Add discriminator operand to .loc directive.
92846e72 1708
520725ea
NS
17092009-04-22 Nathan Sidwell <nathan@codesourcery.com>
1710
1711 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1712 as_bad calls to silence compiler warning.
1713
7ac3eb25
L
17142009-04-21 H.J. Lu <hongjiu.lu@intel.com>
1715
1716 * config/tc-i386-intel.c (O_XXX): Reorder.
1717
ee86248c
JB
17182009-04-20 Jan Beulich <jbeulich@novell.com>
1719
1720 * Makefile.am: Add explicit dependency of tc-i386.o on
1721 tc-i386-intel.c.
1722 * Makefile.in: Likewise.
1723 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1724 out from i386_immediate.
1725 (i386_immediate): Slightly re-arrange, call
1726 i386_finalize_immediate.
1727 (i386_finalize_displacement): Declare, broken out from
1728 i386_displacement.
1729 (i386_displacement): Slightly re-arrange, call
1730 i386_finalize_displacement.
1731 (i386_intel_simplify, i386_intel_parse_name): Declare.
1732 (this_operand): Initialize to -1.
1733 (set_intel_syntax): Set expression rank for O_full_ptr.
1734 (md_assemble): Set this_operand back to -1 after parsing
1735 operands.
1736 (x86_cons): Negate intel_syntax to indicate state. Call
1737 i386_intel_simplify.
1738 (md_operand): Convert if to switch. Handle '[' for Intel
1739 syntax.
1740 (i386_intel_operand): Delete, including all helper functions
1741 and data.
1742 * config/tc-i386-intel.c: New file, all new code.
1743 * config/tc-i386.h (i386_operator): Declare.
1744 (md_operator): Define to i386_operator.
1745 (i386_need_index_operator): Declare.
1746 (md_need_index_operator): Define to i386_need_index_operator.
1747 (O_full_ptr): Define.
1748
fcaed75e
JB
17492009-04-20 Jan Beulich <jbeulich@novell.com>
1750
1751 * expr.c (operand): Call md_need_index_operator() and
1752 md_operator() if defined. Add unary label.
1753 (operator): Call md_operator() if defined.
1754 (expr): Adjust assertions on range and rank of op_left and
1755 op_right. Don't abort on unhandled operators when reducing
1756 expressions with both operands being constant.
1757 (expr_set_rank): New.
1758 * expr.h (expr_set_rank): Declare.
1759
51a5d0aa 17602009-04-15 Anthony Green <green@moxielogic.com>
20135e4c
NC
1761
1762 * config/tc-moxie.h: New file.
1763 * config/tc-moxie.c: New file.
1764 * configure: Add support for moxie.
1765 * configure.tgt: Add support for moxie.
1766
d85733c8
JB
17672009-04-16 Jan Beulich <jbeulich@novell.com>
1768
1769 * expr.c: Include limits.h if available, and #define CHAR_BITS
1770 otherwise.
1771 (expr): Check range of shift count when evaluating a constant
1772 expression.
1773
d8a1b51e
JB
17742009-04-15 Jan Beulich <jbeulich@novell.com>
1775
1776 * config/tc-i386.c (process_operands): Print operands in
1777 correct order depending on intel_syntax.
1778
6a32d874
CM
17792009-04-09 Catherine Moore <clm@codesourcery.com>
1780
1781 * config/tc-mips.c (mips_fix_24k): Declare.
1782 (check_for_24k_errata): New.
1783 (mips_cleanup): Call check_for_24k_errata.
1784 (start_noreorder): Likewise.
1785 (md_mips_end): Likewise.
1786 (s_change_sec): Likewise.
1787 (s_change_section): Likewise.
1788 (append_insn): Call check_for_24k_errata. Prevent
1789 ERET/DERET instructions from being moved into delay
1790 slots.
1791 (OPTION_FIX_24K): New.
1792 (OPTION_NO_FIX_24k) New.
1793 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1794 (md_parse_option): Handle fix-24k options.
1795 (md_show_usage): Display fix-24k options.
1796 * doc/c-mips.texi: Document.
6a32d874 1797
6b6b3450
AN
17982009-04-09 Adam Nemet <anemet@caviumnetworks.com>
1799
1800 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1801 instead of HAVE_64BIT_SYMBOLS.
1802
4d28413b
DD
18032009-04-07 DJ Delorie <dj@redhat.com>
1804
1805 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1806 (md_show_usage): Change default endian to little.
1807 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1808
bcb012d3
DD
18092009-04-06 DJ Delorie <dj@redhat.com>
1810
1811 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1812 immediates.
1813 (build_bytes): Pass insn to do_a_fix_imm.
1814
5b19eaba
NC
18152009-04-02 Daniel Gutson <dgutson@codesourcery.com>
1816
1817 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1818 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1819 Cortex-M1.
1820
745435b6
MT
18212009-04-01 Matt Thomas <matt@netbsd.org>
1822
1823 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1824 (md_assemble): emit symbol name when used as immediate in PIC mode.
1825 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1826
1ec520b7
SA
18272009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1828
1829 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1830
4343666d
RR
18312009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1832
1833 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1834 (find_real_start): Likewise.
1835 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1836
e7495e45
NS
18372009-04-01 Nathan Sidwell <nathan@codesourcery.com>
1838
1839 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1840 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1841 whenever possible.
1842
42240548
PB
18432009-03-31 Peter Bergner <bergner@vnet.ibm.com>
1844
1845 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1846
adfd7328
DK
18472009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
1848
1849 * doc/internals.texi: Fix trivial syntax errors.
1850
0cc9e1d3
AM
18512009-03-26 Alan Modra <amodra@bigpond.net.au>
1852
1853 PR 10005
1854 * config/tc-i386.c (reloc): Don't abort on lack of required
1855 reloc type.
1856
41aacd83
L
18572009-03-25 H.J. Lu <hongjiu.lu@intel.com>
1858
1859 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1860 arch.
1861
d67ffd56
L
18622009-03-23 H.J. Lu <hongjiu.lu@intel.com>
1863
1864 PR gas/9966
1865 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1866
1867 * read.c (is_end_of_line): Update comments for line separator.
1868 (read_begin): Set line separator in is_end_of_line to 2.
1869
b7cac25f
DM
18702009-03-19 David S. Miller <davem@davemloft.net>
1871
1872 * config/tc-sparc.c (md_parse_option): If the user gives
1873 us '--64' make sure max_architecture is at least V9.
1874
42e5fcbf
AS
18752009-03-18 Andrew Stubbs <ams@codesourcery.com>
1876
1877 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1878 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1879 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1880
8d25cc3d
AM
18812009-03-18 Alan Modra <amodra@bigpond.net.au>
1882
1883 * as.h: Include alloca-conf.h instead of config.h and remove
1884 existing #if's handling alloca.
1885 * Makefile.am: Run "make dep-am".
1886 * Makefile.in: Regenerate.
1887
8602d4fe
RS
18882009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1889
1890 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1891 C_AIX_WEAKEXT too.
1892
9f0eb232
RS
18932009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1894
1895 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1896 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1897 where necessary.
1898
e5231592
RS
18992009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1900
1901 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1902 * configure.in: Likewise.
1903 * configure: Regenerate.
1904
a07dbd48
HPN
19052009-03-11 Hans-Peter Nilsson <hp@axis.com>
1906
1907 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1908 Rename, changing all callers, to...
1909 (md_create_short_jump): Adjust head comment. Assert
1910 word-sized-branch distance for v32. Bail out calling as_fatal for
1911 compatibility mode here.
1912 (md_create_long_jump): ...not here.
1913 * config/tc-cris.h (md_create_short_jump): Do not define.
1914
187af7df
HPN
19152009-03-10 Hans-Peter Nilsson <hp@axis.com>
1916
1917 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1918 the jump table for multiple overflowing entries with the same
1919 target, handle base symbols being different.
1920 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1921 single entry overflows, arrange to redirect all entries with the
1922 same target.
1923
69fe9ce5
AM
19242009-03-10 Alan Modra <amodra@bigpond.net.au>
1925
1926 * config/tc-ppc.c (parse_cpu): Delete.
1927 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1928
f378cd83
L
19292009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 PR gas/9915
1932 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1933 (LOCAL_LABELS_FB): Undefine befoe define.
1934
d11fd249
NC
19352009-03-06 Nick Clifton <nickc@redhat.com>
1936
1937 * po/es.po: Updated Spanish translation.
1938
cc3f603a
JM
19392009-03-05 Joseph Myers <joseph@codesourcery.com>
1940
1941 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1942 s_incbin): Call md_cons_align (1).
1943
d9319cec
NC
19442009-03-04 Nick Clifton <nickc@redhat.com>
1945
1946 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1947 based targets.
1948 (s_alpha_comm): Only define "temp" and "log_align" local variables
1949 for EVAX targets.
1950
727fc41e
AM
19512009-03-04 Alan Modra <amodra@bigpond.net.au>
1952
1953 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1954 have non-zero addend.
1955 (md_assemble): Parse args of __tls_get_addr calls.
1956 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1957
1c5c6c13
DA
19582009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1959
1960 binutils/3807
1961 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1962 local scope for ELF targets.
1963
ed84b57b
AM
19642009-03-04 Alan Modra <amodra@bigpond.net.au>
1965
1966 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1967
198f1251
TG
19682009-03-03 Tristan Gingold <gingold@adacore.com>
1969 Eric Botcazou <ebotcazou@adacore.com>
1970 Douglas B Rupp <rupp@gnat.com>
1971
1972 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1973 for Alpha.
1974 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1975 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1976 (OBJ_SYMFIELD_TYPE): Remove.
1977 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1978 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1979 (tc_frob_file_before_fix): Do not defined on evax.
1980 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1981 Include vms.h if OBJ_EVAX.
1982 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1983 (enum alpha_macro_arg): Remove trailing comma.
1984 (md_longopts): Add replace and noreplace arguments (evax only).
1985 (alpha_evax_proc_hash): New variable.
1986 (alpha_link_section): Make it global.
1987 (alpha_ctors_section, alpha_dtors_section): Removed.
1988 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1989 (alpha_lit8_section): Ifndef'ed on evax.
1990 (alpha_lit8_symbol): Ditto.
1991 (alpha_prologue_label): New variable.
1992 (alpha_linkage_symbol): New variable (evax only).
1993 (alpha_flag_replace): Ditto.
1994 (struct alpha_evax_procs): Add handler and handler_data field.
1995 (alpha_evax_proc): Now of type pointer.
1996 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1997 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1998 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1999 (alpha_adjust_relocs): Ifndef'ed on evax.
2000 (load_expression): Add opname argument.
2001 Implement LDA/BSR optimization for evax.
2002 (emit_lda): Adjust for new prototype of load_expression.
2003 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
2004 (emit_loadstore): Likewise.
2005 (emit_ldXu): Likewise.
2006 (emit_stX): Likewise.
2007 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
2008 (emit_ldgp): Avoid warning in evax case.
2009 (add_to_link_pool): Make it static. Return symbolic expression rather
2010 than number expression for the offset.
2011 (s_alpha_text): Create .text symbol for evax if not already created.
2012 (s_alpha_comm): Do not create specific section for common symbol.
2013 Fill common area with zeros for evax.
2014 (s_alpha_prologue): Create alpha_prologue_label.
2015 (s_alpha_section_name): New function (evax).
2016 (s_alpha_section_word): Likewise.
2017 (section_name): New static variabke moved out from ...
2018 (s_alpha_section): ... here. Create new sections on demand.
2019 (s_alpha_literals): New function (evax).
2020 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
2021 alpha_evax_proc_hash table.
2022 (s_alpha_handler): New function (evax).
2023 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
2024 (s_alpha_prologue): New function (evax).
2025 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
2026 handling of procedures with hash table.
2027 Add support for condition handlers.
2028 (s_alpha_linkage): Create linkage_fixup instance and chain it.
2029 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
2030 (s_alpha_mask): Likewise.
2031 (s_alpha_fmask): Likewise.
2032 (s_alpha_end): Clear alpha_evax_proc.
2033 (s_alpha_align): Increase max_alignment to 16.
2034 (alpha_print_token): Call print_expr_1 instead of print_expr.
ed84b57b 2035 (md_pseudo_table): Add "section", "literals", "handler" and
198f1251
TG
2036 "handler_data" (evax). Do not ignore "prologue" on evax.
2037 Fix indentation.
2038 (md_begin): Create hash table for alpha_evax_proc_hash.
2039 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
2040 (md_show_usage): Mention -replace/-noreplace for evax.
2041 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
2042 (alpha_force_relocation): Likewise.
2043 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
2044 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
2045 (emit_insn): New cases for evax specific relocs.
2046 (assemble_insn): Fix indentation.
2047 Take care of -MDISP in operand table.
2048 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
2049 (OBJ_SYMFIELD_TYPE): New macro.
2050 (obj_symbol_new_hook): Define.
2051 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
2052 (obj_frob_file_before_fix): Ditto.
2053 (PDSC_S_M_HANDLER_VALID): New macro.
2054 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
2055 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
2056 Add prototypes for functions declared in obj-evax.c
2057 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
2058 (s_evax_weak): Convert to ansi-C.
2059 (evax_symbol_new_hook): New function.
2060 (evax_frob_symbol): Ditto.
2061 (evax_frob_file_before_adjust): Ditto.
2062 (evax_frob_file_before_fix): Ditto.
2063 (evax_shorten_name): Ditto.
2064 (crc32): Ditto.
2065 (encode_32): Ditto.
2066 (encode_16): Ditto.
2067 (decode_16): Ditto.
2068 (shorten_identifier): Ditto.
2069 (is_truncated_identifier): Ditto.
2070 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
2071 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
2072 (main): Ditto.
2073
a1f7ca36
AM
20742009-03-03 Alan Modra <amodra@bigpond.net.au>
2075
2076 * Makefile.am: Run "make dep-am".
2077 * Makefile.in: Regenerate.
2078
83cf10fd
NC
20792009-03-02 Nick Clifton <nickc@redhat.com>
2080
2081 PR 9874
2082 * config/tc-ia64.c (fix_insn): Fix warning reported by
2083 -Wformat-security.
2084
c3b7224a
NC
20852009-03-02 Qinwei <qinwei@sunnorth.com.cn>
2086
2087 * config/tc-score7.c: New file.
2088 * doc/c-score.texi: New file.
2089 * Makefile.am: Update dependencies for tc-score.c.
2090 * Makefile.in: Regenerate.
2091 * NEWS: Mention support for Score7 architecture.
2092 * config/tc-score.c: Add support for Score7 architecture.
2093 * config/tc-score.h: Likewise.
2094 * doc/Makefile.am: Add c-score.texi.
2095 * doc/Makefile.in: Regenerate.
2096 * doc/all.texi: Add Score7.
2097 * doc/as.texinfo: Add Score7.
2098
04e2c417
MM
20992009-03-01 Mark Mitchell <mark@codesourcery.com>
2100
2101 * config/tc-arm.c (md_assemble): Allow barrier instructions on
2102 ARMv6-M cores.
2103
58e24671
RW
21042009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2105
2106 * configure: Regenerate.
2107
066be9f7
PB
21082009-02-26 Peter Bergner <bergner@vnet.ibm.com>
2109
2110 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
2111 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
2112 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
2113
784788d2
L
21142009-02-25 H.J. Lu <hongjiu.lu@intel.com>
2115
2116 * config/tc-i386.c (fits_in_imm4): Removed.
2117
91c2f09e
DA
21182009-02-24 Helge Deller <deller@gmx.de>
2119
dfaf9df8 2120 * config/tc-hppa.c (pa_ip): Add check of immediate values.
91c2f09e
DA
2121 (SAVE_IMMEDIATE): New define.
2122
94206790
MM
21232009-02-23 Mark Mitchell <mark@codesourcery.com>
2124
2125 * config/tc-arm.c (warn_deprecated_sp): New macro.
2126 (do_t_mov_cmp): Permit R13 as the second
2127 argument to "cmp.n".
2128
0349dc08
L
21292009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2130
2131 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
2132 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
2133
c1b80a2a
L
21342009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2135
2136 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
2137
4c664d7b
L
21382009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 * config/tc-i386.c (vex_imm4): Removed.
2141 (VEX_check_operands): Likewise.
2142 (match_template): Updated.
2143
11c19e16
MS
21442009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2145
2146 * doc/all.texi: Set S390.
2147 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
2148 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2149 * doc/Makefile.in: Likewise.
2150 * doc/c-s390.texi: New.
2151
87298967
NS
21522009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2153
2154 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2155 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2156 (mcf5307_ctrl): Add VBR.
2157 (no_mac): New variable.
2158 (m68k_extensions): Refer to no_mac mask.
2159 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2160 52252..52259, 53011..53017.
2161 (m68k_ip): Process CPUCR.
2162 (init_table): Add cpucr entry.
2163 (m68k_set_extension): Allow negated mask to refer to a variable.
2164 (md_show_usage): Use '%s' to silence fprintf warning.
2165 * config/m68k-parse.h (CPUCR): New control register.
2166
ee2c9aa9
NS
21672009-02-10 Nathan Sidwell <nathan@codesourcery.com>
2168
2169 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2170 as_bad calls to silence compiler warning.
2171
8dc2430f
NC
21722009-02-06 Nick Clifton <nickc@redhat.com>
2173
2174 PR 9814
2175 * config/tc-arm.c (MODE_RECORDED): New define.
2176 (output_inst): Record the thumb_mode in the current frag.
2177 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2178 (arm_init_frag): Only set the tc_frag_data field if it has not
2179 already been set.
2180
ce2f5b3c
L
21812009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 AVX Programming Reference (January, 2009)
2184 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2185 (CPU_FLAGS_AVX_MATCH): Updated.
2186 (CPU_FLAGS_32BIT_MATCH): Likewise.
2187 (cpu_flags_match): Likewise.
2188
52b6b6b9
JM
21892009-02-03 Sandip Matte <sandip@rmicorp.com>
2190
2191 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2192 M_MSGWAIT and M_MSGWAIT_T.
2193 (mips_cpu_info_table): Add XLR entry.
2194 * doc/c-mips.texi (-march): Document xlr.
2195
e94345ae 21962009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
a53fddce
EW
2197
2198 * config/tc-avr.c (mcu_types): Add ata6289.
2199 * doc/c-avr.texi: Likewise.
2200
31dd3154
JM
22012009-02-03 Carlos O'Donell <carlos@codesourcery.com>
2202
2203 * configure.in: AC_SUBST pdfdir.
2204 * Makefile.am: Add install-pdf, install-pdf-am,
2205 and install-pdf-recursive targets.
2206 * doc/Makefile.am: Define pdf__strip_dir. Add
2207 install-pdf and install-pdf-am targets.
2208 * po/Make-in: Add install-pdf target.
2209 * configure: Regenerate.
2210 * Makefile.in: Regenerate.
2211 * doc/Makefile.in: Regenerate.
2212
cf869cce
NC
22132009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2214
2215 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2216 relocations.
2217 * config/m68k-parse.y (yylex): Parse TLS relocations.
2218 * config/tc-m68k.c (m68k_elf_cons): New static function.
2219 (md_pseudo_table): Use it.
2220 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2221 relocations.
2222 (md_apply_fix): Fix to set thread local flag.
2223 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2224
bb0a86e1
NC
22252009-02-03 Vince Weaver <vince@csl.cornell.edu>
2226
2227 PR 9779
2228 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2229 indexed addressing for symbolic expressions.
2230
fdfde340
JM
22312009-01-29 Mark Mitchell <mark@codesourcery.com>
2232
2233 * config/tc-arm.c (BAD_SP): Define.
2234 (s_arm_unwind_fnstart): Use REG_SP.
2235 (s_arm_unwind_setfp): Likewise.
2236 (reject_bad_reg): New macro.
2237 (do_co_reg): Check for bad registers.
2238 (do_co_reg2c): Likewise.
2239 (do_srs): Use REG_SP.
2240 (do_t_add_sub): Check for bad registers.
2241 (do_t_adr): Likewise.
2242 (do_t_arit3): Likewise.
2243 (do_t_arit3c): Likewise.
2244 (do_t_bfc): Likewise.
2245 (do_t_bfi): Likewise.
2246 (do_t_bfx): Likewise.
2247 (do_t_blx): Likewise.
2248 (do_t_bx): Likewise.
2249 (do_t_bxj): Likewise.
2250 (do_t_clz): Likewise.
2251 (do_t_div): Likewise.
2252 (do_t_mla): Likewise.
2253 (do_t_mlal): Likewise.
2254 (do_t_mov_cmp): Likewise.
2255 (do_t_mov16): Likewise.
2256 (do_t_mvn_tst): Likewise.
2257 (do_t_mrs): Likewise.
2258 (do_t_msr): Likewise.
2259 (do_t_mul): Likewise.
2260 (do_t_mull): Likewise.
2261 (do_t_orn): Likewise.
2262 (do_t_pkhbt): Likewise.
2263 (do_t_pld): Likewise.
2264 (do_t_rbit): Likewise.
2265 (do_t_rev): Likewise.
2266 (do_t_rrx): Likewise.
2267 (do_t_rsb): Likewise.
2268 (do_t_shift): Likewise.
2269 (do_t_simd): Likewise.
2270 (do_t_ssat): Likewise.
2271 (do_t_ssat16): Likewise.
2272 (do_t_sxtah): Likewise.
2273 (do_t_sxth): Likewise.
2274 (do_t_tb): Likewise.
2275 (do_t_usat): Likewise.
2276 (do_t_usat16): Likewise.
2277 (nysn_insert_sp): Use REG_SP.
2278
1c444d06
JM
22792009-01-29 Mark Mitchell <mark@codesourcery.com>
2280
2281 * config/tc-arm.c (do_t_orn): New function.
2282 (do_t_rrx): Likewise.
2283 (insns): Add orn and rrx.
2284
4f80ef3e
JM
22852009-01-29 Mark Mitchell <mark@codesourcery.com>
2286
2287 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
ed84b57b 2288 uasx, uhasx, uhsx, uqasx, uqsax, usax.
4f80ef3e 2289
087b80de
JM
22902009-01-29 Mark Mitchell <mark@codesourcery.com>
2291
2292 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2293 qdsub in Thumb-2 mode.
2294
17828f45 22952009-01-29 Paul Brook <paul@codesourcery.com>
321098a5 2296 Mark Mitchell <mark@codesourcery.com>
17828f45
JM
2297
2298 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2299 of MUL when possible.
2300
ec0c103c
NC
23012009-01-29 Nick Clifton <nickc@redhat.com>
2302
2303 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2304
4a6bc624
NS
23052009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2306 Catherine Moore <clm@codesourcery.com?
2307
2308 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2309 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2310 directives.
2311
23fce1e3
NC
23122009-01-27 Nick Clifton <nickc@redhat.com>
2313
2314 * config/tc-mips.c (append_insn): Cope with a complex reloc
2315 sequence containing an unsupported reloc type.
2316 (enum options): Replace computed #define's constants for option
2317 numbers with this enum.
2318 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2319 environment.
2320 (md_parse_option): Allow -32 in a non-ELF environment.
2321
ee3c0378
AS
23222009-01-26 Andrew Stubbs <ams@codesourcery.com>
2323
2324 * config/tc-arm.c (attributes_set_explicitly): New array.
2325 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2326 (cpu_arch): Add ARM_ARCH_V5T.
2327 (aeabi_set_attribute_int): New function.
2328 (aeabi_set_attribute_string): New function.
2329 (aeabi_set_public_attributes): Set attributes according to the user's
2330 intentions, rather than the actual state of the binary.
2331 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2332 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2333 Support WMMXv2. Use attribute names instead of numbers.
2334 * read.c (s_vendor_attribute): Change return type to int.
2335 Return the tag number that was set.
2336 * read.h (s_vendor_attribute): Change return type to int.
2337
17f4880d
EW
23382009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2339
2340 PR 9789
2341 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2342 * doc/c-avr.texi: Likewise.
2343
278df34e
NS
23442009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2345
2346 * doc/c-arm.texi (): Document -mwarn-deprecated.
2347 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2348 (warn_on_deprecated): ... this.
2349 (opcode_lookup, md_assemble): Check it before warning.
2350 (arm_opts): Add m[no-]warn-deprecated.
2351 (md_parse_option): Replace WARN_DEPRECATED with
2352 warn_on_deprecated.
2353
199114c2
AS
23542009-01-23 Andreas Schwab <schwab@suse.de>
2355
750bdd57
AS
2356 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2357 arguments to macro_build to match format.
2358
199114c2
AS
2359 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2360 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2361
d3bf77be
NC
23622009-01-19 Nick Clifton <nickc@redhat.com>
2363
2364 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2365 ELF format ARM targets.
2366 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2367
23682009-01-19 Nick Clifton <nickc@redhat.com>
2369
2370 * configure.tgt: Restore alpha sorting to object format switch
2371 statement.
2372
2d0bb761
AS
23732009-01-19 Andrew Stubbs <ams@codesourcery.com>
2374
2375 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2376
3493e7b0
JM
23772009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2378
2379 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2380 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2381
e04befd0
AS
23822009-01-16 Andrew Stubbs <ams@codesourcery.com>
2383 Daniel Jacobowitz <dan@codesourcery.com>
2384
2385 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2386 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2387 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2388 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2389 Improve string parser.
2390 * doc/c-arm.texi (ARM Machine Directives): Document
2391 .eabi_attribute symbolic tag names.
2392
29670fb9
AM
23932009-01-16 Alan Modra <amodra@bigpond.net.au>
2394
2395 * configure.in (commonbfdlib): Delete.
2396 * configure: Regenerate.
2397 * po/POTFILES.in: Regenerate.
2398
91e22acd
AS
23992009-01-15 Andrew Stubbs <ams@codesourcery.com>
2400 Julian Brown <julian@codesourcery.com>
2401
2402 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2403
7b86a9fa
AS
24042009-01-15 Andrew Stubbs <ams@codesourcery.com>
2405
2406 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2407 bfd_elf_add_obj_attr_int_string.
2408
01e1a5bc
NC
24092009-01-15 Douglas B Rupp <rupp@gnat.com>
2410
2411 * configure.tgt(ia64-*-*vms*): New target.
2412 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2413 * tc.h (md_number_to_chars): Declare iff undefined.
2414 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2415 attr to bfd_vma.
2416 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2417 variables attr, md_attr to bfd_vma.
2418 (obj_elf_section_word): Likewise.
2419 (obj_elf_section): Change type of variable attr to bfd_vma
2420 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2421 attr to bfd_vma.
2422 * config/tc-ia64.c (bfdver.h,time.h): Include.
2423 (ia64_elf_section_letter): Now returns a bfd_vma.
2424 Handle VMS specific attributes.
2425 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2426 (ia64_init): Don't turn on dependency checking for VMS.
2427 (ia64_target_format): Check for VMS flag bit.
2428 (do_alias): Hande decc$ functions.
2429 (get_vms_time): New function.
2430 (ia64_vms_note): New function.
2431 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2432 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2433 (tc_init_after_args): Define for VMS.
2434 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2435 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2436 * config/tc-alpha.h: Likewise.
2437 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2438 (x86_64_section_word): Return a bfd_vma.
2439 * config/tc-i386.h: Likewise.
2440 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2441 attr to bfd_vma.
2442 * config/tc-ip2k.h: Likewise.
2443 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2444 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2445 * config/tc-mep.h: Likewise.
2446 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2447 (ppc_section_word): Return a bfd_vma.
2448 (ppc_section_flags): Change type of arg attr to bfd_vma.
2449 * config/tc-ppc.h: Likewise.
2450 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2451 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
2452 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2453 New file with new macros
2454 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2455 macros.
01e1a5bc 2456
bc2d1808
NC
24572009-01-15 Nick Clifton <nickc@redhat.com>
2458
2459 PR 9722
2460 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2461 instructions before generating a Thumb2 nop.
2462
7b6598a4 24632009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 2464
7b6598a4
AK
2465 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2466
cd4a7468
AM
24672009-01-12 Alan Modra <amodra@bigpond.net.au>
2468
2469 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2470 (brinfo): New var.
2471 (md_assemble): Poke brinfo into branch instructions.
2472 (spu_brinfo): New function.
2473 (md_apply_fix): Don't assume insn fields start off at zero, mask
2474 them to remove possible brinfo.
2475
1543849b
L
24762009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2477
2478 * doc/c-i386.texi: Reformat.
2479
bd5295b2
L
24802009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2481
dfaf9df8 2482 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
bd5295b2
L
2483 .syscall.
2484 (i386_align_code): Handle PROCESSOR_COREI7.
2485 (md_show_usage): Add corei7, clflush and syscall.
2486 (i386_target_format): Replace cpup4 with cpuclflush.
2487
dfaf9df8 2488 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
bd5295b2
L
2489
2490 * doc/c-i386.texi: Document corei7, clflush and syscall.
2491
1b7f3fb0
L
24922009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2495 (md_show_usage): Display rdtscp.
2496
2497 * doc/c-i386.texi: Document rdtscp.
2498
1cb0a767
PB
24992009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2500
2501 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2502 Test the new "deprecated" opcode field.
2503
19fc3723
SA
25042009-01-07 Sterling Augustine <sterling@tensilica.com>
2505
2506 * config/tc-xtensa.c (produce_flix): New.
2507 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2508 (md_longopts): Add support for them.
2509 (md_parse_option): Likewise.
2510 (md_show_usage): Add help message.
2511 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2512 option is set to FLIX_NONE.
2513 * config/xtensa-relax.c (transition_applies): Only relax to
2514 flix branches when produce_flix equals FLIX_ALL.
2515 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2516 FLIX_NONE): New.
2517 (produce_flix): Declare.
2518
24864476
CF
25192009-01-06 Chao-ying Fu <fu@mips.com>
2520
2521 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2522 Use strncmp to match jalr and jalr.hb.
2523 Fix a typo.
2524
0bfee649 25252009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 2526
0bfee649
L
2527 AVX Programming Reference (December, 2008)
2528 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2529 support. Don't swap REG and NDS for FMA.
d62f07d0 2530
750bdd57 25312009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 2532
750bdd57
AS
2533 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2534 behaviour.
e7c604dd 2535
0bfee649 2536For older changes see ChangeLog-2008
08d56133
NC
2537\f
2538Local Variables:
2539mode: change-log
2540left-margin: 8
2541fill-column: 74
2542version-control: never
2543End:
This page took 0.788572 seconds and 4 git commands to generate.