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