* gas/config/tc-arm.c (deprecated_coproc_regs_s): New structure.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
dcbd0d71
MGD
12012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2
3 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
4 (deprecated_coproc_regs): New variable.
5 (deprecated_coproc_reg_count): Likewise.
6 (do_co_reg): Error on obsolete & warn on deprecated registers.
7
59d09be6
MGD
82012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9
10 * config/tc-arm.c (check_obsolete): New function.
11 (do_rd_rm_rn): Check swp{b} for obsoletion.
12
bca38921
MGD
132012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
14
15 * config/tc-arm.h (arm_ext_v8): New variable.
16 (fpu_vfp_ext_armv8): Likewise.
17 (fpu_neon_ext_armv8): Likewise.
18 (fpu_crypto_ext_armv8): Likewise.
19 (arm_archs): Add armv8-a.
20 (arm_extensions): Add crypto, fp, and simd.
21 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
22 (cpu_arch_ver): Add support for ARMv8.
23 (aeabi_set_public_sttributes): Likewise.
24 * doc/c-arm.texi (ARM Options): Document new architecture and
25 extension options for ARMv8.
26
542385d9
L
272012-08-20 H.J. Lu <hongjiu.lu@intel.com>
28
29 * doc/as.texinfo: Replace --n32 with --x32.
30
7b458c12
L
312012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
32
33 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
34 CPU_BTVER2_FLAGS.
35 (i386_align_code): Add case for PROCESSOR_BT.
36
37 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
38
39 * doc/c-i386.texi: Add -march={btver1, btver2} options.
40
f76bf5e0
L
412012-08-14 H.J. Lu <hongjiu.lu@intel.com>
42
43 PR gas/14457
44 * config/tc-i386.c (i386_att_operand): Terminate register name
45 when reporting bad register.
46
c3330fbe
HPN
472012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
48
49 * config/tc-mmix.c (loc_asserts): New variable.
50 (mmix_greg_internal): Handle expressions not determinable at first
51 pass.
52 (s_loc): Ditto. Record expressions where the section isn't
53 determinable at the first pass, and assume they don't refer to
54 other sections.
55 (mmix_md_end): Verify that recorded LOC expressions weren't
56 to other sections, else emit error messages.
57
a06ea964
NC
582012-08-13 Ian Bolton <ian.bolton@arm.com>
59 Laurent Desnogues <laurent.desnogues@arm.com>
60 Jim MacArthur <jim.macarthur@arm.com>
61 Marcus Shawcroft <marcus.shawcroft@arm.com>
62 Nigel Stephens <nigel.stephens@arm.com>
63 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
64 Richard Earnshaw <rearnsha@arm.com>
65 Sofiane Naci <sofiane.naci@arm.com>
66 Tejas Belagod <tejas.belagod@arm.com>
67 Yufeng Zhang <yufeng.zhang@arm.com>
68
69 * Makefile.am: Add AArch64.
70 * Makefile.in: Regenerate.
71 * config/tc-aarch64.c: New file.
72 * config/tc-aarch64.h: New file.
73 * configure.tgt: Add AArch64.
74 * doc/Makefile.am: Add AArch64.
75 * doc/Makefile.in: Regenerate.
76 * doc/all.texi: Add AArch64.
77 * doc/as.texinfo: Add AArch64.
78 * doc/c-aarch64.texi: New file.
79 * po/POTFILES.in: Regenerate.
80 * NEWS: Mention the new support.
81
35d0a169
MR
822012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
83
84 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
85 (is_opcode_valid): Remove coprocessor instruction exclusions.
86 Replace OPCODE_IS_MEMBER with opcode_is_member.
87 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
88 opcode_is_member.
89 (macro): Remove coprocessor instruction exclusions.
90
a276b80c
MR
912012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
92
93 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
94 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
95
848930b2
JB
962012-08-07 Jan Beulich <jbeulich@suse.com>
97
98 * config/tc-i386-intel.c (build_modrm_byte): Split determining
99 default segment from figuring out encoding. Honor RegRex for
100 the former.
101
7bab8ab5
JB
1022012-08-07 Jan Beulich <jbeulich@suse.com>
103
104 * config/tc-i386.c (set_check): Renamed from set_sse_check.
105 Generalize to also handle operand checking option.
106 (enum i386_error): New enumerator 'invalid_vector_register_set'.
107 (match_template): Handle it.
108 (enum check_kind): Give it a tag. Drop sse_ prefixes from
109 enumerators.
110 (operand_check): New.
111 (md_pseudo_table): Add "operand_check".
112 (check_VecOperands): Don't special case RIP addressing. Check
113 that vSIB operands use distinct vector registers unless no
114 checking was requested.
115 (OPTION_MOPERAND_CHECK): New.
116 (md_parse_option): Handle it.
117 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
118 (md_longopts): Add "moperand-check".
119 (md_show_usage): Add help text for it.
120
4c692bc7
JB
1212012-08-07 Jan Beulich <jbeulich@suse.com>
122
123 * config/tc-i386.c (register_number): New function.
124 (build_vex_prefix, process_immext, process_operands,
125 build_modrm_byte, i386_index_check): Use it.
126
a988325c
NC
1272012-08-07 Daniel Green <venix1@gmail.com>
128
129 * config/tc-i386.c (lex_got): Provide implementation for PE
130 format.
131
464ab0e5
MR
1322012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
133
134 * config/tc-mips.c (append_insn): Also handle moving delay-slot
135 instruction across frags for fixed branches.
136
3db8daf3
MR
1372012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
138
139 * frags.c (frag_grow): Never shrink the obstack size requested
140 below the default.
141
03d46c0e
SK
1422012-08-02 Sean Keys <skeys@ipdatasys.com>
143
144 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
145 New function to parse pseudo ops that are unreleated to
146 existing pseudo ops.
147
711eefe4
SL
1482012-08-01 Catherine Moore <clm@codesourcery.com>
149 Sandra Loosemore <sandra@codesourcery.com>
150
151 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
152 * doc/c-mips.texi (MIPS Opts): Document it.
153
8fbf7334
JL
1542012-08-01 James Lemke <jwlemke@codesourcery.com>
155
4e47244d 156 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
8fbf7334 157 DWARF2_LINE_MIN_INSN_LENGTH
4e47244d 158 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
8fbf7334
JL
159 and initialize.
160 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
4e47244d 161 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
8fbf7334
JL
162 variable reference.
163
03f66e8a 1642012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
4e47244d
L
165 Chao-Ying Fu <fu@mips.com>
166 Catherine Moore <clm@codesourcery.com>
03f66e8a 167
7a2d09cc
MR
168 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
169 mode.
170 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
171 (macro_build) <'2'>: Handle microMIPS.
03f66e8a
MR
172 (macro) <M_BALIGN>: Update error handling.
173 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
174 <'7', '8', '0', '@', '^'>: Likewise.
175 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
176 <'9'>: Fix formatting.
177 <'0', '@'>: Handle microMIPS.
178 <'^'>: New case.
179
4a2608e3
JB
1802012-07-31 Jan Beulich <jbeulich@suse.com>
181
182 * config/tc-i386.c (match_template): Adjust error message
183 for 'bad_imm4' case.
184
5a819eb9
JB
1852012-07-31 Jan Beulich <jbeulich@suse.com>
186
187 * config/tc-i386.c (check_byte_reg): Check for I/O port
188 register earlier, and just once. Drop diagnostic that got
189 issued only for some registers.
190
5614d22c
JB
1912012-07-31 Jan Beulich <jbeulich@suse.com>
192
193 * config/tc-i386.c (match_template): New local variable
194 'specific_error'. Set it from i.error after failed
195 check_VecOperands or VEX_check_operands. Use it if set in
196 preference to i.error when actually issuing disagnostic.
197
a6dc81d2
NC
1982012-07-30 Nick Clifton <nickc@redhat.com>
199
200 * po/gas.pot: Updated template.
201 * po/es.po: Updated Spanish translation.
202 * po/fi.po: Updated Finnish translation.
203 * po/fr.po: Updated French translation.
204
c4dd807e
MF
2052012-07-27 Mike Frysinger <vapier@gentoo.org>
206
207 * configure.in (BFD_VERSION): Run bfd/configure --version and
208 parse the output of that.
209 * configure: Regenerate.
210
af18cb59
TG
2112012-07-27 Tristan Gingold <gingold@adacore.com>
212
213 * NEWS: Add marker for 2.23.
214
204d254e
SK
2152012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
216
217 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
218
c71bb85d
SB
2192012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
220
221 * listing.c (struct list_message): New.
222 (struct list_info_struct): Delete "message". Add "messages"
223 and "last_message".
224 (listing_message): Adjust.
225 (listing_newline): Adjust.
226 (print_lines): Adjust.
227
9e2934f7
JB
2282012-07-24 Jan Beulich <jbeulich@suse.com>
229
230 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
231 xmm/ymm index register being specified first as well as esp/rsp
232 base register being specified last in a memory operand.
233
8280f326
JB
2342012-07-24 Jan Beulich <jbeulich@suse.com>
235
236 * config/tc-i386-intel.c (i386_intel_simplify_register):
237 Replace literal 4 by corresponding ESP_REG_NUM.
238
5e73442d
SL
2392012-07-24 Sandra Loosemore <sandra@codesourcery.com>
240 Jie Zhang <jzhang918@gmail.com>
241
242 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
243 if offset is negative.
244
e2e1fcde
L
2452012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
246
247 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
248 * doc/c-i386.texi: Document the new directives.
249
6b0d957e 2502012-07-05 Sean Keys <skeys@ipdatasys.com>
4e47244d
L
251
252 * config/tc-xgate.c: Revised assembler so that operands
253 are collected before the addressing mode is determined.
6b0d957e 254
586ec8c1
NC
2552012-07-02 Nick Clifton <nickc@redhat.com>
256
257 * write.c (fixup_segment): Only perform the subtraction of an
258 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
259 properly defined.
260 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
261
e95a6b1c
AM
2622012-06-30 Alan Modra <amodra@gmail.com>
263
264 PR gas/14315
265 * config/obj-elf.c (obj_elf_weak): Don't set local.
266
08ea7020
AM
2672012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
268
269 * frags.h (frag_offset_fixed_p): Update prototype.
270 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
271 * expr.c (expr, resolve_expression): Likewise for frag_off var.
272
99aad254
NC
2732012-06-29 Nick Clifton <nickc@redhat.com>
274
275 PR gas/14263
276 * config/tc-arm.c (parse_operands): Initialise val.
277
2b2f5df9
NC
2782012-06-28 Nick Clifton <nickc@redhat.com>
279
280 PR gas/14260
281 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
282 message if literal pool addressing is used.
283
453dc3f0
NC
2842012-06-28 Nick Clifton <nickc@redhat.com>
285
286 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
287 linker relaxation.
288 (dwarf2_gen_line_info): Generate real, local, labels for line
289 numbers.
290 (dwarf2dbg_convert_frag): Do not finalize the computation of the
291 frag's symbol value when linker relaxation is enabled.
292 (ADDR_DELTA_LIMIT): Define.
293 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
294 (emit_fixed_inc_line_addr): Likewise.
295 * write.c (fixup_segment): If the subtraction of two symbols
296 cannot be resolved but is valid, then prevent bogus range warnings
297 by pre-biasing add_number.
298 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
299
6b0d957e
SK
3002012-06-28 Sean Keys <skeys@ipdatasys.com>
301
4e47244d
L
302 * config/tc-xgate.h: Defined tc_frob_symbol.
303 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
304 symbols as being XGATE by setting st_target_internal value.
6b0d957e 305
29c048b6
RM
3062012-06-22 Roland McGrath <mcgrathr@google.com>
307
fe13e45b
RM
308 * NEWS: Mention 'rep ret' too.
309
29c048b6
RM
310 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
311 when the template has opcode_modifier.repprefixok set.
312 * NEWS: Mention the change.
313
a574142b
AM
3142012-06-18 Iain Sandoe <iain@codesourcery.com>
315
316 * configure.in: Check DECLS for free, getenv, malloc, realloc,
317 * configure: Regenerate.
318 * config.in: Likewise.
319
357d1bd8
L
3202012-06-13 H.J. Lu <hongjiu.lu@intel.com>
321
322 * config/tc-i386.c (x86_address_bytes): New.
323 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
324 (x86_address_bytes): Likewise.
325
1a43faaf
NC
3262012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
327
328 PR gas/12698
329 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
330 architecure when assembling for all archiectures.
331 (do_t_msr): Likewise.
332
e4efb665
NC
3332012-06-11 Georg-Johann Lay <avr@gjlay.de>
334
335 PR 13503
336 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
337 from 2012-05-16.
338
d2ae702c
L
3392012-06-09 H.J. Lu <hongjiu.lu@intel.com>
340
341 * input-scrub.c (input_scrub_include_sb): Use sb_build to
342 allocate sufficient space for from_sb. Use sb_terminate to
343 terminate string.
344 * read.c (read_a_source_file): Use sb_build to allocate
345 sufficient space and replace sb_add_string with sb_add_buffer.
346 (s_macro): Likewise.
347 (input_scrub_insert_line): Likewise.
348 (s_irp): Use sb_build to allocate sufficient space.
349 (do_repeat): Use sb_build to allocate sufficient space
350 for many.
351 * sb.c (sb_build): Remove static.
352 * sb.h (sb_build): New prototype.
353
5197bfb5
AM
3542012-06-09 Alan Modra <amodra@gmail.com>
355
356 * sb.c: Include limits.h.
357 (dsize): Delete.
358 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
359 (sb_new): Use INIT_ALLOC.
360 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
361 (sb_terminate): Don't use sb_add_char.
362
39a45edc
AM
3632012-06-07 Alan Modra <amodra@gmail.com>
364
365 PR gas/14201
366 * sb.h (sb_max_power_two): Delete.
367 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
368 (sb_element): Delete.
369 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
370 prototypes.
371 * sb.c (string_count, free_list): Delete.
372 (sb_build, sb_kill, sb_check): Rewrite.
373 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
374 sb_skip_white, sb_skip_comma): Replace assorted int params,
375 vars and return types with size_t.
376 * input-scrub.c: Likewise.
377 * macro.c: Likewise.
378 * macro.h: Likewise.
379 * as.c: Likewise.
380 * as.h: Likewise.
381 * input-file.h: Likewise.
382 * input-file.c: Likewise.
383 * read.c: Likewise.
384 * app.c: ..or ptrdiff_t.
385 * input-file.c (input_file_get): Use ferror.
386 (input_file_give_next_buffer): Use input_file_get.
387
6b0d957e
SK
3882012-05-31 Sean Keys <skeys@ipdatasys.com>
389
4e47244d 390 * config/tc-xgate.c (md_begin): Refactored code.
6b0d957e 391
d416e51d
RM
3922012-05-29 Roland McGrath <mcgrathr@google.com>
393
394 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
395 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
396 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
397 pairs.
398
7bfd842d
NC
3992012-05-28 Nick Clifton <nickc@redhat.com>
400
401 * read.c (read_symbol_name): New function. Reads a symbol names.
402 Allows escape codes in names.
403 (s_comm_internal): Use read_symbol_name.
404 (s_globl, s_lsym, s_set, s_weakref): Likewise.
405 * doc/as.texinfo: Document support for multibyte characters in
406 symbol names.
407
95bfe26e
MF
4082012-05-21 Mike Frysinger <vapier@gentoo.org>
409
410 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
411 is non-NULL.
412
59365e19
AM
4132012-05-19 Alan Modra <amodra@gmail.com>
414
415 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
416 targets when checking for "comdat".
417
f3719d90
AM
4182012-05-19 Alan Modra <amodra@gmail.com>
419
420 * config/tc-dlx.c (s_proc): Don't use asprintf.
421
74cda0c4
AM
4222012-05-18 Alan Modra <amodra@gmail.com>
423
424 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
425 return value.
426
d6ed37ed
AM
4272012-05-18 James Lemke <jwlemke@codesourcery.com>
428 Alan Modra <amodra@gmail.com>
429
430 * config/tc-ppc.c: Don't capitalise error and warning messages.
431 (md_parse_option): Add checks for -a32 -mvle.
432
222661cb
AM
4332012-05-18 Alan Modra <amodra@gmail.com>
434
435 * config/obj-evax.c: Include as.h first.
436
f2c621e4
AS
4372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
438
439 * aclocal.m4: Regenerate.
440 * configure: Regenerate.
441 * Makefile.in: Regenerate.
442
df7b86aa
NC
4432012-05-17 Daniel Richard G. <skunk@iskunk.org>
444 Nick Clifton <nickc@redhat.com>
445
446 PR 14072
447 * configure.in: Add check that sysdep.h has been included before
448 any system header files.
449 * configure: Regenerate.
450 * config.in: Regenerate.
451 * aclocal.m4: Regenerate.
452 * Makefile.am: Use wrappers around C files generated by flex.
453 * Makefile.in: Regenerate.
454 * doc/Makefile.in: Regenerate.
455 * itbl-lex-wrapper.c: New file.
456 * config/bfin-lex-wrapper.c: New file.
457 * cgen.c: Include as.h before setjmp.h.
458 * config/tc-dlx.c: Include as.h before any other header.
459 * config/tc-h8300.c: Likewise.
460 * config/tc-lm32.c: Likewise.
461 * config/tc-mep.c: Likewise.
462 * config/tc-microblaze.c: Likewise.
463 * config/tc-mmix.c: Likewise.
464 * config/tc-msp430.c: Likewise.
465 * config/tc-or32.c: Likewise.
466 * config/tc-tic4x.c: Likewise.
467 * config/tc-tic54x.c: Likewise.
468 * config/tc-xtensa.c: Likewise.
469
a0f49396
NC
4702012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
471
472 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
473 as the first argument for `bfd_get_section_vma'.
474
536695d0
NC
4752012-05-16 Alberto Garcia <agarcia@igalia.com>
476
477 PR gas/14082
478 * app.c (do_scrub_chars): Prevent possible out of bounds access to
479 lex[] array.
480
40551fb8
NC
4812012-05-16 Georg-Johann Lay <avr@gjlay.de>
482
483 PR target/13503
484 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
485 R_AVR_8_HLO8.
486 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
487 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
488
c1c30076
NS
4892012-05-16 Nathan Sidwell <nathan@codesourcery.com>
490 Kwok Cheung Yeung <kcy@codesourcery.com>
491
492 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
493 51qm variants.
494
6927f982
NC
4952012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
496
497 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
498 Add option to offset S12 addresses into XGATE memory space.
499 Tweak target flags to match other tools. (i.e. -m m68hc11).
500 * doc/as.texinfo: Mention new options.
501 * doc/c-m68hc11.texi: Document new options.
502 * NEWS: Mention new support.
503
0e25bcb4
DD
5042012-05-14 DJ Delorie <dj@redhat.com>
505
918edac3
DD
506 * config/rx-parse.y (rx_range): declare.
507 (O1,O2,O3,O4): Add calls to rx_range.
508 (UO1,UO2,UO3): Likewise.
509 (IMM2,IMMB): Likewise.
510 (rx_range): New.
511
0e25bcb4
DD
512 * config/tc-rx.c (rx_fetchalign): Declare.
513 (md_pseudo_table): Add .fetchalign.
514 (RX_NBASE_FETCHALIGN): New.
515 (fetchalign_bytes): New.
516 (rx_fetchalign): New.
517 (rx_frag_init): If a "magic" value is found, also init the
518 machine-specific data.
519 (md_assemble): Note following opcode size if called for.
520 (rx_next_opcode): New.
521 (rx_relax_frag): Support .fetchalign.
522 (md_convert_frag): Likewise.
523 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
524
b9c361e0
JL
5252012-05-14 James Lemke <jwlemke@codesourcery.com>
526
527 * config/tc-ppc.c (insn_validate): New func of existing code to call..
528 (ppc_setup_opcodes): ..from 2 places here.
529 Revise for second (VLE) opcode table.
530 Add #ifdef'd code to print opcode tables.
531
5322012-05-14 James Lemke <jwlemke@codesourcery.com>
533
534 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
535 for the VLE conditional branches.
536
5372012-05-14 Catherine Moore <clm@codesourcery.com>
538 Maciej W. Rozycki <macro@codesourcery.com>
539 Rhonda Wittels <rhonda@codesourcery.com>
540
541 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
542 (PPC_VLE_SPLIT16D): New macro.
543 (PPC_VLE_LO16A): New macro.
544 (PPC_VLE_LO16D): New macro.
545 (PPC_VLE_HI16A): New macro.
546 (PPC_VLE_HI16D): New macro.
547 (PPC_VLE_HA16A): New macro.
548 (PPC_VLE_HA16D): New macro.
549 (PPC_APUINFO_VLE): New definition.
550 (md_chars_to_number): New function.
551 (md_parse_option): Check for combinations of little
552 endian and -mvle.
553 (md_show_usage): Document -mvle.
554 (ppc_arch): Recognize VLE.
555 (ppc_mach): Recognize bfd_mach_ppc_vle.
6927f982 556 (ppc_setup_opcodes): Print the opcode table if
b9c361e0
JL
557 * config/tc-ppc.h (ppc_frag_check): Declare.
558 * doc/c-ppc.texi: Document -mvle.
559 * NEWS: Mention PowerPC VLE port.
560
5612012-05-14 Catherine Moore <clm@codesourcery.com>
562
563 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
564 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
565 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
566 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
6927f982 567 for DWARF2_LINE_MIN_INSN_LENGTH.
b9c361e0 568
56e63005
L
5692012-05-12 H.J. Lu <hongjiu.lu@intel.com>
570
571 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
572 for BFD_RELOC_64.
573
208a4923
NC
5742012-05-11 Daniel Richard G. <skunk@iskunk.org>
575
576 PR binutils/14028
577 * configure.in: Invoke ACX_HEADER_STRING.
578 * configure: Regenerate.
579 * config.in: Regenerate.
580 * as.h: If STRINGS_WITH_STRING is defined then include both
581 string.h and strings.h.
582
99700d6f
NC
5832012-05-11 Georg-Johann Lay <avr@gjlay.de
584
585 PR target/13503
586 * config/tc-avr.c (exp_mod_pm): Remove variable.
587 (exp_mod_data_t): New typedef.
588 (pexp_mod_data, exp_mod_data): New variables.
589 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
590 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
591 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
592 (avr_cons_fix_new): Handle new data expression modifiers shipped
593 in pexp_mod_data.
594 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
595 BFD_RELOC_AVR_8_HHI.
596
268a8d3a
L
5972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
598
599 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
600 addend overflow check.
601
6f2c9068
L
6022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
603
604 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
605 x32 addend overflow check.
606
83acd3e8
L
6072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
608
609 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
610
8cf0d2dd
L
6112012-05-09 H.J. Lu <hongjiu.lu@intel.com>
612
613 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
614 for BFD_RELOC_64.
615
e5b62927
AM
6162012-05-08 Alan Modra <amodra@gmail.com>
617
618 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
619 LC and LANG environment vars.
620 * Makefile.in: Regenerate.
621
cce3d66c
AM
6222012-05-07 Alan Modra <amodra@gmail.com>
623
624 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
625 * Makefile.in: Regenerate.
626
25045f79
AM
6272012-05-06 Arnold Metselaar <arnold_m@operamail.com>
628
629 * config/tc-z80.h(md_register_arithmetic): Define as 0.
cce3d66c
AM
630 * config/tc-z80.c(md_begin): Store register names in symbol table,
631 preventing usage as ordinary symbol.
25045f79
AM
632 * config/tc-z80.c(contains_register): New function.
633 * config/tc-z80.c(parse_exp2): Removed.
634 * config/tc-z80.c(parse_exp_not_indexed): New function.
cce3d66c
AM
635 * config/tc-z80.c(parse_exp): Add code to recogize indexed
636 addressing after parsing.
25045f79 637 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
cce3d66c
AM
638 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
639 condition for jump to register.
640 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
641 parse_exp_not_indexed.
25045f79 642
45dfa85a
AM
6432012-05-05 Alan Modra <amodra@gmail.com>
644
645 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
646 bfd_und_section and bfd_ind_section with their _ptr variants, or
647 use corresponding bfd_is_* macros.
648 * symbols.c: Likewise.
649 * config/obj-aout.c: Likewise.
650 * config/obj-coff-seh.h: Likewise.
651 * config/tc-hppa.c: Likewise.
652 * config/tc-hppa.h: Likewise.
653 * config/tc-ia64.c: Likewise.
654 * config/tc-m32r.c: Likewise.
655 * config/tc-microblaze.c: Likewise.
656 * config/tc-mips.c: Likewise.
657 * config/tc-score.c: Likewise.
658 * config/tc-score7.c: Likewise.
659 * config/tc-tic6x.c: Likewise.
660
3c995545
L
6612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
662
663 * configure.tgt: Support x86_64-*-linux-gnux32.
664
35262a23
L
6652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
666
667 * config/tc-i386.c (match_template): Add `instruction' to
668 unsupported error message.
669
89e71f5c
L
6702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
671
672 * config/tc-i386.c (output_insn): Reformat.
673
ae5c1c7b
L
6742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
675
676 * config/tc-i386.c (output_insn): Remove the extra VEX check.
677
10efe3f6
L
6782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
679
680 * config/tc-i386.c (match_template): Improve unsupported error
681 message.
682
f6c1a2d5
NC
6832012-05-03 Sean Keys <skeys@ipdatasys.com>
684
685 * configure, Makefile.in: Regenerate.
686 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
687 * configure.tgt: Added cpu type.
688 Added files for XGATE assembler.
689 * config/tc-xgate.c: Assembler for XGATE.
690 * config/tc-xgate.h: Header definition for assembler
691 Added files for XGATE testsuite.
692 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
693 * doc/c-xgate.texi: Document XGATE and XGATE port.
694 * doc/as.texinfo: Ditto.
695 * doc/all.texi: Ditto
696 * NEWS: Mention the new support.
697
cad335c9
DD
6982012-04-30 DJ Delorie <dj@redhat.com>
699
700 * config/rx-parse.y (rx_intop): Add parameter for operation size.
701 Check for large positive constants really being small negative
702 ones.
703 (BRA, BSR): Update calls to rx_intop.
704 (immediate): Likewise.
705
88ebb0a1
MW
7062012-04-26 Mark Wielaard <mjw@redhat.com>
707
708 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
709 (DWARF2_LINE_VERSION): Likewise.
710 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
711 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
712 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
713 DWARF2_VERSION >= 4.
714 (out_debug_info): Use difference between start and end as data
715 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
716 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
717
ec668d69
DM
7182012-04-27 David S. Miller <davem@davemloft.net>
719
2755f698
DM
720 * doc/c-sparc.text: Document %l34 and %h34.
721
2e52845b
DM
722 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
723
58004e23
DM
724 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
725 v8pluse, v8plusv, v9e, and v9v.
726 (v9a_asr_table): Add 'pause'.
727
698544e1
DM
728 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
729 sparc4, v8pluse, v8plusv, v9e, and v9v.
730 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
731 order to accomodate cbcond which otherwise would require two
732 relocations to be handled in a single instruction..
733
6cda1326
DM
734 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
735 names containing "_".
736 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
737 hwcap masks to v8plusv and v9v.
738
ec668d69
DM
739 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
740 masks.
741 (sparc_md_end): No longer need to translate hwcap_seen values into
742 ELF hwcap bits, they now match exactly.
743 (get_hwcap_name): Use HWCAP_* and handle new values.
744 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
745
2b0bc501
TG
7462012-04-20 Tristan Gingold <gingold@adacore.com>
747
748 * config/tc-ia64.c (obj_elf_vms_common): New function.
749 (md_pseudo_table): Add .vms_common pseudo.
750 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
751 * config/obj-elf.c (obj_elf_section_name): Make it public.
752
0b649256
RS
7532012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
754
755 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
756
2615994e
DM
7572012-04-12 David S. Miller <davem@davemloft.net>
758
759 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
760 BFD_RELOC_SPARC_H34.
761 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
762 (tc_gen_reloc): Likewise.
763
b38cadfb
NC
7642012-04-12 Roland McGrath <mcgrathr@google.com>
765
766 * configure.tgt (arm-*-nacl*): Match it.
767 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
768 (LOCAL_LABELS_DOLLAR): Define.
769 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
770 Use nacl format variants.
771
6530b175 7722012-04-12 Jie Zhang <jie@codesourcery.com>
4e47244d 773 Meador Inge <meadori@codesourcery.com>
6530b175
NC
774
775 * config/tc-arm.c (only_one_reg_in_list): New function.
776 (encode_ldmstm): Ditto.
777 (do_ldmstm): Use a different encoding when pushing or poping
778 a single register.
779 (A_COND_MASK): New macro.
780 (A_PUSH_POP_OP_MASK): Ditto.
781 (A1_OPCODE_PUSH): Ditto.
782 (A2_OPCODE_PUSH): Ditto.
783 (A2_OPCODE_POP): Ditto.
784
45e279f5
MR
7852012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
786
787 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
788 -mno-fix-24k.
789
58797674
RM
7902012-04-06 Roland McGrath <mcgrathr@google.com>
791
792 * configure.in (AC_CHECK_HEADERS): Add locale.h.
793 * config.in: Regenerate.
794 * configure: Regenerate.
795
44350750
NC
7962012-04-05 Nick Clifton <nickc@redhat.com>
797
798 * configure.in (AC_CHECK_FUNCS): Add setlocale.
799 (AM_LC_MESSAGES): Add.
800 * aclocal.m4: Regenerate.
801 * config.in: Regenerate.
802 * configure: Regenerate.
803
e91a22ce
DD
8042012-04-03 DJ Delorie <dj@redhat.com>
805
806 * config/rx-parse.y: Make the .L optional for ADC and SBB.
807
b1c0804b
DD
8082012-04-02 DJ Delorie <dj@redhat.com>
809
810 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
811 transfer size.
812 (IMM): New, call IMM_ with the default 32.
813 (IMMW,IMMB): Likewise, for 16 and 8.
814 (NIMM, MBIMM): Add size parameter.
815 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
816 (MOV.W): Use IMMW instead of IMM.
817
818 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
819 (op_dp20_rm_l): New.
820 (op_dp20_rim_l): New.
821
822 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
823 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
824
ce32bd10
MGD
8252012-03-29 Terry Guo <terry.guo@arm.com>
826
827 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
828 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
829
55a36193
MK
8302012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
831
832 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
833 * doc/c-mips.texi: Mention XLP.
834
32b9ff0d
TS
8352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
836
837 [SH] Support the .uaquad and .8byte directives also for non-sh64
838 configurations.
839
840 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
841 BFD_RELOC_64.
842 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
843 description...
844 * doc/c-sh.texi (SH Machine Directives): ... here.
845
7465e07a
NC
8462012-03-20 Nick Clifton <nickc@redhat.com>
847
848 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
849 registers.
850 (do_vmsr): Likewise.
851 (arm_opcode_insns): Do not default to using the FPSCR register in
852 the VMRS and VMSR registers.
853
8059fb19
RM
8542012-03-16 Roland McGrath <mcgrathr@google.com>
855
856 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
857 Define for this case.
858 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
859
69239280
MGD
8602012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
861
862 * config/tc-arm.c (aeabi_set_public_attributes): Correct
863 handling of Tag_DIV_use.
864
27dcf5c0
TS
8652012-03-15 Thomas Schwinge <thomas@codesourcery.com>
866
867 * doc/as.texinfo (Bundle directives): Fix typo.
868
ec82c18e
L
8692012-03-14 Ryan Mansfield <rmansfield@qnx.com>
870
871 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
872
8d3eaee6 8732012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
874
875 * config/tc-arm.c (arm_frag_max_var): New function.
876 * config/tc-arm.h: Declare it.
877 (md_frag_max_var): New macro.
878
879 * config/tc-i386.c (i386_frag_max_var): New function.
880 * config/tc-i386.h: Declare it.
881 (md_frag_max_var): New macro.
882
883 * doc/as.texinfo (Bundle directives): New node.
884 (Pseudo Ops): Add it to the menu.
885 * NEWS: Mention new feature.
886 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
887 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
888 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
889 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
890 New functions.
891 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
892 to md_assembly if not.
893 (read_a_source_file): Call assemble_one in place of md_assemble.
894 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
895 .bundle_lock at end of processing.
896 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
897 New functions.
898 [HANDLE_BUNDLE] (potable): Add their entries.
899 * read.h: Declare new functions.
900
aea77599
AM
9012012-03-10 Edmar Wienskoski <edmar@freescale.com>
902
903 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
904 (ppc_handle_align): Add termination nop opcode for e500mc family.
905 * doc/as.texinfo: Document options -me5500 and -me6500.
906 * doc/c-ppc.texi: Likewise.
907
0a22ae8e
NC
9082012-03-07 Nick Clifton <nickc@redhat.com>
909
910 * config/tc-mn10300.c (other_registers): Add SSP and USP.
911 (md_assemble): Add support for TLS relocs.
912 (mn10300_parse_name): Likewise.
913
805e800d
AM
9142012-02-27 Alan Modra <amodra@gmail.com>
915
916 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
917
b9fcee79
AM
9182012-02-27 Alan Modra <amodra@gmail.com>
919
920 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
921 params. Properly generate NOP pattern. Comment reason for
922 subseg_text_p failure.
923
35a35807
AM
9242012-02-27 Alan Modra <amodra@gmail.com>
925
926 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
927 and sign extend before range tests.
928 (constant_fits_size_p): Similarly.
929 (get_specific): Trim X_add_number to 32 bits.
930 (fix_operand_size): Likewise, and use unsigned test for signed
931 ranges.
932
1f42f8b3
AM
9332012-02-27 Alan Modra <amodra@gmail.com>
934
935 * config/tc-crx.c: Include bfd_stdint.h.
936 (getconstant): Remove irrelevant comment. Don't fail due to
937 sign-extension of int mask.
938 (check_range): Rewrite using unsigned arithmetic throughout.
939
481fe810
WL
9402012-02-25 Walter Lee <walt@tilera.com>
941
942 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
943 non-local before checking sy_value.
944 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
945
6f7be959
WL
9462012-02-25 Walter Lee <walt@tilera.com>
947
948 * tc-tilepro.c (O_tls_le): Define operator.
949 (O_tls_le_lo16): Ditto.
950 (O_tls_le_hi16): Ditto.
951 (O_tls_le_ha16): Ditto.
952 (O_tls_gd_call): Ditto.
953 (O_tls_gd_add): Ditto.
954 (O_tls_ie_load): Ditto.
955 (md_begin): Delete old operators; handle new operators.
956 (emit_tilepro_instruction): Ditto.
957 (md_apply_fix): Ditto.
958 * tc-tilegx.c (O_hw1_got): Delete operator.
959 (O_hw2_got): Ditto.
960 (O_hw3_got): Ditto.
961 (O_hw2_last_got): Ditto.
962 (O_hw1_tls_gd): Ditto.
963 (O_hw2_tls_gd): Ditto.
964 (O_hw3_tls_gd): Ditto.
965 (O_hw2_last_tls_gd): Ditto.
966 (O_hw1_tls_ie): Ditto.
967 (O_hw2_tls_ie): Ditto.
968 (O_hw3_tls_ie): Ditto.
969 (O_hw2_last_tls_ie): Ditto.
970 (O_hw0_tls_le): Define operator.
971 (O_hw0_last_tls_le): Ditto.
972 (O_hw1_last_tls_le): Ditto.
973 (O_tls_gd_call): Ditto.
974 (O_tls_gd_add): Ditto.
975 (O_tls_ie_load): Ditto.
976 (O_tls_add): Ditto.
977 (md_begin): Delete old operators; handle new operators.
978 (emit_tilegx_instruction): Ditto.
979 (md_apply_fix): Ditto.
980 * doc/c-tilegx.texi: Delete old operators; document new operators.
981 * doc/c-tilepro.texi: Ditto.
982
82590249
WL
9832012-02-25 Walter Lee <walt@tilera.com>
984
5414dbef
WL
985 * tc-tilepro.c (apply_special_operator): delete cases for
986 got and tls operators.
987 (md_apply_fix): Ditto.
fb6cedde
WL
988 * tc-tilegx.c (md_begin): Set architecture and machine.
989 (tilegx_target_format): Handle big endian.
990 (OPTION_EB): Define.
991 (OPTION_EL): Define.
992 (md_longopts): Add entries for "EB" and "EL".
993 (md_parse_option): Handle OPTION_EB and OPTION_EL.
994 (md_show_usage): Add -EB and -EL.
995 (md_number_to_chars): New.
5414dbef
WL
996 (apply_special_operator): delete cases for got and tls
997 operators.
998 (md_apply_fix): Ditto.
fb6cedde
WL
999 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1000 ifndef.
1001 (md_number_to_chars): Delete.
1002 * configure.tgt (tilegx*be): Handle.
1003 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1004 * doc/c-tilegx.texi: Ditto.
82590249 1005
82c2def5
L
10062012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1009 HLEPrefixAny and HLEPrefixRelease.
1010
1bf10b0d
NC
10112012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1012
1013 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1014
16a87420
IS
10152012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1016
1017 * write.c (write_object_file): Add md_pre_output_hook.
1018 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1019 (obj_mach_o_pre_output_hook): New.
1020 * config/obj-macho.h (md_pre_output_hook): Define.
1021 (obj_mach_o_pre_output_hook): Declare.
1022
cdaa5616
IS
10232012-02-21 Tristan Gingold <gingold@adacore.com>
1024
1025 * config/tc-i386.h (OBJ_MACH_O): New section.
1026 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1027 (TC_FORCE_RELOCATION_SUB_SAME): New
1028 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1029 (TC_VALIDATE_FIX_SUB): New.
1030 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1031 * symbols.c (colon): obj_frob_colon: New hook.
1032 * write.c (write_object_file): md_pre_relax_hook, new
1033 hook.
1034 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1035 (obj_mach_o_frob_label): Record sub-section labels.
1036 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1037 (obj_mach_o_set_subsections): New.
1038 (obj_mach_o_pre_relax_hook): New.
1039 (obj_mach_o_in_different_subsection): New.
1040 (obj_mach_o_force_reloc_sub_same): New.
1041 (obj_mach_o_force_reloc_sub_local): New.
1042 (obj_mach_o_force_reloc): New.
1043 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1044 (obj_frob_colon): New Define.
1045 (obj_mach_o_frob_label): Renamed.
1046 (obj_mach_o_frob_symbol): Renamed.
1047 (OBJ_FRAG_TYPE): New.
1048 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1049 obj_mach_o_force_reloc_sub_same,
1050 obj_mach_o_force_reloc_sub_local): New declarations.
1051
854ac8ba
IS
10522012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1053
1054 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1055 (obj_mach_o_allow_local_subtract): New.
1056 * config/obj-macho.h (md_allow_local_subtract): Define.
1057 (obj_mach_o_allow_local_subtract): Declare.
1058
a5759139
IS
10592012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1060
1061 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1062 canonical information, try to determine CODE and DEBUG section flags
1063 from the mach-o section data.
1064
9ad45734
NC
10652012-02-20 Nick Clifton <nickc@redhat.com>
1066
1067 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1068 local symbols.
1069
8e43fc02
IS
10702012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1071
1072 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1073 any local symbol used as an indirect.
1074
fb4914b0
IS
10752012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1076
1077 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1078 stub size when provided. (obj_mach_o_section): Flag that stub-size
1079 has been provided.
1080
42164a71
L
10812012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * config/tc-i386.c (HLE_PREFIX): New.
1084 (check_hle): Likewise.
1085 (_i386_insn): Add have_hle.
1086 (cpu_arch): Add .hle and .rtm.
1087 (md_assemble): Call check_hle if i.have_hle isn't zero.
1088 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1089 (output_jump): Support up to 2 byte opcode.
1090
1091 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1092
facf03f2
TG
10932012-02-02 Tristan Gingold <gingold@adacore.com>
1094
1095 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1096 uninitialized variable warning.
1097
f6616a06
NC
10982012-02-02 Nick Clifton <nickc@redhat.com>
1099
1100 PR gas/13224
1101 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1102 to 'is_clone' to avoid shadowing a gloabl.
1103 (obj_elf_section): Likewise.
1104
bac03263 11052012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 1106
bac03263
PB
1107 * doc/c-tic6x.c: Fix typo.
1108
f8819316
NC
11092012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1110
1111 PR gas/13624
1112 * app.c (app_push): Set 'add_newlines' to zero after saving.
1113
21abe33a
DD
11142012-01-24 DJ Delorie <dj@redhat.com>
1115
1116 * config/rl78-parse.y (NOT1): Add.
1117
8d63c93e
RM
11182012-01-23 Roland McGrath <mcgrathr@google.com>
1119
1120 * configure.tgt (i386-*-nacl*): Match it.
1121 * config/te-nacl.h: New file.
1122 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1123 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1124 Use TE_GNU et al case for TE_NACL too.
1125
a501d77e
L
11262012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1127
1128 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1129 disp_encoding.
1130 (md_assemble): Updated.
1131 (output_branch): Likewise.
1132 (parse_insn): Support .d8 suffix.
1133 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1134 suffixes.
1135
1136 * doc/c-i386.texi: Document .d8 suffix.
1137
032fbb7a
AM
11382012-01-17 Andrew Burgess <aburgess@broadcom.com>
1139
1140 * write.c (fix_new_internal): Don't mark used parameter as unused.
1141
576477a6
AM
11422012-01-17 Alan Modra <amodra@gmail.com>
1143
1144 * as.c (parse_args): Update copyright message year.
1145
8729a6f6
L
11462012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1147
1148 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1149
1150 * doc/c-i386.texi: Document vmfunc.
1151
34dd18bc
IS
11522012-01-13 Tristan Gingold <gingold@adacore.com>
1153
1154 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1155 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1156 (obj_mach_o_reorder_section_relocs): Declare.
1157
687be931
IS
11582012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1159
1160 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1161 absolute indirect symbols.
1162
c3402d20
IS
11632012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1164
1165 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1166 (obj_mach_o_set_section_vma): New.
1167 (obj_mach_o_post_relax_hook): New.
1168 * config/obj-macho.h (md_post_relax_hook): Define.
1169 (obj_mach_o_post_relax_hook): Declare.
1170
50d10658
IS
11712012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1172
1173 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1174 lazy when the symbol is private_extern.
1175 (obj_mach_o_indirect_sym): New type.
1176 (obj_mach_o_indirect_symbol): New.
1177 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1178 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1179 (obj_macho_frob_label): Likewise. Adjust external and comm
1180 symbol tests.
1181 (obj_mach_o_set_indirect_symbols): New.
1182 (obj_mach_o_frob_file_after_relocs): New.
1183 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1184 (obj_mach_o_frob_file_after_relocs): Declare.
1185
0a4734dc
TG
11862012-01-12 Tristan Gingold <gingold@adacore.com>
1187
1188 PR gas/13591
1189 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1190
158184ac
TG
11912012-01-10 Tristan Gingold <gingold@adacore.com>
1192
1193 * struc-symbol.h (struct symbol_flags): New struct, created from...
1194 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1195 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1196 Adjust comment.
1197 (local_symbol_resolved_p): Adjust.
1198 (local_symbol_mark_resolved): Likewise.
1199 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1200 (local_symbol_make, local_symbol_convert, colon)
1201 (symbol_clone_if_forward_ref, verify_symbol_chain)
1202 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1203 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1204 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1205 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1206 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1207 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1208 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1209 (symbol_mark_mri_common, symbol_clear_mri_common)
1210 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1211 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1212 (symbol_equated_reloc_p, dot_symbol_init)
1213 (print_symbol_value_1): Adjust.
1214
b22161d6
IS
12152012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1216
1217 * config/obj-macho.c (obj_mach_o_weak): Remove.
1218 (obj_mach_o_common_parse): Set symbol qualifiers.
1219 (LAZY, REFE): New macros.
1220 (obj_mach_o_symbol_type): New enum.
1221 (obj_mach_o_set_symbol_qualifier): New.
1222 (obj_mach_o_sym_qual): New.
1223 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1224 a dummy function.
1225 (obj_mach_o_type_for_symbol): New.
1226 (obj_macho_frob_label): New.
1227 (obj_macho_frob_symbol): New.
1228 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1229 (obj_frob_label, obj_macho_frob_label): Declare.
1230 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1231
de64cffd
RS
12322012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1233
1234 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1235
462427c4
RS
12362012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1237 Richard Sandiford <rdsandiford@googlemail.com>
1238
1239 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1240 textness as parameters.
1241 (mips_move_text_labels): New function.
1242 (append_insn): Use it instead of mips_move_labels.
1243 (mips_emit_delays, start_noreorder): Likewise.
1244 (mips_align): Take the labels rather than just one label.
1245 Move all labels to after the .align.
1246 (s_align): Change the last argument to mips_align.
1247 (s_cons): Likewise.
1248 (s_float_cons): Likewise.
1249 (s_gpword): Likewise.
1250 (s_gpdword): Likewise.
1251
d382c579
TG
12522012-01-06 Tristan Gingold <gingold@adacore.com>
1253
1254 * config/tc-i386.c: Update copyright year.
1255 (lex_got): Also defined for Mach-O.
1256 Add a guard for non-ELF configuration.
1257 (md_longopts): Also handle -64 for Mach-O.
1258 (md_parse_option): Likewise.
1259 (i386_target_format): Adjust for x86_64-darwin.
1260
8cf6e084
IS
12612012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1262
1263 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1264 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1265 (obj_mach_o_make_or_get_sect): Likewise.
1266 (obj_mach_o_section): Split out the functionality shared with zerofill.
1267 (obj_mach_o_zerofill): New.
1268 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1269 (mach_o_pseudo_table): Add .zerofill.
1270
68588f95
IS
12712012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1272
1273 * config/obj-macho.c (obj_macho_process_stab): New.
1274 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1275 (obj_macho_process_stab): Declare.
1276
23e1d329 1277For older changes see ChangeLog-2011
08d56133
NC
1278\f
1279Local Variables:
1280mode: change-log
1281left-margin: 8
1282fill-column: 74
1283version-control: never
1284End:
This page took 0.658162 seconds and 4 git commands to generate.