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