Properly create and use a bfd_arch_info_type for 32-bit tilegx.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
82590249
WL
12012-02-25 Walter Lee <walt@tilera.com>
2
3 * tc-tilegx.c (md_begin): set architecture and machine.
4
82c2def5
L
52012-02-21 H.J. Lu <hongjiu.lu@intel.com>
6
7 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
8 HLEPrefixAny and HLEPrefixRelease.
9
1bf10b0d
NC
102012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
11
12 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
13
16a87420
IS
142012-02-21 Iain Sandoe <idsandoe@googlemail.com>
15
16 * write.c (write_object_file): Add md_pre_output_hook.
17 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
18 (obj_mach_o_pre_output_hook): New.
19 * config/obj-macho.h (md_pre_output_hook): Define.
20 (obj_mach_o_pre_output_hook): Declare.
21
cdaa5616
IS
222012-02-21 Tristan Gingold <gingold@adacore.com>
23
24 * config/tc-i386.h (OBJ_MACH_O): New section.
25 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
26 (TC_FORCE_RELOCATION_SUB_SAME): New
27 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
28 (TC_VALIDATE_FIX_SUB): New.
29 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
30 * symbols.c (colon): obj_frob_colon: New hook.
31 * write.c (write_object_file): md_pre_relax_hook, new
32 hook.
33 * config/obj-macho.c (obj_mach_o_frob_colon): New.
34 (obj_mach_o_frob_label): Record sub-section labels.
35 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
36 (obj_mach_o_set_subsections): New.
37 (obj_mach_o_pre_relax_hook): New.
38 (obj_mach_o_in_different_subsection): New.
39 (obj_mach_o_force_reloc_sub_same): New.
40 (obj_mach_o_force_reloc_sub_local): New.
41 (obj_mach_o_force_reloc): New.
42 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
43 (obj_frob_colon): New Define.
44 (obj_mach_o_frob_label): Renamed.
45 (obj_mach_o_frob_symbol): Renamed.
46 (OBJ_FRAG_TYPE): New.
47 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
48 obj_mach_o_force_reloc_sub_same,
49 obj_mach_o_force_reloc_sub_local): New declarations.
50
854ac8ba
IS
512012-02-20 Iain Sandoe <idsandoe@googlemail.com>
52
53 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
54 (obj_mach_o_allow_local_subtract): New.
55 * config/obj-macho.h (md_allow_local_subtract): Define.
56 (obj_mach_o_allow_local_subtract): Declare.
57
a5759139
IS
582012-02-20 Iain Sandoe <idsandoe@googlemail.com>
59
60 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
61 canonical information, try to determine CODE and DEBUG section flags
62 from the mach-o section data.
63
9ad45734
NC
642012-02-20 Nick Clifton <nickc@redhat.com>
65
66 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
67 local symbols.
68
8e43fc02
IS
692012-02-12 Iain Sandoe <idsandoe@googlemail.com>
70
71 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
72 any local symbol used as an indirect.
73
fb4914b0
IS
742012-02-10 Iain Sandoe <idsandoe@googlemail.com>
75
76 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
77 stub size when provided. (obj_mach_o_section): Flag that stub-size
78 has been provided.
79
42164a71
L
802012-02-08 H.J. Lu <hongjiu.lu@intel.com>
81
82 * config/tc-i386.c (HLE_PREFIX): New.
83 (check_hle): Likewise.
84 (_i386_insn): Add have_hle.
85 (cpu_arch): Add .hle and .rtm.
86 (md_assemble): Call check_hle if i.have_hle isn't zero.
87 (parse_insn): Set i.have_hle to 1 for HLE prefix.
88 (output_jump): Support up to 2 byte opcode.
89
90 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
91
facf03f2
TG
922012-02-02 Tristan Gingold <gingold@adacore.com>
93
94 * config/obj-macho.c (obj_mach_o_zerofill): Silent
95 uninitialized variable warning.
96
f6616a06
NC
972012-02-02 Nick Clifton <nickc@redhat.com>
98
99 PR gas/13224
100 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
101 to 'is_clone' to avoid shadowing a gloabl.
102 (obj_elf_section): Likewise.
103
bac03263 1042012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 105
bac03263
PB
106 * doc/c-tic6x.c: Fix typo.
107
f8819316
NC
1082012-01-26 Alexey Makhalov <makhaloff@gmail.com>
109
110 PR gas/13624
111 * app.c (app_push): Set 'add_newlines' to zero after saving.
112
21abe33a
DD
1132012-01-24 DJ Delorie <dj@redhat.com>
114
115 * config/rl78-parse.y (NOT1): Add.
116
8d63c93e
RM
1172012-01-23 Roland McGrath <mcgrathr@google.com>
118
119 * configure.tgt (i386-*-nacl*): Match it.
120 * config/te-nacl.h: New file.
121 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
122 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
123 Use TE_GNU et al case for TE_NACL too.
124
a501d77e
L
1252012-01-20 H.J. Lu <hongjiu.lu@intel.com>
126
127 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
128 disp_encoding.
129 (md_assemble): Updated.
130 (output_branch): Likewise.
131 (parse_insn): Support .d8 suffix.
132 (build_modrm_byte): Fake zero displacement for .d8 and .d32
133 suffixes.
134
135 * doc/c-i386.texi: Document .d8 suffix.
136
032fbb7a
AM
1372012-01-17 Andrew Burgess <aburgess@broadcom.com>
138
139 * write.c (fix_new_internal): Don't mark used parameter as unused.
140
576477a6
AM
1412012-01-17 Alan Modra <amodra@gmail.com>
142
143 * as.c (parse_args): Update copyright message year.
144
8729a6f6
L
1452012-01-13 H.J. Lu <hongjiu.lu@intel.com>
146
147 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
148
149 * doc/c-i386.texi: Document vmfunc.
150
34dd18bc
IS
1512012-01-13 Tristan Gingold <gingold@adacore.com>
152
153 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
154 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
155 (obj_mach_o_reorder_section_relocs): Declare.
156
687be931
IS
1572012-01-13 Iain Sandoe <idsandoe@googlemail.com>
158
159 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
160 absolute indirect symbols.
161
c3402d20
IS
1622012-01-13 Iain Sandoe <idsandoe@googlemail.com>
163
164 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
165 (obj_mach_o_set_section_vma): New.
166 (obj_mach_o_post_relax_hook): New.
167 * config/obj-macho.h (md_post_relax_hook): Define.
168 (obj_mach_o_post_relax_hook): Declare.
169
50d10658
IS
1702012-01-12 Iain Sandoe <idsandoe@googlemail.com>
171
172 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
173 lazy when the symbol is private_extern.
174 (obj_mach_o_indirect_sym): New type.
175 (obj_mach_o_indirect_symbol): New.
176 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
177 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
178 (obj_macho_frob_label): Likewise. Adjust external and comm
179 symbol tests.
180 (obj_mach_o_set_indirect_symbols): New.
181 (obj_mach_o_frob_file_after_relocs): New.
182 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
183 (obj_mach_o_frob_file_after_relocs): Declare.
184
0a4734dc
TG
1852012-01-12 Tristan Gingold <gingold@adacore.com>
186
187 PR gas/13591
188 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
189
158184ac
TG
1902012-01-10 Tristan Gingold <gingold@adacore.com>
191
192 * struc-symbol.h (struct symbol_flags): New struct, created from...
193 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
194 (struct local_symbol): Replace lsy_marker field by lsy_flags.
195 Adjust comment.
196 (local_symbol_resolved_p): Adjust.
197 (local_symbol_mark_resolved): Likewise.
198 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
199 (local_symbol_make, local_symbol_convert, colon)
200 (symbol_clone_if_forward_ref, verify_symbol_chain)
201 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
202 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
203 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
204 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
205 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
206 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
207 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
208 (symbol_mark_mri_common, symbol_clear_mri_common)
209 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
210 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
211 (symbol_equated_reloc_p, dot_symbol_init)
212 (print_symbol_value_1): Adjust.
213
b22161d6
IS
2142012-01-09 Iain Sandoe <idsandoe@googlemail.com>
215
216 * config/obj-macho.c (obj_mach_o_weak): Remove.
217 (obj_mach_o_common_parse): Set symbol qualifiers.
218 (LAZY, REFE): New macros.
219 (obj_mach_o_symbol_type): New enum.
220 (obj_mach_o_set_symbol_qualifier): New.
221 (obj_mach_o_sym_qual): New.
222 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
223 a dummy function.
224 (obj_mach_o_type_for_symbol): New.
225 (obj_macho_frob_label): New.
226 (obj_macho_frob_symbol): New.
227 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
228 (obj_frob_label, obj_macho_frob_label): Declare.
229 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
230
de64cffd
RS
2312012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
232
233 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
234
462427c4
RS
2352012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
236 Richard Sandiford <rdsandiford@googlemail.com>
237
238 * config/tc-mips.c (mips_move_labels): Take the list of labels and
239 textness as parameters.
240 (mips_move_text_labels): New function.
241 (append_insn): Use it instead of mips_move_labels.
242 (mips_emit_delays, start_noreorder): Likewise.
243 (mips_align): Take the labels rather than just one label.
244 Move all labels to after the .align.
245 (s_align): Change the last argument to mips_align.
246 (s_cons): Likewise.
247 (s_float_cons): Likewise.
248 (s_gpword): Likewise.
249 (s_gpdword): Likewise.
250
d382c579
TG
2512012-01-06 Tristan Gingold <gingold@adacore.com>
252
253 * config/tc-i386.c: Update copyright year.
254 (lex_got): Also defined for Mach-O.
255 Add a guard for non-ELF configuration.
256 (md_longopts): Also handle -64 for Mach-O.
257 (md_parse_option): Likewise.
258 (i386_target_format): Adjust for x86_64-darwin.
259
8cf6e084
IS
2602012-01-04 Iain Sandoe <idsandoe@googlemail.com>
261
262 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
263 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
264 (obj_mach_o_make_or_get_sect): Likewise.
265 (obj_mach_o_section): Split out the functionality shared with zerofill.
266 (obj_mach_o_zerofill): New.
267 (obj_mach_o_common_parse): Ensure whitespace is skipped.
268 (mach_o_pseudo_table): Add .zerofill.
269
68588f95
IS
2702012-01-03 Iain Sandoe <idsandoe@googlemail.com>
271
272 * config/obj-macho.c (obj_macho_process_stab): New.
273 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
274 (obj_macho_process_stab): Declare.
275
23e1d329 276For older changes see ChangeLog-2011
08d56133
NC
277\f
278Local Variables:
279mode: change-log
280left-margin: 8
281fill-column: 74
282version-control: never
283End:
This page took 0.521749 seconds and 4 git commands to generate.