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