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