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