ec4422c8fe62f997d6820f6fe97ef201b002e7f8
[external/binutils.git] / gas / ChangeLog
1 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
2
3         * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
4         (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
5         (map_suffix_reloc_to_operator): New.
6         (map_operator_to_reloc): New.
7         (expression_maybe_register): Fix incorrect test of return value from
8         xtensa_elf_suffix.  Rearrange to use map_suffix_reloc_to_operator.
9         (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
10
11 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
12
13         * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
14         (tinsn_get_tok): Delete prototype.
15         * config/tc-xtensa.c (tinsn_get_tok): Delete.
16         
17 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
18
19         * config/xtensa-relax.h (struct build_instr): Delete id field.
20         * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
21         and LABEL tokens.
22         (append_literal_op, append_label_op): Remove litnum/labnum arguments;
23         set op_data fields to zero.
24         (parse_id_constant): Delete.
25         (build_transition): Remove code to handle numbered literals and labels.
26
27 2007-02-02  Bob Wilson  <bob.wilson@acm.org>
28
29         * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
30         (build_transition_table): Likewise.
31
32 2007-02-01  Bob Wilson  <bob.wilson@acm.org>
33
34         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
35         fx_tcbit.
36         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
37
38 2007-02-02  Alan Modra  <amodra@bigpond.net.au>
39
40         * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
41         (struct fix <fx_plt>): Rename to tcbit2.
42         * write.c (fix_new_internal): Adjust.
43         (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
44         * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
45         * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
46         * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
47         * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
48         * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
49         * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
50         * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
51         * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
52         * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
53         * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
54         Instead, compare fx_r_type.
55         * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
56         fx_tcbit in place of fx_plt.
57         * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
58         * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
59         to fx_plt.
60
61 2007-01-30  Nick Clifton  <nickc@redhat.com>
62
63         * as.c (main): Mark symbols created via the --defsym command line
64         option as volatile so that they can be overridden later on by a
65         .set directive.  This maintains compatibility with the behaviour
66         of earlier versions of the assembler.
67         * doc/as.texinfo (--defsym): Document that the defined symbol's
68         value can be overridden via a .set directive.
69
70 2007-01-28  H.J. Lu  <hongjiu.lu@intel.com>
71
72         * config/tc-i386.c (swap_imm_operands): Renamed to ...
73         (swap_2_operands): This.  Take 2 ints.
74         (md_assemble): Updated.
75         (swap_operands): Call swap_2_operands to swap 2 operands.
76
77 2007-01-24  DJ Delorie  <dj@redhat.com>
78
79         * config/tc-m32c.c (md_pseudo_table): Add .3byte.
80
81 2007-01-22  Nick Clifton  <nickc@redhat.com>
82
83         PR gas/3871
84         * tc-score.c: Remove unnecessary uses of _().
85         Make the err_msg[] a file level local array in order to save
86         storage space.
87         Remove unnecessary sprintf()s.
88
89 2007-01-18  Mei Ligang  <ligang@sunnorth.com.cn>
90
91         PR gas/3871
92         * config/tc-score.c : Using _() for const string.
93         Do not assign inst.error with a local string pointer.
94         (md_section_align): Pad section.
95         
96 2007-01-13  H.J. Lu  <hongjiu.lu@intel.com>
97
98         * config/tc-i386.c (build_modrm_byte): Check number of operands
99         when procssing memory/register operand.
100
101 2007-01-12  Nick Clifton  <nickc@redhat.com>
102
103         PR gas/3856
104         * macro.c (expand_irp): Do not ignore spaces inside quoted
105         strings.
106
107 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
108
109         * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
110         * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
111         * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
112         (TC_FORCE_RELOCATION): Define.
113         (TC_FORCE_RELOCATION_LOCAL): Define.
114         * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
115
116 2007-01-12  Alan Modra  <amodra@bigpond.net.au>
117
118         * input-file.c (input_file_open): Check fgets return.
119
120 2007-01-11  Paul Brook  <paul@codesourcery.com>
121
122         * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
123
124 2007-01-11  Nick Clifton  <nickc@redhat.com>
125
126         PR gas/3707
127         * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
128         variable.
129
130         * config/tc-mcore.c (md_number_to_chars): Use
131         number_to_chars_{big|little}endian.
132
133 2007-01-08  Kazu Hirata  <kazu@codesourcery.com>
134
135         * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
136         architecture by itself.
137         (m68k_ip): Don't issue a warning for tbl instructions on fido.
138         (m68k_elf_final_processing): Treat Fido as an architecture by
139         itself.
140
141 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
142
143         * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
144
145 2007-01-05  H.J. Lu  <hongjiu.lu@intel.com>
146
147         * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
148         depending on allow_naked_reg.
149
150 2007-01-04  Paul Brook  <paul@codesourcery.com>
151
152         * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
153
154 2007-01-04  H.J. Lu  <hongjiu.lu@intel.com>
155
156         PR gas/3830
157         * config/tc-i386.c (register_prefix): New.
158         (set_intel_syntax): Set set_intel_syntax to "" if register
159         prefix isn't needed.
160         (check_byte_reg): Use register_prefix for error message.
161         (check_long_reg): Likewise.
162         (check_qword_reg): Likewise.
163         (check_word_reg): Likewise.
164
165 2006-01-04  Julian Brown  <julian@codesourcery.com>
166
167         * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
168         (do_neon_qshl_imm): Likewise.
169         (do_neon_rshl): New function. Handle rounding variants of
170         v{q}shl-by-register.
171         (insns): Use do_neon_rshl for vrshl, vqrshl.
172
173 2007-01-04  Paul Brook  <paul@codesourcery.com>
174
175         * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
176         and vacle.
177
178 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
179
180         * config/tc-i386.c (swap_operands): Remove branches.
181
182 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
183
184         * config/tc-i386.c: Update copyright year.
185         * config/tc-i386.h: Likewise.
186
187 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
188
189         * config/tc-i386.c (smallest_imm_type): Return unsigned int
190         instead of int.
191
192 2007-01-03  H.J. Lu  <hongjiu.lu@intel.com>
193
194         * config/tc-i386.c: Convert to ISO C90 formatting
195         * config/tc-i386.h: Likewise.
196
197 2007-01-03  David Daney  <ddaney@avtrex.com>
198
199         * config/tc-mips.c (md_show_usage):  Clean up -mno-shared
200         documentation.
201
202 For older changes see ChangeLog-2006
203 \f
204 Local Variables:
205 mode: change-log
206 left-margin: 8
207 fill-column: 74
208 version-control: never
209 End: