daily update
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
69239280
MGD
12012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2
3 * config/tc-arm.c (aeabi_set_public_attributes): Correct
4 handling of Tag_DIV_use.
5
27dcf5c0
TS
62012-03-15 Thomas Schwinge <thomas@codesourcery.com>
7
8 * doc/as.texinfo (Bundle directives): Fix typo.
9
ec82c18e
L
102012-03-14 Ryan Mansfield <rmansfield@qnx.com>
11
12 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
13
8d3eaee6 142012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
15
16 * config/tc-arm.c (arm_frag_max_var): New function.
17 * config/tc-arm.h: Declare it.
18 (md_frag_max_var): New macro.
19
20 * config/tc-i386.c (i386_frag_max_var): New function.
21 * config/tc-i386.h: Declare it.
22 (md_frag_max_var): New macro.
23
24 * doc/as.texinfo (Bundle directives): New node.
25 (Pseudo Ops): Add it to the menu.
26 * NEWS: Mention new feature.
27 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
28 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
29 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
30 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
31 New functions.
32 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
33 to md_assembly if not.
34 (read_a_source_file): Call assemble_one in place of md_assemble.
35 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
36 .bundle_lock at end of processing.
37 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
38 New functions.
39 [HANDLE_BUNDLE] (potable): Add their entries.
40 * read.h: Declare new functions.
41
aea77599
AM
422012-03-10 Edmar Wienskoski <edmar@freescale.com>
43
44 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
45 (ppc_handle_align): Add termination nop opcode for e500mc family.
46 * doc/as.texinfo: Document options -me5500 and -me6500.
47 * doc/c-ppc.texi: Likewise.
48
0a22ae8e
NC
492012-03-07 Nick Clifton <nickc@redhat.com>
50
51 * config/tc-mn10300.c (other_registers): Add SSP and USP.
52 (md_assemble): Add support for TLS relocs.
53 (mn10300_parse_name): Likewise.
54
805e800d
AM
552012-02-27 Alan Modra <amodra@gmail.com>
56
57 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
58
b9fcee79
AM
592012-02-27 Alan Modra <amodra@gmail.com>
60
61 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
62 params. Properly generate NOP pattern. Comment reason for
63 subseg_text_p failure.
64
35a35807
AM
652012-02-27 Alan Modra <amodra@gmail.com>
66
67 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
68 and sign extend before range tests.
69 (constant_fits_size_p): Similarly.
70 (get_specific): Trim X_add_number to 32 bits.
71 (fix_operand_size): Likewise, and use unsigned test for signed
72 ranges.
73
1f42f8b3
AM
742012-02-27 Alan Modra <amodra@gmail.com>
75
76 * config/tc-crx.c: Include bfd_stdint.h.
77 (getconstant): Remove irrelevant comment. Don't fail due to
78 sign-extension of int mask.
79 (check_range): Rewrite using unsigned arithmetic throughout.
80
481fe810
WL
812012-02-25 Walter Lee <walt@tilera.com>
82
83 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
84 non-local before checking sy_value.
85 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
86
6f7be959
WL
872012-02-25 Walter Lee <walt@tilera.com>
88
89 * tc-tilepro.c (O_tls_le): Define operator.
90 (O_tls_le_lo16): Ditto.
91 (O_tls_le_hi16): Ditto.
92 (O_tls_le_ha16): Ditto.
93 (O_tls_gd_call): Ditto.
94 (O_tls_gd_add): Ditto.
95 (O_tls_ie_load): Ditto.
96 (md_begin): Delete old operators; handle new operators.
97 (emit_tilepro_instruction): Ditto.
98 (md_apply_fix): Ditto.
99 * tc-tilegx.c (O_hw1_got): Delete operator.
100 (O_hw2_got): Ditto.
101 (O_hw3_got): Ditto.
102 (O_hw2_last_got): Ditto.
103 (O_hw1_tls_gd): Ditto.
104 (O_hw2_tls_gd): Ditto.
105 (O_hw3_tls_gd): Ditto.
106 (O_hw2_last_tls_gd): Ditto.
107 (O_hw1_tls_ie): Ditto.
108 (O_hw2_tls_ie): Ditto.
109 (O_hw3_tls_ie): Ditto.
110 (O_hw2_last_tls_ie): Ditto.
111 (O_hw0_tls_le): Define operator.
112 (O_hw0_last_tls_le): Ditto.
113 (O_hw1_last_tls_le): Ditto.
114 (O_tls_gd_call): Ditto.
115 (O_tls_gd_add): Ditto.
116 (O_tls_ie_load): Ditto.
117 (O_tls_add): Ditto.
118 (md_begin): Delete old operators; handle new operators.
119 (emit_tilegx_instruction): Ditto.
120 (md_apply_fix): Ditto.
121 * doc/c-tilegx.texi: Delete old operators; document new operators.
122 * doc/c-tilepro.texi: Ditto.
123
82590249
WL
1242012-02-25 Walter Lee <walt@tilera.com>
125
5414dbef
WL
126 * tc-tilepro.c (apply_special_operator): delete cases for
127 got and tls operators.
128 (md_apply_fix): Ditto.
fb6cedde
WL
129 * tc-tilegx.c (md_begin): Set architecture and machine.
130 (tilegx_target_format): Handle big endian.
131 (OPTION_EB): Define.
132 (OPTION_EL): Define.
133 (md_longopts): Add entries for "EB" and "EL".
134 (md_parse_option): Handle OPTION_EB and OPTION_EL.
135 (md_show_usage): Add -EB and -EL.
136 (md_number_to_chars): New.
5414dbef
WL
137 (apply_special_operator): delete cases for got and tls
138 operators.
139 (md_apply_fix): Ditto.
fb6cedde
WL
140 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
141 ifndef.
142 (md_number_to_chars): Delete.
143 * configure.tgt (tilegx*be): Handle.
144 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
145 * doc/c-tilegx.texi: Ditto.
82590249 146
82c2def5
L
1472012-02-21 H.J. Lu <hongjiu.lu@intel.com>
148
149 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
150 HLEPrefixAny and HLEPrefixRelease.
151
1bf10b0d
NC
1522012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
153
154 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
155
16a87420
IS
1562012-02-21 Iain Sandoe <idsandoe@googlemail.com>
157
158 * write.c (write_object_file): Add md_pre_output_hook.
159 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
160 (obj_mach_o_pre_output_hook): New.
161 * config/obj-macho.h (md_pre_output_hook): Define.
162 (obj_mach_o_pre_output_hook): Declare.
163
cdaa5616
IS
1642012-02-21 Tristan Gingold <gingold@adacore.com>
165
166 * config/tc-i386.h (OBJ_MACH_O): New section.
167 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
168 (TC_FORCE_RELOCATION_SUB_SAME): New
169 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
170 (TC_VALIDATE_FIX_SUB): New.
171 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
172 * symbols.c (colon): obj_frob_colon: New hook.
173 * write.c (write_object_file): md_pre_relax_hook, new
174 hook.
175 * config/obj-macho.c (obj_mach_o_frob_colon): New.
176 (obj_mach_o_frob_label): Record sub-section labels.
177 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
178 (obj_mach_o_set_subsections): New.
179 (obj_mach_o_pre_relax_hook): New.
180 (obj_mach_o_in_different_subsection): New.
181 (obj_mach_o_force_reloc_sub_same): New.
182 (obj_mach_o_force_reloc_sub_local): New.
183 (obj_mach_o_force_reloc): New.
184 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
185 (obj_frob_colon): New Define.
186 (obj_mach_o_frob_label): Renamed.
187 (obj_mach_o_frob_symbol): Renamed.
188 (OBJ_FRAG_TYPE): New.
189 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
190 obj_mach_o_force_reloc_sub_same,
191 obj_mach_o_force_reloc_sub_local): New declarations.
192
854ac8ba
IS
1932012-02-20 Iain Sandoe <idsandoe@googlemail.com>
194
195 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
196 (obj_mach_o_allow_local_subtract): New.
197 * config/obj-macho.h (md_allow_local_subtract): Define.
198 (obj_mach_o_allow_local_subtract): Declare.
199
a5759139
IS
2002012-02-20 Iain Sandoe <idsandoe@googlemail.com>
201
202 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
203 canonical information, try to determine CODE and DEBUG section flags
204 from the mach-o section data.
205
9ad45734
NC
2062012-02-20 Nick Clifton <nickc@redhat.com>
207
208 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
209 local symbols.
210
8e43fc02
IS
2112012-02-12 Iain Sandoe <idsandoe@googlemail.com>
212
213 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
214 any local symbol used as an indirect.
215
fb4914b0
IS
2162012-02-10 Iain Sandoe <idsandoe@googlemail.com>
217
218 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
219 stub size when provided. (obj_mach_o_section): Flag that stub-size
220 has been provided.
221
42164a71
L
2222012-02-08 H.J. Lu <hongjiu.lu@intel.com>
223
224 * config/tc-i386.c (HLE_PREFIX): New.
225 (check_hle): Likewise.
226 (_i386_insn): Add have_hle.
227 (cpu_arch): Add .hle and .rtm.
228 (md_assemble): Call check_hle if i.have_hle isn't zero.
229 (parse_insn): Set i.have_hle to 1 for HLE prefix.
230 (output_jump): Support up to 2 byte opcode.
231
232 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
233
facf03f2
TG
2342012-02-02 Tristan Gingold <gingold@adacore.com>
235
236 * config/obj-macho.c (obj_mach_o_zerofill): Silent
237 uninitialized variable warning.
238
f6616a06
NC
2392012-02-02 Nick Clifton <nickc@redhat.com>
240
241 PR gas/13224
242 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
243 to 'is_clone' to avoid shadowing a gloabl.
244 (obj_elf_section): Likewise.
245
bac03263 2462012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 247
bac03263
PB
248 * doc/c-tic6x.c: Fix typo.
249
f8819316
NC
2502012-01-26 Alexey Makhalov <makhaloff@gmail.com>
251
252 PR gas/13624
253 * app.c (app_push): Set 'add_newlines' to zero after saving.
254
21abe33a
DD
2552012-01-24 DJ Delorie <dj@redhat.com>
256
257 * config/rl78-parse.y (NOT1): Add.
258
8d63c93e
RM
2592012-01-23 Roland McGrath <mcgrathr@google.com>
260
261 * configure.tgt (i386-*-nacl*): Match it.
262 * config/te-nacl.h: New file.
263 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
264 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
265 Use TE_GNU et al case for TE_NACL too.
266
a501d77e
L
2672012-01-20 H.J. Lu <hongjiu.lu@intel.com>
268
269 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
270 disp_encoding.
271 (md_assemble): Updated.
272 (output_branch): Likewise.
273 (parse_insn): Support .d8 suffix.
274 (build_modrm_byte): Fake zero displacement for .d8 and .d32
275 suffixes.
276
277 * doc/c-i386.texi: Document .d8 suffix.
278
032fbb7a
AM
2792012-01-17 Andrew Burgess <aburgess@broadcom.com>
280
281 * write.c (fix_new_internal): Don't mark used parameter as unused.
282
576477a6
AM
2832012-01-17 Alan Modra <amodra@gmail.com>
284
285 * as.c (parse_args): Update copyright message year.
286
8729a6f6
L
2872012-01-13 H.J. Lu <hongjiu.lu@intel.com>
288
289 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
290
291 * doc/c-i386.texi: Document vmfunc.
292
34dd18bc
IS
2932012-01-13 Tristan Gingold <gingold@adacore.com>
294
295 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
296 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
297 (obj_mach_o_reorder_section_relocs): Declare.
298
687be931
IS
2992012-01-13 Iain Sandoe <idsandoe@googlemail.com>
300
301 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
302 absolute indirect symbols.
303
c3402d20
IS
3042012-01-13 Iain Sandoe <idsandoe@googlemail.com>
305
306 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
307 (obj_mach_o_set_section_vma): New.
308 (obj_mach_o_post_relax_hook): New.
309 * config/obj-macho.h (md_post_relax_hook): Define.
310 (obj_mach_o_post_relax_hook): Declare.
311
50d10658
IS
3122012-01-12 Iain Sandoe <idsandoe@googlemail.com>
313
314 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
315 lazy when the symbol is private_extern.
316 (obj_mach_o_indirect_sym): New type.
317 (obj_mach_o_indirect_symbol): New.
318 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
319 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
320 (obj_macho_frob_label): Likewise. Adjust external and comm
321 symbol tests.
322 (obj_mach_o_set_indirect_symbols): New.
323 (obj_mach_o_frob_file_after_relocs): New.
324 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
325 (obj_mach_o_frob_file_after_relocs): Declare.
326
0a4734dc
TG
3272012-01-12 Tristan Gingold <gingold@adacore.com>
328
329 PR gas/13591
330 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
331
158184ac
TG
3322012-01-10 Tristan Gingold <gingold@adacore.com>
333
334 * struc-symbol.h (struct symbol_flags): New struct, created from...
335 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
336 (struct local_symbol): Replace lsy_marker field by lsy_flags.
337 Adjust comment.
338 (local_symbol_resolved_p): Adjust.
339 (local_symbol_mark_resolved): Likewise.
340 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
341 (local_symbol_make, local_symbol_convert, colon)
342 (symbol_clone_if_forward_ref, verify_symbol_chain)
343 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
344 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
345 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
346 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
347 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
348 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
349 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
350 (symbol_mark_mri_common, symbol_clear_mri_common)
351 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
352 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
353 (symbol_equated_reloc_p, dot_symbol_init)
354 (print_symbol_value_1): Adjust.
355
b22161d6
IS
3562012-01-09 Iain Sandoe <idsandoe@googlemail.com>
357
358 * config/obj-macho.c (obj_mach_o_weak): Remove.
359 (obj_mach_o_common_parse): Set symbol qualifiers.
360 (LAZY, REFE): New macros.
361 (obj_mach_o_symbol_type): New enum.
362 (obj_mach_o_set_symbol_qualifier): New.
363 (obj_mach_o_sym_qual): New.
364 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
365 a dummy function.
366 (obj_mach_o_type_for_symbol): New.
367 (obj_macho_frob_label): New.
368 (obj_macho_frob_symbol): New.
369 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
370 (obj_frob_label, obj_macho_frob_label): Declare.
371 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
372
de64cffd
RS
3732012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
374
375 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
376
462427c4
RS
3772012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
378 Richard Sandiford <rdsandiford@googlemail.com>
379
380 * config/tc-mips.c (mips_move_labels): Take the list of labels and
381 textness as parameters.
382 (mips_move_text_labels): New function.
383 (append_insn): Use it instead of mips_move_labels.
384 (mips_emit_delays, start_noreorder): Likewise.
385 (mips_align): Take the labels rather than just one label.
386 Move all labels to after the .align.
387 (s_align): Change the last argument to mips_align.
388 (s_cons): Likewise.
389 (s_float_cons): Likewise.
390 (s_gpword): Likewise.
391 (s_gpdword): Likewise.
392
d382c579
TG
3932012-01-06 Tristan Gingold <gingold@adacore.com>
394
395 * config/tc-i386.c: Update copyright year.
396 (lex_got): Also defined for Mach-O.
397 Add a guard for non-ELF configuration.
398 (md_longopts): Also handle -64 for Mach-O.
399 (md_parse_option): Likewise.
400 (i386_target_format): Adjust for x86_64-darwin.
401
8cf6e084
IS
4022012-01-04 Iain Sandoe <idsandoe@googlemail.com>
403
404 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
405 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
406 (obj_mach_o_make_or_get_sect): Likewise.
407 (obj_mach_o_section): Split out the functionality shared with zerofill.
408 (obj_mach_o_zerofill): New.
409 (obj_mach_o_common_parse): Ensure whitespace is skipped.
410 (mach_o_pseudo_table): Add .zerofill.
411
68588f95
IS
4122012-01-03 Iain Sandoe <idsandoe@googlemail.com>
413
414 * config/obj-macho.c (obj_macho_process_stab): New.
415 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
416 (obj_macho_process_stab): Declare.
417
23e1d329 418For older changes see ChangeLog-2011
08d56133
NC
419\f
420Local Variables:
421mode: change-log
422left-margin: 8
423fill-column: 74
424version-control: never
425End:
This page took 0.537133 seconds and 4 git commands to generate.