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