OSDN Git Service

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