2006-02-02 Paul Brook <paul@codesourcery.com>
[external/binutils.git] / gas / ChangeLog
1 2006-02-02  Paul Brook  <paul@codesourcery.com>
2
3         * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
4
5 2005-02-02  Paul Brook  <paul@codesourcery.com>
6
7         * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
8         T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
9         T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
10         T2_OPCODE_RSB): Define.
11         (thumb32_negate_data_op): New function.
12         (md_apply_fix): Use it.
13
14 2006-01-31  Bob Wilson  <bob.wilson@acm.org>
15
16         * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
17         fields.
18         * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
19         * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
20         subtracted symbols.
21         (relaxation_requirements): Add pfinish_frag argument and use it to
22         replace setting tinsn->record_fix fields.
23         (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
24         and vinsn_to_insnbuf.  Remove references to record_fix and
25         slot_sub_symbols fields.
26         (xtensa_mark_narrow_branches): Delete unused code.
27         (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
28         a symbol.
29         (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
30         record_fix fields.
31         (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
32         (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
33         of the record_fix field.  Simplify error messages for unexpected
34         symbolic operands.
35         (set_expr_symbol_offset_diff): Delete.
36
37 2006-01-31  Paul Brook  <paul@codesourcery.com>
38
39         * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
40
41 2006-01-31  Paul Brook  <paul@codesourcery.com>
42         Richard Earnshaw <rearnsha@arm.com>
43
44         * config/tc-arm.c: Use arm_feature_set.
45         (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
46         arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
47         fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
48         New variables.
49         (insns): Use them.
50         (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
51         md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
52         arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
53         s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
54         feature flags.
55         (arm_legacy_option_table, arm_option_cpu_value_table): New types.
56         (arm_opts): Move old cpu/arch options from here...
57         (arm_legacy_opts): ... to here.
58         (md_parse_option): Search arm_legacy_opts.
59         (arm_cpus, arm_archs, arm_extensions, arm_fpus)
60         (arm_float_abis, arm_eabis): Make const.
61
62 2006-01-25  Bob Wilson  <bob.wilson@acm.org>
63
64         * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
65
66 2006-01-21  Jie Zhang  <jie.zhang@analog.com>
67
68         * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
69         in load immediate intruction.
70
71 2006-01-21  Jie Zhang  <jie.zhang@analog.com>
72
73         * config/bfin-parse.y (value_match): Use correct conversion
74         specifications in template string for __FILE__ and __LINE__.
75         (binary): Ditto.
76         (unary): Ditto.
77
78 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
79
80         Introduce TLS descriptors for i386 and x86_64.
81         * config/tc-i386.c (tc_i386_fix_adjustable): Handle
82         BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
83         BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
84         (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
85         BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
86         displacement bits.
87         (build_modrm_byte): Set up zero modrm for TLS desc calls.
88         (lex_got): Handle @tlsdesc and @tlscall.
89         (md_apply_fix, tc_gen_reloc): Handle the new relocations.
90
91 2006-01-11  Nick Clifton  <nickc@redhat.com>
92
93         Fixes for building on 64-bit hosts:
94         * config/tc-avr.c (mod_index): New union to allow conversion
95         between pointers and integers.
96         (md_begin, avr_ldi_expression): Use it.
97         * config/tc-i370.c (md_assemble): Add cast for argument to print
98         statement.
99         * config/tc-tic54x.c (subsym_substitute): Likewise.
100         * config/tc-mn10200.c (md_assemble): Use a union to convert the
101         opindex field of fr_cgen structure into a pointer so that it can
102         be stored in a frag.
103         * config/tc-mn10300.c (md_assemble): Likewise.
104         * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
105         types.
106         * config/tc-v850.c: Replace uses of (int) casts with correct
107         types.
108
109 2006-01-09  H.J. Lu  <hongjiu.lu@intel.com>
110
111         PR gas/2117
112         * symbols.c (snapshot_symbol): Don't change a defined symbol.
113
114 2006-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
115
116         PR gas/2101
117         * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
118         a local-label reference.
119
120 For older changes see ChangeLog-2005
121 \f
122 Local Variables:
123 mode: change-log
124 left-margin: 8
125 fill-column: 74
126 version-control: never
127 End: