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