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