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