d5de4c5739d60a40b278b1864f7e948b81ae43e9
[platform/upstream/binutils.git] / gas / ChangeLog
1 2012-01-24  DJ Delorie  <dj@redhat.com>
2
3         * config/rl78-parse.y (NOT1): Add.
4
5 2012-01-23  Roland McGrath  <mcgrathr@google.com>
6
7         * configure.tgt (i386-*-nacl*): Match it.
8         * config/te-nacl.h: New file.
9         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
10         * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
11         Use TE_GNU et al case for TE_NACL too.
12
13 2012-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14
15         * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
16         disp_encoding.
17         (md_assemble): Updated.
18         (output_branch): Likewise.
19         (parse_insn): Support .d8 suffix.
20         (build_modrm_byte): Fake zero displacement for .d8 and .d32
21         suffixes.
22
23         * doc/c-i386.texi: Document .d8 suffix.
24
25 2012-01-17  Andrew Burgess  <aburgess@broadcom.com>
26
27         * write.c (fix_new_internal): Don't mark used parameter as unused.
28
29 2012-01-17  Alan Modra  <amodra@gmail.com>
30
31         * as.c (parse_args): Update copyright message year.
32
33 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
34
35         * config/tc-i386.c (cpu_arch): Add ".vmfunc".
36
37         * doc/c-i386.texi: Document vmfunc.
38
39 2012-01-13  Tristan Gingold  <gingold@adacore.com>
40
41         * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
42         * config/obj-macho.h (SET_SECTION_RELOCS): Define.
43         (obj_mach_o_reorder_section_relocs): Declare.
44
45 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
46
47         * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
48         absolute indirect symbols.
49
50 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
51
52         * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
53         (obj_mach_o_set_section_vma): New.
54         (obj_mach_o_post_relax_hook): New.
55         * config/obj-macho.h (md_post_relax_hook): Define.
56         (obj_mach_o_post_relax_hook): Declare.
57
58 2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
59
60         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
61         lazy when the symbol is private_extern.
62         (obj_mach_o_indirect_sym): New type.
63         (obj_mach_o_indirect_symbol): New.
64         (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
65         (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
66         (obj_macho_frob_label): Likewise.  Adjust external and comm
67         symbol tests.
68         (obj_mach_o_set_indirect_symbols): New.
69         (obj_mach_o_frob_file_after_relocs): New.
70         *config/obj-macho.h (obj_frob_file_after_relocs): Define.
71         (obj_mach_o_frob_file_after_relocs): Declare.
72
73 2012-01-12  Tristan Gingold  <gingold@adacore.com>
74
75         PR gas/13591
76         * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
77
78 2012-01-10  Tristan Gingold  <gingold@adacore.com>
79
80         * struc-symbol.h (struct symbol_flags): New struct, created from...
81         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
82         (struct local_symbol): Replace lsy_marker field by lsy_flags.
83         Adjust comment.
84         (local_symbol_resolved_p): Adjust.
85         (local_symbol_mark_resolved): Likewise.
86         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
87         (local_symbol_make, local_symbol_convert, colon)
88         (symbol_clone_if_forward_ref, verify_symbol_chain)
89         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
90         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
91         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
92         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
93         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
94         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
95         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
96         (symbol_mark_mri_common, symbol_clear_mri_common)
97         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
98         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
99         (symbol_equated_reloc_p, dot_symbol_init)
100         (print_symbol_value_1): Adjust.
101
102 2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
103
104         * config/obj-macho.c (obj_mach_o_weak): Remove.
105         (obj_mach_o_common_parse): Set symbol qualifiers.
106         (LAZY, REFE): New macros.
107         (obj_mach_o_symbol_type): New enum.
108         (obj_mach_o_set_symbol_qualifier): New.
109         (obj_mach_o_sym_qual): New.
110         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
111         a dummy function.
112         (obj_mach_o_type_for_symbol): New.
113         (obj_macho_frob_label): New.
114         (obj_macho_frob_symbol): New.
115         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
116         (obj_frob_label, obj_macho_frob_label): Declare.
117         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
118
119 2012-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
120
121         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
122
123 2012-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
124             Richard Sandiford  <rdsandiford@googlemail.com>
125
126         * config/tc-mips.c (mips_move_labels): Take the list of labels and
127         textness as parameters.
128         (mips_move_text_labels): New function.
129         (append_insn): Use it instead of mips_move_labels.
130         (mips_emit_delays, start_noreorder): Likewise.
131         (mips_align): Take the labels rather than just one label.
132         Move all labels to after the .align.
133         (s_align): Change the last argument to mips_align.
134         (s_cons): Likewise.
135         (s_float_cons): Likewise.
136         (s_gpword): Likewise.
137         (s_gpdword): Likewise.
138
139 2012-01-06  Tristan Gingold  <gingold@adacore.com>
140
141         * config/tc-i386.c: Update copyright year.
142         (lex_got): Also defined for Mach-O.
143         Add a guard for non-ELF configuration.
144         (md_longopts): Also handle -64 for Mach-O.
145         (md_parse_option): Likewise.
146         (i386_target_format): Adjust for x86_64-darwin.
147
148 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
149
150         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
151         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
152         (obj_mach_o_make_or_get_sect): Likewise.
153         (obj_mach_o_section): Split out the functionality shared with zerofill.
154         (obj_mach_o_zerofill): New.
155         (obj_mach_o_common_parse): Ensure whitespace is skipped.
156         (mach_o_pseudo_table): Add .zerofill.
157
158 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
159
160         * config/obj-macho.c (obj_macho_process_stab): New.
161         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
162         (obj_macho_process_stab): Declare.
163
164 For older changes see ChangeLog-2011
165 \f
166 Local Variables:
167 mode: change-log
168 left-margin: 8
169 fill-column: 74
170 version-control: never
171 End: