OSDN Git Service

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