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