gold/
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
28ad2e2d
ME
12012-10-31 David Holsgrove <david.holsgrove@xilinx.com>
2
3 * config/tc-microblaze.c: Check for weak symbols before
4 emitting relocation.
5
0c5daaa9
AM
62012-10-29 Alan Modra <amodra@gmail.com>
7
8 * sb.c (sb_check): Use __builtin_clzll when size_t is not the
9 same size as long.
10
ce23608f
AM
112012-10-29 Alan Modra <amodra@gmail.com>
12
13 * config/tc-ppc.c (ppc_znop): Remove unused vars.
14
1fe532cf
AM
152012-10-26 Alan Modra <amodra@gmail.com>
16
17 PR target/14758
18 * config/tc-ppc.c (ppc_setup_opcodes): Fix comment.
19 (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64.
20 (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
21
ef8e09a0
SB
222012-10-22 Simon Baldwin <simonb@google.com>
23
24 * as.c (dump_statistics): Compute data size as the delta between
25 current sbrk(0) and start_sbrk.
26 * (main): Set start_sbrk to sbrk(0) on entry.
27
70e0ee1a
KT
282012-10-18 Kai Tietz <ktietz@redhat.com>
29
c207c2c6
KT
30 * config/obj-coff.c: Add include of struc-symbol.h header.
31 (coff_frob_symbol): Check that function-aux entries are generated for
32 defined symbols only.
33
70e0ee1a
KT
34 * doc/as.texinfo: Add missing documentation about section flag
35 exclude.
36
26cbfa82
DA
372012-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
38
8c57c799
DA
39 * config/tc-hppa.c (pa_get_number): New.
40 (pa_get_absolute_expression): Simplify.
41 (pa_ip): Use pa_get_number instead of pa_get_absolute_expression
42 to get SOP, SFU and COPR identifiers.
43
26cbfa82
DA
44 * config/tc-hppa.c (pa_ip): Reject double floating point stores and
45 loads that reference the right half of a floating point register.
46
aa710880
DA
472012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
48
49 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to those
50 not involving a carry.
51
b36546d2
PB
522012-10-12 Peter Bergner <bergner@vnet.ibm.com>
53
54 * doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
55
56c0a61f
RE
562012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
57
58 * config/tc-arm.c: Change condition code insertion for
59 lds[hb] instructions from after the 2nd character to after the 3rd.
60 (tCM): Remove macro.
61 (TxCM): Likewise.
62 (TxCM_): Likewise.
63 (TCM): Likewise.
64
5e5c50d3
NE
652012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
66
67 * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
68 * doc/c-i386.texi: Add -march=bdver3 option.
69
04ee5257
NC
702012-10-04 Nick Clifton <nickc@redhat.com>
71
72 * config/tc-v850.c (v850_insert_operand): Use a static buffer for
73 the error message.
74
cfc72779
AK
752012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76
77 * config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
78 * doc/as.texinfo: Document new option zEC12.
79 * doc/c-s390.texi: Likewise.
80
cbf1fdc9
DD
812012-10-03 DJ Delorie <dj@redhat.com>
82
83 * config/tc-rl78.c: Change line_separator to '@' so that '|' can
84 be used in expressions.
85
4fc0b46e
AM
862012-10-01 Alan Modra <amodra@gmail.com>
87
88 * write.c (chain_frchains_together_1): Reorder assertion to avoid
89 uninit warning.
90
b886a2ab
RS
912012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
92
93 * config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
94 * config/tc-mips.c (calculate_reloc): New function.
95 (append_insn): Use it. Do not resolve compound relocations here.
96 (mips16_macro_build, mips16_ip): Use calculate_reloc.
97 (mips16_immed_extend): New function, split out from...
98 (mips16_immed): ...here.
99 (mips_frob_file): Handle null symbols.
100 (mips_force_relocation): Remove NEWABI handling.
101 (read_reloc_insn, write_reloc_insn): New functions.
102 (md_apply_fix): Report TLS relocations against constants.
103 Use read_reloc_insn, calculate_reloc and write_reloc_insn.
104 Report relocations against constants that can't be resolved
105 at assembly time.
106
335574df
RS
1072012-09-23 Maciej W. Rozycki <macro@codesourcery.com>
108
109 * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
110 mark as incomplete for constant expressions.
111 <BFD_RELOC_MIPS16_JMP>: Likewise.
112
e1b47bd5
RS
1132012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
114 Maciej W. Rozycki <macro@codesourcery.com>
115
116 * config/tc-mips.h (mips_record_label): Delete.
117 (mips_add_dot_label): Declare.
118 (tc_new_dot_label): Use it.
119 * config/tc-mips.c (mips_assembling_insn): New variable.
120 (md_assemble): Call mips_mark_labels. Set mips_assembling_insn
121 while the main part of the function is executing.
122 (mips_compressed_mark_label): New function, split out from...
123 (mips_compressed_mark_labels): ...here.
124 (append_insn): Don't call mips_mark_labels here.
125 (mips_record_label): Make local.
126 (mips_add_dot_label): New function.
127
43c0598f
RS
1282012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
129
130 * config/tc-mips.c (SEXT_16BIT): New macro.
131 (mips16_immed): Take the reloc type as a parameter. Do not impose
132 a signed vs. unsigned distinction on the value when a relocation
133 operator was used.
134 (mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
135 type to mips16_immed.
136 (macro): Use SEXT_16BIT.
137
4d68580a
RS
1382012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
139
140 * config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
141 New functions.
142 (install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
143 Use them, and write_compressed_insn.
144
5c04167a
RS
1452012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
146
147 * config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
148 (MIPS16_EXTEND): New macro.
149 (mips16_opcode_length): New function.
150 (insn_length): Use it.
151 (create_insn): Update after mips_cl_insn change.
152 (write_compressed_insn): New function.
153 (install_insn): Use it.
154 (append_insn): Use insn_length to check for unextended MIPS16
155 instructions.
156 (mips16_macro_build): Update call to mips16_immed.
157 (mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
158 instruction.
159 (mips16_immed): Remove use_extend and extend; install EXTEND
160 opcodes in the upper 16 bits of *INSN instead. Keep the
161 instruction extended if it already is. Replace warn, small
162 and ext with a forced_insn_length-like parameter.
163 (md_convert_frag): Update call mips16_immed.
164 Use write_compressed_insn.
165
60aa667e
L
1662012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
167
168 * config/tc-i386.c (cpu_arch): Add .cx16.
169 * doc/c-i386.texi: Document .cx16.
170
c76b75fd
SE
1712012-09-19 Steve Ellcey <sellcey@mips.com>
172
173 * configure.tgt: Add mips*-mti-elf* target.
174
4b8c8c02
RE
1752012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
176
177 * config/tc-arm.c: Changed ldra and strl-form mnemonics
178 to lda and stl-form for armv8.
179
5a1ad39d
RE
1802012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
181
182 * config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.
183
6c9c0a50
DE
1842012-09-14 David Edelsohn <dje.gcc@gmail.com>
185
186 * configure: Regenerate.
187
e202fa84
AG
1882012-09-13 Anthony Green <green@moxielogic.com>
189
190 * config/tc-moxie.h (DEFAULT_TARGET_FORMAT): Define.
191 (TARGET_FORMAT): Don't hard-code endian-ness.
192 * config/tc-moxie.c (target_big_endian, moxie_target_format):
193 Define.
194 (md_assemble): Handle bi-endian encodings.
195 (md_shortopts, md_parse_option, md_show_usage, md_apply_fix)
196 (md_number_to_chars, md_chars_to_number): Update for bi-endian
197 support.
198
f41aef5f
RE
1992012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
200
201 * config/tc-aarch64.c
202 (reloc_table): Add reloc to table entry.
203 (parse_address_main): Add support for #:<reloc_op>:<symbol>.
204 (parse_operands): Check for unused reloc.
205 (md_apply_fix): New case for reloc.
206 (aarch64_force_relocation): Likewise.
1179bed3
DC
207
2082012-09-11 Georg-Johann Lay <avr@gjlay.de>
209
210 PR gas/13503
211 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO,
212 BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO.
213
5c7a0b3e
AM
2142012-09-11 Alan Modra <amodra@gmail.com>
215
216 * Makefile.am (bootstrap): Add $EXEEXT to dependency.
217 * Makefile.in: Regenerate.
218
00716ab1
AM
2192012-09-10 Matthias Klose <doko@ubuntu.com>
220
221 * config.in: Disable sanity check for kfreebsd.
222
6d2920c8
L
2232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
224
225 * configure: Regenerated.
226
7078b409
AG
2272012-09-07 Anthony Green <green@moxielogic.com>
228
229 * config/tc-moxie.c (md_pcrel_from): Branches are now relative
6d2920c8 230 to the address following the branch instruction.
7078b409 231
1dd53816
AK
2322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
233
234 * config/tc-s390.c (set_highgprs_p): New variable.
235 (s390_machinemode): New function.
236 (md_pseudo_table): Add new pseudo command machinemode.
237 (md_parse_option): Set set_highgprs_p to TRUE if -mzarch was
238 specified on command line.
239 (s390_elf_final_processing): Set the highgprs flag in the ELF
240 header depending on set_highgprs_p.
241
242 * doc/c-s390.texi: Document new pseudo machinemode.
243
47527d7e
JL
2442012-09-05 James Lemke <jwlemke@codesourcery.com>
245
246 * doc/c-ppc.texi: Document -mvle.
b4b783be 247 * doc/as.texinfo: Likewise.
47527d7e 248
b3e14eda
L
2492012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com>
250
251 * config/tc-ia64.c (reg_symbol): Add a new register.
252 (indirect_reg): Ditto.
253 (pseudo_func): Add new symbolic constants.
254 (operand_match): Add new operand types recognition.
255 (operand_insn): Add new register recognition.
256 (md_begin): Add new register definition.
257 (specify_resource): Add new register recognition.
258
6c106515
HPN
2592012-09-01 Hans-Peter Nilsson <hp@bitrange.com>
260
261 PR gas/14521
262 * config/tc-mmix.h (tc_frob_file_before_fix): Renumber sections
263 after call to mmix_frob_file.
264
b1929900
MR
2652012-08-31 Maciej W. Rozycki <macro@codesourcery.com>
266
267 * doc/c-mips.texi (MIPS Opts): Correct a typo in the -mips5
268 option.
269
e5b95258
WL
2702012-08-27 Walter Lee <walt@tilera.com>
271
272 * tc-tilegx.c (O_hw0_plt): Define operator.
273 (O_hw1_plt): Ditto.
274 (O_hw1_last_plt): Ditto.
275 (O_hw2_last_plt): Ditto.
276 (md_begin): Handle new operators.
277 (emit_tilegx_instruction): Ditto.
278 (md_apply_fix): Ditto.
279 * doc/c-tilegx.texi: Document new operators.
280
3c9017d2
MGD
2812012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
282
283 * config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
284 (do_sha1h): New function.
285 (do_sha1su1): Likewise.
286 (do_sha256su0): Likewise.
287 (insns): Add 2 operand SHA instructions.
288
48adcd8e
MGD
2892012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
290
291 * config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
292 (do_crypto_3op_1): New function.
293 (do_sha1c): Likewise.
294 (do_sha1p): Likewise.
295 (do_sha1m): Likewise.
296 (do_sha1su0): Likewise.
297 (do_sha256h): Likewise.
298 (do_sha256h2): Likewise.
299 (do_sha256su1): Likewise.
300 (insns): Add SHA 3 operand instructions.
301
4f51b4bd
MGD
3022012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
303
304 * config/tc-arm.c (neon_type_mask): Add P64 type.
305 (type_chk_of_el_type): Handle P64 type.
306 (el_type_of_type_chk): Likewise.
307 (do_neon_vmull): Handle VMULL.P64.
308
91ff7894
MGD
3092012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
310
311 * config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
312 (neon_type_mask): Add N_UNT.
313 (neon_check_type): Don't always decay typed to untyped sizes.
314 (do_crypto_2op_1): New function.
315 (do_aese): Likewise.
316 (do_aesd): Likewise.
317 (do_aesmc.8): Likewise.
318 (do_aesimc.8): Likewise.
319 (insns): Add AES instructions.
320
c70a8987
MGD
3212012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
322
323 * config/tc-arm.c (el_type_type_check): Add handling for 16-bit
324 floating point types.
325 (do_neon_cvttb_2): New function.
326 (do_neon_cvttb_1): Likewise.
327 (do_neon_cvtb): Refactor to use do_neon_cvttb_1.
328 (do_neon_cvtt): Likewise.
329
30bdf752
MGD
3302012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
331
332 * config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
333 (neon_cvt_mode): Add neon_cvt_mode_r.
334 (do_vrint_1): New function.
335 (do_vrint_x): Likewise.
336 (do_vrint_z): Likewise.
337 (do_vrint_r): Likewise.
338 (do_vrint_a): Likewise.
339 (do_vrint_n): Likewise.
340 (do_vrint_p): Likewise.
341 (do_vrint_m): Likewise.
342 (insns): Add VRINT instructions.
343
7e8e6784
MGD
3442012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
345
346 * config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
347 (neon_cvt_mode): New enumeration.
348 (do_vfp_nsyn_cvt_fpv8): New function.
349 (do_neon_cvt_1): Add support for new conversions.
350 (do_neon_cvtr): Use neon_cvt_mode enumerator.
351 (do_neon_cvt): Likewise.
352 (do_neon_cvta): New function.
353 (do_neon_cvtn): Likewise.
354 (do_neon_cvtp): Likewise.
355 (do_neon_cvtm): Likewise.
356 (insns): Add new VCVT instructions.
357
6b9a8b67
MGD
3582012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm>
359
360 * config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
361 (CVT_VAR): New helper define.
362 (neon_cvt_flavour): New enumeration, function renamed...
363 (get_neon_cvt_flavour): ...to this.
364 (do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
365 (do_vfp_nsyn_cvtz): Likewise.
366 (do_neon_cvt_1): Likewise.
367
73924fbc
MGD
3682012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
369
370 * config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
371 (vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
372 (vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
373 (do_maxnm): New function.
374 (insns): Add vmaxnm, vminnm entries.
375
33399f07
MGD
3762012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
377
378 * config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
379 (NEON_ENC_FPV8_): New define.
380 (do_vfp_nsyn_fpv8): New function.
381 (do_vsel): Likewise.
382 (insns): Add VSEL instructions.
383
9eb6c0f1
MGD
3842012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
385
386 * config/tc-arm.c (do_rm_rn): New function.
387 (do_strlex): Likewise.
388 (do_t_strlex): Likewise.
389 (insns): Add support for LDRA/STRL instructions.
390
8884b720
MGD
3912012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
392
393 * config/tc-arm.c (do_t_bkpt_hlt1): New function.
394 (do_t_hlt): New function.
395 (do_t_bkpt): Use do_t_bkpt_hlt1.
396 (insns): Add HLT.
397
b79f7053
MGD
3982012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
399
400 * config/tc-arm.c (insns): Add DCPS instruction.
401
53c4b28b
MGD
4022012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
403
404 * config/tc-arm.c (T16_32_TAB): Add _sevl.
405 (insns): Add SEVL.
406
e797f7e0
MGD
4072012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
408
409 * config/tc-arm.c (asm_barrier_opt): Add arch field.
410 (mark_feature_used): New function.
411 (parse_barrier): Check specified option is valid for the
412 specified architecture.
413 (UL_BARRIER): New macro.
414 (barrier_opt_names): Update for new barrier options.
415
12e37cbc
MGD
4162012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
417
418 * config/tc-arm.c (do_setend): Warn on deprecated SETEND.
419 (do_t_setend): Likewise.
420
5a01bb1d
MGD
4212012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
422
423 * config/tc-arm.c (do_t_it): Fully initialise now_it.
424 (new_automatic_it_block): Likewise.
425 (handle_it_block): Record whether current instruction is
426 conditionally executed.
427 * config/tc-arm.c (depr_insn_mask): New structure.
428 (depr_it_insns): New variable.
429 (it_fsm_post_encode): Warn on deprecated uses.
430 * config/tc-arm.h (current_it): Add new fields.
431
dcbd0d71
MGD
4322012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
433
434 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
435 (deprecated_coproc_regs): New variable.
436 (deprecated_coproc_reg_count): Likewise.
437 (do_co_reg): Error on obsolete & warn on deprecated registers.
438
59d09be6
MGD
4392012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
440
441 * config/tc-arm.c (check_obsolete): New function.
442 (do_rd_rm_rn): Check swp{b} for obsoletion.
443
bca38921
MGD
4442012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
445
446 * config/tc-arm.h (arm_ext_v8): New variable.
447 (fpu_vfp_ext_armv8): Likewise.
448 (fpu_neon_ext_armv8): Likewise.
449 (fpu_crypto_ext_armv8): Likewise.
450 (arm_archs): Add armv8-a.
451 (arm_extensions): Add crypto, fp, and simd.
452 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
453 (cpu_arch_ver): Add support for ARMv8.
454 (aeabi_set_public_sttributes): Likewise.
455 * doc/c-arm.texi (ARM Options): Document new architecture and
456 extension options for ARMv8.
457
542385d9
L
4582012-08-20 H.J. Lu <hongjiu.lu@intel.com>
459
460 * doc/as.texinfo: Replace --n32 with --x32.
461
7b458c12
L
4622012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
463
464 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
465 CPU_BTVER2_FLAGS.
466 (i386_align_code): Add case for PROCESSOR_BT.
467
468 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
469
470 * doc/c-i386.texi: Add -march={btver1, btver2} options.
471
f76bf5e0
L
4722012-08-14 H.J. Lu <hongjiu.lu@intel.com>
473
474 PR gas/14457
475 * config/tc-i386.c (i386_att_operand): Terminate register name
476 when reporting bad register.
477
c3330fbe
HPN
4782012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
479
480 * config/tc-mmix.c (loc_asserts): New variable.
481 (mmix_greg_internal): Handle expressions not determinable at first
482 pass.
483 (s_loc): Ditto. Record expressions where the section isn't
484 determinable at the first pass, and assume they don't refer to
485 other sections.
486 (mmix_md_end): Verify that recorded LOC expressions weren't
487 to other sections, else emit error messages.
488
a06ea964
NC
4892012-08-13 Ian Bolton <ian.bolton@arm.com>
490 Laurent Desnogues <laurent.desnogues@arm.com>
491 Jim MacArthur <jim.macarthur@arm.com>
492 Marcus Shawcroft <marcus.shawcroft@arm.com>
493 Nigel Stephens <nigel.stephens@arm.com>
494 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
495 Richard Earnshaw <rearnsha@arm.com>
496 Sofiane Naci <sofiane.naci@arm.com>
497 Tejas Belagod <tejas.belagod@arm.com>
498 Yufeng Zhang <yufeng.zhang@arm.com>
499
500 * Makefile.am: Add AArch64.
501 * Makefile.in: Regenerate.
502 * config/tc-aarch64.c: New file.
503 * config/tc-aarch64.h: New file.
504 * configure.tgt: Add AArch64.
505 * doc/Makefile.am: Add AArch64.
506 * doc/Makefile.in: Regenerate.
507 * doc/all.texi: Add AArch64.
508 * doc/as.texinfo: Add AArch64.
509 * doc/c-aarch64.texi: New file.
510 * po/POTFILES.in: Regenerate.
511 * NEWS: Mention the new support.
512
35d0a169
MR
5132012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
514
515 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
516 (is_opcode_valid): Remove coprocessor instruction exclusions.
517 Replace OPCODE_IS_MEMBER with opcode_is_member.
518 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
519 opcode_is_member.
520 (macro): Remove coprocessor instruction exclusions.
521
a276b80c
MR
5222012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
523
524 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
525 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
526
848930b2
JB
5272012-08-07 Jan Beulich <jbeulich@suse.com>
528
529 * config/tc-i386-intel.c (build_modrm_byte): Split determining
530 default segment from figuring out encoding. Honor RegRex for
531 the former.
532
7bab8ab5
JB
5332012-08-07 Jan Beulich <jbeulich@suse.com>
534
535 * config/tc-i386.c (set_check): Renamed from set_sse_check.
536 Generalize to also handle operand checking option.
537 (enum i386_error): New enumerator 'invalid_vector_register_set'.
538 (match_template): Handle it.
539 (enum check_kind): Give it a tag. Drop sse_ prefixes from
540 enumerators.
541 (operand_check): New.
542 (md_pseudo_table): Add "operand_check".
543 (check_VecOperands): Don't special case RIP addressing. Check
544 that vSIB operands use distinct vector registers unless no
545 checking was requested.
546 (OPTION_MOPERAND_CHECK): New.
547 (md_parse_option): Handle it.
548 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
549 (md_longopts): Add "moperand-check".
550 (md_show_usage): Add help text for it.
551
4c692bc7
JB
5522012-08-07 Jan Beulich <jbeulich@suse.com>
553
554 * config/tc-i386.c (register_number): New function.
555 (build_vex_prefix, process_immext, process_operands,
556 build_modrm_byte, i386_index_check): Use it.
557
a988325c
NC
5582012-08-07 Daniel Green <venix1@gmail.com>
559
560 * config/tc-i386.c (lex_got): Provide implementation for PE
561 format.
562
464ab0e5
MR
5632012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
564
565 * config/tc-mips.c (append_insn): Also handle moving delay-slot
566 instruction across frags for fixed branches.
567
3db8daf3
MR
5682012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
569
570 * frags.c (frag_grow): Never shrink the obstack size requested
571 below the default.
572
03d46c0e
SK
5732012-08-02 Sean Keys <skeys@ipdatasys.com>
574
575 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
576 New function to parse pseudo ops that are unreleated to
577 existing pseudo ops.
578
711eefe4
SL
5792012-08-01 Catherine Moore <clm@codesourcery.com>
580 Sandra Loosemore <sandra@codesourcery.com>
581
582 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
583 * doc/c-mips.texi (MIPS Opts): Document it.
584
8fbf7334
JL
5852012-08-01 James Lemke <jwlemke@codesourcery.com>
586
4e47244d 587 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
8fbf7334 588 DWARF2_LINE_MIN_INSN_LENGTH
4e47244d 589 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
8fbf7334
JL
590 and initialize.
591 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
4e47244d 592 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
8fbf7334
JL
593 variable reference.
594
03f66e8a 5952012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
4e47244d
L
596 Chao-Ying Fu <fu@mips.com>
597 Catherine Moore <clm@codesourcery.com>
03f66e8a 598
7a2d09cc
MR
599 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
600 mode.
601 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
602 (macro_build) <'2'>: Handle microMIPS.
03f66e8a
MR
603 (macro) <M_BALIGN>: Update error handling.
604 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
605 <'7', '8', '0', '@', '^'>: Likewise.
606 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
607 <'9'>: Fix formatting.
608 <'0', '@'>: Handle microMIPS.
609 <'^'>: New case.
610
4a2608e3
JB
6112012-07-31 Jan Beulich <jbeulich@suse.com>
612
613 * config/tc-i386.c (match_template): Adjust error message
614 for 'bad_imm4' case.
615
5a819eb9
JB
6162012-07-31 Jan Beulich <jbeulich@suse.com>
617
618 * config/tc-i386.c (check_byte_reg): Check for I/O port
619 register earlier, and just once. Drop diagnostic that got
620 issued only for some registers.
621
5614d22c
JB
6222012-07-31 Jan Beulich <jbeulich@suse.com>
623
624 * config/tc-i386.c (match_template): New local variable
625 'specific_error'. Set it from i.error after failed
626 check_VecOperands or VEX_check_operands. Use it if set in
627 preference to i.error when actually issuing disagnostic.
628
a6dc81d2
NC
6292012-07-30 Nick Clifton <nickc@redhat.com>
630
631 * po/gas.pot: Updated template.
632 * po/es.po: Updated Spanish translation.
633 * po/fi.po: Updated Finnish translation.
634 * po/fr.po: Updated French translation.
635
c4dd807e
MF
6362012-07-27 Mike Frysinger <vapier@gentoo.org>
637
638 * configure.in (BFD_VERSION): Run bfd/configure --version and
639 parse the output of that.
640 * configure: Regenerate.
641
af18cb59
TG
6422012-07-27 Tristan Gingold <gingold@adacore.com>
643
644 * NEWS: Add marker for 2.23.
645
204d254e
SK
6462012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
647
648 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
649
c71bb85d
SB
6502012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
651
652 * listing.c (struct list_message): New.
653 (struct list_info_struct): Delete "message". Add "messages"
654 and "last_message".
655 (listing_message): Adjust.
656 (listing_newline): Adjust.
657 (print_lines): Adjust.
658
9e2934f7
JB
6592012-07-24 Jan Beulich <jbeulich@suse.com>
660
661 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
662 xmm/ymm index register being specified first as well as esp/rsp
663 base register being specified last in a memory operand.
664
8280f326
JB
6652012-07-24 Jan Beulich <jbeulich@suse.com>
666
667 * config/tc-i386-intel.c (i386_intel_simplify_register):
668 Replace literal 4 by corresponding ESP_REG_NUM.
669
5e73442d
SL
6702012-07-24 Sandra Loosemore <sandra@codesourcery.com>
671 Jie Zhang <jzhang918@gmail.com>
672
673 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
674 if offset is negative.
675
e2e1fcde
L
6762012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
677
678 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
679 * doc/c-i386.texi: Document the new directives.
680
6b0d957e 6812012-07-05 Sean Keys <skeys@ipdatasys.com>
4e47244d
L
682
683 * config/tc-xgate.c: Revised assembler so that operands
684 are collected before the addressing mode is determined.
6b0d957e 685
586ec8c1
NC
6862012-07-02 Nick Clifton <nickc@redhat.com>
687
688 * write.c (fixup_segment): Only perform the subtraction of an
689 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
690 properly defined.
691 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
692
e95a6b1c
AM
6932012-06-30 Alan Modra <amodra@gmail.com>
694
695 PR gas/14315
696 * config/obj-elf.c (obj_elf_weak): Don't set local.
697
08ea7020
AM
6982012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
699
700 * frags.h (frag_offset_fixed_p): Update prototype.
701 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
702 * expr.c (expr, resolve_expression): Likewise for frag_off var.
703
99aad254
NC
7042012-06-29 Nick Clifton <nickc@redhat.com>
705
706 PR gas/14263
707 * config/tc-arm.c (parse_operands): Initialise val.
708
2b2f5df9
NC
7092012-06-28 Nick Clifton <nickc@redhat.com>
710
711 PR gas/14260
712 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
713 message if literal pool addressing is used.
714
453dc3f0
NC
7152012-06-28 Nick Clifton <nickc@redhat.com>
716
717 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
718 linker relaxation.
719 (dwarf2_gen_line_info): Generate real, local, labels for line
720 numbers.
721 (dwarf2dbg_convert_frag): Do not finalize the computation of the
722 frag's symbol value when linker relaxation is enabled.
723 (ADDR_DELTA_LIMIT): Define.
724 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
725 (emit_fixed_inc_line_addr): Likewise.
726 * write.c (fixup_segment): If the subtraction of two symbols
727 cannot be resolved but is valid, then prevent bogus range warnings
728 by pre-biasing add_number.
729 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
730
6b0d957e
SK
7312012-06-28 Sean Keys <skeys@ipdatasys.com>
732
4e47244d
L
733 * config/tc-xgate.h: Defined tc_frob_symbol.
734 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
735 symbols as being XGATE by setting st_target_internal value.
6b0d957e 736
29c048b6
RM
7372012-06-22 Roland McGrath <mcgrathr@google.com>
738
fe13e45b
RM
739 * NEWS: Mention 'rep ret' too.
740
29c048b6
RM
741 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
742 when the template has opcode_modifier.repprefixok set.
743 * NEWS: Mention the change.
744
a574142b
AM
7452012-06-18 Iain Sandoe <iain@codesourcery.com>
746
747 * configure.in: Check DECLS for free, getenv, malloc, realloc,
748 * configure: Regenerate.
749 * config.in: Likewise.
750
357d1bd8
L
7512012-06-13 H.J. Lu <hongjiu.lu@intel.com>
752
753 * config/tc-i386.c (x86_address_bytes): New.
754 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
755 (x86_address_bytes): Likewise.
756
1a43faaf
NC
7572012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
758
759 PR gas/12698
760 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
761 architecure when assembling for all archiectures.
762 (do_t_msr): Likewise.
763
e4efb665
NC
7642012-06-11 Georg-Johann Lay <avr@gjlay.de>
765
766 PR 13503
767 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
768 from 2012-05-16.
769
d2ae702c
L
7702012-06-09 H.J. Lu <hongjiu.lu@intel.com>
771
772 * input-scrub.c (input_scrub_include_sb): Use sb_build to
773 allocate sufficient space for from_sb. Use sb_terminate to
774 terminate string.
775 * read.c (read_a_source_file): Use sb_build to allocate
776 sufficient space and replace sb_add_string with sb_add_buffer.
777 (s_macro): Likewise.
778 (input_scrub_insert_line): Likewise.
779 (s_irp): Use sb_build to allocate sufficient space.
780 (do_repeat): Use sb_build to allocate sufficient space
781 for many.
782 * sb.c (sb_build): Remove static.
783 * sb.h (sb_build): New prototype.
784
5197bfb5
AM
7852012-06-09 Alan Modra <amodra@gmail.com>
786
787 * sb.c: Include limits.h.
788 (dsize): Delete.
789 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
790 (sb_new): Use INIT_ALLOC.
791 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
792 (sb_terminate): Don't use sb_add_char.
793
39a45edc
AM
7942012-06-07 Alan Modra <amodra@gmail.com>
795
796 PR gas/14201
797 * sb.h (sb_max_power_two): Delete.
798 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
799 (sb_element): Delete.
800 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
801 prototypes.
802 * sb.c (string_count, free_list): Delete.
803 (sb_build, sb_kill, sb_check): Rewrite.
804 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
805 sb_skip_white, sb_skip_comma): Replace assorted int params,
806 vars and return types with size_t.
807 * input-scrub.c: Likewise.
808 * macro.c: Likewise.
809 * macro.h: Likewise.
810 * as.c: Likewise.
811 * as.h: Likewise.
812 * input-file.h: Likewise.
813 * input-file.c: Likewise.
814 * read.c: Likewise.
815 * app.c: ..or ptrdiff_t.
816 * input-file.c (input_file_get): Use ferror.
817 (input_file_give_next_buffer): Use input_file_get.
818
6b0d957e
SK
8192012-05-31 Sean Keys <skeys@ipdatasys.com>
820
4e47244d 821 * config/tc-xgate.c (md_begin): Refactored code.
6b0d957e 822
d416e51d
RM
8232012-05-29 Roland McGrath <mcgrathr@google.com>
824
825 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
826 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
827 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
828 pairs.
829
7bfd842d
NC
8302012-05-28 Nick Clifton <nickc@redhat.com>
831
832 * read.c (read_symbol_name): New function. Reads a symbol names.
833 Allows escape codes in names.
834 (s_comm_internal): Use read_symbol_name.
835 (s_globl, s_lsym, s_set, s_weakref): Likewise.
836 * doc/as.texinfo: Document support for multibyte characters in
837 symbol names.
838
95bfe26e
MF
8392012-05-21 Mike Frysinger <vapier@gentoo.org>
840
841 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
842 is non-NULL.
843
59365e19
AM
8442012-05-19 Alan Modra <amodra@gmail.com>
845
846 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
847 targets when checking for "comdat".
848
f3719d90
AM
8492012-05-19 Alan Modra <amodra@gmail.com>
850
851 * config/tc-dlx.c (s_proc): Don't use asprintf.
852
74cda0c4
AM
8532012-05-18 Alan Modra <amodra@gmail.com>
854
855 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
856 return value.
857
d6ed37ed
AM
8582012-05-18 James Lemke <jwlemke@codesourcery.com>
859 Alan Modra <amodra@gmail.com>
860
861 * config/tc-ppc.c: Don't capitalise error and warning messages.
862 (md_parse_option): Add checks for -a32 -mvle.
863
222661cb
AM
8642012-05-18 Alan Modra <amodra@gmail.com>
865
866 * config/obj-evax.c: Include as.h first.
867
f2c621e4
AS
8682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
869
870 * aclocal.m4: Regenerate.
871 * configure: Regenerate.
872 * Makefile.in: Regenerate.
873
df7b86aa
NC
8742012-05-17 Daniel Richard G. <skunk@iskunk.org>
875 Nick Clifton <nickc@redhat.com>
876
877 PR 14072
878 * configure.in: Add check that sysdep.h has been included before
879 any system header files.
880 * configure: Regenerate.
881 * config.in: Regenerate.
882 * aclocal.m4: Regenerate.
883 * Makefile.am: Use wrappers around C files generated by flex.
884 * Makefile.in: Regenerate.
885 * doc/Makefile.in: Regenerate.
886 * itbl-lex-wrapper.c: New file.
887 * config/bfin-lex-wrapper.c: New file.
888 * cgen.c: Include as.h before setjmp.h.
889 * config/tc-dlx.c: Include as.h before any other header.
890 * config/tc-h8300.c: Likewise.
891 * config/tc-lm32.c: Likewise.
892 * config/tc-mep.c: Likewise.
893 * config/tc-microblaze.c: Likewise.
894 * config/tc-mmix.c: Likewise.
895 * config/tc-msp430.c: Likewise.
896 * config/tc-or32.c: Likewise.
897 * config/tc-tic4x.c: Likewise.
898 * config/tc-tic54x.c: Likewise.
899 * config/tc-xtensa.c: Likewise.
900
a0f49396
NC
9012012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
902
903 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
904 as the first argument for `bfd_get_section_vma'.
905
536695d0
NC
9062012-05-16 Alberto Garcia <agarcia@igalia.com>
907
908 PR gas/14082
909 * app.c (do_scrub_chars): Prevent possible out of bounds access to
910 lex[] array.
911
40551fb8
NC
9122012-05-16 Georg-Johann Lay <avr@gjlay.de>
913
914 PR target/13503
915 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
916 R_AVR_8_HLO8.
917 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
918 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
919
c1c30076
NS
9202012-05-16 Nathan Sidwell <nathan@codesourcery.com>
921 Kwok Cheung Yeung <kcy@codesourcery.com>
922
923 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
924 51qm variants.
925
6927f982
NC
9262012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
927
928 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
929 Add option to offset S12 addresses into XGATE memory space.
930 Tweak target flags to match other tools. (i.e. -m m68hc11).
931 * doc/as.texinfo: Mention new options.
932 * doc/c-m68hc11.texi: Document new options.
933 * NEWS: Mention new support.
934
0e25bcb4
DD
9352012-05-14 DJ Delorie <dj@redhat.com>
936
918edac3
DD
937 * config/rx-parse.y (rx_range): declare.
938 (O1,O2,O3,O4): Add calls to rx_range.
939 (UO1,UO2,UO3): Likewise.
940 (IMM2,IMMB): Likewise.
941 (rx_range): New.
942
0e25bcb4
DD
943 * config/tc-rx.c (rx_fetchalign): Declare.
944 (md_pseudo_table): Add .fetchalign.
945 (RX_NBASE_FETCHALIGN): New.
946 (fetchalign_bytes): New.
947 (rx_fetchalign): New.
948 (rx_frag_init): If a "magic" value is found, also init the
949 machine-specific data.
950 (md_assemble): Note following opcode size if called for.
951 (rx_next_opcode): New.
952 (rx_relax_frag): Support .fetchalign.
953 (md_convert_frag): Likewise.
954 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
955
b9c361e0
JL
9562012-05-14 James Lemke <jwlemke@codesourcery.com>
957
958 * config/tc-ppc.c (insn_validate): New func of existing code to call..
959 (ppc_setup_opcodes): ..from 2 places here.
960 Revise for second (VLE) opcode table.
961 Add #ifdef'd code to print opcode tables.
962
9632012-05-14 James Lemke <jwlemke@codesourcery.com>
964
965 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
966 for the VLE conditional branches.
967
9682012-05-14 Catherine Moore <clm@codesourcery.com>
969 Maciej W. Rozycki <macro@codesourcery.com>
970 Rhonda Wittels <rhonda@codesourcery.com>
971
972 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
973 (PPC_VLE_SPLIT16D): New macro.
974 (PPC_VLE_LO16A): New macro.
975 (PPC_VLE_LO16D): New macro.
976 (PPC_VLE_HI16A): New macro.
977 (PPC_VLE_HI16D): New macro.
978 (PPC_VLE_HA16A): New macro.
979 (PPC_VLE_HA16D): New macro.
980 (PPC_APUINFO_VLE): New definition.
981 (md_chars_to_number): New function.
982 (md_parse_option): Check for combinations of little
983 endian and -mvle.
984 (md_show_usage): Document -mvle.
985 (ppc_arch): Recognize VLE.
986 (ppc_mach): Recognize bfd_mach_ppc_vle.
6927f982 987 (ppc_setup_opcodes): Print the opcode table if
b9c361e0
JL
988 * config/tc-ppc.h (ppc_frag_check): Declare.
989 * doc/c-ppc.texi: Document -mvle.
990 * NEWS: Mention PowerPC VLE port.
991
9922012-05-14 Catherine Moore <clm@codesourcery.com>
993
994 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
995 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
996 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
997 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
6927f982 998 for DWARF2_LINE_MIN_INSN_LENGTH.
b9c361e0 999
56e63005
L
10002012-05-12 H.J. Lu <hongjiu.lu@intel.com>
1001
1002 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
1003 for BFD_RELOC_64.
1004
208a4923
NC
10052012-05-11 Daniel Richard G. <skunk@iskunk.org>
1006
1007 PR binutils/14028
1008 * configure.in: Invoke ACX_HEADER_STRING.
1009 * configure: Regenerate.
1010 * config.in: Regenerate.
1011 * as.h: If STRINGS_WITH_STRING is defined then include both
1012 string.h and strings.h.
1013
99700d6f
NC
10142012-05-11 Georg-Johann Lay <avr@gjlay.de
1015
1016 PR target/13503
1017 * config/tc-avr.c (exp_mod_pm): Remove variable.
1018 (exp_mod_data_t): New typedef.
1019 (pexp_mod_data, exp_mod_data): New variables.
1020 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
1021 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
1022 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
1023 (avr_cons_fix_new): Handle new data expression modifiers shipped
1024 in pexp_mod_data.
1025 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
1026 BFD_RELOC_AVR_8_HHI.
1027
268a8d3a
L
10282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
1031 addend overflow check.
1032
6f2c9068
L
10332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
1036 x32 addend overflow check.
1037
83acd3e8
L
10382012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
1041
8cf0d2dd
L
10422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
1045 for BFD_RELOC_64.
1046
e5b62927
AM
10472012-05-08 Alan Modra <amodra@gmail.com>
1048
1049 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
1050 LC and LANG environment vars.
1051 * Makefile.in: Regenerate.
1052
cce3d66c
AM
10532012-05-07 Alan Modra <amodra@gmail.com>
1054
1055 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
1056 * Makefile.in: Regenerate.
1057
25045f79
AM
10582012-05-06 Arnold Metselaar <arnold_m@operamail.com>
1059
1060 * config/tc-z80.h(md_register_arithmetic): Define as 0.
cce3d66c
AM
1061 * config/tc-z80.c(md_begin): Store register names in symbol table,
1062 preventing usage as ordinary symbol.
25045f79
AM
1063 * config/tc-z80.c(contains_register): New function.
1064 * config/tc-z80.c(parse_exp2): Removed.
1065 * config/tc-z80.c(parse_exp_not_indexed): New function.
cce3d66c
AM
1066 * config/tc-z80.c(parse_exp): Add code to recogize indexed
1067 addressing after parsing.
25045f79 1068 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
cce3d66c
AM
1069 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
1070 condition for jump to register.
1071 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
1072 parse_exp_not_indexed.
25045f79 1073
45dfa85a
AM
10742012-05-05 Alan Modra <amodra@gmail.com>
1075
1076 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
1077 bfd_und_section and bfd_ind_section with their _ptr variants, or
1078 use corresponding bfd_is_* macros.
1079 * symbols.c: Likewise.
1080 * config/obj-aout.c: Likewise.
1081 * config/obj-coff-seh.h: Likewise.
1082 * config/tc-hppa.c: Likewise.
1083 * config/tc-hppa.h: Likewise.
1084 * config/tc-ia64.c: Likewise.
1085 * config/tc-m32r.c: Likewise.
1086 * config/tc-microblaze.c: Likewise.
1087 * config/tc-mips.c: Likewise.
1088 * config/tc-score.c: Likewise.
1089 * config/tc-score7.c: Likewise.
1090 * config/tc-tic6x.c: Likewise.
1091
3c995545
L
10922012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * configure.tgt: Support x86_64-*-linux-gnux32.
1095
35262a23
L
10962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * config/tc-i386.c (match_template): Add `instruction' to
1099 unsupported error message.
1100
89e71f5c
L
11012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * config/tc-i386.c (output_insn): Reformat.
1104
ae5c1c7b
L
11052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * config/tc-i386.c (output_insn): Remove the extra VEX check.
1108
10efe3f6
L
11092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * config/tc-i386.c (match_template): Improve unsupported error
1112 message.
1113
f6c1a2d5
NC
11142012-05-03 Sean Keys <skeys@ipdatasys.com>
1115
1116 * configure, Makefile.in: Regenerate.
1117 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1118 * configure.tgt: Added cpu type.
1119 Added files for XGATE assembler.
1120 * config/tc-xgate.c: Assembler for XGATE.
1121 * config/tc-xgate.h: Header definition for assembler
1122 Added files for XGATE testsuite.
1123 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
1124 * doc/c-xgate.texi: Document XGATE and XGATE port.
1125 * doc/as.texinfo: Ditto.
1126 * doc/all.texi: Ditto
1127 * NEWS: Mention the new support.
1128
cad335c9
DD
11292012-04-30 DJ Delorie <dj@redhat.com>
1130
1131 * config/rx-parse.y (rx_intop): Add parameter for operation size.
1132 Check for large positive constants really being small negative
1133 ones.
1134 (BRA, BSR): Update calls to rx_intop.
1135 (immediate): Likewise.
1136
88ebb0a1
MW
11372012-04-26 Mark Wielaard <mjw@redhat.com>
1138
1139 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
1140 (DWARF2_LINE_VERSION): Likewise.
1141 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
1142 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
1143 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
1144 DWARF2_VERSION >= 4.
1145 (out_debug_info): Use difference between start and end as data
1146 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
1147 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
1148
ec668d69
DM
11492012-04-27 David S. Miller <davem@davemloft.net>
1150
2755f698
DM
1151 * doc/c-sparc.text: Document %l34 and %h34.
1152
2e52845b
DM
1153 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
1154
58004e23
DM
1155 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
1156 v8pluse, v8plusv, v9e, and v9v.
1157 (v9a_asr_table): Add 'pause'.
1158
698544e1
DM
1159 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
1160 sparc4, v8pluse, v8plusv, v9e, and v9v.
1161 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
1162 order to accomodate cbcond which otherwise would require two
1163 relocations to be handled in a single instruction..
1164
6cda1326
DM
1165 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
1166 names containing "_".
1167 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
1168 hwcap masks to v8plusv and v9v.
1169
ec668d69
DM
1170 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
1171 masks.
1172 (sparc_md_end): No longer need to translate hwcap_seen values into
1173 ELF hwcap bits, they now match exactly.
1174 (get_hwcap_name): Use HWCAP_* and handle new values.
1175 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
1176
2b0bc501
TG
11772012-04-20 Tristan Gingold <gingold@adacore.com>
1178
1179 * config/tc-ia64.c (obj_elf_vms_common): New function.
1180 (md_pseudo_table): Add .vms_common pseudo.
1181 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
1182 * config/obj-elf.c (obj_elf_section_name): Make it public.
1183
0b649256
RS
11842012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
1185
1186 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
1187
2615994e
DM
11882012-04-12 David S. Miller <davem@davemloft.net>
1189
1190 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
1191 BFD_RELOC_SPARC_H34.
1192 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
1193 (tc_gen_reloc): Likewise.
1194
b38cadfb
NC
11952012-04-12 Roland McGrath <mcgrathr@google.com>
1196
1197 * configure.tgt (arm-*-nacl*): Match it.
1198 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
1199 (LOCAL_LABELS_DOLLAR): Define.
1200 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
1201 Use nacl format variants.
1202
6530b175 12032012-04-12 Jie Zhang <jie@codesourcery.com>
4e47244d 1204 Meador Inge <meadori@codesourcery.com>
6530b175
NC
1205
1206 * config/tc-arm.c (only_one_reg_in_list): New function.
1207 (encode_ldmstm): Ditto.
1208 (do_ldmstm): Use a different encoding when pushing or poping
1209 a single register.
1210 (A_COND_MASK): New macro.
1211 (A_PUSH_POP_OP_MASK): Ditto.
1212 (A1_OPCODE_PUSH): Ditto.
1213 (A2_OPCODE_PUSH): Ditto.
1214 (A2_OPCODE_POP): Ditto.
1215
45e279f5
MR
12162012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
1217
1218 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
1219 -mno-fix-24k.
1220
58797674
RM
12212012-04-06 Roland McGrath <mcgrathr@google.com>
1222
1223 * configure.in (AC_CHECK_HEADERS): Add locale.h.
1224 * config.in: Regenerate.
1225 * configure: Regenerate.
1226
44350750
NC
12272012-04-05 Nick Clifton <nickc@redhat.com>
1228
1229 * configure.in (AC_CHECK_FUNCS): Add setlocale.
1230 (AM_LC_MESSAGES): Add.
1231 * aclocal.m4: Regenerate.
1232 * config.in: Regenerate.
1233 * configure: Regenerate.
1234
e91a22ce
DD
12352012-04-03 DJ Delorie <dj@redhat.com>
1236
1237 * config/rx-parse.y: Make the .L optional for ADC and SBB.
1238
b1c0804b
DD
12392012-04-02 DJ Delorie <dj@redhat.com>
1240
1241 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
1242 transfer size.
1243 (IMM): New, call IMM_ with the default 32.
1244 (IMMW,IMMB): Likewise, for 16 and 8.
1245 (NIMM, MBIMM): Add size parameter.
1246 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
1247 (MOV.W): Use IMMW instead of IMM.
1248
1249 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
1250 (op_dp20_rm_l): New.
1251 (op_dp20_rim_l): New.
1252
1253 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
1254 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
1255
ce32bd10
MGD
12562012-03-29 Terry Guo <terry.guo@arm.com>
1257
1258 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
1259 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
1260
55a36193
MK
12612012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
1262
1263 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
1264 * doc/c-mips.texi: Mention XLP.
1265
32b9ff0d
TS
12662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1267
1268 [SH] Support the .uaquad and .8byte directives also for non-sh64
1269 configurations.
1270
1271 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
1272 BFD_RELOC_64.
1273 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
1274 description...
1275 * doc/c-sh.texi (SH Machine Directives): ... here.
1276
7465e07a
NC
12772012-03-20 Nick Clifton <nickc@redhat.com>
1278
1279 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
1280 registers.
1281 (do_vmsr): Likewise.
1282 (arm_opcode_insns): Do not default to using the FPSCR register in
1283 the VMRS and VMSR registers.
1284
8059fb19
RM
12852012-03-16 Roland McGrath <mcgrathr@google.com>
1286
1287 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
1288 Define for this case.
1289 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
1290
69239280
MGD
12912012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1292
1293 * config/tc-arm.c (aeabi_set_public_attributes): Correct
1294 handling of Tag_DIV_use.
1295
27dcf5c0
TS
12962012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1297
1298 * doc/as.texinfo (Bundle directives): Fix typo.
1299
ec82c18e
L
13002012-03-14 Ryan Mansfield <rmansfield@qnx.com>
1301
1302 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
1303
8d3eaee6 13042012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
1305
1306 * config/tc-arm.c (arm_frag_max_var): New function.
1307 * config/tc-arm.h: Declare it.
1308 (md_frag_max_var): New macro.
1309
1310 * config/tc-i386.c (i386_frag_max_var): New function.
1311 * config/tc-i386.h: Declare it.
1312 (md_frag_max_var): New macro.
1313
1314 * doc/as.texinfo (Bundle directives): New node.
1315 (Pseudo Ops): Add it to the menu.
1316 * NEWS: Mention new feature.
1317 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
1318 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
1319 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
1320 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
1321 New functions.
1322 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
1323 to md_assembly if not.
1324 (read_a_source_file): Call assemble_one in place of md_assemble.
1325 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
1326 .bundle_lock at end of processing.
1327 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
1328 New functions.
1329 [HANDLE_BUNDLE] (potable): Add their entries.
1330 * read.h: Declare new functions.
1331
aea77599
AM
13322012-03-10 Edmar Wienskoski <edmar@freescale.com>
1333
1334 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
1335 (ppc_handle_align): Add termination nop opcode for e500mc family.
1336 * doc/as.texinfo: Document options -me5500 and -me6500.
1337 * doc/c-ppc.texi: Likewise.
1338
0a22ae8e
NC
13392012-03-07 Nick Clifton <nickc@redhat.com>
1340
1341 * config/tc-mn10300.c (other_registers): Add SSP and USP.
1342 (md_assemble): Add support for TLS relocs.
1343 (mn10300_parse_name): Likewise.
1344
805e800d
AM
13452012-02-27 Alan Modra <amodra@gmail.com>
1346
1347 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
1348
b9fcee79
AM
13492012-02-27 Alan Modra <amodra@gmail.com>
1350
1351 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
1352 params. Properly generate NOP pattern. Comment reason for
1353 subseg_text_p failure.
1354
35a35807
AM
13552012-02-27 Alan Modra <amodra@gmail.com>
1356
1357 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
1358 and sign extend before range tests.
1359 (constant_fits_size_p): Similarly.
1360 (get_specific): Trim X_add_number to 32 bits.
1361 (fix_operand_size): Likewise, and use unsigned test for signed
1362 ranges.
1363
1f42f8b3
AM
13642012-02-27 Alan Modra <amodra@gmail.com>
1365
1366 * config/tc-crx.c: Include bfd_stdint.h.
1367 (getconstant): Remove irrelevant comment. Don't fail due to
1368 sign-extension of int mask.
1369 (check_range): Rewrite using unsigned arithmetic throughout.
1370
481fe810
WL
13712012-02-25 Walter Lee <walt@tilera.com>
1372
1373 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
1374 non-local before checking sy_value.
1375 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
1376
6f7be959
WL
13772012-02-25 Walter Lee <walt@tilera.com>
1378
1379 * tc-tilepro.c (O_tls_le): Define operator.
1380 (O_tls_le_lo16): Ditto.
1381 (O_tls_le_hi16): Ditto.
1382 (O_tls_le_ha16): Ditto.
1383 (O_tls_gd_call): Ditto.
1384 (O_tls_gd_add): Ditto.
1385 (O_tls_ie_load): Ditto.
1386 (md_begin): Delete old operators; handle new operators.
1387 (emit_tilepro_instruction): Ditto.
1388 (md_apply_fix): Ditto.
1389 * tc-tilegx.c (O_hw1_got): Delete operator.
1390 (O_hw2_got): Ditto.
1391 (O_hw3_got): Ditto.
1392 (O_hw2_last_got): Ditto.
1393 (O_hw1_tls_gd): Ditto.
1394 (O_hw2_tls_gd): Ditto.
1395 (O_hw3_tls_gd): Ditto.
1396 (O_hw2_last_tls_gd): Ditto.
1397 (O_hw1_tls_ie): Ditto.
1398 (O_hw2_tls_ie): Ditto.
1399 (O_hw3_tls_ie): Ditto.
1400 (O_hw2_last_tls_ie): Ditto.
1401 (O_hw0_tls_le): Define operator.
1402 (O_hw0_last_tls_le): Ditto.
1403 (O_hw1_last_tls_le): Ditto.
1404 (O_tls_gd_call): Ditto.
1405 (O_tls_gd_add): Ditto.
1406 (O_tls_ie_load): Ditto.
1407 (O_tls_add): Ditto.
1408 (md_begin): Delete old operators; handle new operators.
1409 (emit_tilegx_instruction): Ditto.
1410 (md_apply_fix): Ditto.
1411 * doc/c-tilegx.texi: Delete old operators; document new operators.
1412 * doc/c-tilepro.texi: Ditto.
1413
82590249
WL
14142012-02-25 Walter Lee <walt@tilera.com>
1415
5414dbef
WL
1416 * tc-tilepro.c (apply_special_operator): delete cases for
1417 got and tls operators.
1418 (md_apply_fix): Ditto.
fb6cedde
WL
1419 * tc-tilegx.c (md_begin): Set architecture and machine.
1420 (tilegx_target_format): Handle big endian.
1421 (OPTION_EB): Define.
1422 (OPTION_EL): Define.
1423 (md_longopts): Add entries for "EB" and "EL".
1424 (md_parse_option): Handle OPTION_EB and OPTION_EL.
1425 (md_show_usage): Add -EB and -EL.
1426 (md_number_to_chars): New.
5414dbef
WL
1427 (apply_special_operator): delete cases for got and tls
1428 operators.
1429 (md_apply_fix): Ditto.
fb6cedde
WL
1430 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1431 ifndef.
1432 (md_number_to_chars): Delete.
1433 * configure.tgt (tilegx*be): Handle.
1434 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1435 * doc/c-tilegx.texi: Ditto.
82590249 1436
82c2def5
L
14372012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1438
1439 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1440 HLEPrefixAny and HLEPrefixRelease.
1441
1bf10b0d
NC
14422012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1443
1444 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1445
16a87420
IS
14462012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1447
1448 * write.c (write_object_file): Add md_pre_output_hook.
1449 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1450 (obj_mach_o_pre_output_hook): New.
1451 * config/obj-macho.h (md_pre_output_hook): Define.
1452 (obj_mach_o_pre_output_hook): Declare.
1453
cdaa5616
IS
14542012-02-21 Tristan Gingold <gingold@adacore.com>
1455
1456 * config/tc-i386.h (OBJ_MACH_O): New section.
1457 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1458 (TC_FORCE_RELOCATION_SUB_SAME): New
1459 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1460 (TC_VALIDATE_FIX_SUB): New.
1461 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1462 * symbols.c (colon): obj_frob_colon: New hook.
1463 * write.c (write_object_file): md_pre_relax_hook, new
1464 hook.
1465 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1466 (obj_mach_o_frob_label): Record sub-section labels.
1467 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1468 (obj_mach_o_set_subsections): New.
1469 (obj_mach_o_pre_relax_hook): New.
1470 (obj_mach_o_in_different_subsection): New.
1471 (obj_mach_o_force_reloc_sub_same): New.
1472 (obj_mach_o_force_reloc_sub_local): New.
1473 (obj_mach_o_force_reloc): New.
1474 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1475 (obj_frob_colon): New Define.
1476 (obj_mach_o_frob_label): Renamed.
1477 (obj_mach_o_frob_symbol): Renamed.
1478 (OBJ_FRAG_TYPE): New.
1479 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1480 obj_mach_o_force_reloc_sub_same,
1481 obj_mach_o_force_reloc_sub_local): New declarations.
1482
854ac8ba
IS
14832012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1484
1485 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1486 (obj_mach_o_allow_local_subtract): New.
1487 * config/obj-macho.h (md_allow_local_subtract): Define.
1488 (obj_mach_o_allow_local_subtract): Declare.
1489
a5759139
IS
14902012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1491
1492 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1493 canonical information, try to determine CODE and DEBUG section flags
1494 from the mach-o section data.
1495
9ad45734
NC
14962012-02-20 Nick Clifton <nickc@redhat.com>
1497
1498 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1499 local symbols.
1500
8e43fc02
IS
15012012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1502
1503 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1504 any local symbol used as an indirect.
1505
fb4914b0
IS
15062012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1507
1508 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1509 stub size when provided. (obj_mach_o_section): Flag that stub-size
1510 has been provided.
1511
42164a71
L
15122012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1513
1514 * config/tc-i386.c (HLE_PREFIX): New.
1515 (check_hle): Likewise.
1516 (_i386_insn): Add have_hle.
1517 (cpu_arch): Add .hle and .rtm.
1518 (md_assemble): Call check_hle if i.have_hle isn't zero.
1519 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1520 (output_jump): Support up to 2 byte opcode.
1521
1522 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1523
facf03f2
TG
15242012-02-02 Tristan Gingold <gingold@adacore.com>
1525
1526 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1527 uninitialized variable warning.
1528
f6616a06
NC
15292012-02-02 Nick Clifton <nickc@redhat.com>
1530
1531 PR gas/13224
1532 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1533 to 'is_clone' to avoid shadowing a gloabl.
1534 (obj_elf_section): Likewise.
1535
bac03263 15362012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 1537
bac03263
PB
1538 * doc/c-tic6x.c: Fix typo.
1539
f8819316
NC
15402012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1541
1542 PR gas/13624
1543 * app.c (app_push): Set 'add_newlines' to zero after saving.
1544
21abe33a
DD
15452012-01-24 DJ Delorie <dj@redhat.com>
1546
1547 * config/rl78-parse.y (NOT1): Add.
1548
8d63c93e
RM
15492012-01-23 Roland McGrath <mcgrathr@google.com>
1550
1551 * configure.tgt (i386-*-nacl*): Match it.
1552 * config/te-nacl.h: New file.
1553 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1554 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1555 Use TE_GNU et al case for TE_NACL too.
1556
a501d77e
L
15572012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1558
1559 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1560 disp_encoding.
1561 (md_assemble): Updated.
1562 (output_branch): Likewise.
1563 (parse_insn): Support .d8 suffix.
1564 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1565 suffixes.
1566
1567 * doc/c-i386.texi: Document .d8 suffix.
1568
032fbb7a
AM
15692012-01-17 Andrew Burgess <aburgess@broadcom.com>
1570
1571 * write.c (fix_new_internal): Don't mark used parameter as unused.
1572
576477a6
AM
15732012-01-17 Alan Modra <amodra@gmail.com>
1574
1575 * as.c (parse_args): Update copyright message year.
1576
8729a6f6
L
15772012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1580
1581 * doc/c-i386.texi: Document vmfunc.
1582
34dd18bc
IS
15832012-01-13 Tristan Gingold <gingold@adacore.com>
1584
1585 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1586 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1587 (obj_mach_o_reorder_section_relocs): Declare.
1588
687be931
IS
15892012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1590
1591 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1592 absolute indirect symbols.
1593
c3402d20
IS
15942012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1595
1596 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1597 (obj_mach_o_set_section_vma): New.
1598 (obj_mach_o_post_relax_hook): New.
1599 * config/obj-macho.h (md_post_relax_hook): Define.
1600 (obj_mach_o_post_relax_hook): Declare.
1601
50d10658
IS
16022012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1603
1604 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1605 lazy when the symbol is private_extern.
1606 (obj_mach_o_indirect_sym): New type.
1607 (obj_mach_o_indirect_symbol): New.
1608 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1609 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1610 (obj_macho_frob_label): Likewise. Adjust external and comm
1611 symbol tests.
1612 (obj_mach_o_set_indirect_symbols): New.
1613 (obj_mach_o_frob_file_after_relocs): New.
1614 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1615 (obj_mach_o_frob_file_after_relocs): Declare.
1616
0a4734dc
TG
16172012-01-12 Tristan Gingold <gingold@adacore.com>
1618
1619 PR gas/13591
1620 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1621
158184ac
TG
16222012-01-10 Tristan Gingold <gingold@adacore.com>
1623
1624 * struc-symbol.h (struct symbol_flags): New struct, created from...
1625 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1626 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1627 Adjust comment.
1628 (local_symbol_resolved_p): Adjust.
1629 (local_symbol_mark_resolved): Likewise.
1630 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1631 (local_symbol_make, local_symbol_convert, colon)
1632 (symbol_clone_if_forward_ref, verify_symbol_chain)
1633 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1634 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1635 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1636 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1637 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1638 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1639 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1640 (symbol_mark_mri_common, symbol_clear_mri_common)
1641 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1642 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1643 (symbol_equated_reloc_p, dot_symbol_init)
1644 (print_symbol_value_1): Adjust.
1645
b22161d6
IS
16462012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1647
1648 * config/obj-macho.c (obj_mach_o_weak): Remove.
1649 (obj_mach_o_common_parse): Set symbol qualifiers.
1650 (LAZY, REFE): New macros.
1651 (obj_mach_o_symbol_type): New enum.
1652 (obj_mach_o_set_symbol_qualifier): New.
1653 (obj_mach_o_sym_qual): New.
1654 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1655 a dummy function.
1656 (obj_mach_o_type_for_symbol): New.
1657 (obj_macho_frob_label): New.
1658 (obj_macho_frob_symbol): New.
1659 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1660 (obj_frob_label, obj_macho_frob_label): Declare.
1661 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1662
de64cffd
RS
16632012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1664
1665 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1666
462427c4
RS
16672012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1668 Richard Sandiford <rdsandiford@googlemail.com>
1669
1670 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1671 textness as parameters.
1672 (mips_move_text_labels): New function.
1673 (append_insn): Use it instead of mips_move_labels.
1674 (mips_emit_delays, start_noreorder): Likewise.
1675 (mips_align): Take the labels rather than just one label.
1676 Move all labels to after the .align.
1677 (s_align): Change the last argument to mips_align.
1678 (s_cons): Likewise.
1679 (s_float_cons): Likewise.
1680 (s_gpword): Likewise.
1681 (s_gpdword): Likewise.
1682
d382c579
TG
16832012-01-06 Tristan Gingold <gingold@adacore.com>
1684
1685 * config/tc-i386.c: Update copyright year.
1686 (lex_got): Also defined for Mach-O.
1687 Add a guard for non-ELF configuration.
1688 (md_longopts): Also handle -64 for Mach-O.
1689 (md_parse_option): Likewise.
1690 (i386_target_format): Adjust for x86_64-darwin.
1691
8cf6e084
IS
16922012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1693
1694 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1695 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1696 (obj_mach_o_make_or_get_sect): Likewise.
1697 (obj_mach_o_section): Split out the functionality shared with zerofill.
1698 (obj_mach_o_zerofill): New.
1699 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1700 (mach_o_pseudo_table): Add .zerofill.
1701
68588f95
IS
17022012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1703
1704 * config/obj-macho.c (obj_macho_process_stab): New.
1705 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1706 (obj_macho_process_stab): Declare.
1707
23e1d329 1708For older changes see ChangeLog-2011
08d56133
NC
1709\f
1710Local Variables:
1711mode: change-log
1712left-margin: 8
1713fill-column: 74
1714version-control: never
1715End:
This page took 0.634457 seconds and 4 git commands to generate.