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