* output.cc (Output_section::add_input_section): Don't try to
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
cc189afc
DD
12008-07-21 DJ Delorie <dj@redhat.com>
2
3 * config/tc-h8300.c (fix_operand_size): Use the default size
4 specified by the .lbranch/.sbranch pseudos.
5
c54b5932
DD
62008-07-18 DJ Delorie <dj@redhat.com>
7
8 * config/tc-m32c.h (H_TICK_HEX): Define.
9 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
10 (md_longopts): Add support for it.
11 (md_parse_option): Likewise.
12 * doc/as.texinfo (Overview): Add new m32c options.
13 * doc/c-m32c.texi (M32C-Modifiers): Likewise
14
15 * as.h: (enable_h_tick_hex): New.
16 * app.c (enable_h_tick_hex): New.
17 (LEX_IS_H): New.
18 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
19 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
20 style hex constants and convert the input stream to 0x00 style.
21 (do_scrub_chars): If a 'X style character constant is found after
22 a symbol character (like you're or X'00), warn the user.
23
30c09090
RS
242008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
25
26 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
27 (mips_fix_adjustable): Likewise.
28 (mips_frob_file_after_relocs): Likewise.
29
bfbba8e4
NS
302008-07-08 Nathan Sidwell <nathan@codesourcery.com>
31
32 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
33 about overriding an earlier setting.
34
b19e8a9b
AN
352008-07-07 Adam Nemet <anemet@caviumnetworks.com>
36
37 * config/tc-mips.c (NO_ISA_COP): New macro.
38 (COP_INSN): New macro.
39 (is_opcode_valid): Use them.
40 (macro) <ld_st>: Use them. Don't accept coprocessor load store
41 insns based on the ISA if CPU is NO_ISA_COP.
42 <copz>: Likewise for coprocessor operations.
43
79947c54
CD
442008-07-07 Paul Brook <paul@codesourcery.com>
45
46 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
47 relocations.
48
9990da1d
NC
492008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
50
51 * configure.tgt: Add bfin-*-rtems*.
52
d62f07d0
AM
532008-07-04 Alan Modra <amodra@bigpond.net.au>
54
55 * config/tc-spu.c (md_apply_fix): Handle fully resolved
56 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
57
c8187e15
PB
582008-06-25 Peter Bergner <bergner@vnet.ibm.com>
59
60 * config/tc-ppc.c (parse_cpu): Handle -m464.
61 (md_show_usage): Likewise.
62
3bb06f78
EW
632008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
64
65 Add support for ATtiny13A.
66 * config/tc-avr.c (mcu_types): Add attiny13a.
67 * doc/c-avr.texi: Likewise.
68
6afe8e98
AM
692008-06-24 Bob Wilson <bob.wilson@acm.org>
70 Alan Modra <amodra@bigpond.net.au>
71
72 * write.c (relax_segment <rs_org>): Include current stretch
73 value when calculating whether .org is backwards.
74
7a283e07
RW
752008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
76
77 * configure: Regenerate.
78
0146fc9d
NC
792008-06-17 Nick Clifton <nickc@redhat.com>
80
81 * app.c (do_scrub_chars): Do not UNGET an EOF value.
82
1afc8def
HPN
832008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
84
85 PR gas/6607
86 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
87 text_section. Do the "stepping backwards" test for text_section
88 using unsigned operands.
89
fa452fa6
PB
902008-06-13 Peter Bergner <bergner@vnet.ibm.com>
91
92 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
93 (ppc_insert_operand): Likewise.
94 (ppc_machine): Likewise.
95 * config/tc-ppc.h: #include "opcode/ppc.h"
96 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
97 (ppc_cpu): Update extern decl.
98
bb35fb24
NC
992008-06-12 Adam Nemet <anemet@caviumnetworks.com>
100
101 * config/tc-mips.c (validate_mips_insn): Handle field descriptors
102 +x, +X, +p, +P, +s, +S.
103 (mips_ip): Likewise.
104
dd3cbb7e
NC
105 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
106 (mips_ip): Likewise.
107 (macro_build): Likewise.
108 (CPU_HAS_SEQ): New macro.
109 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
110
e8568f6c
EW
1112008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
112
113 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
114 * doc/c-avr.texi: Likewise.
115
83bd7402
NC
1162008-06-04 Nick Clifton <nickc@redhat.com>
117
118 * app.c (do_scrub_chars): Do not UNGET an EOF value.
119
cb19c032
L
1202008-06-03 H.J. Lu <hongjiu.lu@intel.com>
121
122 * config/tc-i386.c (set_sse_check): New.
123 (md_pseudo_table): Add "sse_check".
124
4ecab7d4
PB
1252008-06-03 Paul Brook <paul@codesourcery.com>
126
127 * config/tc-arm.c (do_t_rbit): Populate both rm fields.
128
0a903bab
NC
1292008-05-30 Nick Clifton <nickc@redhat.com>
130
131 PR 5523
132 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
133 relocs here.
134
b15591bb
AN
1352008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
136
137 * config/tc-mips.c (mips_cpu_info_table): Move records for
138 ST Loongson-2E/2F processors to a better place.
139
95f283e8
L
1402008-05-23 H.J. Lu <hongjiu.lu@intel.com>
141
142 PR gas/6518
143 * config/tc-i386.c (match_template): Report ambiguous operand
144 size, not invalid suffix when there is no match in Intel
145 syntax.
146
c462b453
PB
1472008-05-22 Paul Brook <paul@codesourcery.com>
148
149 * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
150
7fac0536
NC
1512008-05-21 I-Jui Sung <ijsung@gmail.com>
152
153 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
154 compatible cores: fa526, fa626, fa626te, fa726te.
155 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
156 fa726te} options.
157
8944f3c2
AM
1582008-05-14 Alan Modra <amodra@bigpond.net.au>
159
160 * Makefile.am: Run "make dep-am".
161 * Makefile.in: Regenerate.
162 * doc/Makefile.in: Regenerate.
163 * po/POTFILES.in: Regenerate.
164
35903be0
CM
1652008-05-09 Catherine Moore <clm@codesourcery.com>
166
167 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
168 with non-MIPS16 relocs.
169
c41e87e3
CF
1702008-05-09 Chao-ying Fu <fu@mips.com>
171
172 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
173 case that some characters append at the end of the name.
174 (mips_ip): Likewise.
175 (s_change_sec): Likewise.
176 (md_section_align): Likewise.
177
51c8ebc1
BW
1782008-05-07 Bob Wilson <bob.wilson@acm.org>
179
180 * config/tc-xtensa.c (xtensa_create_property_segments): Use
181 xtensa_make_property_section instead of xtensa_get_property_section.
182 (xtensa_create_xproperty_segments): Likewise.
183
f1f8f695
L
1842008-05-02 H.J. Lu <hongjiu.lu@intel.com>
185
186 * NEWS: Mention XSAVE, EPT and MOVBE.
187
188 * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
189 (md_show_usage): Add .movbe and .ept.
190
191 * doc/c-i386.texi: Add movbe and ept to -march=. Document
192 .movbe and .ept.
193
2b661f3d
DM
1942008-04-29 David S. Miller <davem@davemloft.net>
195
196 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
197
037b32b9
AN
1982008-04-28 Adam Nemet <anemet@caviumnetworks.com>
199
200 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
201 New statics.
202 (OPTION_ELF_BASE): Make room for new option macros.
203 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
204 OPTION_DOUBLE_FLOAT): New option macros.
205 (md_longopts): Add msoft-float, mhard-float, msingle-float and
206 mdouble-float.
207 (md_parse_option): Handle OPTION_SINGLE_FLOAT,
208 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
209 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
210 and -mdouble-float.
211 (struct mips_set_options): New fields soft_float and single_float.
212 (mips_opts): Initialized them. Add comment for each field
213 initializer.
214 (mips_after_parse_args): Set them based on file_mips_soft_float
215 and file_mips_single_float.
216 (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
217 `.set singlefloat' and `.set doublefloat'.
218 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
219 Handle single-float and soft-float instructions here.
220 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
221 (is_opcode_valid_16): New function.
222 (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
223 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
224 M_S_DOB>: Remove special-casing of r4650.
225 * doc/c-mips.texi (-march=): Add Octeon.
226 (MIPS Opts): Document -msoft-float and -mhard-float. Document
227 -msingle-float and -mdouble-float.
228 (MIPS floating-point): New section. Document `.set softfloat' and
229 `.set hardfloat'. Document `.set singlefloat' and `.set
230 doublefloat'.
231
f04d18b7
DM
2322008-04-25 David S. Miller <davem@davemloft.net>
233
234 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
235 %asr aliases.
236
237 * doc/c-sparc.texi: Consistently refer to architecture 'versions',
238 rather than occaisionally 'levels'. Consistently refer to Sun's
239 UNIX variant as SunOS, every version of Solaris is also SunOS.
240 Document new 'softint_clear' and 'softint_set' aliases. Clarify
241 which architecture versions support '%dcr', '%cq', and '%gl'. Add
242 section on 32-bit/64-bit opcode translations.
243
fe4fa32c
MF
2442008-04-23 Mike Frysinger <vapier@gentoo.org>
245
246 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
247 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
248 (obj-fdpicelf.o): Define.
249 * Makefile.in: Regenerate.
250 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
251 (bfin-*-*): Delete.
252 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
253 (bfin-*-uclinux*): New; set fmt to elf and em to linux.
254 * config/obj-fdpicelf.c: New.
255 * config/obj-fdpicelf.h: Likewise.
256 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
257 the OBJ_FDPIC_ELF define.
258 (OPTION_NOPIC): Define.
259 (md_longopts): Add mnopic and mno-fdpic.
260 (md_parse_option): Handle OPTION_NOPIC.
261
6194aaab
L
2622008-04-23 Paolo Bonzini <bonzini@gnu.org>
263
264 * aclocal.m4: Regenerate.
265 * configure: Regenerate.
266
1a6b486f
DM
2672008-04-23 David S. Miller <davem@davemloft.net>
268
269 * config/tc-sparc.c (v9a_asr_table): Add missing
270 'stick' and 'stick_cmpr', and document ordering rules
271 of table.
272 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
273 BFD_RELOC_SPARC_PC10.
274 * doc/c-sparc.texi: New section on Sparc constants.
275 Add documentation for %stick and %stick_cmpr.
276
879d3736
NC
2772008-04-22 David S. Miller <davem@davemloft.net>
278
279 * config/obj-elf.c (obj_elf_section_type): Add prototype
280 before obj_elf_section_word and add 'warn' arg.
281 (obj_elf_section_word): Add type pointer arg, and if no #SECTION
282 is matched, try checking for #SECTION_TYPE.
283 (obj_elf_section): Adjust for new args.
284 (obj_elf_type_name): New function.
285 (obj_elf_type): Call it, and accept STT_foo number strings
286 in .type statements as output by SunPRO compiler.
287
81f8a913
L
2882008-04-22 H.J. Lu <hongjiu.lu@intel.com>
289
290 * config/tc-i386.c (md_assemble): Don't check SSE instructions
291 if noavx is 0.
292
c15295d5
DM
2932008-04-18 David S. Miller <davem@davemloft.net>
294
295 * doc/c-sparc.texi: Add syntax section.
296
eff014d9
L
2972008-04-18 H.J. Lu <hongjiu.lu@intel.com>
298
299 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
300 REG and NDS for instructions with immediate operand.
301
dae39acc
L
3022008-04-18 H.J. Lu <hongjiu.lu@intel.com>
303
304 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
305 FMA.
306
739f7f82
DM
3072008-04-16 David S. Miller <davem@davemloft.net>
308
309 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
310 and relocation generation.
311 (tc_gen_reloc): Likewise.
312
52b5ca5b
AS
3132008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
314
315 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
316 relocations are properly aligned, and not negative.
317
a5f245b5
NC
3182008-04-15 Khem Raj <kraj@mvista.com>
319
320 * doc/tc-arm.texi: Fix fnstart and fnend directive names.
321
19a6653c
AM
3222008-04-14 Edmar Wienskoski <edmar@freescale.com>
323
324 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
325 accept e500mc instructions.
326 (md_show_usage): Document -me500mc.
327
d5a35a55
NC
3282008-04-11 Nick Clifton <nickc@redhat.com>
329
330 * listing.c (print_timestamp): Use localtime rather than
331 localtime_r since not all build environments provide the latter.
332
daf50ae7
L
3332008-04-10 H.J. Lu <hongjiu.lu@intel.com>
334
335 * NEWS: Mention -msse-check=[none|error|warning].
336
337 * config/tc-i386.c (sse_check): New.
338 (OPTION_MSSE_CHECK): Likewise.
339 (md_assemble): Check SSE instructions if needed.
340 (md_longopts): Add -msse-check.
341 (md_parse_option): Handle OPTION_MSSE_CHECK.
342 (md_show_usage): Show -msse-check=[none|error|warning].
343
344 * doc/c-i386.texi: Document -msse-check=[none|error|warning].
345