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