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