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