M68K TLS support.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
cf869cce
NC
12009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2
3 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
4 relocations.
5 * config/m68k-parse.y (yylex): Parse TLS relocations.
6 * config/tc-m68k.c (m68k_elf_cons): New static function.
7 (md_pseudo_table): Use it.
8 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
9 relocations.
10 (md_apply_fix): Fix to set thread local flag.
11 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
12
bb0a86e1
NC
132009-02-03 Vince Weaver <vince@csl.cornell.edu>
14
15 PR 9779
16 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
17 indexed addressing for symbolic expressions.
18
fdfde340
JM
192009-01-29 Mark Mitchell <mark@codesourcery.com>
20
21 * config/tc-arm.c (BAD_SP): Define.
22 (s_arm_unwind_fnstart): Use REG_SP.
23 (s_arm_unwind_setfp): Likewise.
24 (reject_bad_reg): New macro.
25 (do_co_reg): Check for bad registers.
26 (do_co_reg2c): Likewise.
27 (do_srs): Use REG_SP.
28 (do_t_add_sub): Check for bad registers.
29 (do_t_adr): Likewise.
30 (do_t_arit3): Likewise.
31 (do_t_arit3c): Likewise.
32 (do_t_bfc): Likewise.
33 (do_t_bfi): Likewise.
34 (do_t_bfx): Likewise.
35 (do_t_blx): Likewise.
36 (do_t_bx): Likewise.
37 (do_t_bxj): Likewise.
38 (do_t_clz): Likewise.
39 (do_t_div): Likewise.
40 (do_t_mla): Likewise.
41 (do_t_mlal): Likewise.
42 (do_t_mov_cmp): Likewise.
43 (do_t_mov16): Likewise.
44 (do_t_mvn_tst): Likewise.
45 (do_t_mrs): Likewise.
46 (do_t_msr): Likewise.
47 (do_t_mul): Likewise.
48 (do_t_mull): Likewise.
49 (do_t_orn): Likewise.
50 (do_t_pkhbt): Likewise.
51 (do_t_pld): Likewise.
52 (do_t_rbit): Likewise.
53 (do_t_rev): Likewise.
54 (do_t_rrx): Likewise.
55 (do_t_rsb): Likewise.
56 (do_t_shift): Likewise.
57 (do_t_simd): Likewise.
58 (do_t_ssat): Likewise.
59 (do_t_ssat16): Likewise.
60 (do_t_sxtah): Likewise.
61 (do_t_sxth): Likewise.
62 (do_t_tb): Likewise.
63 (do_t_usat): Likewise.
64 (do_t_usat16): Likewise.
65 (nysn_insert_sp): Use REG_SP.
66
1c444d06
JM
672009-01-29 Mark Mitchell <mark@codesourcery.com>
68
69 * config/tc-arm.c (do_t_orn): New function.
70 (do_t_rrx): Likewise.
71 (insns): Add orn and rrx.
72
4f80ef3e
JM
732009-01-29 Mark Mitchell <mark@codesourcery.com>
74
75 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
76 uasx, uhasx, uhsx, uqasx, uqsax, usax.
77
087b80de
JM
782009-01-29 Mark Mitchell <mark@codesourcery.com>
79
80 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
81 qdsub in Thumb-2 mode.
82
17828f45
JM
832009-01-29 Paul Brook <paul@codesourcery.com>
84 Mark Mitchell <mark@codesourcery.com>
85
86 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
87 of MUL when possible.
88
ec0c103c
NC
892009-01-29 Nick Clifton <nickc@redhat.com>
90
91 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
92
4a6bc624
NS
932009-01-29 Nathan Sidwell <nathan@codesourcery.com>
94 Catherine Moore <clm@codesourcery.com?
95
96 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
97 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
98 directives.
99
23fce1e3
NC
1002009-01-27 Nick Clifton <nickc@redhat.com>
101
102 * config/tc-mips.c (append_insn): Cope with a complex reloc
103 sequence containing an unsupported reloc type.
104 (enum options): Replace computed #define's constants for option
105 numbers with this enum.
106 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
107 environment.
108 (md_parse_option): Allow -32 in a non-ELF environment.
109
ee3c0378
AS
1102009-01-26 Andrew Stubbs <ams@codesourcery.com>
111
112 * config/tc-arm.c (attributes_set_explicitly): New array.
113 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
114 (cpu_arch): Add ARM_ARCH_V5T.
115 (aeabi_set_attribute_int): New function.
116 (aeabi_set_attribute_string): New function.
117 (aeabi_set_public_attributes): Set attributes according to the user's
118 intentions, rather than the actual state of the binary.
119 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
120 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
121 Support WMMXv2. Use attribute names instead of numbers.
122 * read.c (s_vendor_attribute): Change return type to int.
123 Return the tag number that was set.
124 * read.h (s_vendor_attribute): Change return type to int.
125
17f4880d
EW
1262009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
127
128 PR 9789
129 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
130 * doc/c-avr.texi: Likewise.
131
278df34e
NS
1322009-01-23 Nathan Sidwell <nathan@codesourcery.com>
133
134 * doc/c-arm.texi (): Document -mwarn-deprecated.
135 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
136 (warn_on_deprecated): ... this.
137 (opcode_lookup, md_assemble): Check it before warning.
138 (arm_opts): Add m[no-]warn-deprecated.
139 (md_parse_option): Replace WARN_DEPRECATED with
140 warn_on_deprecated.
141
199114c2
AS
1422009-01-23 Andreas Schwab <schwab@suse.de>
143
750bdd57
AS
144 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
145 arguments to macro_build to match format.
146
199114c2
AS
147 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
148 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
149
d3bf77be
NC
1502009-01-19 Nick Clifton <nickc@redhat.com>
151
152 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
153 ELF format ARM targets.
154 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
155
1562009-01-19 Nick Clifton <nickc@redhat.com>
157
158 * configure.tgt: Restore alpha sorting to object format switch
159 statement.
160
2d0bb761
AS
1612009-01-19 Andrew Stubbs <ams@codesourcery.com>
162
163 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
164
3493e7b0
JM
1652009-01-16 Mark Shinwell <shinwell@codesourcery.com>
166
167 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
168 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
169
e04befd0
AS
1702009-01-16 Andrew Stubbs <ams@codesourcery.com>
171 Daniel Jacobowitz <dan@codesourcery.com>
172
173 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
174 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
175 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
176 * read.c (s_vendor_attribute): Add support for symbolic tag names.
177 Improve string parser.
178 * doc/c-arm.texi (ARM Machine Directives): Document
179 .eabi_attribute symbolic tag names.
180
29670fb9
AM
1812009-01-16 Alan Modra <amodra@bigpond.net.au>
182
183 * configure.in (commonbfdlib): Delete.
184 * configure: Regenerate.
185 * po/POTFILES.in: Regenerate.
186
91e22acd
AS
1872009-01-15 Andrew Stubbs <ams@codesourcery.com>
188 Julian Brown <julian@codesourcery.com>
189
190 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
191
7b86a9fa
AS
1922009-01-15 Andrew Stubbs <ams@codesourcery.com>
193
194 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
195 bfd_elf_add_obj_attr_int_string.
196
01e1a5bc
NC
1972009-01-15 Douglas B Rupp <rupp@gnat.com>
198
199 * configure.tgt(ia64-*-*vms*): New target.
200 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
201 * tc.h (md_number_to_chars): Declare iff undefined.
202 * config/obj-elf.c (obj_elf_change_section): Change type of arg
203 attr to bfd_vma.
204 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
205 variables attr, md_attr to bfd_vma.
206 (obj_elf_section_word): Likewise.
207 (obj_elf_section): Change type of variable attr to bfd_vma
208 * config/obj-elf.h (obj_elf_change_section): Change type of arg
209 attr to bfd_vma.
210 * config/tc-ia64.c (bfdver.h,time.h): Include.
211 (ia64_elf_section_letter): Now returns a bfd_vma.
212 Handle VMS specific attributes.
213 (ia64_elf_section_flags): Arg attr now a bfd_vma.
214 (ia64_init): Don't turn on dependency checking for VMS.
215 (ia64_target_format): Check for VMS flag bit.
216 (do_alias): Hande decc$ functions.
217 (get_vms_time): New function.
218 (ia64_vms_note): New function.
219 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
220 (ia64_elf_section_flags): Arg attr now a bfd_vma.
221 (tc_init_after_args): Define for VMS.
222 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
223 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
224 * config/tc-alpha.h: Likewise.
225 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
226 (x86_64_section_word): Return a bfd_vma.
227 * config/tc-i386.h: Likewise.
228 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
229 attr to bfd_vma.
230 * config/tc-ip2k.h: Likewise.
231 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
232 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
233 * config/tc-mep.h: Likewise.
234 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
235 (ppc_section_word): Return a bfd_vma.
236 (ppc_section_flags): Change type of arg attr to bfd_vma.
237 * config/tc-ppc.h: Likewise.
238 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
239 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
750bdd57
AS
240 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
241 New file with new macros
242 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
243 macros.
01e1a5bc 244
bc2d1808
NC
2452009-01-15 Nick Clifton <nickc@redhat.com>
246
247 PR 9722
248 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
249 instructions before generating a Thumb2 nop.
250
7b6598a4 2512009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
750bdd57 252
7b6598a4
AK
253 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
254
cd4a7468
AM
2552009-01-12 Alan Modra <amodra@bigpond.net.au>
256
257 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
258 (brinfo): New var.
259 (md_assemble): Poke brinfo into branch instructions.
260 (spu_brinfo): New function.
261 (md_apply_fix): Don't assume insn fields start off at zero, mask
262 them to remove possible brinfo.
263
1543849b
L
2642009-01-10 H.J. Lu <hongjiu.lu@intel.com>
265
266 * doc/c-i386.texi: Reformat.
267
bd5295b2
L
2682009-01-10 H.J. Lu <hongjiu.lu@intel.com>
269
270 * gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
271 .syscall.
272 (i386_align_code): Handle PROCESSOR_COREI7.
273 (md_show_usage): Add corei7, clflush and syscall.
274 (i386_target_format): Replace cpup4 with cpuclflush.
275
276 * gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
277
278 * doc/c-i386.texi: Document corei7, clflush and syscall.
279
1b7f3fb0
L
2802009-01-09 H.J. Lu <hongjiu.lu@intel.com>
281
282 * config/tc-i386.c (cpu_arch): Add .rdtscp.
283 (md_show_usage): Display rdtscp.
284
285 * doc/c-i386.texi: Document rdtscp.
286
1cb0a767
PB
2872009-01-09 Peter Bergner <bergner@vnet.ibm.com>
288
289 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
290 Test the new "deprecated" opcode field.
291
19fc3723
SA
2922009-01-07 Sterling Augustine <sterling@tensilica.com>
293
294 * config/tc-xtensa.c (produce_flix): New.
295 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
296 (md_longopts): Add support for them.
297 (md_parse_option): Likewise.
298 (md_show_usage): Add help message.
299 (finish_vinsn): Don't allow multi-slot flix when produce_flix
300 option is set to FLIX_NONE.
301 * config/xtensa-relax.c (transition_applies): Only relax to
302 flix branches when produce_flix equals FLIX_ALL.
303 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
304 FLIX_NONE): New.
305 (produce_flix): Declare.
306
24864476
CF
3072009-01-06 Chao-ying Fu <fu@mips.com>
308
309 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
310 Use strncmp to match jalr and jalr.hb.
311 Fix a typo.
312
0bfee649 3132009-01-05 H.J. Lu <hongjiu.lu@intel.com>
d62f07d0 314
0bfee649
L
315 AVX Programming Reference (December, 2008)
316 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
317 support. Don't swap REG and NDS for FMA.
d62f07d0 318
750bdd57 3192009-01-02 Matthias Klose <doko@ubuntu.com>
e7c604dd 320
750bdd57
AS
321 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
322 behaviour.
e7c604dd 323
0bfee649 324For older changes see ChangeLog-2008
08d56133
NC
325\f
326Local Variables:
327mode: change-log
328left-margin: 8
329fill-column: 74
330version-control: never
331End:
This page took 0.40458 seconds and 4 git commands to generate.