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