* gas/elf/bad-group.s: Add section attributes.
[binutils.git] / gas / ChangeLog
blobd8a95ee9ce30ade035c20f3fb777ee48f3ba89c7
1 2012-02-12  Iain Sandoe  <idsandoe@googlemail.com>
3         * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
4         any local symbol used as an indirect.
6 2012-02-10  Iain Sandoe  <idsandoe@googlemail.com>
8         * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
9         stub size when provided.  (obj_mach_o_section): Flag that stub-size
10         has been provided.
12 2012-02-08  H.J. Lu  <hongjiu.lu@intel.com>
14         * config/tc-i386.c (HLE_PREFIX): New.
15         (check_hle): Likewise.
16         (_i386_insn): Add have_hle.
17         (cpu_arch): Add .hle and .rtm.
18         (md_assemble): Call check_hle if i.have_hle isn't zero.
19         (parse_insn): Set i.have_hle to 1 for HLE prefix.
20         (output_jump): Support up to 2 byte opcode.
22         * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
24 2012-02-02  Tristan Gingold  <gingold@adacore.com>
26         * config/obj-macho.c (obj_mach_o_zerofill): Silent
27         uninitialized variable warning.
29 2012-02-02  Nick Clifton  <nickc@redhat.com>
31         PR gas/13224
32         * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
33         to 'is_clone' to avoid shadowing a gloabl.
34         (obj_elf_section): Likewise.
36 2012-01-31  Paul Brook  <paul@codesourcery.com>
38         * doc/c-tic6x.c: Fix typo.
40 2012-01-26  Alexey Makhalov  <makhaloff@gmail.com>
42         PR gas/13624
43         * app.c (app_push): Set 'add_newlines' to zero after saving.
45 2012-01-24  DJ Delorie  <dj@redhat.com>
47         * config/rl78-parse.y (NOT1): Add.
49 2012-01-23  Roland McGrath  <mcgrathr@google.com>
51         * configure.tgt (i386-*-nacl*): Match it.
52         * config/te-nacl.h: New file.
53         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
54         * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
55         Use TE_GNU et al case for TE_NACL too.
57 2012-01-20  H.J. Lu  <hongjiu.lu@intel.com>
59         * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
60         disp_encoding.
61         (md_assemble): Updated.
62         (output_branch): Likewise.
63         (parse_insn): Support .d8 suffix.
64         (build_modrm_byte): Fake zero displacement for .d8 and .d32
65         suffixes.
67         * doc/c-i386.texi: Document .d8 suffix.
69 2012-01-17  Andrew Burgess  <aburgess@broadcom.com>
71         * write.c (fix_new_internal): Don't mark used parameter as unused.
73 2012-01-17  Alan Modra  <amodra@gmail.com>
75         * as.c (parse_args): Update copyright message year.
77 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
79         * config/tc-i386.c (cpu_arch): Add ".vmfunc".
81         * doc/c-i386.texi: Document vmfunc.
83 2012-01-13  Tristan Gingold  <gingold@adacore.com>
85         * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
86         * config/obj-macho.h (SET_SECTION_RELOCS): Define.
87         (obj_mach_o_reorder_section_relocs): Declare.
89 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
91         * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
92         absolute indirect symbols.
94 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
96         * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
97         (obj_mach_o_set_section_vma): New.
98         (obj_mach_o_post_relax_hook): New.
99         * config/obj-macho.h (md_post_relax_hook): Define.
100         (obj_mach_o_post_relax_hook): Declare.
102 2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
104         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
105         lazy when the symbol is private_extern.
106         (obj_mach_o_indirect_sym): New type.
107         (obj_mach_o_indirect_symbol): New.
108         (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
109         (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
110         (obj_macho_frob_label): Likewise.  Adjust external and comm
111         symbol tests.
112         (obj_mach_o_set_indirect_symbols): New.
113         (obj_mach_o_frob_file_after_relocs): New.
114         *config/obj-macho.h (obj_frob_file_after_relocs): Define.
115         (obj_mach_o_frob_file_after_relocs): Declare.
117 2012-01-12  Tristan Gingold  <gingold@adacore.com>
119         PR gas/13591
120         * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
122 2012-01-10  Tristan Gingold  <gingold@adacore.com>
124         * struc-symbol.h (struct symbol_flags): New struct, created from...
125         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
126         (struct local_symbol): Replace lsy_marker field by lsy_flags.
127         Adjust comment.
128         (local_symbol_resolved_p): Adjust.
129         (local_symbol_mark_resolved): Likewise.
130         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
131         (local_symbol_make, local_symbol_convert, colon)
132         (symbol_clone_if_forward_ref, verify_symbol_chain)
133         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
134         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
135         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
136         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
137         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
138         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
139         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
140         (symbol_mark_mri_common, symbol_clear_mri_common)
141         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
142         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
143         (symbol_equated_reloc_p, dot_symbol_init)
144         (print_symbol_value_1): Adjust.
146 2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
148         * config/obj-macho.c (obj_mach_o_weak): Remove.
149         (obj_mach_o_common_parse): Set symbol qualifiers.
150         (LAZY, REFE): New macros.
151         (obj_mach_o_symbol_type): New enum.
152         (obj_mach_o_set_symbol_qualifier): New.
153         (obj_mach_o_sym_qual): New.
154         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
155         a dummy function.
156         (obj_mach_o_type_for_symbol): New.
157         (obj_macho_frob_label): New.
158         (obj_macho_frob_symbol): New.
159         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
160         (obj_frob_label, obj_macho_frob_label): Declare.
161         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
163 2012-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
165         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
167 2012-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
168             Richard Sandiford  <rdsandiford@googlemail.com>
170         * config/tc-mips.c (mips_move_labels): Take the list of labels and
171         textness as parameters.
172         (mips_move_text_labels): New function.
173         (append_insn): Use it instead of mips_move_labels.
174         (mips_emit_delays, start_noreorder): Likewise.
175         (mips_align): Take the labels rather than just one label.
176         Move all labels to after the .align.
177         (s_align): Change the last argument to mips_align.
178         (s_cons): Likewise.
179         (s_float_cons): Likewise.
180         (s_gpword): Likewise.
181         (s_gpdword): Likewise.
183 2012-01-06  Tristan Gingold  <gingold@adacore.com>
185         * config/tc-i386.c: Update copyright year.
186         (lex_got): Also defined for Mach-O.
187         Add a guard for non-ELF configuration.
188         (md_longopts): Also handle -64 for Mach-O.
189         (md_parse_option): Likewise.
190         (i386_target_format): Adjust for x86_64-darwin.
192 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
194         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
195         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
196         (obj_mach_o_make_or_get_sect): Likewise.
197         (obj_mach_o_section): Split out the functionality shared with zerofill.
198         (obj_mach_o_zerofill): New.
199         (obj_mach_o_common_parse): Ensure whitespace is skipped.
200         (mach_o_pseudo_table): Add .zerofill.
202 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
204         * config/obj-macho.c (obj_macho_process_stab): New.
205         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
206         (obj_macho_process_stab): Declare.
208 For older changes see ChangeLog-2011
210 Local Variables:
211 mode: change-log
212 left-margin: 8
213 fill-column: 74
214 version-control: never
215 End: