aca611ea6fa52b51d3f33f8d49603818baa4044e
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2012-06-18 Iain Sandoe <iain@codesourcery.com>
2
3 * configure.in: Check DECLS for free, getenv, malloc, realloc,
4 * configure: Regenerate.
5 * config.in: Likewise.
6
7 2012-06-13 H.J. Lu <hongjiu.lu@intel.com>
8
9 * config/tc-i386.c (x86_address_bytes): New.
10 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
11 (x86_address_bytes): Likewise.
12
13 2012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
14
15 PR gas/12698
16 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
17 architecure when assembling for all archiectures.
18 (do_t_msr): Likewise.
19
20 2012-06-11 Georg-Johann Lay <avr@gjlay.de>
21
22 PR 13503
23 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
24 from 2012-05-16.
25
26 2012-06-09 H.J. Lu <hongjiu.lu@intel.com>
27
28 * input-scrub.c (input_scrub_include_sb): Use sb_build to
29 allocate sufficient space for from_sb. Use sb_terminate to
30 terminate string.
31 * read.c (read_a_source_file): Use sb_build to allocate
32 sufficient space and replace sb_add_string with sb_add_buffer.
33 (s_macro): Likewise.
34 (input_scrub_insert_line): Likewise.
35 (s_irp): Use sb_build to allocate sufficient space.
36 (do_repeat): Use sb_build to allocate sufficient space
37 for many.
38 * sb.c (sb_build): Remove static.
39 * sb.h (sb_build): New prototype.
40
41 2012-06-09 Alan Modra <amodra@gmail.com>
42
43 * sb.c: Include limits.h.
44 (dsize): Delete.
45 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
46 (sb_new): Use INIT_ALLOC.
47 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
48 (sb_terminate): Don't use sb_add_char.
49
50 2012-06-07 Alan Modra <amodra@gmail.com>
51
52 PR gas/14201
53 * sb.h (sb_max_power_two): Delete.
54 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
55 (sb_element): Delete.
56 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
57 prototypes.
58 * sb.c (string_count, free_list): Delete.
59 (sb_build, sb_kill, sb_check): Rewrite.
60 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
61 sb_skip_white, sb_skip_comma): Replace assorted int params,
62 vars and return types with size_t.
63 * input-scrub.c: Likewise.
64 * macro.c: Likewise.
65 * macro.h: Likewise.
66 * as.c: Likewise.
67 * as.h: Likewise.
68 * input-file.h: Likewise.
69 * input-file.c: Likewise.
70 * read.c: Likewise.
71 * app.c: ..or ptrdiff_t.
72 * input-file.c (input_file_get): Use ferror.
73 (input_file_give_next_buffer): Use input_file_get.
74
75 2012-05-29 Roland McGrath <mcgrathr@google.com>
76
77 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
78 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
79 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
80 pairs.
81
82 2012-05-28 Nick Clifton <nickc@redhat.com>
83
84 * read.c (read_symbol_name): New function. Reads a symbol names.
85 Allows escape codes in names.
86 (s_comm_internal): Use read_symbol_name.
87 (s_globl, s_lsym, s_set, s_weakref): Likewise.
88 * doc/as.texinfo: Document support for multibyte characters in
89 symbol names.
90
91 2012-05-21 Mike Frysinger <vapier@gentoo.org>
92
93 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
94 is non-NULL.
95
96 2012-05-19 Alan Modra <amodra@gmail.com>
97
98 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
99 targets when checking for "comdat".
100
101 2012-05-19 Alan Modra <amodra@gmail.com>
102
103 * config/tc-dlx.c (s_proc): Don't use asprintf.
104
105 2012-05-18 Alan Modra <amodra@gmail.com>
106
107 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
108 return value.
109
110 2012-05-18 James Lemke <jwlemke@codesourcery.com>
111 Alan Modra <amodra@gmail.com>
112
113 * config/tc-ppc.c: Don't capitalise error and warning messages.
114 (md_parse_option): Add checks for -a32 -mvle.
115
116 2012-05-18 Alan Modra <amodra@gmail.com>
117
118 * config/obj-evax.c: Include as.h first.
119
120 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
121
122 * aclocal.m4: Regenerate.
123 * configure: Regenerate.
124 * Makefile.in: Regenerate.
125
126 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
127 Nick Clifton <nickc@redhat.com>
128
129 PR 14072
130 * configure.in: Add check that sysdep.h has been included before
131 any system header files.
132 * configure: Regenerate.
133 * config.in: Regenerate.
134 * aclocal.m4: Regenerate.
135 * Makefile.am: Use wrappers around C files generated by flex.
136 * Makefile.in: Regenerate.
137 * doc/Makefile.in: Regenerate.
138 * itbl-lex-wrapper.c: New file.
139 * config/bfin-lex-wrapper.c: New file.
140 * cgen.c: Include as.h before setjmp.h.
141 * config/tc-dlx.c: Include as.h before any other header.
142 * config/tc-h8300.c: Likewise.
143 * config/tc-lm32.c: Likewise.
144 * config/tc-mep.c: Likewise.
145 * config/tc-microblaze.c: Likewise.
146 * config/tc-mmix.c: Likewise.
147 * config/tc-msp430.c: Likewise.
148 * config/tc-or32.c: Likewise.
149 * config/tc-tic4x.c: Likewise.
150 * config/tc-tic54x.c: Likewise.
151 * config/tc-xtensa.c: Likewise.
152
153 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
154
155 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
156 as the first argument for `bfd_get_section_vma'.
157
158 2012-05-16 Alberto Garcia <agarcia@igalia.com>
159
160 PR gas/14082
161 * app.c (do_scrub_chars): Prevent possible out of bounds access to
162 lex[] array.
163
164 2012-05-16 Georg-Johann Lay <avr@gjlay.de>
165
166 PR target/13503
167 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
168 R_AVR_8_HLO8.
169 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
170 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
171
172 2012-05-16 Nathan Sidwell <nathan@codesourcery.com>
173 Kwok Cheung Yeung <kcy@codesourcery.com>
174
175 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
176 51qm variants.
177
178 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
179
180 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
181 Add option to offset S12 addresses into XGATE memory space.
182 Tweak target flags to match other tools. (i.e. -m m68hc11).
183 * doc/as.texinfo: Mention new options.
184 * doc/c-m68hc11.texi: Document new options.
185 * NEWS: Mention new support.
186
187 2012-05-14 DJ Delorie <dj@redhat.com>
188
189 * config/rx-parse.y (rx_range): declare.
190 (O1,O2,O3,O4): Add calls to rx_range.
191 (UO1,UO2,UO3): Likewise.
192 (IMM2,IMMB): Likewise.
193 (rx_range): New.
194
195 * config/tc-rx.c (rx_fetchalign): Declare.
196 (md_pseudo_table): Add .fetchalign.
197 (RX_NBASE_FETCHALIGN): New.
198 (fetchalign_bytes): New.
199 (rx_fetchalign): New.
200 (rx_frag_init): If a "magic" value is found, also init the
201 machine-specific data.
202 (md_assemble): Note following opcode size if called for.
203 (rx_next_opcode): New.
204 (rx_relax_frag): Support .fetchalign.
205 (md_convert_frag): Likewise.
206 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
207
208 2012-05-14 James Lemke <jwlemke@codesourcery.com>
209
210 * config/tc-ppc.c (insn_validate): New func of existing code to call..
211 (ppc_setup_opcodes): ..from 2 places here.
212 Revise for second (VLE) opcode table.
213 Add #ifdef'd code to print opcode tables.
214
215 2012-05-14 James Lemke <jwlemke@codesourcery.com>
216
217 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
218 for the VLE conditional branches.
219
220 2012-05-14 Catherine Moore <clm@codesourcery.com>
221 Maciej W. Rozycki <macro@codesourcery.com>
222 Rhonda Wittels <rhonda@codesourcery.com>
223
224 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
225 (PPC_VLE_SPLIT16D): New macro.
226 (PPC_VLE_LO16A): New macro.
227 (PPC_VLE_LO16D): New macro.
228 (PPC_VLE_HI16A): New macro.
229 (PPC_VLE_HI16D): New macro.
230 (PPC_VLE_HA16A): New macro.
231 (PPC_VLE_HA16D): New macro.
232 (PPC_APUINFO_VLE): New definition.
233 (md_chars_to_number): New function.
234 (md_parse_option): Check for combinations of little
235 endian and -mvle.
236 (md_show_usage): Document -mvle.
237 (ppc_arch): Recognize VLE.
238 (ppc_mach): Recognize bfd_mach_ppc_vle.
239 (ppc_setup_opcodes): Print the opcode table if
240 * config/tc-ppc.h (ppc_frag_check): Declare.
241 * doc/c-ppc.texi: Document -mvle.
242 * NEWS: Mention PowerPC VLE port.
243
244 2012-05-14 Catherine Moore <clm@codesourcery.com>
245
246 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
247 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
248 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
249 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
250 for DWARF2_LINE_MIN_INSN_LENGTH.
251
252 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
253
254 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
255 for BFD_RELOC_64.
256
257 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
258
259 PR binutils/14028
260 * configure.in: Invoke ACX_HEADER_STRING.
261 * configure: Regenerate.
262 * config.in: Regenerate.
263 * as.h: If STRINGS_WITH_STRING is defined then include both
264 string.h and strings.h.
265
266 2012-05-11 Georg-Johann Lay <avr@gjlay.de
267
268 PR target/13503
269 * config/tc-avr.c (exp_mod_pm): Remove variable.
270 (exp_mod_data_t): New typedef.
271 (pexp_mod_data, exp_mod_data): New variables.
272 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
273 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
274 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
275 (avr_cons_fix_new): Handle new data expression modifiers shipped
276 in pexp_mod_data.
277 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
278 BFD_RELOC_AVR_8_HHI.
279
280 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
281
282 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
283 addend overflow check.
284
285 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
286
287 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
288 x32 addend overflow check.
289
290 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
291
292 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
293
294 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
295
296 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
297 for BFD_RELOC_64.
298
299 2012-05-08 Alan Modra <amodra@gmail.com>
300
301 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
302 LC and LANG environment vars.
303 * Makefile.in: Regenerate.
304
305 2012-05-07 Alan Modra <amodra@gmail.com>
306
307 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
308 * Makefile.in: Regenerate.
309
310 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
311
312 * config/tc-z80.h(md_register_arithmetic): Define as 0.
313 * config/tc-z80.c(md_begin): Store register names in symbol table,
314 preventing usage as ordinary symbol.
315 * config/tc-z80.c(contains_register): New function.
316 * config/tc-z80.c(parse_exp2): Removed.
317 * config/tc-z80.c(parse_exp_not_indexed): New function.
318 * config/tc-z80.c(parse_exp): Add code to recogize indexed
319 addressing after parsing.
320 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
321 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
322 condition for jump to register.
323 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
324 parse_exp_not_indexed.
325
326 2012-05-05 Alan Modra <amodra@gmail.com>
327
328 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
329 bfd_und_section and bfd_ind_section with their _ptr variants, or
330 use corresponding bfd_is_* macros.
331 * symbols.c: Likewise.
332 * config/obj-aout.c: Likewise.
333 * config/obj-coff-seh.h: Likewise.
334 * config/tc-hppa.c: Likewise.
335 * config/tc-hppa.h: Likewise.
336 * config/tc-ia64.c: Likewise.
337 * config/tc-m32r.c: Likewise.
338 * config/tc-microblaze.c: Likewise.
339 * config/tc-mips.c: Likewise.
340 * config/tc-score.c: Likewise.
341 * config/tc-score7.c: Likewise.
342 * config/tc-tic6x.c: Likewise.
343
344 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
345
346 * configure.tgt: Support x86_64-*-linux-gnux32.
347
348 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
349
350 * config/tc-i386.c (match_template): Add `instruction' to
351 unsupported error message.
352
353 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
354
355 * config/tc-i386.c (output_insn): Reformat.
356
357 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
358
359 * config/tc-i386.c (output_insn): Remove the extra VEX check.
360
361 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
362
363 * config/tc-i386.c (match_template): Improve unsupported error
364 message.
365
366 2012-05-03 Sean Keys <skeys@ipdatasys.com>
367
368 * configure, Makefile.in: Regenerate.
369 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
370 * configure.tgt: Added cpu type.
371 Added files for XGATE assembler.
372 * config/tc-xgate.c: Assembler for XGATE.
373 * config/tc-xgate.h: Header definition for assembler
374 Added files for XGATE testsuite.
375 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
376 * doc/c-xgate.texi: Document XGATE and XGATE port.
377 * doc/as.texinfo: Ditto.
378 * doc/all.texi: Ditto
379 * NEWS: Mention the new support.
380
381 2012-04-30 DJ Delorie <dj@redhat.com>
382
383 * config/rx-parse.y (rx_intop): Add parameter for operation size.
384 Check for large positive constants really being small negative
385 ones.
386 (BRA, BSR): Update calls to rx_intop.
387 (immediate): Likewise.
388
389 2012-04-26 Mark Wielaard <mjw@redhat.com>
390
391 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
392 (DWARF2_LINE_VERSION): Likewise.
393 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
394 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
395 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
396 DWARF2_VERSION >= 4.
397 (out_debug_info): Use difference between start and end as data
398 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
399 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
400
401 2012-04-27 David S. Miller <davem@davemloft.net>
402
403 * doc/c-sparc.text: Document %l34 and %h34.
404
405 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
406
407 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
408 v8pluse, v8plusv, v9e, and v9v.
409 (v9a_asr_table): Add 'pause'.
410
411 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
412 sparc4, v8pluse, v8plusv, v9e, and v9v.
413 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
414 order to accomodate cbcond which otherwise would require two
415 relocations to be handled in a single instruction..
416
417 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
418 names containing "_".
419 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
420 hwcap masks to v8plusv and v9v.
421
422 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
423 masks.
424 (sparc_md_end): No longer need to translate hwcap_seen values into
425 ELF hwcap bits, they now match exactly.
426 (get_hwcap_name): Use HWCAP_* and handle new values.
427 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
428
429 2012-04-20 Tristan Gingold <gingold@adacore.com>
430
431 * config/tc-ia64.c (obj_elf_vms_common): New function.
432 (md_pseudo_table): Add .vms_common pseudo.
433 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
434 * config/obj-elf.c (obj_elf_section_name): Make it public.
435
436 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
437
438 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
439
440 2012-04-12 David S. Miller <davem@davemloft.net>
441
442 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
443 BFD_RELOC_SPARC_H34.
444 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
445 (tc_gen_reloc): Likewise.
446
447 2012-04-12 Roland McGrath <mcgrathr@google.com>
448
449 * configure.tgt (arm-*-nacl*): Match it.
450 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
451 (LOCAL_LABELS_DOLLAR): Define.
452 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
453 Use nacl format variants.
454
455 2012-04-12 Jie Zhang <jie@codesourcery.com>
456 Meador Inge <meadori@codesourcery.com>
457
458 * config/tc-arm.c (only_one_reg_in_list): New function.
459 (encode_ldmstm): Ditto.
460 (do_ldmstm): Use a different encoding when pushing or poping
461 a single register.
462 (A_COND_MASK): New macro.
463 (A_PUSH_POP_OP_MASK): Ditto.
464 (A1_OPCODE_PUSH): Ditto.
465 (A2_OPCODE_PUSH): Ditto.
466 (A2_OPCODE_POP): Ditto.
467
468 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
469
470 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
471 -mno-fix-24k.
472
473 2012-04-06 Roland McGrath <mcgrathr@google.com>
474
475 * configure.in (AC_CHECK_HEADERS): Add locale.h.
476 * config.in: Regenerate.
477 * configure: Regenerate.
478
479 2012-04-05 Nick Clifton <nickc@redhat.com>
480
481 * configure.in (AC_CHECK_FUNCS): Add setlocale.
482 (AM_LC_MESSAGES): Add.
483 * aclocal.m4: Regenerate.
484 * config.in: Regenerate.
485 * configure: Regenerate.
486
487 2012-04-03 DJ Delorie <dj@redhat.com>
488
489 * config/rx-parse.y: Make the .L optional for ADC and SBB.
490
491 2012-04-02 DJ Delorie <dj@redhat.com>
492
493 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
494 transfer size.
495 (IMM): New, call IMM_ with the default 32.
496 (IMMW,IMMB): Likewise, for 16 and 8.
497 (NIMM, MBIMM): Add size parameter.
498 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
499 (MOV.W): Use IMMW instead of IMM.
500
501 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
502 (op_dp20_rm_l): New.
503 (op_dp20_rim_l): New.
504
505 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
506 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
507
508 2012-03-29 Terry Guo <terry.guo@arm.com>
509
510 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
511 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
512
513 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
514
515 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
516 * doc/c-mips.texi: Mention XLP.
517
518 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
519
520 [SH] Support the .uaquad and .8byte directives also for non-sh64
521 configurations.
522
523 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
524 BFD_RELOC_64.
525 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
526 description...
527 * doc/c-sh.texi (SH Machine Directives): ... here.
528
529 2012-03-20 Nick Clifton <nickc@redhat.com>
530
531 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
532 registers.
533 (do_vmsr): Likewise.
534 (arm_opcode_insns): Do not default to using the FPSCR register in
535 the VMRS and VMSR registers.
536
537 2012-03-16 Roland McGrath <mcgrathr@google.com>
538
539 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
540 Define for this case.
541 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
542
543 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
544
545 * config/tc-arm.c (aeabi_set_public_attributes): Correct
546 handling of Tag_DIV_use.
547
548 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
549
550 * doc/as.texinfo (Bundle directives): Fix typo.
551
552 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
553
554 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
555
556 2012-03-13 Roland McGrath <mcgrathr@google.com>
557
558 * config/tc-arm.c (arm_frag_max_var): New function.
559 * config/tc-arm.h: Declare it.
560 (md_frag_max_var): New macro.
561
562 * config/tc-i386.c (i386_frag_max_var): New function.
563 * config/tc-i386.h: Declare it.
564 (md_frag_max_var): New macro.
565
566 * doc/as.texinfo (Bundle directives): New node.
567 (Pseudo Ops): Add it to the menu.
568 * NEWS: Mention new feature.
569 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
570 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
571 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
572 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
573 New functions.
574 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
575 to md_assembly if not.
576 (read_a_source_file): Call assemble_one in place of md_assemble.
577 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
578 .bundle_lock at end of processing.
579 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
580 New functions.
581 [HANDLE_BUNDLE] (potable): Add their entries.
582 * read.h: Declare new functions.
583
584 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
585
586 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
587 (ppc_handle_align): Add termination nop opcode for e500mc family.
588 * doc/as.texinfo: Document options -me5500 and -me6500.
589 * doc/c-ppc.texi: Likewise.
590
591 2012-03-07 Nick Clifton <nickc@redhat.com>
592
593 * config/tc-mn10300.c (other_registers): Add SSP and USP.
594 (md_assemble): Add support for TLS relocs.
595 (mn10300_parse_name): Likewise.
596
597 2012-02-27 Alan Modra <amodra@gmail.com>
598
599 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
600
601 2012-02-27 Alan Modra <amodra@gmail.com>
602
603 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
604 params. Properly generate NOP pattern. Comment reason for
605 subseg_text_p failure.
606
607 2012-02-27 Alan Modra <amodra@gmail.com>
608
609 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
610 and sign extend before range tests.
611 (constant_fits_size_p): Similarly.
612 (get_specific): Trim X_add_number to 32 bits.
613 (fix_operand_size): Likewise, and use unsigned test for signed
614 ranges.
615
616 2012-02-27 Alan Modra <amodra@gmail.com>
617
618 * config/tc-crx.c: Include bfd_stdint.h.
619 (getconstant): Remove irrelevant comment. Don't fail due to
620 sign-extension of int mask.
621 (check_range): Rewrite using unsigned arithmetic throughout.
622
623 2012-02-25 Walter Lee <walt@tilera.com>
624
625 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
626 non-local before checking sy_value.
627 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
628
629 2012-02-25 Walter Lee <walt@tilera.com>
630
631 * tc-tilepro.c (O_tls_le): Define operator.
632 (O_tls_le_lo16): Ditto.
633 (O_tls_le_hi16): Ditto.
634 (O_tls_le_ha16): Ditto.
635 (O_tls_gd_call): Ditto.
636 (O_tls_gd_add): Ditto.
637 (O_tls_ie_load): Ditto.
638 (md_begin): Delete old operators; handle new operators.
639 (emit_tilepro_instruction): Ditto.
640 (md_apply_fix): Ditto.
641 * tc-tilegx.c (O_hw1_got): Delete operator.
642 (O_hw2_got): Ditto.
643 (O_hw3_got): Ditto.
644 (O_hw2_last_got): Ditto.
645 (O_hw1_tls_gd): Ditto.
646 (O_hw2_tls_gd): Ditto.
647 (O_hw3_tls_gd): Ditto.
648 (O_hw2_last_tls_gd): Ditto.
649 (O_hw1_tls_ie): Ditto.
650 (O_hw2_tls_ie): Ditto.
651 (O_hw3_tls_ie): Ditto.
652 (O_hw2_last_tls_ie): Ditto.
653 (O_hw0_tls_le): Define operator.
654 (O_hw0_last_tls_le): Ditto.
655 (O_hw1_last_tls_le): Ditto.
656 (O_tls_gd_call): Ditto.
657 (O_tls_gd_add): Ditto.
658 (O_tls_ie_load): Ditto.
659 (O_tls_add): Ditto.
660 (md_begin): Delete old operators; handle new operators.
661 (emit_tilegx_instruction): Ditto.
662 (md_apply_fix): Ditto.
663 * doc/c-tilegx.texi: Delete old operators; document new operators.
664 * doc/c-tilepro.texi: Ditto.
665
666 2012-02-25 Walter Lee <walt@tilera.com>
667
668 * tc-tilepro.c (apply_special_operator): delete cases for
669 got and tls operators.
670 (md_apply_fix): Ditto.
671 * tc-tilegx.c (md_begin): Set architecture and machine.
672 (tilegx_target_format): Handle big endian.
673 (OPTION_EB): Define.
674 (OPTION_EL): Define.
675 (md_longopts): Add entries for "EB" and "EL".
676 (md_parse_option): Handle OPTION_EB and OPTION_EL.
677 (md_show_usage): Add -EB and -EL.
678 (md_number_to_chars): New.
679 (apply_special_operator): delete cases for got and tls
680 operators.
681 (md_apply_fix): Ditto.
682 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
683 ifndef.
684 (md_number_to_chars): Delete.
685 * configure.tgt (tilegx*be): Handle.
686 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
687 * doc/c-tilegx.texi: Ditto.
688
689 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
690
691 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
692 HLEPrefixAny and HLEPrefixRelease.
693
694 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
695
696 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
697
698 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
699
700 * write.c (write_object_file): Add md_pre_output_hook.
701 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
702 (obj_mach_o_pre_output_hook): New.
703 * config/obj-macho.h (md_pre_output_hook): Define.
704 (obj_mach_o_pre_output_hook): Declare.
705
706 2012-02-21 Tristan Gingold <gingold@adacore.com>
707
708 * config/tc-i386.h (OBJ_MACH_O): New section.
709 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
710 (TC_FORCE_RELOCATION_SUB_SAME): New
711 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
712 (TC_VALIDATE_FIX_SUB): New.
713 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
714 * symbols.c (colon): obj_frob_colon: New hook.
715 * write.c (write_object_file): md_pre_relax_hook, new
716 hook.
717 * config/obj-macho.c (obj_mach_o_frob_colon): New.
718 (obj_mach_o_frob_label): Record sub-section labels.
719 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
720 (obj_mach_o_set_subsections): New.
721 (obj_mach_o_pre_relax_hook): New.
722 (obj_mach_o_in_different_subsection): New.
723 (obj_mach_o_force_reloc_sub_same): New.
724 (obj_mach_o_force_reloc_sub_local): New.
725 (obj_mach_o_force_reloc): New.
726 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
727 (obj_frob_colon): New Define.
728 (obj_mach_o_frob_label): Renamed.
729 (obj_mach_o_frob_symbol): Renamed.
730 (OBJ_FRAG_TYPE): New.
731 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
732 obj_mach_o_force_reloc_sub_same,
733 obj_mach_o_force_reloc_sub_local): New declarations.
734
735 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
736
737 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
738 (obj_mach_o_allow_local_subtract): New.
739 * config/obj-macho.h (md_allow_local_subtract): Define.
740 (obj_mach_o_allow_local_subtract): Declare.
741
742 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
743
744 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
745 canonical information, try to determine CODE and DEBUG section flags
746 from the mach-o section data.
747
748 2012-02-20 Nick Clifton <nickc@redhat.com>
749
750 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
751 local symbols.
752
753 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
754
755 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
756 any local symbol used as an indirect.
757
758 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
759
760 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
761 stub size when provided. (obj_mach_o_section): Flag that stub-size
762 has been provided.
763
764 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
765
766 * config/tc-i386.c (HLE_PREFIX): New.
767 (check_hle): Likewise.
768 (_i386_insn): Add have_hle.
769 (cpu_arch): Add .hle and .rtm.
770 (md_assemble): Call check_hle if i.have_hle isn't zero.
771 (parse_insn): Set i.have_hle to 1 for HLE prefix.
772 (output_jump): Support up to 2 byte opcode.
773
774 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
775
776 2012-02-02 Tristan Gingold <gingold@adacore.com>
777
778 * config/obj-macho.c (obj_mach_o_zerofill): Silent
779 uninitialized variable warning.
780
781 2012-02-02 Nick Clifton <nickc@redhat.com>
782
783 PR gas/13224
784 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
785 to 'is_clone' to avoid shadowing a gloabl.
786 (obj_elf_section): Likewise.
787
788 2012-01-31 Paul Brook <paul@codesourcery.com>
789
790 * doc/c-tic6x.c: Fix typo.
791
792 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
793
794 PR gas/13624
795 * app.c (app_push): Set 'add_newlines' to zero after saving.
796
797 2012-01-24 DJ Delorie <dj@redhat.com>
798
799 * config/rl78-parse.y (NOT1): Add.
800
801 2012-01-23 Roland McGrath <mcgrathr@google.com>
802
803 * configure.tgt (i386-*-nacl*): Match it.
804 * config/te-nacl.h: New file.
805 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
806 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
807 Use TE_GNU et al case for TE_NACL too.
808
809 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
810
811 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
812 disp_encoding.
813 (md_assemble): Updated.
814 (output_branch): Likewise.
815 (parse_insn): Support .d8 suffix.
816 (build_modrm_byte): Fake zero displacement for .d8 and .d32
817 suffixes.
818
819 * doc/c-i386.texi: Document .d8 suffix.
820
821 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
822
823 * write.c (fix_new_internal): Don't mark used parameter as unused.
824
825 2012-01-17 Alan Modra <amodra@gmail.com>
826
827 * as.c (parse_args): Update copyright message year.
828
829 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
830
831 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
832
833 * doc/c-i386.texi: Document vmfunc.
834
835 2012-01-13 Tristan Gingold <gingold@adacore.com>
836
837 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
838 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
839 (obj_mach_o_reorder_section_relocs): Declare.
840
841 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
842
843 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
844 absolute indirect symbols.
845
846 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
847
848 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
849 (obj_mach_o_set_section_vma): New.
850 (obj_mach_o_post_relax_hook): New.
851 * config/obj-macho.h (md_post_relax_hook): Define.
852 (obj_mach_o_post_relax_hook): Declare.
853
854 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
855
856 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
857 lazy when the symbol is private_extern.
858 (obj_mach_o_indirect_sym): New type.
859 (obj_mach_o_indirect_symbol): New.
860 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
861 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
862 (obj_macho_frob_label): Likewise. Adjust external and comm
863 symbol tests.
864 (obj_mach_o_set_indirect_symbols): New.
865 (obj_mach_o_frob_file_after_relocs): New.
866 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
867 (obj_mach_o_frob_file_after_relocs): Declare.
868
869 2012-01-12 Tristan Gingold <gingold@adacore.com>
870
871 PR gas/13591
872 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
873
874 2012-01-10 Tristan Gingold <gingold@adacore.com>
875
876 * struc-symbol.h (struct symbol_flags): New struct, created from...
877 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
878 (struct local_symbol): Replace lsy_marker field by lsy_flags.
879 Adjust comment.
880 (local_symbol_resolved_p): Adjust.
881 (local_symbol_mark_resolved): Likewise.
882 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
883 (local_symbol_make, local_symbol_convert, colon)
884 (symbol_clone_if_forward_ref, verify_symbol_chain)
885 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
886 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
887 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
888 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
889 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
890 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
891 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
892 (symbol_mark_mri_common, symbol_clear_mri_common)
893 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
894 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
895 (symbol_equated_reloc_p, dot_symbol_init)
896 (print_symbol_value_1): Adjust.
897
898 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
899
900 * config/obj-macho.c (obj_mach_o_weak): Remove.
901 (obj_mach_o_common_parse): Set symbol qualifiers.
902 (LAZY, REFE): New macros.
903 (obj_mach_o_symbol_type): New enum.
904 (obj_mach_o_set_symbol_qualifier): New.
905 (obj_mach_o_sym_qual): New.
906 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
907 a dummy function.
908 (obj_mach_o_type_for_symbol): New.
909 (obj_macho_frob_label): New.
910 (obj_macho_frob_symbol): New.
911 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
912 (obj_frob_label, obj_macho_frob_label): Declare.
913 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
914
915 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
916
917 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
918
919 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
920 Richard Sandiford <rdsandiford@googlemail.com>
921
922 * config/tc-mips.c (mips_move_labels): Take the list of labels and
923 textness as parameters.
924 (mips_move_text_labels): New function.
925 (append_insn): Use it instead of mips_move_labels.
926 (mips_emit_delays, start_noreorder): Likewise.
927 (mips_align): Take the labels rather than just one label.
928 Move all labels to after the .align.
929 (s_align): Change the last argument to mips_align.
930 (s_cons): Likewise.
931 (s_float_cons): Likewise.
932 (s_gpword): Likewise.
933 (s_gpdword): Likewise.
934
935 2012-01-06 Tristan Gingold <gingold@adacore.com>
936
937 * config/tc-i386.c: Update copyright year.
938 (lex_got): Also defined for Mach-O.
939 Add a guard for non-ELF configuration.
940 (md_longopts): Also handle -64 for Mach-O.
941 (md_parse_option): Likewise.
942 (i386_target_format): Adjust for x86_64-darwin.
943
944 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
945
946 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
947 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
948 (obj_mach_o_make_or_get_sect): Likewise.
949 (obj_mach_o_section): Split out the functionality shared with zerofill.
950 (obj_mach_o_zerofill): New.
951 (obj_mach_o_common_parse): Ensure whitespace is skipped.
952 (mach_o_pseudo_table): Add .zerofill.
953
954 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
955
956 * config/obj-macho.c (obj_macho_process_stab): New.
957 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
958 (obj_macho_process_stab): Declare.
959
960 For older changes see ChangeLog-2011
961 \f
962 Local Variables:
963 mode: change-log
964 left-margin: 8
965 fill-column: 74
966 version-control: never
967 End:
This page took 0.050345 seconds and 3 git commands to generate.