Commit | Line | Data |
---|---|---|
a06ea964 NC |
1 | 2012-08-13 Ian Bolton <ian.bolton@arm.com> |
2 | Laurent Desnogues <laurent.desnogues@arm.com> | |
3 | Jim MacArthur <jim.macarthur@arm.com> | |
4 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
5 | Nigel Stephens <nigel.stephens@arm.com> | |
6 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
7 | Richard Earnshaw <rearnsha@arm.com> | |
8 | Sofiane Naci <sofiane.naci@arm.com> | |
9 | Tejas Belagod <tejas.belagod@arm.com> | |
10 | Yufeng Zhang <yufeng.zhang@arm.com> | |
11 | ||
12 | * Makefile.am: Add AArch64. | |
13 | * Makefile.in: Regenerate. | |
14 | * config/tc-aarch64.c: New file. | |
15 | * config/tc-aarch64.h: New file. | |
16 | * configure.tgt: Add AArch64. | |
17 | * doc/Makefile.am: Add AArch64. | |
18 | * doc/Makefile.in: Regenerate. | |
19 | * doc/all.texi: Add AArch64. | |
20 | * doc/as.texinfo: Add AArch64. | |
21 | * doc/c-aarch64.texi: New file. | |
22 | * po/POTFILES.in: Regenerate. | |
23 | * NEWS: Mention the new support. | |
24 | ||
35d0a169 MR |
25 | 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> |
26 | ||
27 | * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros. | |
28 | (is_opcode_valid): Remove coprocessor instruction exclusions. | |
29 | Replace OPCODE_IS_MEMBER with opcode_is_member. | |
30 | (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with | |
31 | opcode_is_member. | |
32 | (macro): Remove coprocessor instruction exclusions. | |
33 | ||
a276b80c MR |
34 | 2012-08-13 Maciej W. Rozycki <macro@codesourcery.com> |
35 | ||
36 | * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode. | |
37 | (s_cplocal, s_cprestore, s_cpreturn): Likewise. | |
38 | ||
848930b2 JB |
39 | 2012-08-07 Jan Beulich <jbeulich@suse.com> |
40 | ||
41 | * config/tc-i386-intel.c (build_modrm_byte): Split determining | |
42 | default segment from figuring out encoding. Honor RegRex for | |
43 | the former. | |
44 | ||
7bab8ab5 JB |
45 | 2012-08-07 Jan Beulich <jbeulich@suse.com> |
46 | ||
47 | * config/tc-i386.c (set_check): Renamed from set_sse_check. | |
48 | Generalize to also handle operand checking option. | |
49 | (enum i386_error): New enumerator 'invalid_vector_register_set'. | |
50 | (match_template): Handle it. | |
51 | (enum check_kind): Give it a tag. Drop sse_ prefixes from | |
52 | enumerators. | |
53 | (operand_check): New. | |
54 | (md_pseudo_table): Add "operand_check". | |
55 | (check_VecOperands): Don't special case RIP addressing. Check | |
56 | that vSIB operands use distinct vector registers unless no | |
57 | checking was requested. | |
58 | (OPTION_MOPERAND_CHECK): New. | |
59 | (md_parse_option): Handle it. | |
60 | (OPTION_MAVXSCALAR, OPTION_X32): Adjust. | |
61 | (md_longopts): Add "moperand-check". | |
62 | (md_show_usage): Add help text for it. | |
63 | ||
4c692bc7 JB |
64 | 2012-08-07 Jan Beulich <jbeulich@suse.com> |
65 | ||
66 | * config/tc-i386.c (register_number): New function. | |
67 | (build_vex_prefix, process_immext, process_operands, | |
68 | build_modrm_byte, i386_index_check): Use it. | |
69 | ||
a988325c NC |
70 | 2012-08-07 Daniel Green <venix1@gmail.com> |
71 | ||
72 | * config/tc-i386.c (lex_got): Provide implementation for PE | |
73 | format. | |
74 | ||
464ab0e5 MR |
75 | 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com> |
76 | ||
77 | * config/tc-mips.c (append_insn): Also handle moving delay-slot | |
78 | instruction across frags for fixed branches. | |
79 | ||
3db8daf3 MR |
80 | 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com> |
81 | ||
82 | * frags.c (frag_grow): Never shrink the obstack size requested | |
83 | below the default. | |
84 | ||
03d46c0e SK |
85 | 2012-08-02 Sean Keys <skeys@ipdatasys.com> |
86 | ||
87 | * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction): | |
88 | New function to parse pseudo ops that are unreleated to | |
89 | existing pseudo ops. | |
90 | ||
711eefe4 SL |
91 | 2012-08-01 Catherine Moore <clm@codesourcery.com> |
92 | Sandra Loosemore <sandra@codesourcery.com> | |
93 | ||
94 | * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn. | |
95 | * doc/c-mips.texi (MIPS Opts): Document it. | |
96 | ||
8fbf7334 JL |
97 | 2012-08-01 James Lemke <jwlemke@codesourcery.com> |
98 | ||
4e47244d | 99 | * dwarf2dbg.c (out_set_addr): Allow for non-constant value of |
8fbf7334 | 100 | DWARF2_LINE_MIN_INSN_LENGTH |
4e47244d | 101 | * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare |
8fbf7334 JL |
102 | and initialize. |
103 | (md_apply_fix): Branch addr can be a multiple of 2 or 4. | |
4e47244d | 104 | * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a |
8fbf7334 JL |
105 | variable reference. |
106 | ||
03f66e8a | 107 | 2012-07-31 Maciej W. Rozycki <macro@codesourcery.com> |
4e47244d L |
108 | Chao-Ying Fu <fu@mips.com> |
109 | Catherine Moore <clm@codesourcery.com> | |
03f66e8a | 110 | |
7a2d09cc MR |
111 | * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS |
112 | mode. | |
113 | (ISA_SUPPORTS_DSPR2_ASE): Likewise. | |
114 | (macro_build) <'2'>: Handle microMIPS. | |
03f66e8a MR |
115 | (macro) <M_BALIGN>: Update error handling. |
116 | (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases. | |
117 | <'7', '8', '0', '@', '^'>: Likewise. | |
118 | (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS. | |
119 | <'9'>: Fix formatting. | |
120 | <'0', '@'>: Handle microMIPS. | |
121 | <'^'>: New case. | |
122 | ||
4a2608e3 JB |
123 | 2012-07-31 Jan Beulich <jbeulich@suse.com> |
124 | ||
125 | * config/tc-i386.c (match_template): Adjust error message | |
126 | for 'bad_imm4' case. | |
127 | ||
5a819eb9 JB |
128 | 2012-07-31 Jan Beulich <jbeulich@suse.com> |
129 | ||
130 | * config/tc-i386.c (check_byte_reg): Check for I/O port | |
131 | register earlier, and just once. Drop diagnostic that got | |
132 | issued only for some registers. | |
133 | ||
5614d22c JB |
134 | 2012-07-31 Jan Beulich <jbeulich@suse.com> |
135 | ||
136 | * config/tc-i386.c (match_template): New local variable | |
137 | 'specific_error'. Set it from i.error after failed | |
138 | check_VecOperands or VEX_check_operands. Use it if set in | |
139 | preference to i.error when actually issuing disagnostic. | |
140 | ||
a6dc81d2 NC |
141 | 2012-07-30 Nick Clifton <nickc@redhat.com> |
142 | ||
143 | * po/gas.pot: Updated template. | |
144 | * po/es.po: Updated Spanish translation. | |
145 | * po/fi.po: Updated Finnish translation. | |
146 | * po/fr.po: Updated French translation. | |
147 | ||
c4dd807e MF |
148 | 2012-07-27 Mike Frysinger <vapier@gentoo.org> |
149 | ||
150 | * configure.in (BFD_VERSION): Run bfd/configure --version and | |
151 | parse the output of that. | |
152 | * configure: Regenerate. | |
153 | ||
af18cb59 TG |
154 | 2012-07-27 Tristan Gingold <gingold@adacore.com> |
155 | ||
156 | * NEWS: Add marker for 2.23. | |
157 | ||
204d254e SK |
158 | 2012-07-27 James Murray <jsm@jsm-net.demon.co.uk> |
159 | ||
160 | * config/tc-m68hc11.c: Replace binary with hex for cygwin. | |
161 | ||
c71bb85d SB |
162 | 2012-07-26 Segher Boessenkool <segher@kernel.crashing.org> |
163 | ||
164 | * listing.c (struct list_message): New. | |
165 | (struct list_info_struct): Delete "message". Add "messages" | |
166 | and "last_message". | |
167 | (listing_message): Adjust. | |
168 | (listing_newline): Adjust. | |
169 | (print_lines): Adjust. | |
170 | ||
9e2934f7 JB |
171 | 2012-07-24 Jan Beulich <jbeulich@suse.com> |
172 | ||
173 | * config/tc-i386-intel.c (i386_intel_simplify_register): Handle | |
174 | xmm/ymm index register being specified first as well as esp/rsp | |
175 | base register being specified last in a memory operand. | |
176 | ||
8280f326 JB |
177 | 2012-07-24 Jan Beulich <jbeulich@suse.com> |
178 | ||
179 | * config/tc-i386-intel.c (i386_intel_simplify_register): | |
180 | Replace literal 4 by corresponding ESP_REG_NUM. | |
181 | ||
5e73442d SL |
182 | 2012-07-24 Sandra Loosemore <sandra@codesourcery.com> |
183 | Jie Zhang <jzhang918@gmail.com> | |
184 | ||
185 | * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR | |
186 | if offset is negative. | |
187 | ||
e2e1fcde L |
188 | 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com> |
189 | ||
190 | * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives. | |
191 | * doc/c-i386.texi: Document the new directives. | |
192 | ||
6b0d957e | 193 | 2012-07-05 Sean Keys <skeys@ipdatasys.com> |
4e47244d L |
194 | |
195 | * config/tc-xgate.c: Revised assembler so that operands | |
196 | are collected before the addressing mode is determined. | |
6b0d957e | 197 | |
586ec8c1 NC |
198 | 2012-07-02 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | * write.c (fixup_segment): Only perform the subtraction of an | |
201 | fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is | |
202 | properly defined. | |
203 | * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define. | |
204 | ||
e95a6b1c AM |
205 | 2012-06-30 Alan Modra <amodra@gmail.com> |
206 | ||
207 | PR gas/14315 | |
208 | * config/obj-elf.c (obj_elf_weak): Don't set local. | |
209 | ||
08ea7020 AM |
210 | 2012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com> |
211 | ||
212 | * frags.h (frag_offset_fixed_p): Update prototype. | |
213 | * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT. | |
214 | * expr.c (expr, resolve_expression): Likewise for frag_off var. | |
215 | ||
99aad254 NC |
216 | 2012-06-29 Nick Clifton <nickc@redhat.com> |
217 | ||
218 | PR gas/14263 | |
219 | * config/tc-arm.c (parse_operands): Initialise val. | |
220 | ||
2b2f5df9 NC |
221 | 2012-06-28 Nick Clifton <nickc@redhat.com> |
222 | ||
223 | PR gas/14260 | |
224 | * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error | |
225 | message if literal pool addressing is used. | |
226 | ||
453dc3f0 NC |
227 | 2012-06-28 Nick Clifton <nickc@redhat.com> |
228 | ||
229 | * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using | |
230 | linker relaxation. | |
231 | (dwarf2_gen_line_info): Generate real, local, labels for line | |
232 | numbers. | |
233 | (dwarf2dbg_convert_frag): Do not finalize the computation of the | |
234 | frag's symbol value when linker relaxation is enabled. | |
235 | (ADDR_DELTA_LIMIT): Define. | |
236 | (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT. | |
237 | (emit_fixed_inc_line_addr): Likewise. | |
238 | * write.c (fixup_segment): If the subtraction of two symbols | |
239 | cannot be resolved but is valid, then prevent bogus range warnings | |
240 | by pre-biasing add_number. | |
241 | * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0. | |
242 | ||
6b0d957e SK |
243 | 2012-06-28 Sean Keys <skeys@ipdatasys.com> |
244 | ||
4e47244d L |
245 | * config/tc-xgate.h: Defined tc_frob_symbol. |
246 | * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark | |
247 | symbols as being XGATE by setting st_target_internal value. | |
6b0d957e | 248 | |
29c048b6 RM |
249 | 2012-06-22 Roland McGrath <mcgrathr@google.com> |
250 | ||
fe13e45b RM |
251 | * NEWS: Mention 'rep ret' too. |
252 | ||
29c048b6 RM |
253 | * config/tc-i386.c (parse_insn): Don't complain about REP prefix |
254 | when the template has opcode_modifier.repprefixok set. | |
255 | * NEWS: Mention the change. | |
256 | ||
a574142b AM |
257 | 2012-06-18 Iain Sandoe <iain@codesourcery.com> |
258 | ||
259 | * configure.in: Check DECLS for free, getenv, malloc, realloc, | |
260 | * configure: Regenerate. | |
261 | * config.in: Likewise. | |
262 | ||
357d1bd8 L |
263 | 2012-06-13 H.J. Lu <hongjiu.lu@intel.com> |
264 | ||
265 | * config/tc-i386.c (x86_address_bytes): New. | |
266 | * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise. | |
267 | (x86_address_bytes): Likewise. | |
268 | ||
1a43faaf NC |
269 | 2012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
270 | ||
271 | PR gas/12698 | |
272 | * config/tc-arm.c (do_t_mrs): Do not require an m-profile | |
273 | architecure when assembling for all archiectures. | |
274 | (do_t_msr): Likewise. | |
275 | ||
e4efb665 NC |
276 | 2012-06-11 Georg-Johann Lay <avr@gjlay.de> |
277 | ||
278 | PR 13503 | |
279 | * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82 | |
280 | from 2012-05-16. | |
281 | ||
d2ae702c L |
282 | 2012-06-09 H.J. Lu <hongjiu.lu@intel.com> |
283 | ||
284 | * input-scrub.c (input_scrub_include_sb): Use sb_build to | |
285 | allocate sufficient space for from_sb. Use sb_terminate to | |
286 | terminate string. | |
287 | * read.c (read_a_source_file): Use sb_build to allocate | |
288 | sufficient space and replace sb_add_string with sb_add_buffer. | |
289 | (s_macro): Likewise. | |
290 | (input_scrub_insert_line): Likewise. | |
291 | (s_irp): Use sb_build to allocate sufficient space. | |
292 | (do_repeat): Use sb_build to allocate sufficient space | |
293 | for many. | |
294 | * sb.c (sb_build): Remove static. | |
295 | * sb.h (sb_build): New prototype. | |
296 | ||
5197bfb5 AM |
297 | 2012-06-09 Alan Modra <amodra@gmail.com> |
298 | ||
299 | * sb.c: Include limits.h. | |
300 | (dsize): Delete. | |
301 | (MALLOC_OVERHEAD, INIT_ALLOC): Define. | |
302 | (sb_new): Use INIT_ALLOC. | |
303 | (sb_check): Modify allocation strategy using MALLOC_OVERHEAD. | |
304 | (sb_terminate): Don't use sb_add_char. | |
305 | ||
39a45edc AM |
306 | 2012-06-07 Alan Modra <amodra@gmail.com> |
307 | ||
308 | PR gas/14201 | |
309 | * sb.h (sb_max_power_two): Delete. | |
310 | (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max". | |
311 | (sb_element): Delete. | |
312 | (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update | |
313 | prototypes. | |
314 | * sb.c (string_count, free_list): Delete. | |
315 | (sb_build, sb_kill, sb_check): Rewrite. | |
316 | (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer, | |
317 | sb_skip_white, sb_skip_comma): Replace assorted int params, | |
318 | vars and return types with size_t. | |
319 | * input-scrub.c: Likewise. | |
320 | * macro.c: Likewise. | |
321 | * macro.h: Likewise. | |
322 | * as.c: Likewise. | |
323 | * as.h: Likewise. | |
324 | * input-file.h: Likewise. | |
325 | * input-file.c: Likewise. | |
326 | * read.c: Likewise. | |
327 | * app.c: ..or ptrdiff_t. | |
328 | * input-file.c (input_file_get): Use ferror. | |
329 | (input_file_give_next_buffer): Use input_file_get. | |
330 | ||
6b0d957e SK |
331 | 2012-05-31 Sean Keys <skeys@ipdatasys.com> |
332 | ||
4e47244d | 333 | * config/tc-xgate.c (md_begin): Refactored code. |
6b0d957e | 334 | |
d416e51d RM |
335 | 2012-05-29 Roland McGrath <mcgrathr@google.com> |
336 | ||
337 | * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable. | |
338 | (read_a_source_file) [HANDLE_BUNDLE]: Reset it. | |
339 | [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested | |
340 | pairs. | |
341 | ||
7bfd842d NC |
342 | 2012-05-28 Nick Clifton <nickc@redhat.com> |
343 | ||
344 | * read.c (read_symbol_name): New function. Reads a symbol names. | |
345 | Allows escape codes in names. | |
346 | (s_comm_internal): Use read_symbol_name. | |
347 | (s_globl, s_lsym, s_set, s_weakref): Likewise. | |
348 | * doc/as.texinfo: Document support for multibyte characters in | |
349 | symbol names. | |
350 | ||
95bfe26e MF |
351 | 2012-05-21 Mike Frysinger <vapier@gentoo.org> |
352 | ||
353 | * config/tc-mips.c (mips_after_parse_args): Assert that arch_info | |
354 | is non-NULL. | |
355 | ||
59365e19 AM |
356 | 2012-05-19 Alan Modra <amodra@gmail.com> |
357 | ||
358 | * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES | |
359 | targets when checking for "comdat". | |
360 | ||
f3719d90 AM |
361 | 2012-05-19 Alan Modra <amodra@gmail.com> |
362 | ||
363 | * config/tc-dlx.c (s_proc): Don't use asprintf. | |
364 | ||
74cda0c4 AM |
365 | 2012-05-18 Alan Modra <amodra@gmail.com> |
366 | ||
367 | * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf | |
368 | return value. | |
369 | ||
d6ed37ed AM |
370 | 2012-05-18 James Lemke <jwlemke@codesourcery.com> |
371 | Alan Modra <amodra@gmail.com> | |
372 | ||
373 | * config/tc-ppc.c: Don't capitalise error and warning messages. | |
374 | (md_parse_option): Add checks for -a32 -mvle. | |
375 | ||
222661cb AM |
376 | 2012-05-18 Alan Modra <amodra@gmail.com> |
377 | ||
378 | * config/obj-evax.c: Include as.h first. | |
379 | ||
f2c621e4 AS |
380 | 2012-05-18 Andreas Schwab <schwab@linux-m68k.org> |
381 | ||
382 | * aclocal.m4: Regenerate. | |
383 | * configure: Regenerate. | |
384 | * Makefile.in: Regenerate. | |
385 | ||
df7b86aa NC |
386 | 2012-05-17 Daniel Richard G. <skunk@iskunk.org> |
387 | Nick Clifton <nickc@redhat.com> | |
388 | ||
389 | PR 14072 | |
390 | * configure.in: Add check that sysdep.h has been included before | |
391 | any system header files. | |
392 | * configure: Regenerate. | |
393 | * config.in: Regenerate. | |
394 | * aclocal.m4: Regenerate. | |
395 | * Makefile.am: Use wrappers around C files generated by flex. | |
396 | * Makefile.in: Regenerate. | |
397 | * doc/Makefile.in: Regenerate. | |
398 | * itbl-lex-wrapper.c: New file. | |
399 | * config/bfin-lex-wrapper.c: New file. | |
400 | * cgen.c: Include as.h before setjmp.h. | |
401 | * config/tc-dlx.c: Include as.h before any other header. | |
402 | * config/tc-h8300.c: Likewise. | |
403 | * config/tc-lm32.c: Likewise. | |
404 | * config/tc-mep.c: Likewise. | |
405 | * config/tc-microblaze.c: Likewise. | |
406 | * config/tc-mmix.c: Likewise. | |
407 | * config/tc-msp430.c: Likewise. | |
408 | * config/tc-or32.c: Likewise. | |
409 | * config/tc-tic4x.c: Likewise. | |
410 | * config/tc-tic54x.c: Likewise. | |
411 | * config/tc-xtensa.c: Likewise. | |
412 | ||
a0f49396 NC |
413 | 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> |
414 | ||
415 | * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd' | |
416 | as the first argument for `bfd_get_section_vma'. | |
417 | ||
536695d0 NC |
418 | 2012-05-16 Alberto Garcia <agarcia@igalia.com> |
419 | ||
420 | PR gas/14082 | |
421 | * app.c (do_scrub_chars): Prevent possible out of bounds access to | |
422 | lex[] array. | |
423 | ||
40551fb8 NC |
424 | 2012-05-16 Georg-Johann Lay <avr@gjlay.de> |
425 | ||
426 | PR target/13503 | |
427 | * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to | |
428 | R_AVR_8_HLO8. | |
429 | (exp_mod_data) Ditto. And replace "hhi8" with "hlo8". | |
430 | (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. | |
431 | ||
c1c30076 NS |
432 | 2012-05-16 Nathan Sidwell <nathan@codesourcery.com> |
433 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
434 | ||
435 | * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm, | |
436 | 51qm variants. | |
437 | ||
6927f982 NC |
438 | 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> |
439 | ||
440 | * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. | |
441 | Add option to offset S12 addresses into XGATE memory space. | |
442 | Tweak target flags to match other tools. (i.e. -m m68hc11). | |
443 | * doc/as.texinfo: Mention new options. | |
444 | * doc/c-m68hc11.texi: Document new options. | |
445 | * NEWS: Mention new support. | |
446 | ||
0e25bcb4 DD |
447 | 2012-05-14 DJ Delorie <dj@redhat.com> |
448 | ||
918edac3 DD |
449 | * config/rx-parse.y (rx_range): declare. |
450 | (O1,O2,O3,O4): Add calls to rx_range. | |
451 | (UO1,UO2,UO3): Likewise. | |
452 | (IMM2,IMMB): Likewise. | |
453 | (rx_range): New. | |
454 | ||
0e25bcb4 DD |
455 | * config/tc-rx.c (rx_fetchalign): Declare. |
456 | (md_pseudo_table): Add .fetchalign. | |
457 | (RX_NBASE_FETCHALIGN): New. | |
458 | (fetchalign_bytes): New. | |
459 | (rx_fetchalign): New. | |
460 | (rx_frag_init): If a "magic" value is found, also init the | |
461 | machine-specific data. | |
462 | (md_assemble): Note following opcode size if called for. | |
463 | (rx_next_opcode): New. | |
464 | (rx_relax_frag): Support .fetchalign. | |
465 | (md_convert_frag): Likewise. | |
466 | * doc/c-rx.texi (RX-Directives): Add .fetchalign. | |
467 | ||
b9c361e0 JL |
468 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> |
469 | ||
470 | * config/tc-ppc.c (insn_validate): New func of existing code to call.. | |
471 | (ppc_setup_opcodes): ..from 2 places here. | |
472 | Revise for second (VLE) opcode table. | |
473 | Add #ifdef'd code to print opcode tables. | |
474 | ||
475 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> | |
476 | ||
477 | * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order | |
478 | for the VLE conditional branches. | |
479 | ||
480 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
481 | Maciej W. Rozycki <macro@codesourcery.com> | |
482 | Rhonda Wittels <rhonda@codesourcery.com> | |
483 | ||
484 | * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro. | |
485 | (PPC_VLE_SPLIT16D): New macro. | |
486 | (PPC_VLE_LO16A): New macro. | |
487 | (PPC_VLE_LO16D): New macro. | |
488 | (PPC_VLE_HI16A): New macro. | |
489 | (PPC_VLE_HI16D): New macro. | |
490 | (PPC_VLE_HA16A): New macro. | |
491 | (PPC_VLE_HA16D): New macro. | |
492 | (PPC_APUINFO_VLE): New definition. | |
493 | (md_chars_to_number): New function. | |
494 | (md_parse_option): Check for combinations of little | |
495 | endian and -mvle. | |
496 | (md_show_usage): Document -mvle. | |
497 | (ppc_arch): Recognize VLE. | |
498 | (ppc_mach): Recognize bfd_mach_ppc_vle. | |
6927f982 | 499 | (ppc_setup_opcodes): Print the opcode table if |
b9c361e0 JL |
500 | * config/tc-ppc.h (ppc_frag_check): Declare. |
501 | * doc/c-ppc.texi: Document -mvle. | |
502 | * NEWS: Mention PowerPC VLE port. | |
503 | ||
504 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
505 | ||
506 | * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare. | |
507 | (DWARF2_LINE_MIN_INSN_LENGTH): Redefine. | |
508 | * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New. | |
509 | * dwarf2dbg.c (scale_addr_delta): Handle values of 1 | |
6927f982 | 510 | for DWARF2_LINE_MIN_INSN_LENGTH. |
b9c361e0 | 511 | |
56e63005 L |
512 | 2012-05-12 H.J. Lu <hongjiu.lu@intel.com> |
513 | ||
514 | * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow | |
515 | for BFD_RELOC_64. | |
516 | ||
208a4923 NC |
517 | 2012-05-11 Daniel Richard G. <skunk@iskunk.org> |
518 | ||
519 | PR binutils/14028 | |
520 | * configure.in: Invoke ACX_HEADER_STRING. | |
521 | * configure: Regenerate. | |
522 | * config.in: Regenerate. | |
523 | * as.h: If STRINGS_WITH_STRING is defined then include both | |
524 | string.h and strings.h. | |
525 | ||
99700d6f NC |
526 | 2012-05-11 Georg-Johann Lay <avr@gjlay.de |
527 | ||
528 | PR target/13503 | |
529 | * config/tc-avr.c (exp_mod_pm): Remove variable. | |
530 | (exp_mod_data_t): New typedef. | |
531 | (pexp_mod_data, exp_mod_data): New variables. | |
532 | (avr_parse_cons_expression): Scan through exp_mod_data[] to find | |
533 | data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8" | |
534 | and set pexp_mod_data accordingly to be used in avr_cons_fix_new. | |
535 | (avr_cons_fix_new): Handle new data expression modifiers shipped | |
536 | in pexp_mod_data. | |
537 | (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, | |
538 | BFD_RELOC_AVR_8_HHI. | |
539 | ||
268a8d3a L |
540 | 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> |
541 | ||
542 | * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32 | |
543 | addend overflow check. | |
544 | ||
6f2c9068 L |
545 | 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> |
546 | ||
547 | * config/tc-i386.c (tc_gen_reloc): Display signed hex number in | |
548 | x32 addend overflow check. | |
549 | ||
83acd3e8 L |
550 | 2012-05-09 H.J. Lu <hongjiu.lu@intel.com> |
551 | ||
552 | * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long. | |
553 | ||
8cf0d2dd L |
554 | 2012-05-09 H.J. Lu <hongjiu.lu@intel.com> |
555 | ||
556 | * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow | |
557 | for BFD_RELOC_64. | |
558 | ||
e5b62927 AM |
559 | 2012-05-08 Alan Modra <amodra@gmail.com> |
560 | ||
561 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
562 | LC and LANG environment vars. | |
563 | * Makefile.in: Regenerate. | |
564 | ||
cce3d66c AM |
565 | 2012-05-07 Alan Modra <amodra@gmail.com> |
566 | ||
567 | * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG. | |
568 | * Makefile.in: Regenerate. | |
569 | ||
25045f79 AM |
570 | 2012-05-06 Arnold Metselaar <arnold_m@operamail.com> |
571 | ||
572 | * config/tc-z80.h(md_register_arithmetic): Define as 0. | |
cce3d66c AM |
573 | * config/tc-z80.c(md_begin): Store register names in symbol table, |
574 | preventing usage as ordinary symbol. | |
25045f79 AM |
575 | * config/tc-z80.c(contains_register): New function. |
576 | * config/tc-z80.c(parse_exp2): Removed. | |
577 | * config/tc-z80.c(parse_exp_not_indexed): New function. | |
cce3d66c AM |
578 | * config/tc-z80.c(parse_exp): Add code to recogize indexed |
579 | addressing after parsing. | |
25045f79 | 580 | * config/tc-z80.c(emit_byte, emit_word): Use contains_register. |
cce3d66c AM |
581 | * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify |
582 | condition for jump to register. | |
583 | * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use | |
584 | parse_exp_not_indexed. | |
25045f79 | 585 | |
45dfa85a AM |
586 | 2012-05-05 Alan Modra <amodra@gmail.com> |
587 | ||
588 | * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section, | |
589 | bfd_und_section and bfd_ind_section with their _ptr variants, or | |
590 | use corresponding bfd_is_* macros. | |
591 | * symbols.c: Likewise. | |
592 | * config/obj-aout.c: Likewise. | |
593 | * config/obj-coff-seh.h: Likewise. | |
594 | * config/tc-hppa.c: Likewise. | |
595 | * config/tc-hppa.h: Likewise. | |
596 | * config/tc-ia64.c: Likewise. | |
597 | * config/tc-m32r.c: Likewise. | |
598 | * config/tc-microblaze.c: Likewise. | |
599 | * config/tc-mips.c: Likewise. | |
600 | * config/tc-score.c: Likewise. | |
601 | * config/tc-score7.c: Likewise. | |
602 | * config/tc-tic6x.c: Likewise. | |
603 | ||
3c995545 L |
604 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
605 | ||
606 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
607 | ||
35262a23 L |
608 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
609 | ||
610 | * config/tc-i386.c (match_template): Add `instruction' to | |
611 | unsupported error message. | |
612 | ||
89e71f5c L |
613 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
614 | ||
615 | * config/tc-i386.c (output_insn): Reformat. | |
616 | ||
ae5c1c7b L |
617 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
618 | ||
619 | * config/tc-i386.c (output_insn): Remove the extra VEX check. | |
620 | ||
10efe3f6 L |
621 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
622 | ||
623 | * config/tc-i386.c (match_template): Improve unsupported error | |
624 | message. | |
625 | ||
f6c1a2d5 NC |
626 | 2012-05-03 Sean Keys <skeys@ipdatasys.com> |
627 | ||
628 | * configure, Makefile.in: Regenerate. | |
629 | * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): | |
630 | * configure.tgt: Added cpu type. | |
631 | Added files for XGATE assembler. | |
632 | * config/tc-xgate.c: Assembler for XGATE. | |
633 | * config/tc-xgate.h: Header definition for assembler | |
634 | Added files for XGATE testsuite. | |
635 | * doc/Makefile.am (CPU_DOCS): Added XGATE file. | |
636 | * doc/c-xgate.texi: Document XGATE and XGATE port. | |
637 | * doc/as.texinfo: Ditto. | |
638 | * doc/all.texi: Ditto | |
639 | * NEWS: Mention the new support. | |
640 | ||
cad335c9 DD |
641 | 2012-04-30 DJ Delorie <dj@redhat.com> |
642 | ||
643 | * config/rx-parse.y (rx_intop): Add parameter for operation size. | |
644 | Check for large positive constants really being small negative | |
645 | ones. | |
646 | (BRA, BSR): Update calls to rx_intop. | |
647 | (immediate): Likewise. | |
648 | ||
88ebb0a1 MW |
649 | 2012-04-26 Mark Wielaard <mjw@redhat.com> |
650 | ||
651 | * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2. | |
652 | (DWARF2_LINE_VERSION): Likewise. | |
653 | (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION. | |
654 | (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION. | |
655 | (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when | |
656 | DWARF2_VERSION >= 4. | |
657 | (out_debug_info): Use difference between start and end as data | |
658 | value for DW_AT_high_pc when DWARF2_VERSION >= 4. | |
659 | * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it. | |
660 | ||
ec668d69 DM |
661 | 2012-04-27 David S. Miller <davem@davemloft.net> |
662 | ||
2755f698 DM |
663 | * doc/c-sparc.text: Document %l34 and %h34. |
664 | ||
2e52845b DM |
665 | * config/tc-sparc.c (v9a_asr_table): Add 'cfr'. |
666 | ||
58004e23 DM |
667 | * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4, |
668 | v8pluse, v8plusv, v9e, and v9v. | |
669 | (v9a_asr_table): Add 'pause'. | |
670 | ||
698544e1 DM |
671 | * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to |
672 | sparc4, v8pluse, v8plusv, v9e, and v9v. | |
673 | (sparc_ip): Handle R_SPARC_5 of immediate constants inline in | |
674 | order to accomodate cbcond which otherwise would require two | |
675 | relocations to be handled in a single instruction.. | |
676 | ||
6cda1326 DM |
677 | * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction |
678 | names containing "_". | |
679 | (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto | |
680 | hwcap masks to v8plusv and v9v. | |
681 | ||
ec668d69 DM |
682 | * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_* |
683 | masks. | |
684 | (sparc_md_end): No longer need to translate hwcap_seen values into | |
685 | ELF hwcap bits, they now match exactly. | |
686 | (get_hwcap_name): Use HWCAP_* and handle new values. | |
687 | (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags. | |
688 | ||
2b0bc501 TG |
689 | 2012-04-20 Tristan Gingold <gingold@adacore.com> |
690 | ||
691 | * config/tc-ia64.c (obj_elf_vms_common): New function. | |
692 | (md_pseudo_table): Add .vms_common pseudo. | |
693 | * config/obj-elf.h (obj_elf_section_name): Add a prototype. | |
694 | * config/obj-elf.c (obj_elf_section_name): Make it public. | |
695 | ||
0b649256 RS |
696 | 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com> |
697 | ||
698 | * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32. | |
699 | ||
2615994e DM |
700 | 2012-04-12 David S. Miller <davem@davemloft.net> |
701 | ||
702 | * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and | |
703 | BFD_RELOC_SPARC_H34. | |
704 | (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34. | |
705 | (tc_gen_reloc): Likewise. | |
706 | ||
b38cadfb NC |
707 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
708 | ||
709 | * configure.tgt (arm-*-nacl*): Match it. | |
710 | * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define. | |
711 | (LOCAL_LABELS_DOLLAR): Define. | |
712 | * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]: | |
713 | Use nacl format variants. | |
714 | ||
6530b175 | 715 | 2012-04-12 Jie Zhang <jie@codesourcery.com> |
4e47244d | 716 | Meador Inge <meadori@codesourcery.com> |
6530b175 NC |
717 | |
718 | * config/tc-arm.c (only_one_reg_in_list): New function. | |
719 | (encode_ldmstm): Ditto. | |
720 | (do_ldmstm): Use a different encoding when pushing or poping | |
721 | a single register. | |
722 | (A_COND_MASK): New macro. | |
723 | (A_PUSH_POP_OP_MASK): Ditto. | |
724 | (A1_OPCODE_PUSH): Ditto. | |
725 | (A2_OPCODE_PUSH): Ditto. | |
726 | (A2_OPCODE_POP): Ditto. | |
727 | ||
45e279f5 MR |
728 | 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org> |
729 | ||
730 | * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to | |
731 | -mno-fix-24k. | |
732 | ||
58797674 RM |
733 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
734 | ||
735 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
736 | * config.in: Regenerate. | |
737 | * configure: Regenerate. | |
738 | ||
44350750 NC |
739 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
740 | ||
741 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
742 | (AM_LC_MESSAGES): Add. | |
743 | * aclocal.m4: Regenerate. | |
744 | * config.in: Regenerate. | |
745 | * configure: Regenerate. | |
746 | ||
e91a22ce DD |
747 | 2012-04-03 DJ Delorie <dj@redhat.com> |
748 | ||
749 | * config/rx-parse.y: Make the .L optional for ADC and SBB. | |
750 | ||
b1c0804b DD |
751 | 2012-04-02 DJ Delorie <dj@redhat.com> |
752 | ||
753 | * config/rx-parse.y: IMM->IMM_, take an extra parameter for the | |
754 | transfer size. | |
755 | (IMM): New, call IMM_ with the default 32. | |
756 | (IMMW,IMMB): Likewise, for 16 and 8. | |
757 | (NIMM, MBIMM): Add size parameter. | |
758 | (immediate): Likewise. Allow 32768..65535 for 16-bit transfers. | |
759 | (MOV.W): Use IMMW instead of IMM. | |
760 | ||
761 | * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L. | |
762 | (op_dp20_rm_l): New. | |
763 | (op_dp20_rim_l): New. | |
764 | ||
765 | * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem. | |
766 | (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms). | |
767 | ||
ce32bd10 MGD |
768 | 2012-03-29 Terry Guo <terry.guo@arm.com> |
769 | ||
770 | * config/tc-arm.c (arm_cpus): Add cortex-m0plus. | |
771 | * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus. | |
772 | ||
55a36193 MK |
773 | 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com> |
774 | ||
775 | * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP. | |
776 | * doc/c-mips.texi: Mention XLP. | |
777 | ||
32b9ff0d TS |
778 | 2012-03-21 Thomas Schwinge <thomas@codesourcery.com> |
779 | ||
780 | [SH] Support the .uaquad and .8byte directives also for non-sh64 | |
781 | configurations. | |
782 | ||
783 | * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle | |
784 | BFD_RELOC_64. | |
785 | * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad | |
786 | description... | |
787 | * doc/c-sh.texi (SH Machine Directives): ... here. | |
788 | ||
7465e07a NC |
789 | 2012-03-20 Nick Clifton <nickc@redhat.com> |
790 | ||
791 | * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system | |
792 | registers. | |
793 | (do_vmsr): Likewise. | |
794 | (arm_opcode_insns): Do not default to using the FPSCR register in | |
795 | the VMRS and VMSR registers. | |
796 | ||
8059fb19 RM |
797 | 2012-03-16 Roland McGrath <mcgrathr@google.com> |
798 | ||
799 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64): | |
800 | Define for this case. | |
801 | * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32. | |
802 | ||
69239280 MGD |
803 | 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
804 | ||
805 | * config/tc-arm.c (aeabi_set_public_attributes): Correct | |
806 | handling of Tag_DIV_use. | |
807 | ||
27dcf5c0 TS |
808 | 2012-03-15 Thomas Schwinge <thomas@codesourcery.com> |
809 | ||
810 | * doc/as.texinfo (Bundle directives): Fix typo. | |
811 | ||
ec82c18e L |
812 | 2012-03-14 Ryan Mansfield <rmansfield@qnx.com> |
813 | ||
814 | * doc/as.texinfo (Bundle directives): Replace @defn with @dfn. | |
815 | ||
8d3eaee6 | 816 | 2012-03-13 Roland McGrath <mcgrathr@google.com> |
fa94de6b RM |
817 | |
818 | * config/tc-arm.c (arm_frag_max_var): New function. | |
819 | * config/tc-arm.h: Declare it. | |
820 | (md_frag_max_var): New macro. | |
821 | ||
822 | * config/tc-i386.c (i386_frag_max_var): New function. | |
823 | * config/tc-i386.h: Declare it. | |
824 | (md_frag_max_var): New macro. | |
825 | ||
826 | * doc/as.texinfo (Bundle directives): New node. | |
827 | (Pseudo Ops): Add it to the menu. | |
828 | * NEWS: Mention new feature. | |
829 | * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro. | |
830 | [HANDLE_BUNDLE] (bundle_align_p2): New variable. | |
831 | [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables. | |
832 | [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle): | |
833 | New functions. | |
834 | (assemble_one): New function if [HANDLE_BUNDLE], #define directly | |
835 | to md_assembly if not. | |
836 | (read_a_source_file): Call assemble_one in place of md_assemble. | |
837 | (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated | |
838 | .bundle_lock at end of processing. | |
839 | [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock): | |
840 | New functions. | |
841 | [HANDLE_BUNDLE] (potable): Add their entries. | |
842 | * read.h: Declare new functions. | |
843 | ||
aea77599 AM |
844 | 2012-03-10 Edmar Wienskoski <edmar@freescale.com> |
845 | ||
846 | * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500. | |
847 | (ppc_handle_align): Add termination nop opcode for e500mc family. | |
848 | * doc/as.texinfo: Document options -me5500 and -me6500. | |
849 | * doc/c-ppc.texi: Likewise. | |
850 | ||
0a22ae8e NC |
851 | 2012-03-07 Nick Clifton <nickc@redhat.com> |
852 | ||
853 | * config/tc-mn10300.c (other_registers): Add SSP and USP. | |
854 | (md_assemble): Add support for TLS relocs. | |
855 | (mn10300_parse_name): Likewise. | |
856 | ||
805e800d AM |
857 | 2012-02-27 Alan Modra <amodra@gmail.com> |
858 | ||
859 | * config/tc-crx.c (check_range): Correct uint32_t misconceptions. | |
860 | ||
b9fcee79 AM |
861 | 2012-02-27 Alan Modra <amodra@gmail.com> |
862 | ||
863 | * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on | |
864 | params. Properly generate NOP pattern. Comment reason for | |
865 | subseg_text_p failure. | |
866 | ||
35a35807 AM |
867 | 2012-02-27 Alan Modra <amodra@gmail.com> |
868 | ||
869 | * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits | |
870 | and sign extend before range tests. | |
871 | (constant_fits_size_p): Similarly. | |
872 | (get_specific): Trim X_add_number to 32 bits. | |
873 | (fix_operand_size): Likewise, and use unsigned test for signed | |
874 | ranges. | |
875 | ||
1f42f8b3 AM |
876 | 2012-02-27 Alan Modra <amodra@gmail.com> |
877 | ||
878 | * config/tc-crx.c: Include bfd_stdint.h. | |
879 | (getconstant): Remove irrelevant comment. Don't fail due to | |
880 | sign-extension of int mask. | |
881 | (check_range): Rewrite using unsigned arithmetic throughout. | |
882 | ||
481fe810 WL |
883 | 2012-02-25 Walter Lee <walt@tilera.com> |
884 | ||
885 | * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is | |
886 | non-local before checking sy_value. | |
887 | * tc-tilegx.c (emit_tilegx_instruction): Ditto. | |
888 | ||
6f7be959 WL |
889 | 2012-02-25 Walter Lee <walt@tilera.com> |
890 | ||
891 | * tc-tilepro.c (O_tls_le): Define operator. | |
892 | (O_tls_le_lo16): Ditto. | |
893 | (O_tls_le_hi16): Ditto. | |
894 | (O_tls_le_ha16): Ditto. | |
895 | (O_tls_gd_call): Ditto. | |
896 | (O_tls_gd_add): Ditto. | |
897 | (O_tls_ie_load): Ditto. | |
898 | (md_begin): Delete old operators; handle new operators. | |
899 | (emit_tilepro_instruction): Ditto. | |
900 | (md_apply_fix): Ditto. | |
901 | * tc-tilegx.c (O_hw1_got): Delete operator. | |
902 | (O_hw2_got): Ditto. | |
903 | (O_hw3_got): Ditto. | |
904 | (O_hw2_last_got): Ditto. | |
905 | (O_hw1_tls_gd): Ditto. | |
906 | (O_hw2_tls_gd): Ditto. | |
907 | (O_hw3_tls_gd): Ditto. | |
908 | (O_hw2_last_tls_gd): Ditto. | |
909 | (O_hw1_tls_ie): Ditto. | |
910 | (O_hw2_tls_ie): Ditto. | |
911 | (O_hw3_tls_ie): Ditto. | |
912 | (O_hw2_last_tls_ie): Ditto. | |
913 | (O_hw0_tls_le): Define operator. | |
914 | (O_hw0_last_tls_le): Ditto. | |
915 | (O_hw1_last_tls_le): Ditto. | |
916 | (O_tls_gd_call): Ditto. | |
917 | (O_tls_gd_add): Ditto. | |
918 | (O_tls_ie_load): Ditto. | |
919 | (O_tls_add): Ditto. | |
920 | (md_begin): Delete old operators; handle new operators. | |
921 | (emit_tilegx_instruction): Ditto. | |
922 | (md_apply_fix): Ditto. | |
923 | * doc/c-tilegx.texi: Delete old operators; document new operators. | |
924 | * doc/c-tilepro.texi: Ditto. | |
925 | ||
82590249 WL |
926 | 2012-02-25 Walter Lee <walt@tilera.com> |
927 | ||
5414dbef WL |
928 | * tc-tilepro.c (apply_special_operator): delete cases for |
929 | got and tls operators. | |
930 | (md_apply_fix): Ditto. | |
fb6cedde WL |
931 | * tc-tilegx.c (md_begin): Set architecture and machine. |
932 | (tilegx_target_format): Handle big endian. | |
933 | (OPTION_EB): Define. | |
934 | (OPTION_EL): Define. | |
935 | (md_longopts): Add entries for "EB" and "EL". | |
936 | (md_parse_option): Handle OPTION_EB and OPTION_EL. | |
937 | (md_show_usage): Add -EB and -EL. | |
938 | (md_number_to_chars): New. | |
5414dbef WL |
939 | (apply_special_operator): delete cases for got and tls |
940 | operators. | |
941 | (md_apply_fix): Ditto. | |
fb6cedde WL |
942 | * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with |
943 | ifndef. | |
944 | (md_number_to_chars): Delete. | |
945 | * configure.tgt (tilegx*be): Handle. | |
946 | * doc/as.texinfo [TILE-Gx]: Document -EB and -EL. | |
947 | * doc/c-tilegx.texi: Ditto. | |
82590249 | 948 | |
82c2def5 L |
949 | 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> |
950 | ||
951 | * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock, | |
952 | HLEPrefixAny and HLEPrefixRelease. | |
953 | ||
1bf10b0d NC |
954 | 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
955 | ||
956 | * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. | |
957 | ||
16a87420 IS |
958 | 2012-02-21 Iain Sandoe <idsandoe@googlemail.com> |
959 | ||
960 | * write.c (write_object_file): Add md_pre_output_hook. | |
961 | * config/obj-macho.c (obj_mach_o_check_before_writing): New. | |
962 | (obj_mach_o_pre_output_hook): New. | |
963 | * config/obj-macho.h (md_pre_output_hook): Define. | |
964 | (obj_mach_o_pre_output_hook): Declare. | |
965 | ||
cdaa5616 IS |
966 | 2012-02-21 Tristan Gingold <gingold@adacore.com> |
967 | ||
968 | * config/tc-i386.h (OBJ_MACH_O): New section. | |
969 | (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc. | |
970 | (TC_FORCE_RELOCATION_SUB_SAME): New | |
971 | (TC_FORCE_RELOCATION_SUB_LOCAL): New. | |
972 | (TC_VALIDATE_FIX_SUB): New. | |
973 | * frags.h (struct frag): OBJ_FRAG_TYPE, new field. | |
974 | * symbols.c (colon): obj_frob_colon: New hook. | |
975 | * write.c (write_object_file): md_pre_relax_hook, new | |
976 | hook. | |
977 | * config/obj-macho.c (obj_mach_o_frob_colon): New. | |
978 | (obj_mach_o_frob_label): Record sub-section labels. | |
979 | (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol. | |
980 | (obj_mach_o_set_subsections): New. | |
981 | (obj_mach_o_pre_relax_hook): New. | |
982 | (obj_mach_o_in_different_subsection): New. | |
983 | (obj_mach_o_force_reloc_sub_same): New. | |
984 | (obj_mach_o_force_reloc_sub_local): New. | |
985 | (obj_mach_o_force_reloc): New. | |
986 | * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New. | |
987 | (obj_frob_colon): New Define. | |
988 | (obj_mach_o_frob_label): Renamed. | |
989 | (obj_mach_o_frob_symbol): Renamed. | |
990 | (OBJ_FRAG_TYPE): New. | |
991 | (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc, | |
992 | obj_mach_o_force_reloc_sub_same, | |
993 | obj_mach_o_force_reloc_sub_local): New declarations. | |
994 | ||
854ac8ba IS |
995 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
996 | ||
997 | * config/obj-macho.c (obj_mach_o_is_frame_section): New. | |
998 | (obj_mach_o_allow_local_subtract): New. | |
999 | * config/obj-macho.h (md_allow_local_subtract): Define. | |
1000 | (obj_mach_o_allow_local_subtract): Declare. | |
1001 | ||
a5759139 IS |
1002 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
1003 | ||
1004 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of | |
1005 | canonical information, try to determine CODE and DEBUG section flags | |
1006 | from the mach-o section data. | |
1007 | ||
9ad45734 NC |
1008 | 2012-02-20 Nick Clifton <nickc@redhat.com> |
1009 | ||
1010 | * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on | |
1011 | local symbols. | |
1012 | ||
8e43fc02 IS |
1013 | 2012-02-12 Iain Sandoe <idsandoe@googlemail.com> |
1014 | ||
1015 | * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of | |
1016 | any local symbol used as an indirect. | |
1017 | ||
fb4914b0 IS |
1018 | 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> |
1019 | ||
1020 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in | |
1021 | stub size when provided. (obj_mach_o_section): Flag that stub-size | |
1022 | has been provided. | |
1023 | ||
42164a71 L |
1024 | 2012-02-08 H.J. Lu <hongjiu.lu@intel.com> |
1025 | ||
1026 | * config/tc-i386.c (HLE_PREFIX): New. | |
1027 | (check_hle): Likewise. | |
1028 | (_i386_insn): Add have_hle. | |
1029 | (cpu_arch): Add .hle and .rtm. | |
1030 | (md_assemble): Call check_hle if i.have_hle isn't zero. | |
1031 | (parse_insn): Set i.have_hle to 1 for HLE prefix. | |
1032 | (output_jump): Support up to 2 byte opcode. | |
1033 | ||
1034 | * doc/c-i386.texi: Document hle/.hle and rtm/.rtm. | |
1035 | ||
facf03f2 TG |
1036 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
1037 | ||
1038 | * config/obj-macho.c (obj_mach_o_zerofill): Silent | |
1039 | uninitialized variable warning. | |
1040 | ||
f6616a06 NC |
1041 | 2012-02-02 Nick Clifton <nickc@redhat.com> |
1042 | ||
1043 | PR gas/13224 | |
1044 | * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone' | |
1045 | to 'is_clone' to avoid shadowing a gloabl. | |
1046 | (obj_elf_section): Likewise. | |
1047 | ||
bac03263 | 1048 | 2012-01-31 Paul Brook <paul@codesourcery.com> |
f6616a06 | 1049 | |
bac03263 PB |
1050 | * doc/c-tic6x.c: Fix typo. |
1051 | ||
f8819316 NC |
1052 | 2012-01-26 Alexey Makhalov <makhaloff@gmail.com> |
1053 | ||
1054 | PR gas/13624 | |
1055 | * app.c (app_push): Set 'add_newlines' to zero after saving. | |
1056 | ||
21abe33a DD |
1057 | 2012-01-24 DJ Delorie <dj@redhat.com> |
1058 | ||
1059 | * config/rl78-parse.y (NOT1): Add. | |
1060 | ||
8d63c93e RM |
1061 | 2012-01-23 Roland McGrath <mcgrathr@google.com> |
1062 | ||
1063 | * configure.tgt (i386-*-nacl*): Match it. | |
1064 | * config/te-nacl.h: New file. | |
1065 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case. | |
1066 | * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR): | |
1067 | Use TE_GNU et al case for TE_NACL too. | |
1068 | ||
a501d77e L |
1069 | 2012-01-20 H.J. Lu <hongjiu.lu@intel.com> |
1070 | ||
1071 | * config/tc-i386.c (_i386_insn): Replace disp32_encoding with | |
1072 | disp_encoding. | |
1073 | (md_assemble): Updated. | |
1074 | (output_branch): Likewise. | |
1075 | (parse_insn): Support .d8 suffix. | |
1076 | (build_modrm_byte): Fake zero displacement for .d8 and .d32 | |
1077 | suffixes. | |
1078 | ||
1079 | * doc/c-i386.texi: Document .d8 suffix. | |
1080 | ||
032fbb7a AM |
1081 | 2012-01-17 Andrew Burgess <aburgess@broadcom.com> |
1082 | ||
1083 | * write.c (fix_new_internal): Don't mark used parameter as unused. | |
1084 | ||
576477a6 AM |
1085 | 2012-01-17 Alan Modra <amodra@gmail.com> |
1086 | ||
1087 | * as.c (parse_args): Update copyright message year. | |
1088 | ||
8729a6f6 L |
1089 | 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> |
1090 | ||
1091 | * config/tc-i386.c (cpu_arch): Add ".vmfunc". | |
1092 | ||
1093 | * doc/c-i386.texi: Document vmfunc. | |
1094 | ||
34dd18bc IS |
1095 | 2012-01-13 Tristan Gingold <gingold@adacore.com> |
1096 | ||
1097 | * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New. | |
1098 | * config/obj-macho.h (SET_SECTION_RELOCS): Define. | |
1099 | (obj_mach_o_reorder_section_relocs): Declare. | |
1100 | ||
687be931 IS |
1101 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
1102 | ||
1103 | * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle | |
1104 | absolute indirect symbols. | |
1105 | ||
c3402d20 IS |
1106 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
1107 | ||
1108 | * config/obj-macho.c (obj_mach_o_set_vma_data): New type. | |
1109 | (obj_mach_o_set_section_vma): New. | |
1110 | (obj_mach_o_post_relax_hook): New. | |
1111 | * config/obj-macho.h (md_post_relax_hook): Define. | |
1112 | (obj_mach_o_post_relax_hook): Declare. | |
1113 | ||
50d10658 IS |
1114 | 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> |
1115 | ||
1116 | * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off | |
1117 | lazy when the symbol is private_extern. | |
1118 | (obj_mach_o_indirect_sym): New type. | |
1119 | (obj_mach_o_indirect_symbol): New. | |
1120 | (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol. | |
1121 | (obj_macho_frob_label): Adjust to avoid adding bsyms for locals. | |
1122 | (obj_macho_frob_label): Likewise. Adjust external and comm | |
1123 | symbol tests. | |
1124 | (obj_mach_o_set_indirect_symbols): New. | |
1125 | (obj_mach_o_frob_file_after_relocs): New. | |
1126 | *config/obj-macho.h (obj_frob_file_after_relocs): Define. | |
1127 | (obj_mach_o_frob_file_after_relocs): Declare. | |
1128 | ||
0a4734dc TG |
1129 | 2012-01-12 Tristan Gingold <gingold@adacore.com> |
1130 | ||
1131 | PR gas/13591 | |
1132 | * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict. | |
1133 | ||
158184ac TG |
1134 | 2012-01-10 Tristan Gingold <gingold@adacore.com> |
1135 | ||
1136 | * struc-symbol.h (struct symbol_flags): New struct, created from... | |
1137 | (struct symbol): ... this one. Add sy_flags field, remove flag fields. | |
1138 | (struct local_symbol): Replace lsy_marker field by lsy_flags. | |
1139 | Adjust comment. | |
1140 | (local_symbol_resolved_p): Adjust. | |
1141 | (local_symbol_mark_resolved): Likewise. | |
1142 | * symbols.c (LOCAL_SYMBOL_CHECK): Adjust. | |
1143 | (local_symbol_make, local_symbol_convert, colon) | |
1144 | (symbol_clone_if_forward_ref, verify_symbol_chain) | |
1145 | (resolve_symbol_value, snapshot_symbol, S_GET_VALUE) | |
1146 | (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF) | |
1147 | (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD) | |
1148 | (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE) | |
1149 | (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used) | |
1150 | (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc) | |
1151 | (symbol_clear_used_in_reloc, symbol_used_in_reloc_p) | |
1152 | (symbol_mark_mri_common, symbol_clear_mri_common) | |
1153 | (symbol_mri_common_p, symbol_mark_written, symbol_clear_written) | |
1154 | (symbol_written_p, symbol_mark_resolved, symbol_resolved_p) | |
1155 | (symbol_equated_reloc_p, dot_symbol_init) | |
1156 | (print_symbol_value_1): Adjust. | |
1157 | ||
b22161d6 IS |
1158 | 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> |
1159 | ||
1160 | * config/obj-macho.c (obj_mach_o_weak): Remove. | |
1161 | (obj_mach_o_common_parse): Set symbol qualifiers. | |
1162 | (LAZY, REFE): New macros. | |
1163 | (obj_mach_o_symbol_type): New enum. | |
1164 | (obj_mach_o_set_symbol_qualifier): New. | |
1165 | (obj_mach_o_sym_qual): New. | |
1166 | (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to | |
1167 | a dummy function. | |
1168 | (obj_mach_o_type_for_symbol): New. | |
1169 | (obj_macho_frob_label): New. | |
1170 | (obj_macho_frob_symbol): New. | |
1171 | * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name. | |
1172 | (obj_frob_label, obj_macho_frob_label): Declare. | |
1173 | (obj_frob_symbol, obj_macho_frob_symbol): Declare. | |
1174 | ||
de64cffd RS |
1175 | 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com> |
1176 | ||
1177 | * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels. | |
1178 | ||
462427c4 RS |
1179 | 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com> |
1180 | Richard Sandiford <rdsandiford@googlemail.com> | |
1181 | ||
1182 | * config/tc-mips.c (mips_move_labels): Take the list of labels and | |
1183 | textness as parameters. | |
1184 | (mips_move_text_labels): New function. | |
1185 | (append_insn): Use it instead of mips_move_labels. | |
1186 | (mips_emit_delays, start_noreorder): Likewise. | |
1187 | (mips_align): Take the labels rather than just one label. | |
1188 | Move all labels to after the .align. | |
1189 | (s_align): Change the last argument to mips_align. | |
1190 | (s_cons): Likewise. | |
1191 | (s_float_cons): Likewise. | |
1192 | (s_gpword): Likewise. | |
1193 | (s_gpdword): Likewise. | |
1194 | ||
d382c579 TG |
1195 | 2012-01-06 Tristan Gingold <gingold@adacore.com> |
1196 | ||
1197 | * config/tc-i386.c: Update copyright year. | |
1198 | (lex_got): Also defined for Mach-O. | |
1199 | Add a guard for non-ELF configuration. | |
1200 | (md_longopts): Also handle -64 for Mach-O. | |
1201 | (md_parse_option): Likewise. | |
1202 | (i386_target_format): Adjust for x86_64-darwin. | |
1203 | ||
8cf6e084 IS |
1204 | 2012-01-04 Iain Sandoe <idsandoe@googlemail.com> |
1205 | ||
1206 | * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition. | |
1207 | (obj_mach_o_get_section_names): New (split from obj_mach_o_section). | |
1208 | (obj_mach_o_make_or_get_sect): Likewise. | |
1209 | (obj_mach_o_section): Split out the functionality shared with zerofill. | |
1210 | (obj_mach_o_zerofill): New. | |
1211 | (obj_mach_o_common_parse): Ensure whitespace is skipped. | |
1212 | (mach_o_pseudo_table): Add .zerofill. | |
1213 | ||
68588f95 IS |
1214 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
1215 | ||
1216 | * config/obj-macho.c (obj_macho_process_stab): New. | |
1217 | * config/obj-macho.h (OBJ_PROCESS_STAB): Define. | |
1218 | (obj_macho_process_stab): Declare. | |
1219 | ||
23e1d329 | 1220 | For older changes see ChangeLog-2011 |
08d56133 NC |
1221 | \f |
1222 | Local Variables: | |
1223 | mode: change-log | |
1224 | left-margin: 8 | |
1225 | fill-column: 74 | |
1226 | version-control: never | |
1227 | End: |