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