* app.c (do_scrub_chars): Do not UNGET an EOF value.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0146fc9d
NC
12008-06-17 Nick Clifton <nickc@redhat.com>
2
3 * app.c (do_scrub_chars): Do not UNGET an EOF value.
4
1afc8def
HPN
52008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
6
7 PR gas/6607
8 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
9 text_section. Do the "stepping backwards" test for text_section
10 using unsigned operands.
11
fa452fa6
PB
122008-06-13 Peter Bergner <bergner@vnet.ibm.com>
13
14 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
15 (ppc_insert_operand): Likewise.
16 (ppc_machine): Likewise.
17 * config/tc-ppc.h: #include "opcode/ppc.h"
18 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
19 (ppc_cpu): Update extern decl.
20
bb35fb24
NC
212008-06-12 Adam Nemet <anemet@caviumnetworks.com>
22
23 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
24 +x, +X, +p, +P, +s, +S.
25 (mips_ip): Likewise.
26
dd3cbb7e
NC
27 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
28 (mips_ip): Likewise.
29 (macro_build): Likewise.
30 (CPU_HAS_SEQ): New macro.
31 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
32
e8568f6c
EW
332008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
34
35 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
36 * doc/c-avr.texi: Likewise.
37
83bd7402
NC
382008-06-04 Nick Clifton <nickc@redhat.com>
39
40 * app.c (do_scrub_chars): Do not UNGET an EOF value.
41
cb19c032
L
422008-06-03 H.J. Lu <hongjiu.lu@intel.com>
43
44 * config/tc-i386.c (set_sse_check): New.
45 (md_pseudo_table): Add "sse_check".
46
4ecab7d4
PB
472008-06-03 Paul Brook <paul@codesourcery.com>
48
49 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
50
0a903bab
NC
512008-05-30 Nick Clifton <nickc@redhat.com>
52
53 PR 5523
54 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
55 relocs here.
56
b15591bb
AN
572008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
58
59 * config/tc-mips.c (mips_cpu_info_table): Move records for
60 ST Loongson-2E/2F processors to a better place.
61
95f283e8
L
622008-05-23 H.J. Lu <hongjiu.lu@intel.com>
63
64 PR gas/6518
65 * config/tc-i386.c (match_template): Report ambiguous operand
66 size, not invalid suffix when there is no match in Intel
67 syntax.
68
c462b453
PB
692008-05-22 Paul Brook <paul@codesourcery.com>
70
71 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
72
7fac0536
NC
732008-05-21 I-Jui Sung <ijsung@gmail.com>
74
75 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
76 compatible cores: fa526, fa626, fa626te, fa726te.
77 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
78 fa726te} options.
79
8944f3c2
AM
802008-05-14 Alan Modra <amodra@bigpond.net.au>
81
82 * Makefile.am: Run "make dep-am".
83 * Makefile.in: Regenerate.
84 * doc/Makefile.in: Regenerate.
85 * po/POTFILES.in: Regenerate.
86
35903be0
CM
872008-05-09 Catherine Moore <clm@codesourcery.com>
88
89 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
90 with non-MIPS16 relocs.
91
c41e87e3
CF
922008-05-09 Chao-ying Fu <fu@mips.com>
93
94 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
95 case that some characters append at the end of the name.
96 (mips_ip): Likewise.
97 (s_change_sec): Likewise.
98 (md_section_align): Likewise.
99
51c8ebc1
BW
1002008-05-07 Bob Wilson <bob.wilson@acm.org>
101
102 * config/tc-xtensa.c (xtensa_create_property_segments): Use
103 xtensa_make_property_section instead of xtensa_get_property_section.
104 (xtensa_create_xproperty_segments): Likewise.
105
f1f8f695
L
1062008-05-02 H.J. Lu <hongjiu.lu@intel.com>
107
108 * NEWS: Mention XSAVE, EPT and MOVBE.
109
110 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
111 (md_show_usage): Add .movbe and .ept.
112
113 * doc/c-i386.texi: Add movbe and ept to -march=. Document
114 .movbe and .ept.
115
2b661f3d
DM
1162008-04-29 David S. Miller <davem@davemloft.net>
117
118 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
119
037b32b9
AN
1202008-04-28 Adam Nemet <anemet@caviumnetworks.com>
121
122 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
123 New statics.
124 (OPTION_ELF_BASE): Make room for new option macros.
125 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
126 OPTION_DOUBLE_FLOAT): New option macros.
127 (md_longopts): Add msoft-float, mhard-float, msingle-float and
128 mdouble-float.
129 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
130 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
131 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
132 and -mdouble-float.
133 (struct mips_set_options): New fields soft_float and single_float.
134 (mips_opts): Initialized them. Add comment for each field
135 initializer.
136 (mips_after_parse_args): Set them based on file_mips_soft_float
137 and file_mips_single_float.
138 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
139 `.set singlefloat' and `.set doublefloat'.
140 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
141 Handle single-float and soft-float instructions here.
142 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
143 (is_opcode_valid_16): New function.
144 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
145 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
146 M_S_DOB>: Remove special-casing of r4650.
147 * doc/c-mips.texi (-march=): Add Octeon.
148 (MIPS Opts): Document -msoft-float and -mhard-float. Document
149 -msingle-float and -mdouble-float.
150 (MIPS floating-point): New section. Document `.set softfloat' and
151 `.set hardfloat'. Document `.set singlefloat' and `.set
152 doublefloat'.
153
f04d18b7
DM
1542008-04-25 David S. Miller <davem@davemloft.net>
155
156 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
157 %asr aliases.
158
159 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
160 rather than occaisionally 'levels'. Consistently refer to Sun's
161 UNIX variant as SunOS, every version of Solaris is also SunOS.
162 Document new 'softint_clear' and 'softint_set' aliases. Clarify
163 which architecture versions support '%dcr', '%cq', and '%gl'. Add
164 section on 32-bit/64-bit opcode translations.
165
fe4fa32c
MF
1662008-04-23 Mike Frysinger <vapier@gentoo.org>
167
168 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
169 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
170 (obj-fdpicelf.o): Define.
171 * Makefile.in: Regenerate.
172 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
173 (bfin-*-*): Delete.
174 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
175 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
176 * config/obj-fdpicelf.c: New.
177 * config/obj-fdpicelf.h: Likewise.
178 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
179 the OBJ_FDPIC_ELF define.
180 (OPTION_NOPIC): Define.
181 (md_longopts): Add mnopic and mno-fdpic.
182 (md_parse_option): Handle OPTION_NOPIC.
183
6194aaab
L
1842008-04-23 Paolo Bonzini <bonzini@gnu.org>
185
186 * aclocal.m4: Regenerate.
187 * configure: Regenerate.
188
1a6b486f
DM
1892008-04-23 David S. Miller <davem@davemloft.net>
190
191 * config/tc-sparc.c (v9a_asr_table): Add missing
192 'stick' and 'stick_cmpr', and document ordering rules
193 of table.
194 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
195 BFD_RELOC_SPARC_PC10.
196 * doc/c-sparc.texi: New section on Sparc constants.
197 Add documentation for %stick and %stick_cmpr.
198
879d3736
NC
1992008-04-22 David S. Miller <davem@davemloft.net>
200
201 * config/obj-elf.c (obj_elf_section_type): Add prototype
202 before obj_elf_section_word and add 'warn' arg.
203 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
204 is matched, try checking for #SECTION_TYPE.
205 (obj_elf_section): Adjust for new args.
206 (obj_elf_type_name): New function.
207 (obj_elf_type): Call it, and accept STT_foo number strings
208 in .type statements as output by SunPRO compiler.
209
81f8a913
L
2102008-04-22 H.J. Lu <hongjiu.lu@intel.com>
211
212 * config/tc-i386.c (md_assemble): Don't check SSE instructions
213 if noavx is 0.
214
c15295d5
DM
2152008-04-18 David S. Miller <davem@davemloft.net>
216
217 * doc/c-sparc.texi: Add syntax section.
218
eff014d9
L
2192008-04-18 H.J. Lu <hongjiu.lu@intel.com>
220
221 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
222 REG and NDS for instructions with immediate operand.
223
dae39acc
L
2242008-04-18 H.J. Lu <hongjiu.lu@intel.com>
225
226 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
227 FMA.
228
739f7f82
DM
2292008-04-16 David S. Miller <davem@davemloft.net>
230
231 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
232 and relocation generation.
233 (tc_gen_reloc): Likewise.
234
52b5ca5b
AS
2352008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
236
237 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
238 relocations are properly aligned, and not negative.
239
a5f245b5
NC
2402008-04-15 Khem Raj <kraj@mvista.com>
241
242 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
243
19a6653c
AM
2442008-04-14 Edmar Wienskoski <edmar@freescale.com>
245
246 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
247 accept e500mc instructions.
248 (md_show_usage): Document -me500mc.
249
d5a35a55
NC
2502008-04-11 Nick Clifton <nickc@redhat.com>
251
252 * listing.c (print_timestamp): Use localtime rather than
253 localtime_r since not all build environments provide the latter.
254
daf50ae7
L
2552008-04-10 H.J. Lu <hongjiu.lu@intel.com>
256
257 * NEWS: Mention -msse-check=[none|error|warning].
258
259 * config/tc-i386.c (sse_check): New.
260 (OPTION_MSSE_CHECK): Likewise.
261 (md_assemble): Check SSE instructions if needed.
262 (md_longopts): Add -msse-check.
263 (md_parse_option): Handle OPTION_MSSE_CHECK.
264 (md_show_usage): Show -msse-check=[none|error|warning].
265
266 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
267