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