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