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