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