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