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