bfd: update to AC_INIT
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2012-07-27 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.in (BFD_VERSION): Run bfd/configure --version and
4 parse the output of that.
5 * configure: Regenerate.
6
7 2012-07-27 Tristan Gingold <gingold@adacore.com>
8
9 * NEWS: Add marker for 2.23.
10
11 2012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
12
13 * listing.c (struct list_message): New.
14 (struct list_info_struct): Delete "message". Add "messages"
15 and "last_message".
16 (listing_message): Adjust.
17 (listing_newline): Adjust.
18 (print_lines): Adjust.
19
20 2012-07-24 Jan Beulich <jbeulich@suse.com>
21
22 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
23 xmm/ymm index register being specified first as well as esp/rsp
24 base register being specified last in a memory operand.
25
26 2012-07-24 Jan Beulich <jbeulich@suse.com>
27
28 * config/tc-i386-intel.c (i386_intel_simplify_register):
29 Replace literal 4 by corresponding ESP_REG_NUM.
30
31 2012-07-24 Sandra Loosemore <sandra@codesourcery.com>
32 Jie Zhang <jzhang918@gmail.com>
33
34 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
35 if offset is negative.
36
37 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
38
39 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
40 * doc/c-i386.texi: Document the new directives.
41
42 2012-07-02 Nick Clifton <nickc@redhat.com>
43
44 * write.c (fixup_segment): Only perform the subtraction of an
45 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
46 properly defined.
47 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
48
49 2012-06-30 Alan Modra <amodra@gmail.com>
50
51 PR gas/14315
52 * config/obj-elf.c (obj_elf_weak): Don't set local.
53
54 2012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
55
56 * frags.h (frag_offset_fixed_p): Update prototype.
57 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
58 * expr.c (expr, resolve_expression): Likewise for frag_off var.
59
60 2012-06-29 Nick Clifton <nickc@redhat.com>
61
62 PR gas/14263
63 * config/tc-arm.c (parse_operands): Initialise val.
64
65 2012-06-28 Nick Clifton <nickc@redhat.com>
66
67 PR gas/14260
68 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
69 message if literal pool addressing is used.
70
71 2012-06-28 Nick Clifton <nickc@redhat.com>
72
73 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
74 linker relaxation.
75 (dwarf2_gen_line_info): Generate real, local, labels for line
76 numbers.
77 (dwarf2dbg_convert_frag): Do not finalize the computation of the
78 frag's symbol value when linker relaxation is enabled.
79 (ADDR_DELTA_LIMIT): Define.
80 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
81 (emit_fixed_inc_line_addr): Likewise.
82 * write.c (fixup_segment): If the subtraction of two symbols
83 cannot be resolved but is valid, then prevent bogus range warnings
84 by pre-biasing add_number.
85 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
86
87 2012-06-22 Roland McGrath <mcgrathr@google.com>
88
89 * NEWS: Mention 'rep ret' too.
90
91 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
92 when the template has opcode_modifier.repprefixok set.
93 * NEWS: Mention the change.
94
95 2012-06-18 Iain Sandoe <iain@codesourcery.com>
96
97 * configure.in: Check DECLS for free, getenv, malloc, realloc,
98 * configure: Regenerate.
99 * config.in: Likewise.
100
101 2012-06-13 H.J. Lu <hongjiu.lu@intel.com>
102
103 * config/tc-i386.c (x86_address_bytes): New.
104 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
105 (x86_address_bytes): Likewise.
106
107 2012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
108
109 PR gas/12698
110 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
111 architecure when assembling for all archiectures.
112 (do_t_msr): Likewise.
113
114 2012-06-11 Georg-Johann Lay <avr@gjlay.de>
115
116 PR 13503
117 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
118 from 2012-05-16.
119
120 2012-06-09 H.J. Lu <hongjiu.lu@intel.com>
121
122 * input-scrub.c (input_scrub_include_sb): Use sb_build to
123 allocate sufficient space for from_sb. Use sb_terminate to
124 terminate string.
125 * read.c (read_a_source_file): Use sb_build to allocate
126 sufficient space and replace sb_add_string with sb_add_buffer.
127 (s_macro): Likewise.
128 (input_scrub_insert_line): Likewise.
129 (s_irp): Use sb_build to allocate sufficient space.
130 (do_repeat): Use sb_build to allocate sufficient space
131 for many.
132 * sb.c (sb_build): Remove static.
133 * sb.h (sb_build): New prototype.
134
135 2012-06-09 Alan Modra <amodra@gmail.com>
136
137 * sb.c: Include limits.h.
138 (dsize): Delete.
139 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
140 (sb_new): Use INIT_ALLOC.
141 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
142 (sb_terminate): Don't use sb_add_char.
143
144 2012-06-07 Alan Modra <amodra@gmail.com>
145
146 PR gas/14201
147 * sb.h (sb_max_power_two): Delete.
148 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
149 (sb_element): Delete.
150 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
151 prototypes.
152 * sb.c (string_count, free_list): Delete.
153 (sb_build, sb_kill, sb_check): Rewrite.
154 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
155 sb_skip_white, sb_skip_comma): Replace assorted int params,
156 vars and return types with size_t.
157 * input-scrub.c: Likewise.
158 * macro.c: Likewise.
159 * macro.h: Likewise.
160 * as.c: Likewise.
161 * as.h: Likewise.
162 * input-file.h: Likewise.
163 * input-file.c: Likewise.
164 * read.c: Likewise.
165 * app.c: ..or ptrdiff_t.
166 * input-file.c (input_file_get): Use ferror.
167 (input_file_give_next_buffer): Use input_file_get.
168
169 2012-05-29 Roland McGrath <mcgrathr@google.com>
170
171 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
172 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
173 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
174 pairs.
175
176 2012-05-28 Nick Clifton <nickc@redhat.com>
177
178 * read.c (read_symbol_name): New function. Reads a symbol names.
179 Allows escape codes in names.
180 (s_comm_internal): Use read_symbol_name.
181 (s_globl, s_lsym, s_set, s_weakref): Likewise.
182 * doc/as.texinfo: Document support for multibyte characters in
183 symbol names.
184
185 2012-05-21 Mike Frysinger <vapier@gentoo.org>
186
187 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
188 is non-NULL.
189
190 2012-05-19 Alan Modra <amodra@gmail.com>
191
192 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
193 targets when checking for "comdat".
194
195 2012-05-19 Alan Modra <amodra@gmail.com>
196
197 * config/tc-dlx.c (s_proc): Don't use asprintf.
198
199 2012-05-18 Alan Modra <amodra@gmail.com>
200
201 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
202 return value.
203
204 2012-05-18 James Lemke <jwlemke@codesourcery.com>
205 Alan Modra <amodra@gmail.com>
206
207 * config/tc-ppc.c: Don't capitalise error and warning messages.
208 (md_parse_option): Add checks for -a32 -mvle.
209
210 2012-05-18 Alan Modra <amodra@gmail.com>
211
212 * config/obj-evax.c: Include as.h first.
213
214 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
215
216 * aclocal.m4: Regenerate.
217 * configure: Regenerate.
218 * Makefile.in: Regenerate.
219
220 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
221 Nick Clifton <nickc@redhat.com>
222
223 PR 14072
224 * configure.in: Add check that sysdep.h has been included before
225 any system header files.
226 * configure: Regenerate.
227 * config.in: Regenerate.
228 * aclocal.m4: Regenerate.
229 * Makefile.am: Use wrappers around C files generated by flex.
230 * Makefile.in: Regenerate.
231 * doc/Makefile.in: Regenerate.
232 * itbl-lex-wrapper.c: New file.
233 * config/bfin-lex-wrapper.c: New file.
234 * cgen.c: Include as.h before setjmp.h.
235 * config/tc-dlx.c: Include as.h before any other header.
236 * config/tc-h8300.c: Likewise.
237 * config/tc-lm32.c: Likewise.
238 * config/tc-mep.c: Likewise.
239 * config/tc-microblaze.c: Likewise.
240 * config/tc-mmix.c: Likewise.
241 * config/tc-msp430.c: Likewise.
242 * config/tc-or32.c: Likewise.
243 * config/tc-tic4x.c: Likewise.
244 * config/tc-tic54x.c: Likewise.
245 * config/tc-xtensa.c: Likewise.
246
247 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
248
249 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
250 as the first argument for `bfd_get_section_vma'.
251
252 2012-05-16 Alberto Garcia <agarcia@igalia.com>
253
254 PR gas/14082
255 * app.c (do_scrub_chars): Prevent possible out of bounds access to
256 lex[] array.
257
258 2012-05-16 Georg-Johann Lay <avr@gjlay.de>
259
260 PR target/13503
261 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
262 R_AVR_8_HLO8.
263 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
264 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
265
266 2012-05-16 Nathan Sidwell <nathan@codesourcery.com>
267 Kwok Cheung Yeung <kcy@codesourcery.com>
268
269 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
270 51qm variants.
271
272 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
273
274 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
275 Add option to offset S12 addresses into XGATE memory space.
276 Tweak target flags to match other tools. (i.e. -m m68hc11).
277 * doc/as.texinfo: Mention new options.
278 * doc/c-m68hc11.texi: Document new options.
279 * NEWS: Mention new support.
280
281 2012-05-14 DJ Delorie <dj@redhat.com>
282
283 * config/rx-parse.y (rx_range): declare.
284 (O1,O2,O3,O4): Add calls to rx_range.
285 (UO1,UO2,UO3): Likewise.
286 (IMM2,IMMB): Likewise.
287 (rx_range): New.
288
289 * config/tc-rx.c (rx_fetchalign): Declare.
290 (md_pseudo_table): Add .fetchalign.
291 (RX_NBASE_FETCHALIGN): New.
292 (fetchalign_bytes): New.
293 (rx_fetchalign): New.
294 (rx_frag_init): If a "magic" value is found, also init the
295 machine-specific data.
296 (md_assemble): Note following opcode size if called for.
297 (rx_next_opcode): New.
298 (rx_relax_frag): Support .fetchalign.
299 (md_convert_frag): Likewise.
300 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
301
302 2012-05-14 James Lemke <jwlemke@codesourcery.com>
303
304 * config/tc-ppc.c (insn_validate): New func of existing code to call..
305 (ppc_setup_opcodes): ..from 2 places here.
306 Revise for second (VLE) opcode table.
307 Add #ifdef'd code to print opcode tables.
308
309 2012-05-14 James Lemke <jwlemke@codesourcery.com>
310
311 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
312 for the VLE conditional branches.
313
314 2012-05-14 Catherine Moore <clm@codesourcery.com>
315 Maciej W. Rozycki <macro@codesourcery.com>
316 Rhonda Wittels <rhonda@codesourcery.com>
317
318 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
319 (PPC_VLE_SPLIT16D): New macro.
320 (PPC_VLE_LO16A): New macro.
321 (PPC_VLE_LO16D): New macro.
322 (PPC_VLE_HI16A): New macro.
323 (PPC_VLE_HI16D): New macro.
324 (PPC_VLE_HA16A): New macro.
325 (PPC_VLE_HA16D): New macro.
326 (PPC_APUINFO_VLE): New definition.
327 (md_chars_to_number): New function.
328 (md_parse_option): Check for combinations of little
329 endian and -mvle.
330 (md_show_usage): Document -mvle.
331 (ppc_arch): Recognize VLE.
332 (ppc_mach): Recognize bfd_mach_ppc_vle.
333 (ppc_setup_opcodes): Print the opcode table if
334 * config/tc-ppc.h (ppc_frag_check): Declare.
335 * doc/c-ppc.texi: Document -mvle.
336 * NEWS: Mention PowerPC VLE port.
337
338 2012-05-14 Catherine Moore <clm@codesourcery.com>
339
340 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
341 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
342 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
343 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
344 for DWARF2_LINE_MIN_INSN_LENGTH.
345
346 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
347
348 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
349 for BFD_RELOC_64.
350
351 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
352
353 PR binutils/14028
354 * configure.in: Invoke ACX_HEADER_STRING.
355 * configure: Regenerate.
356 * config.in: Regenerate.
357 * as.h: If STRINGS_WITH_STRING is defined then include both
358 string.h and strings.h.
359
360 2012-05-11 Georg-Johann Lay <avr@gjlay.de
361
362 PR target/13503
363 * config/tc-avr.c (exp_mod_pm): Remove variable.
364 (exp_mod_data_t): New typedef.
365 (pexp_mod_data, exp_mod_data): New variables.
366 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
367 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
368 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
369 (avr_cons_fix_new): Handle new data expression modifiers shipped
370 in pexp_mod_data.
371 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
372 BFD_RELOC_AVR_8_HHI.
373
374 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
375
376 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
377 addend overflow check.
378
379 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
380
381 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
382 x32 addend overflow check.
383
384 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
385
386 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
387
388 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
389
390 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
391 for BFD_RELOC_64.
392
393 2012-05-08 Alan Modra <amodra@gmail.com>
394
395 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
396 LC and LANG environment vars.
397 * Makefile.in: Regenerate.
398
399 2012-05-07 Alan Modra <amodra@gmail.com>
400
401 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
402 * Makefile.in: Regenerate.
403
404 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
405
406 * config/tc-z80.h(md_register_arithmetic): Define as 0.
407 * config/tc-z80.c(md_begin): Store register names in symbol table,
408 preventing usage as ordinary symbol.
409 * config/tc-z80.c(contains_register): New function.
410 * config/tc-z80.c(parse_exp2): Removed.
411 * config/tc-z80.c(parse_exp_not_indexed): New function.
412 * config/tc-z80.c(parse_exp): Add code to recogize indexed
413 addressing after parsing.
414 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
415 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
416 condition for jump to register.
417 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
418 parse_exp_not_indexed.
419
420 2012-05-05 Alan Modra <amodra@gmail.com>
421
422 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
423 bfd_und_section and bfd_ind_section with their _ptr variants, or
424 use corresponding bfd_is_* macros.
425 * symbols.c: Likewise.
426 * config/obj-aout.c: Likewise.
427 * config/obj-coff-seh.h: Likewise.
428 * config/tc-hppa.c: Likewise.
429 * config/tc-hppa.h: Likewise.
430 * config/tc-ia64.c: Likewise.
431 * config/tc-m32r.c: Likewise.
432 * config/tc-microblaze.c: Likewise.
433 * config/tc-mips.c: Likewise.
434 * config/tc-score.c: Likewise.
435 * config/tc-score7.c: Likewise.
436 * config/tc-tic6x.c: Likewise.
437
438 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
439
440 * configure.tgt: Support x86_64-*-linux-gnux32.
441
442 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
443
444 * config/tc-i386.c (match_template): Add `instruction' to
445 unsupported error message.
446
447 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
448
449 * config/tc-i386.c (output_insn): Reformat.
450
451 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config/tc-i386.c (output_insn): Remove the extra VEX check.
454
455 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
456
457 * config/tc-i386.c (match_template): Improve unsupported error
458 message.
459
460 2012-05-03 Sean Keys <skeys@ipdatasys.com>
461
462 * configure, Makefile.in: Regenerate.
463 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
464 * configure.tgt: Added cpu type.
465 Added files for XGATE assembler.
466 * config/tc-xgate.c: Assembler for XGATE.
467 * config/tc-xgate.h: Header definition for assembler
468 Added files for XGATE testsuite.
469 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
470 * doc/c-xgate.texi: Document XGATE and XGATE port.
471 * doc/as.texinfo: Ditto.
472 * doc/all.texi: Ditto
473 * NEWS: Mention the new support.
474
475 2012-04-30 DJ Delorie <dj@redhat.com>
476
477 * config/rx-parse.y (rx_intop): Add parameter for operation size.
478 Check for large positive constants really being small negative
479 ones.
480 (BRA, BSR): Update calls to rx_intop.
481 (immediate): Likewise.
482
483 2012-04-26 Mark Wielaard <mjw@redhat.com>
484
485 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
486 (DWARF2_LINE_VERSION): Likewise.
487 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
488 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
489 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
490 DWARF2_VERSION >= 4.
491 (out_debug_info): Use difference between start and end as data
492 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
493 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
494
495 2012-04-27 David S. Miller <davem@davemloft.net>
496
497 * doc/c-sparc.text: Document %l34 and %h34.
498
499 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
500
501 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
502 v8pluse, v8plusv, v9e, and v9v.
503 (v9a_asr_table): Add 'pause'.
504
505 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
506 sparc4, v8pluse, v8plusv, v9e, and v9v.
507 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
508 order to accomodate cbcond which otherwise would require two
509 relocations to be handled in a single instruction..
510
511 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
512 names containing "_".
513 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
514 hwcap masks to v8plusv and v9v.
515
516 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
517 masks.
518 (sparc_md_end): No longer need to translate hwcap_seen values into
519 ELF hwcap bits, they now match exactly.
520 (get_hwcap_name): Use HWCAP_* and handle new values.
521 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
522
523 2012-04-20 Tristan Gingold <gingold@adacore.com>
524
525 * config/tc-ia64.c (obj_elf_vms_common): New function.
526 (md_pseudo_table): Add .vms_common pseudo.
527 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
528 * config/obj-elf.c (obj_elf_section_name): Make it public.
529
530 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
531
532 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
533
534 2012-04-12 David S. Miller <davem@davemloft.net>
535
536 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
537 BFD_RELOC_SPARC_H34.
538 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
539 (tc_gen_reloc): Likewise.
540
541 2012-04-12 Roland McGrath <mcgrathr@google.com>
542
543 * configure.tgt (arm-*-nacl*): Match it.
544 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
545 (LOCAL_LABELS_DOLLAR): Define.
546 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
547 Use nacl format variants.
548
549 2012-04-12 Jie Zhang <jie@codesourcery.com>
550 Meador Inge <meadori@codesourcery.com>
551
552 * config/tc-arm.c (only_one_reg_in_list): New function.
553 (encode_ldmstm): Ditto.
554 (do_ldmstm): Use a different encoding when pushing or poping
555 a single register.
556 (A_COND_MASK): New macro.
557 (A_PUSH_POP_OP_MASK): Ditto.
558 (A1_OPCODE_PUSH): Ditto.
559 (A2_OPCODE_PUSH): Ditto.
560 (A2_OPCODE_POP): Ditto.
561
562 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
563
564 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
565 -mno-fix-24k.
566
567 2012-04-06 Roland McGrath <mcgrathr@google.com>
568
569 * configure.in (AC_CHECK_HEADERS): Add locale.h.
570 * config.in: Regenerate.
571 * configure: Regenerate.
572
573 2012-04-05 Nick Clifton <nickc@redhat.com>
574
575 * configure.in (AC_CHECK_FUNCS): Add setlocale.
576 (AM_LC_MESSAGES): Add.
577 * aclocal.m4: Regenerate.
578 * config.in: Regenerate.
579 * configure: Regenerate.
580
581 2012-04-03 DJ Delorie <dj@redhat.com>
582
583 * config/rx-parse.y: Make the .L optional for ADC and SBB.
584
585 2012-04-02 DJ Delorie <dj@redhat.com>
586
587 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
588 transfer size.
589 (IMM): New, call IMM_ with the default 32.
590 (IMMW,IMMB): Likewise, for 16 and 8.
591 (NIMM, MBIMM): Add size parameter.
592 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
593 (MOV.W): Use IMMW instead of IMM.
594
595 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
596 (op_dp20_rm_l): New.
597 (op_dp20_rim_l): New.
598
599 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
600 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
601
602 2012-03-29 Terry Guo <terry.guo@arm.com>
603
604 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
605 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
606
607 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
608
609 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
610 * doc/c-mips.texi: Mention XLP.
611
612 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
613
614 [SH] Support the .uaquad and .8byte directives also for non-sh64
615 configurations.
616
617 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
618 BFD_RELOC_64.
619 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
620 description...
621 * doc/c-sh.texi (SH Machine Directives): ... here.
622
623 2012-03-20 Nick Clifton <nickc@redhat.com>
624
625 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
626 registers.
627 (do_vmsr): Likewise.
628 (arm_opcode_insns): Do not default to using the FPSCR register in
629 the VMRS and VMSR registers.
630
631 2012-03-16 Roland McGrath <mcgrathr@google.com>
632
633 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
634 Define for this case.
635 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
636
637 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
638
639 * config/tc-arm.c (aeabi_set_public_attributes): Correct
640 handling of Tag_DIV_use.
641
642 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
643
644 * doc/as.texinfo (Bundle directives): Fix typo.
645
646 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
647
648 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
649
650 2012-03-13 Roland McGrath <mcgrathr@google.com>
651
652 * config/tc-arm.c (arm_frag_max_var): New function.
653 * config/tc-arm.h: Declare it.
654 (md_frag_max_var): New macro.
655
656 * config/tc-i386.c (i386_frag_max_var): New function.
657 * config/tc-i386.h: Declare it.
658 (md_frag_max_var): New macro.
659
660 * doc/as.texinfo (Bundle directives): New node.
661 (Pseudo Ops): Add it to the menu.
662 * NEWS: Mention new feature.
663 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
664 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
665 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
666 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
667 New functions.
668 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
669 to md_assembly if not.
670 (read_a_source_file): Call assemble_one in place of md_assemble.
671 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
672 .bundle_lock at end of processing.
673 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
674 New functions.
675 [HANDLE_BUNDLE] (potable): Add their entries.
676 * read.h: Declare new functions.
677
678 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
679
680 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
681 (ppc_handle_align): Add termination nop opcode for e500mc family.
682 * doc/as.texinfo: Document options -me5500 and -me6500.
683 * doc/c-ppc.texi: Likewise.
684
685 2012-03-07 Nick Clifton <nickc@redhat.com>
686
687 * config/tc-mn10300.c (other_registers): Add SSP and USP.
688 (md_assemble): Add support for TLS relocs.
689 (mn10300_parse_name): Likewise.
690
691 2012-02-27 Alan Modra <amodra@gmail.com>
692
693 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
694
695 2012-02-27 Alan Modra <amodra@gmail.com>
696
697 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
698 params. Properly generate NOP pattern. Comment reason for
699 subseg_text_p failure.
700
701 2012-02-27 Alan Modra <amodra@gmail.com>
702
703 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
704 and sign extend before range tests.
705 (constant_fits_size_p): Similarly.
706 (get_specific): Trim X_add_number to 32 bits.
707 (fix_operand_size): Likewise, and use unsigned test for signed
708 ranges.
709
710 2012-02-27 Alan Modra <amodra@gmail.com>
711
712 * config/tc-crx.c: Include bfd_stdint.h.
713 (getconstant): Remove irrelevant comment. Don't fail due to
714 sign-extension of int mask.
715 (check_range): Rewrite using unsigned arithmetic throughout.
716
717 2012-02-25 Walter Lee <walt@tilera.com>
718
719 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
720 non-local before checking sy_value.
721 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
722
723 2012-02-25 Walter Lee <walt@tilera.com>
724
725 * tc-tilepro.c (O_tls_le): Define operator.
726 (O_tls_le_lo16): Ditto.
727 (O_tls_le_hi16): Ditto.
728 (O_tls_le_ha16): Ditto.
729 (O_tls_gd_call): Ditto.
730 (O_tls_gd_add): Ditto.
731 (O_tls_ie_load): Ditto.
732 (md_begin): Delete old operators; handle new operators.
733 (emit_tilepro_instruction): Ditto.
734 (md_apply_fix): Ditto.
735 * tc-tilegx.c (O_hw1_got): Delete operator.
736 (O_hw2_got): Ditto.
737 (O_hw3_got): Ditto.
738 (O_hw2_last_got): Ditto.
739 (O_hw1_tls_gd): Ditto.
740 (O_hw2_tls_gd): Ditto.
741 (O_hw3_tls_gd): Ditto.
742 (O_hw2_last_tls_gd): Ditto.
743 (O_hw1_tls_ie): Ditto.
744 (O_hw2_tls_ie): Ditto.
745 (O_hw3_tls_ie): Ditto.
746 (O_hw2_last_tls_ie): Ditto.
747 (O_hw0_tls_le): Define operator.
748 (O_hw0_last_tls_le): Ditto.
749 (O_hw1_last_tls_le): Ditto.
750 (O_tls_gd_call): Ditto.
751 (O_tls_gd_add): Ditto.
752 (O_tls_ie_load): Ditto.
753 (O_tls_add): Ditto.
754 (md_begin): Delete old operators; handle new operators.
755 (emit_tilegx_instruction): Ditto.
756 (md_apply_fix): Ditto.
757 * doc/c-tilegx.texi: Delete old operators; document new operators.
758 * doc/c-tilepro.texi: Ditto.
759
760 2012-02-25 Walter Lee <walt@tilera.com>
761
762 * tc-tilepro.c (apply_special_operator): delete cases for
763 got and tls operators.
764 (md_apply_fix): Ditto.
765 * tc-tilegx.c (md_begin): Set architecture and machine.
766 (tilegx_target_format): Handle big endian.
767 (OPTION_EB): Define.
768 (OPTION_EL): Define.
769 (md_longopts): Add entries for "EB" and "EL".
770 (md_parse_option): Handle OPTION_EB and OPTION_EL.
771 (md_show_usage): Add -EB and -EL.
772 (md_number_to_chars): New.
773 (apply_special_operator): delete cases for got and tls
774 operators.
775 (md_apply_fix): Ditto.
776 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
777 ifndef.
778 (md_number_to_chars): Delete.
779 * configure.tgt (tilegx*be): Handle.
780 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
781 * doc/c-tilegx.texi: Ditto.
782
783 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
784
785 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
786 HLEPrefixAny and HLEPrefixRelease.
787
788 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
789
790 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
791
792 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
793
794 * write.c (write_object_file): Add md_pre_output_hook.
795 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
796 (obj_mach_o_pre_output_hook): New.
797 * config/obj-macho.h (md_pre_output_hook): Define.
798 (obj_mach_o_pre_output_hook): Declare.
799
800 2012-02-21 Tristan Gingold <gingold@adacore.com>
801
802 * config/tc-i386.h (OBJ_MACH_O): New section.
803 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
804 (TC_FORCE_RELOCATION_SUB_SAME): New
805 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
806 (TC_VALIDATE_FIX_SUB): New.
807 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
808 * symbols.c (colon): obj_frob_colon: New hook.
809 * write.c (write_object_file): md_pre_relax_hook, new
810 hook.
811 * config/obj-macho.c (obj_mach_o_frob_colon): New.
812 (obj_mach_o_frob_label): Record sub-section labels.
813 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
814 (obj_mach_o_set_subsections): New.
815 (obj_mach_o_pre_relax_hook): New.
816 (obj_mach_o_in_different_subsection): New.
817 (obj_mach_o_force_reloc_sub_same): New.
818 (obj_mach_o_force_reloc_sub_local): New.
819 (obj_mach_o_force_reloc): New.
820 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
821 (obj_frob_colon): New Define.
822 (obj_mach_o_frob_label): Renamed.
823 (obj_mach_o_frob_symbol): Renamed.
824 (OBJ_FRAG_TYPE): New.
825 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
826 obj_mach_o_force_reloc_sub_same,
827 obj_mach_o_force_reloc_sub_local): New declarations.
828
829 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
830
831 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
832 (obj_mach_o_allow_local_subtract): New.
833 * config/obj-macho.h (md_allow_local_subtract): Define.
834 (obj_mach_o_allow_local_subtract): Declare.
835
836 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
837
838 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
839 canonical information, try to determine CODE and DEBUG section flags
840 from the mach-o section data.
841
842 2012-02-20 Nick Clifton <nickc@redhat.com>
843
844 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
845 local symbols.
846
847 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
848
849 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
850 any local symbol used as an indirect.
851
852 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
853
854 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
855 stub size when provided. (obj_mach_o_section): Flag that stub-size
856 has been provided.
857
858 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
859
860 * config/tc-i386.c (HLE_PREFIX): New.
861 (check_hle): Likewise.
862 (_i386_insn): Add have_hle.
863 (cpu_arch): Add .hle and .rtm.
864 (md_assemble): Call check_hle if i.have_hle isn't zero.
865 (parse_insn): Set i.have_hle to 1 for HLE prefix.
866 (output_jump): Support up to 2 byte opcode.
867
868 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
869
870 2012-02-02 Tristan Gingold <gingold@adacore.com>
871
872 * config/obj-macho.c (obj_mach_o_zerofill): Silent
873 uninitialized variable warning.
874
875 2012-02-02 Nick Clifton <nickc@redhat.com>
876
877 PR gas/13224
878 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
879 to 'is_clone' to avoid shadowing a gloabl.
880 (obj_elf_section): Likewise.
881
882 2012-01-31 Paul Brook <paul@codesourcery.com>
883
884 * doc/c-tic6x.c: Fix typo.
885
886 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
887
888 PR gas/13624
889 * app.c (app_push): Set 'add_newlines' to zero after saving.
890
891 2012-01-24 DJ Delorie <dj@redhat.com>
892
893 * config/rl78-parse.y (NOT1): Add.
894
895 2012-01-23 Roland McGrath <mcgrathr@google.com>
896
897 * configure.tgt (i386-*-nacl*): Match it.
898 * config/te-nacl.h: New file.
899 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
900 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
901 Use TE_GNU et al case for TE_NACL too.
902
903 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
904
905 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
906 disp_encoding.
907 (md_assemble): Updated.
908 (output_branch): Likewise.
909 (parse_insn): Support .d8 suffix.
910 (build_modrm_byte): Fake zero displacement for .d8 and .d32
911 suffixes.
912
913 * doc/c-i386.texi: Document .d8 suffix.
914
915 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
916
917 * write.c (fix_new_internal): Don't mark used parameter as unused.
918
919 2012-01-17 Alan Modra <amodra@gmail.com>
920
921 * as.c (parse_args): Update copyright message year.
922
923 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
924
925 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
926
927 * doc/c-i386.texi: Document vmfunc.
928
929 2012-01-13 Tristan Gingold <gingold@adacore.com>
930
931 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
932 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
933 (obj_mach_o_reorder_section_relocs): Declare.
934
935 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
936
937 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
938 absolute indirect symbols.
939
940 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
941
942 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
943 (obj_mach_o_set_section_vma): New.
944 (obj_mach_o_post_relax_hook): New.
945 * config/obj-macho.h (md_post_relax_hook): Define.
946 (obj_mach_o_post_relax_hook): Declare.
947
948 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
949
950 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
951 lazy when the symbol is private_extern.
952 (obj_mach_o_indirect_sym): New type.
953 (obj_mach_o_indirect_symbol): New.
954 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
955 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
956 (obj_macho_frob_label): Likewise. Adjust external and comm
957 symbol tests.
958 (obj_mach_o_set_indirect_symbols): New.
959 (obj_mach_o_frob_file_after_relocs): New.
960 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
961 (obj_mach_o_frob_file_after_relocs): Declare.
962
963 2012-01-12 Tristan Gingold <gingold@adacore.com>
964
965 PR gas/13591
966 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
967
968 2012-01-10 Tristan Gingold <gingold@adacore.com>
969
970 * struc-symbol.h (struct symbol_flags): New struct, created from...
971 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
972 (struct local_symbol): Replace lsy_marker field by lsy_flags.
973 Adjust comment.
974 (local_symbol_resolved_p): Adjust.
975 (local_symbol_mark_resolved): Likewise.
976 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
977 (local_symbol_make, local_symbol_convert, colon)
978 (symbol_clone_if_forward_ref, verify_symbol_chain)
979 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
980 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
981 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
982 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
983 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
984 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
985 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
986 (symbol_mark_mri_common, symbol_clear_mri_common)
987 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
988 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
989 (symbol_equated_reloc_p, dot_symbol_init)
990 (print_symbol_value_1): Adjust.
991
992 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
993
994 * config/obj-macho.c (obj_mach_o_weak): Remove.
995 (obj_mach_o_common_parse): Set symbol qualifiers.
996 (LAZY, REFE): New macros.
997 (obj_mach_o_symbol_type): New enum.
998 (obj_mach_o_set_symbol_qualifier): New.
999 (obj_mach_o_sym_qual): New.
1000 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1001 a dummy function.
1002 (obj_mach_o_type_for_symbol): New.
1003 (obj_macho_frob_label): New.
1004 (obj_macho_frob_symbol): New.
1005 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1006 (obj_frob_label, obj_macho_frob_label): Declare.
1007 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1008
1009 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1010
1011 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1012
1013 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1014 Richard Sandiford <rdsandiford@googlemail.com>
1015
1016 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1017 textness as parameters.
1018 (mips_move_text_labels): New function.
1019 (append_insn): Use it instead of mips_move_labels.
1020 (mips_emit_delays, start_noreorder): Likewise.
1021 (mips_align): Take the labels rather than just one label.
1022 Move all labels to after the .align.
1023 (s_align): Change the last argument to mips_align.
1024 (s_cons): Likewise.
1025 (s_float_cons): Likewise.
1026 (s_gpword): Likewise.
1027 (s_gpdword): Likewise.
1028
1029 2012-01-06 Tristan Gingold <gingold@adacore.com>
1030
1031 * config/tc-i386.c: Update copyright year.
1032 (lex_got): Also defined for Mach-O.
1033 Add a guard for non-ELF configuration.
1034 (md_longopts): Also handle -64 for Mach-O.
1035 (md_parse_option): Likewise.
1036 (i386_target_format): Adjust for x86_64-darwin.
1037
1038 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1039
1040 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1041 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1042 (obj_mach_o_make_or_get_sect): Likewise.
1043 (obj_mach_o_section): Split out the functionality shared with zerofill.
1044 (obj_mach_o_zerofill): New.
1045 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1046 (mach_o_pseudo_table): Add .zerofill.
1047
1048 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1049
1050 * config/obj-macho.c (obj_macho_process_stab): New.
1051 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1052 (obj_macho_process_stab): Declare.
1053
1054 For older changes see ChangeLog-2011
1055 \f
1056 Local Variables:
1057 mode: change-log
1058 left-margin: 8
1059 fill-column: 74
1060 version-control: never
1061 End:
This page took 0.085875 seconds and 4 git commands to generate.