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