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