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