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