OSDN Git Service

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