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