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