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