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