82ef7b7dee00f97644073208ee1e3ec1ce68d89c
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2012-05-11 Georg-Johann Lay <avr@gjlay.de
2
3 PR target/13503
4 * config/tc-avr.c (exp_mod_pm): Remove variable.
5 (exp_mod_data_t): New typedef.
6 (pexp_mod_data, exp_mod_data): New variables.
7 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
8 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
9 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
10 (avr_cons_fix_new): Handle new data expression modifiers shipped
11 in pexp_mod_data.
12 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
13 BFD_RELOC_AVR_8_HHI.
14
15 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16
17 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
18 addend overflow check.
19
20 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21
22 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
23 x32 addend overflow check.
24
25 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26
27 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
28
29 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30
31 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
32 for BFD_RELOC_64.
33
34 2012-05-08 Alan Modra <amodra@gmail.com>
35
36 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
37 LC and LANG environment vars.
38 * Makefile.in: Regenerate.
39
40 2012-05-07 Alan Modra <amodra@gmail.com>
41
42 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
43 * Makefile.in: Regenerate.
44
45 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
46
47 * config/tc-z80.h(md_register_arithmetic): Define as 0.
48 * config/tc-z80.c(md_begin): Store register names in symbol table,
49 preventing usage as ordinary symbol.
50 * config/tc-z80.c(contains_register): New function.
51 * config/tc-z80.c(parse_exp2): Removed.
52 * config/tc-z80.c(parse_exp_not_indexed): New function.
53 * config/tc-z80.c(parse_exp): Add code to recogize indexed
54 addressing after parsing.
55 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
56 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
57 condition for jump to register.
58 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
59 parse_exp_not_indexed.
60
61 2012-05-05 Alan Modra <amodra@gmail.com>
62
63 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
64 bfd_und_section and bfd_ind_section with their _ptr variants, or
65 use corresponding bfd_is_* macros.
66 * symbols.c: Likewise.
67 * config/obj-aout.c: Likewise.
68 * config/obj-coff-seh.h: Likewise.
69 * config/tc-hppa.c: Likewise.
70 * config/tc-hppa.h: Likewise.
71 * config/tc-ia64.c: Likewise.
72 * config/tc-m32r.c: Likewise.
73 * config/tc-microblaze.c: Likewise.
74 * config/tc-mips.c: Likewise.
75 * config/tc-score.c: Likewise.
76 * config/tc-score7.c: Likewise.
77 * config/tc-tic6x.c: Likewise.
78
79 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
80
81 * configure.tgt: Support x86_64-*-linux-gnux32.
82
83 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
84
85 * config/tc-i386.c (match_template): Add `instruction' to
86 unsupported error message.
87
88 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
89
90 * config/tc-i386.c (output_insn): Reformat.
91
92 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
93
94 * config/tc-i386.c (output_insn): Remove the extra VEX check.
95
96 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
97
98 * config/tc-i386.c (match_template): Improve unsupported error
99 message.
100
101 2012-05-03 Sean Keys <skeys@ipdatasys.com>
102
103 * configure, Makefile.in: Regenerate.
104 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
105 * configure.tgt: Added cpu type.
106 Added files for XGATE assembler.
107 * config/tc-xgate.c: Assembler for XGATE.
108 * config/tc-xgate.h: Header definition for assembler
109 Added files for XGATE testsuite.
110 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
111 * doc/c-xgate.texi: Document XGATE and XGATE port.
112 * doc/as.texinfo: Ditto.
113 * doc/all.texi: Ditto
114 * NEWS: Mention the new support.
115
116 2012-04-30 DJ Delorie <dj@redhat.com>
117
118 * config/rx-parse.y (rx_intop): Add parameter for operation size.
119 Check for large positive constants really being small negative
120 ones.
121 (BRA, BSR): Update calls to rx_intop.
122 (immediate): Likewise.
123
124 2012-04-26 Mark Wielaard <mjw@redhat.com>
125
126 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
127 (DWARF2_LINE_VERSION): Likewise.
128 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
129 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
130 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
131 DWARF2_VERSION >= 4.
132 (out_debug_info): Use difference between start and end as data
133 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
134 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
135
136 2012-04-27 David S. Miller <davem@davemloft.net>
137
138 * doc/c-sparc.text: Document %l34 and %h34.
139
140 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
141
142 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
143 v8pluse, v8plusv, v9e, and v9v.
144 (v9a_asr_table): Add 'pause'.
145
146 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
147 sparc4, v8pluse, v8plusv, v9e, and v9v.
148 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
149 order to accomodate cbcond which otherwise would require two
150 relocations to be handled in a single instruction..
151
152 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
153 names containing "_".
154 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
155 hwcap masks to v8plusv and v9v.
156
157 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
158 masks.
159 (sparc_md_end): No longer need to translate hwcap_seen values into
160 ELF hwcap bits, they now match exactly.
161 (get_hwcap_name): Use HWCAP_* and handle new values.
162 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
163
164 2012-04-20 Tristan Gingold <gingold@adacore.com>
165
166 * config/tc-ia64.c (obj_elf_vms_common): New function.
167 (md_pseudo_table): Add .vms_common pseudo.
168 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
169 * config/obj-elf.c (obj_elf_section_name): Make it public.
170
171 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
172
173 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
174
175 2012-04-12 David S. Miller <davem@davemloft.net>
176
177 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
178 BFD_RELOC_SPARC_H34.
179 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
180 (tc_gen_reloc): Likewise.
181
182 2012-04-12 Roland McGrath <mcgrathr@google.com>
183
184 * configure.tgt (arm-*-nacl*): Match it.
185 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
186 (LOCAL_LABELS_DOLLAR): Define.
187 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
188 Use nacl format variants.
189
190 2012-04-12 Jie Zhang <jie@codesourcery.com>
191 Meador Inge <meadori@codesourcery.com>
192
193 * config/tc-arm.c (only_one_reg_in_list): New function.
194 (encode_ldmstm): Ditto.
195 (do_ldmstm): Use a different encoding when pushing or poping
196 a single register.
197 (A_COND_MASK): New macro.
198 (A_PUSH_POP_OP_MASK): Ditto.
199 (A1_OPCODE_PUSH): Ditto.
200 (A2_OPCODE_PUSH): Ditto.
201 (A2_OPCODE_POP): Ditto.
202
203 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
204
205 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
206 -mno-fix-24k.
207
208 2012-04-06 Roland McGrath <mcgrathr@google.com>
209
210 * configure.in (AC_CHECK_HEADERS): Add locale.h.
211 * config.in: Regenerate.
212 * configure: Regenerate.
213
214 2012-04-05 Nick Clifton <nickc@redhat.com>
215
216 * configure.in (AC_CHECK_FUNCS): Add setlocale.
217 (AM_LC_MESSAGES): Add.
218 * aclocal.m4: Regenerate.
219 * config.in: Regenerate.
220 * configure: Regenerate.
221
222 2012-04-03 DJ Delorie <dj@redhat.com>
223
224 * config/rx-parse.y: Make the .L optional for ADC and SBB.
225
226 2012-04-02 DJ Delorie <dj@redhat.com>
227
228 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
229 transfer size.
230 (IMM): New, call IMM_ with the default 32.
231 (IMMW,IMMB): Likewise, for 16 and 8.
232 (NIMM, MBIMM): Add size parameter.
233 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
234 (MOV.W): Use IMMW instead of IMM.
235
236 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
237 (op_dp20_rm_l): New.
238 (op_dp20_rim_l): New.
239
240 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
241 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
242
243 2012-03-29 Terry Guo <terry.guo@arm.com>
244
245 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
246 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
247
248 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
249
250 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
251 * doc/c-mips.texi: Mention XLP.
252
253 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
254
255 [SH] Support the .uaquad and .8byte directives also for non-sh64
256 configurations.
257
258 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
259 BFD_RELOC_64.
260 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
261 description...
262 * doc/c-sh.texi (SH Machine Directives): ... here.
263
264 2012-03-20 Nick Clifton <nickc@redhat.com>
265
266 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
267 registers.
268 (do_vmsr): Likewise.
269 (arm_opcode_insns): Do not default to using the FPSCR register in
270 the VMRS and VMSR registers.
271
272 2012-03-16 Roland McGrath <mcgrathr@google.com>
273
274 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
275 Define for this case.
276 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
277
278 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
279
280 * config/tc-arm.c (aeabi_set_public_attributes): Correct
281 handling of Tag_DIV_use.
282
283 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
284
285 * doc/as.texinfo (Bundle directives): Fix typo.
286
287 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
288
289 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
290
291 2012-03-13 Roland McGrath <mcgrathr@google.com>
292
293 * config/tc-arm.c (arm_frag_max_var): New function.
294 * config/tc-arm.h: Declare it.
295 (md_frag_max_var): New macro.
296
297 * config/tc-i386.c (i386_frag_max_var): New function.
298 * config/tc-i386.h: Declare it.
299 (md_frag_max_var): New macro.
300
301 * doc/as.texinfo (Bundle directives): New node.
302 (Pseudo Ops): Add it to the menu.
303 * NEWS: Mention new feature.
304 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
305 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
306 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
307 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
308 New functions.
309 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
310 to md_assembly if not.
311 (read_a_source_file): Call assemble_one in place of md_assemble.
312 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
313 .bundle_lock at end of processing.
314 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
315 New functions.
316 [HANDLE_BUNDLE] (potable): Add their entries.
317 * read.h: Declare new functions.
318
319 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
320
321 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
322 (ppc_handle_align): Add termination nop opcode for e500mc family.
323 * doc/as.texinfo: Document options -me5500 and -me6500.
324 * doc/c-ppc.texi: Likewise.
325
326 2012-03-07 Nick Clifton <nickc@redhat.com>
327
328 * config/tc-mn10300.c (other_registers): Add SSP and USP.
329 (md_assemble): Add support for TLS relocs.
330 (mn10300_parse_name): Likewise.
331
332 2012-02-27 Alan Modra <amodra@gmail.com>
333
334 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
335
336 2012-02-27 Alan Modra <amodra@gmail.com>
337
338 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
339 params. Properly generate NOP pattern. Comment reason for
340 subseg_text_p failure.
341
342 2012-02-27 Alan Modra <amodra@gmail.com>
343
344 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
345 and sign extend before range tests.
346 (constant_fits_size_p): Similarly.
347 (get_specific): Trim X_add_number to 32 bits.
348 (fix_operand_size): Likewise, and use unsigned test for signed
349 ranges.
350
351 2012-02-27 Alan Modra <amodra@gmail.com>
352
353 * config/tc-crx.c: Include bfd_stdint.h.
354 (getconstant): Remove irrelevant comment. Don't fail due to
355 sign-extension of int mask.
356 (check_range): Rewrite using unsigned arithmetic throughout.
357
358 2012-02-25 Walter Lee <walt@tilera.com>
359
360 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
361 non-local before checking sy_value.
362 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
363
364 2012-02-25 Walter Lee <walt@tilera.com>
365
366 * tc-tilepro.c (O_tls_le): Define operator.
367 (O_tls_le_lo16): Ditto.
368 (O_tls_le_hi16): Ditto.
369 (O_tls_le_ha16): Ditto.
370 (O_tls_gd_call): Ditto.
371 (O_tls_gd_add): Ditto.
372 (O_tls_ie_load): Ditto.
373 (md_begin): Delete old operators; handle new operators.
374 (emit_tilepro_instruction): Ditto.
375 (md_apply_fix): Ditto.
376 * tc-tilegx.c (O_hw1_got): Delete operator.
377 (O_hw2_got): Ditto.
378 (O_hw3_got): Ditto.
379 (O_hw2_last_got): Ditto.
380 (O_hw1_tls_gd): Ditto.
381 (O_hw2_tls_gd): Ditto.
382 (O_hw3_tls_gd): Ditto.
383 (O_hw2_last_tls_gd): Ditto.
384 (O_hw1_tls_ie): Ditto.
385 (O_hw2_tls_ie): Ditto.
386 (O_hw3_tls_ie): Ditto.
387 (O_hw2_last_tls_ie): Ditto.
388 (O_hw0_tls_le): Define operator.
389 (O_hw0_last_tls_le): Ditto.
390 (O_hw1_last_tls_le): Ditto.
391 (O_tls_gd_call): Ditto.
392 (O_tls_gd_add): Ditto.
393 (O_tls_ie_load): Ditto.
394 (O_tls_add): Ditto.
395 (md_begin): Delete old operators; handle new operators.
396 (emit_tilegx_instruction): Ditto.
397 (md_apply_fix): Ditto.
398 * doc/c-tilegx.texi: Delete old operators; document new operators.
399 * doc/c-tilepro.texi: Ditto.
400
401 2012-02-25 Walter Lee <walt@tilera.com>
402
403 * tc-tilepro.c (apply_special_operator): delete cases for
404 got and tls operators.
405 (md_apply_fix): Ditto.
406 * tc-tilegx.c (md_begin): Set architecture and machine.
407 (tilegx_target_format): Handle big endian.
408 (OPTION_EB): Define.
409 (OPTION_EL): Define.
410 (md_longopts): Add entries for "EB" and "EL".
411 (md_parse_option): Handle OPTION_EB and OPTION_EL.
412 (md_show_usage): Add -EB and -EL.
413 (md_number_to_chars): New.
414 (apply_special_operator): delete cases for got and tls
415 operators.
416 (md_apply_fix): Ditto.
417 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
418 ifndef.
419 (md_number_to_chars): Delete.
420 * configure.tgt (tilegx*be): Handle.
421 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
422 * doc/c-tilegx.texi: Ditto.
423
424 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
425
426 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
427 HLEPrefixAny and HLEPrefixRelease.
428
429 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
430
431 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
432
433 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
434
435 * write.c (write_object_file): Add md_pre_output_hook.
436 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
437 (obj_mach_o_pre_output_hook): New.
438 * config/obj-macho.h (md_pre_output_hook): Define.
439 (obj_mach_o_pre_output_hook): Declare.
440
441 2012-02-21 Tristan Gingold <gingold@adacore.com>
442
443 * config/tc-i386.h (OBJ_MACH_O): New section.
444 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
445 (TC_FORCE_RELOCATION_SUB_SAME): New
446 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
447 (TC_VALIDATE_FIX_SUB): New.
448 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
449 * symbols.c (colon): obj_frob_colon: New hook.
450 * write.c (write_object_file): md_pre_relax_hook, new
451 hook.
452 * config/obj-macho.c (obj_mach_o_frob_colon): New.
453 (obj_mach_o_frob_label): Record sub-section labels.
454 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
455 (obj_mach_o_set_subsections): New.
456 (obj_mach_o_pre_relax_hook): New.
457 (obj_mach_o_in_different_subsection): New.
458 (obj_mach_o_force_reloc_sub_same): New.
459 (obj_mach_o_force_reloc_sub_local): New.
460 (obj_mach_o_force_reloc): New.
461 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
462 (obj_frob_colon): New Define.
463 (obj_mach_o_frob_label): Renamed.
464 (obj_mach_o_frob_symbol): Renamed.
465 (OBJ_FRAG_TYPE): New.
466 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
467 obj_mach_o_force_reloc_sub_same,
468 obj_mach_o_force_reloc_sub_local): New declarations.
469
470 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
471
472 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
473 (obj_mach_o_allow_local_subtract): New.
474 * config/obj-macho.h (md_allow_local_subtract): Define.
475 (obj_mach_o_allow_local_subtract): Declare.
476
477 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
478
479 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
480 canonical information, try to determine CODE and DEBUG section flags
481 from the mach-o section data.
482
483 2012-02-20 Nick Clifton <nickc@redhat.com>
484
485 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
486 local symbols.
487
488 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
489
490 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
491 any local symbol used as an indirect.
492
493 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
494
495 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
496 stub size when provided. (obj_mach_o_section): Flag that stub-size
497 has been provided.
498
499 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
500
501 * config/tc-i386.c (HLE_PREFIX): New.
502 (check_hle): Likewise.
503 (_i386_insn): Add have_hle.
504 (cpu_arch): Add .hle and .rtm.
505 (md_assemble): Call check_hle if i.have_hle isn't zero.
506 (parse_insn): Set i.have_hle to 1 for HLE prefix.
507 (output_jump): Support up to 2 byte opcode.
508
509 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
510
511 2012-02-02 Tristan Gingold <gingold@adacore.com>
512
513 * config/obj-macho.c (obj_mach_o_zerofill): Silent
514 uninitialized variable warning.
515
516 2012-02-02 Nick Clifton <nickc@redhat.com>
517
518 PR gas/13224
519 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
520 to 'is_clone' to avoid shadowing a gloabl.
521 (obj_elf_section): Likewise.
522
523 2012-01-31 Paul Brook <paul@codesourcery.com>
524
525 * doc/c-tic6x.c: Fix typo.
526
527 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
528
529 PR gas/13624
530 * app.c (app_push): Set 'add_newlines' to zero after saving.
531
532 2012-01-24 DJ Delorie <dj@redhat.com>
533
534 * config/rl78-parse.y (NOT1): Add.
535
536 2012-01-23 Roland McGrath <mcgrathr@google.com>
537
538 * configure.tgt (i386-*-nacl*): Match it.
539 * config/te-nacl.h: New file.
540 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
541 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
542 Use TE_GNU et al case for TE_NACL too.
543
544 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
545
546 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
547 disp_encoding.
548 (md_assemble): Updated.
549 (output_branch): Likewise.
550 (parse_insn): Support .d8 suffix.
551 (build_modrm_byte): Fake zero displacement for .d8 and .d32
552 suffixes.
553
554 * doc/c-i386.texi: Document .d8 suffix.
555
556 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
557
558 * write.c (fix_new_internal): Don't mark used parameter as unused.
559
560 2012-01-17 Alan Modra <amodra@gmail.com>
561
562 * as.c (parse_args): Update copyright message year.
563
564 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
565
566 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
567
568 * doc/c-i386.texi: Document vmfunc.
569
570 2012-01-13 Tristan Gingold <gingold@adacore.com>
571
572 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
573 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
574 (obj_mach_o_reorder_section_relocs): Declare.
575
576 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
577
578 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
579 absolute indirect symbols.
580
581 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
582
583 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
584 (obj_mach_o_set_section_vma): New.
585 (obj_mach_o_post_relax_hook): New.
586 * config/obj-macho.h (md_post_relax_hook): Define.
587 (obj_mach_o_post_relax_hook): Declare.
588
589 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
590
591 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
592 lazy when the symbol is private_extern.
593 (obj_mach_o_indirect_sym): New type.
594 (obj_mach_o_indirect_symbol): New.
595 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
596 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
597 (obj_macho_frob_label): Likewise. Adjust external and comm
598 symbol tests.
599 (obj_mach_o_set_indirect_symbols): New.
600 (obj_mach_o_frob_file_after_relocs): New.
601 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
602 (obj_mach_o_frob_file_after_relocs): Declare.
603
604 2012-01-12 Tristan Gingold <gingold@adacore.com>
605
606 PR gas/13591
607 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
608
609 2012-01-10 Tristan Gingold <gingold@adacore.com>
610
611 * struc-symbol.h (struct symbol_flags): New struct, created from...
612 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
613 (struct local_symbol): Replace lsy_marker field by lsy_flags.
614 Adjust comment.
615 (local_symbol_resolved_p): Adjust.
616 (local_symbol_mark_resolved): Likewise.
617 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
618 (local_symbol_make, local_symbol_convert, colon)
619 (symbol_clone_if_forward_ref, verify_symbol_chain)
620 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
621 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
622 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
623 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
624 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
625 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
626 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
627 (symbol_mark_mri_common, symbol_clear_mri_common)
628 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
629 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
630 (symbol_equated_reloc_p, dot_symbol_init)
631 (print_symbol_value_1): Adjust.
632
633 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
634
635 * config/obj-macho.c (obj_mach_o_weak): Remove.
636 (obj_mach_o_common_parse): Set symbol qualifiers.
637 (LAZY, REFE): New macros.
638 (obj_mach_o_symbol_type): New enum.
639 (obj_mach_o_set_symbol_qualifier): New.
640 (obj_mach_o_sym_qual): New.
641 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
642 a dummy function.
643 (obj_mach_o_type_for_symbol): New.
644 (obj_macho_frob_label): New.
645 (obj_macho_frob_symbol): New.
646 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
647 (obj_frob_label, obj_macho_frob_label): Declare.
648 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
649
650 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
651
652 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
653
654 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
655 Richard Sandiford <rdsandiford@googlemail.com>
656
657 * config/tc-mips.c (mips_move_labels): Take the list of labels and
658 textness as parameters.
659 (mips_move_text_labels): New function.
660 (append_insn): Use it instead of mips_move_labels.
661 (mips_emit_delays, start_noreorder): Likewise.
662 (mips_align): Take the labels rather than just one label.
663 Move all labels to after the .align.
664 (s_align): Change the last argument to mips_align.
665 (s_cons): Likewise.
666 (s_float_cons): Likewise.
667 (s_gpword): Likewise.
668 (s_gpdword): Likewise.
669
670 2012-01-06 Tristan Gingold <gingold@adacore.com>
671
672 * config/tc-i386.c: Update copyright year.
673 (lex_got): Also defined for Mach-O.
674 Add a guard for non-ELF configuration.
675 (md_longopts): Also handle -64 for Mach-O.
676 (md_parse_option): Likewise.
677 (i386_target_format): Adjust for x86_64-darwin.
678
679 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
680
681 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
682 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
683 (obj_mach_o_make_or_get_sect): Likewise.
684 (obj_mach_o_section): Split out the functionality shared with zerofill.
685 (obj_mach_o_zerofill): New.
686 (obj_mach_o_common_parse): Ensure whitespace is skipped.
687 (mach_o_pseudo_table): Add .zerofill.
688
689 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
690
691 * config/obj-macho.c (obj_macho_process_stab): New.
692 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
693 (obj_macho_process_stab): Declare.
694
695 For older changes see ChangeLog-2011
696 \f
697 Local Variables:
698 mode: change-log
699 left-margin: 8
700 fill-column: 74
701 version-control: never
702 End:
This page took 0.043652 seconds and 4 git commands to generate.