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