1 1.1 skrll 2004-12-29 Alan Modra <amodra (a] bigpond.net.au> 2 1.1 skrll 3 1.1 skrll PR gas/619 4 1.1 skrll * read.c (s_comm_internal): Don't zero end of name until size 5 1.1 skrll expression has been parsed. 6 1.1 skrll 7 1.1 skrll 2004-12-25 Marek Michalkiewicz <marekm (a] amelek.gda.pl> 8 1.1 skrll 9 1.1 skrll * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2. 10 1.1 skrll 11 1.1 skrll 2004-12-23 Tomer Levi <Tomer.Levi (a] nsc.com> 12 1.1 skrll 13 1.1 skrll * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' 14 1.1 skrll case). 15 1.1 skrll 16 1.1 skrll 2004-12-22 Ian Lance Taylor <ian (a] airs.com> 17 1.1 skrll 18 1.1 skrll * configure.tgt: New. 19 1.1 skrll * configure.in: Move setting of cpu_type, fmt, etc., to 20 1.1 skrll configure.tgt. 21 1.1 skrll * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add 22 1.1 skrll $(srcdir)/configure.tgt. 23 1.1 skrll * configure, Makefile.in: Rebuild. 24 1.1 skrll 25 1.1 skrll 2004-12-22 Klaus Rudolph <lts-rudolph (a] gmx.de> 26 1.1 skrll 27 1.1 skrll * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and 28 1.1 skrll R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD 29 1.1 skrll instructions. 30 1.1 skrll (avr_offset_expression): New function to parse offsets for LDI 31 1.1 skrll instructions. 32 1.1 skrll (avr_operand): Use it. 33 1.1 skrll (md_apply_fix3): Generate the relocs. 34 1.1 skrll 35 1.1 skrll 2004-12-16 Andrew Stubbs <andrew.stubbs (a] st.com> 36 1.1 skrll 37 1.1 skrll * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing 38 1.1 skrll BFD_RELOC_SH_IMMS10BY8 relocation. 39 1.1 skrll 40 1.1 skrll * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather 41 1.1 skrll than just ignoring bad code. 42 1.1 skrll 43 1.1 skrll 2004-12-16 Richard Sandiford <rsandifo (a] redhat.com> 44 1.1 skrll 45 1.1 skrll * config/tc-v850.c (handle_lo16): New function. 46 1.1 skrll (v850_reloc_prefix): Use it to check lo(). 47 1.1 skrll (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET. 48 1.1 skrll 49 1.1 skrll 2004-12-14 P.J. Darcy <darcypj (a] us.ibm.com> 50 1.1 skrll 51 1.1 skrll * configure.in: Add s390x-ibm-tpf support. 52 1.1 skrll * configure: Regenerate. 53 1.1 skrll 54 1.1 skrll 2004-12-15 Jan Beulich <jbeulich (a] novell.com> 55 1.1 skrll 56 1.1 skrll * config/obj-elf.c (obj_elf_change_section): Only set type and 57 1.1 skrll attributes on new sections. Emit warning when type of re-declared 58 1.1 skrll section doesn't match. 59 1.1 skrll 60 1.1 skrll 2004-12-15 Jan Beulich <jbeulich (a] novell.com> 61 1.1 skrll 62 1.1 skrll * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so 63 1.1 skrll '.cfi_startproc simple' doesn't inherit the old value. 64 1.1 skrll 65 1.1 skrll 2004-12-15 Jan Beulich <jbeulich (a] novell.com> 66 1.1 skrll 67 1.1 skrll * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation 68 1.1 skrll to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf 69 1.1 skrll generation to emit a factored offset. 70 1.1 skrll 71 1.1 skrll 2004-12-10 Ian Lance Taylor <ian (a] wasabisystems.com> 72 1.1 skrll 73 1.1 skrll * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset 74 1.1 skrll which is too large in the case of NO_PIC without 64-bit 75 1.1 skrll addresses. 76 1.1 skrll 77 1.1 skrll * config/tc-mips.c (mips_in_shared): New static variable. 78 1.1 skrll (macro_build_lui): Permit "_gp" if !mips_in_shared. 79 1.1 skrll (md_longopts): Add -mshared and -mno-shared. 80 1.1 skrll (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED. 81 1.1 skrll (s_cpload): Implement !mips_in_shared case. 82 1.1 skrll (s_cpsetup): Likewise. 83 1.1 skrll * doc/c-mips.texi (MIPS Opts): Document -mno-shared. 84 1.1 skrll * NEWS: Mention -mno-shared. 85 1.1 skrll 86 1.1 skrll 2004-12-09 Paul Brook <paul (a] codesourcery.com> 87 1.1 skrll 88 1.1 skrll * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation 89 1.1 skrll for function start. 90 1.1 skrll 91 1.1 skrll 2004-12-09 Ian Lance Taylor <ian (a] wasabisystems.com> 92 1.1 skrll 93 1.1 skrll * config/tc-mips.c (append_insn): If we emit a nop during a relax 94 1.1 skrll sequence, increase the size of the sequence. 95 1.1 skrll 96 1.1 skrll * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to 97 1.1 skrll use CPU_RM9000. 98 1.1 skrll 99 1.1 skrll 2004-12-07 Ben Elliston <bje (a] gnu.org> 100 1.1 skrll 101 1.1 skrll * read.c (s_align): Use an align_limit temporary to allay a GCC 102 1.1 skrll signed/unsigned comparison warning. 103 1.1 skrll 104 1.1 skrll 2004-12-01 Mark Mitchell <mark (a] codesourcery.com> 105 1.1 skrll 106 1.1 skrll * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h. 107 1.1 skrll * configure.in: Use it for arm*-*-linux-gnueabi*. 108 1.1 skrll * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT. 109 1.1 skrll * config/te-armlinuxeabi.h: New file. 110 1.1 skrll * Makefile.in: Regenerated. 111 1.1 skrll * aclocal.m4: Likewise. 112 1.1 skrll * configure: Likewise. 113 1.1 skrll * doc/Makefile.in: Regenerated. 114 1.1 skrll 115 1.1 skrll 2004-12-02 Bob Wilson <bob.wilson (a] acm.org> 116 1.1 skrll 117 1.1 skrll * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set. 118 1.1 skrll (xtensa_restore_emit_state): Likewise. 119 1.1 skrll 120 1.1 skrll 2004-12-02 Alan Modra <amodra (a] bigpond.net.au> 121 1.1 skrll 122 1.1 skrll * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER. 123 1.1 skrll (s_align): Use it. 124 1.1 skrll 125 1.1 skrll 2004-11-30 Tero Niemela <tero_niemela (a] yahoo.com> 126 1.1 skrll 127 1.1 skrll * Makefile.am: Change LOCALEDIR to $(datadir)/share. 128 1.1 skrll * Makefile.in: Regenerate. 129 1.1 skrll 130 1.1 skrll 2004-11-29 Tomer Levi <Tomer.Levi (a] nsc.com> 131 1.1 skrll 132 1.1 skrll * config/tc-crx.c: Major code cleanup. Remove unused variables and 133 1.1 skrll functions, give functions a meaningful name, add comments. 134 1.1 skrll (check_range): New function - Replace operand size calculation 135 1.1 skrll with range checking. 136 1.1 skrll (assemble_insn): Update Algorithm, improve error issuing. 137 1.1 skrll (enum op_err): New. 138 1.1 skrll (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation 139 1.1 skrll handling. 140 1.1 skrll 141 1.1 skrll 2004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 142 1.1 skrll 143 1.1 skrll * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte 144 1.1 skrll miss between different section in the same module. 145 1.1 skrll (tc_gen_reloc): Likewise. 146 1.1 skrll 147 1.1 skrll 2004-11-25 Theodore A. Roth <troth (a] openavr.org> 148 1.1 skrll 149 1.1 skrll * gas/config/tc-avr.c (mcu_types): Add support for atmega165, 150 1.1 skrll atmega325, atmega3250, atmega645 and atmega6450. 151 1.1 skrll 152 1.1 skrll 2004-11-25 Jan Beulich <jbeulich (a] novell.com> 153 1.1 skrll 154 1.1 skrll * config/tc-i386.c (optimize_imm): Adjust immediates to only those 155 1.1 skrll permissible for the selected instruction suffix. 156 1.1 skrll (process_suffix): For DefaultSize instructions, suppressing the 157 1.1 skrll guessing of a 'q' suffix if the instruction doesn't support it is 158 1.1 skrll pointless, because only an 'l' suffix can be guessed in this place. 159 1.1 skrll 160 1.1 skrll 2004-11-24 Nick Clifton <nickc (a] redhat.com> 161 1.1 skrll 162 1.1 skrll * config/tc-iq2000.c: Remove support for IQ10 processor. 163 1.1 skrll Convert to ISO C90 formatting. 164 1.1 skrll * config/tc-iq2000.h: Likewise. 165 1.1 skrll 166 1.1 skrll 2004-11-23 Nick Clifton <nickc (a] redhat.com> 167 1.1 skrll 168 1.1 skrll * config/tc-mn10300.c (md_relax_table): More fixes to the offsets 169 1.1 skrll in this table. They should be correct now. 170 1.1 skrll 171 1.1 skrll 2004-11-23 Jan Beulich <jbeulich (a] novell.com> 172 1.1 skrll 173 1.1 skrll * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to 174 1.1 skrll indicate the MMX extensions added by both SSE and 3DNow!A. 175 1.1 skrll (Cpu3dnowA): Declare. 176 1.1 skrll (CpuUnknownFlags): Update. 177 1.1 skrll * config/tc-i386.c (cpu_sub_arch_name): Declare. 178 1.1 skrll (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do 179 1.1 skrll neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies 180 1.1 skrll 3DNow!. Athlon additionally implies 3DNow!A. Several new 181 1.1 skrll entries (those starting with a dot are for sub-arch specification). 182 1.1 skrll (set_cpu_arch): Handle sub-arch specifications. 183 1.1 skrll (parse_insn): Distinguish between instructions not supported because 184 1.1 skrll of insufficient CPU features and because of 64-bit mode. 185 1.1 skrll * doc/c-i386.texi: Describe enhanced .arch directive. 186 1.1 skrll 187 1.1 skrll 2004-11-22 Bob Wilson <bob.wilson (a] acm.org> 188 1.1 skrll 189 1.1 skrll * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow. 190 1.1 skrll 191 1.1 skrll 2004-11-22 Bob Wilson <bob.wilson (a] acm.org> 192 1.1 skrll 193 1.1 skrll * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section 194 1.1 skrll without a corresponding .debug_info section. 195 1.1 skrll 196 1.1 skrll 2004-11-22 Hans-Peter Nilsson <hp (a] axis.com> 197 1.1 skrll 198 1.1 skrll * read.c (potable): Add "error" and "warning". 199 1.1 skrll (s_errwarn): New function. 200 1.1 skrll * read.h (s_errwarn): Declare. 201 1.1 skrll * doc/as.texinfo (Error, Warning): Document .error and .warning. 202 1.1 skrll 203 1.1 skrll 2004-11-22 Nick Clifton <nickc (a] redhat.com> 204 1.1 skrll 205 1.1 skrll * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to 206 1.1 skrll c_dot_file_symbol. 207 1.1 skrll 208 1.1 skrll 2004-11-19 Alan Modra <amodra (a] bigpond.net.au> 209 1.1 skrll 210 1.1 skrll * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes, 211 1.1 skrll struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h. 212 1.1 skrll 213 1.1 skrll 2004-11-19 Alan Modra <amodra (a] bigpond.net.au> 214 1.1 skrll 215 1.1 skrll * config/obj-coff.c (c_dot_file_symbol): Add "app" param. 216 1.1 skrll (coff_adjust_symtab): Adjust call. 217 1.1 skrll (crawl_symbols): Likewise. 218 1.1 skrll * config/obj-coff.h (c_dot_file_symbol): Add "app" param. 219 1.1 skrll (obj_app_file): Adjust. 220 1.1 skrll 221 1.1 skrll 2004-11-18 Inderpreet Singh <inderpreetb (a] nioda.hcltech.com> 222 1.1 skrll 223 1.1 skrll * configure.in: Enable bfd_assember for the MAXQ port. 224 1.1 skrll * configure: Regenerate. 225 1.1 skrll 226 1.1 skrll 2004-11-12 Bob Wilson <bob.wilson (a] acm.org> 227 1.1 skrll Sterling Augustine <sterling (a] tensilica.com> 228 1.1 skrll 229 1.1 skrll * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if 230 1.1 skrll there is a conflict. 231 1.1 skrll (check_t1_t2_reads_and_writes): Check for both reads and writes to 232 1.1 skrll interfaces that are related as determined by xtensa_interface_class_id. 233 1.1 skrll 234 1.1 skrll 2004-11-12 Nick Clifton <nickc (a] redhat.com> 235 1.1 skrll 236 1.1 skrll * config/tc-mn10300.c (md_relax_table): Fix off by one negative 237 1.1 skrll offsets for conditional branches. 238 1.1 skrll 239 1.1 skrll 2004-11-11 Bob Wilson <bob.wilson (a] acm.org> 240 1.1 skrll 241 1.1 skrll * config/tc-xtensa.c (MAX_IMMED6): Change value to 65. 242 1.1 skrll 243 1.1 skrll 2004-11-10 Bob Wilson <bob.wilson (a] acm.org> 244 1.1 skrll 245 1.1 skrll * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if 246 1.1 skrll relaxing at the end of a loop. Don't mark frags as UNREACHABLE or 247 1.1 skrll MAYBE_UNREACHABLE. 248 1.1 skrll (relax_frag_immed): Update call to update_next_frag_state. 249 1.1 skrll 250 1.1 skrll 2004-11-10 Alan Modra <amodra (a] bigpond.net.au> 251 1.1 skrll 252 1.1 skrll * obj.h (struct format_ops <app_file>): Add int param. 253 1.1 skrll * read.h (s_app_file_string): Likewise. 254 1.1 skrll * read.c (s_app_file_string): Likewise. 255 1.1 skrll (s_app_file): Adjust s_app_file_string call. 256 1.1 skrll * config/tc-mips.c (s_mips_file): Likewise. 257 1.1 skrll * config/obj-coff.h (obj_app_file): Add app param. 258 1.1 skrll * config/obj-ecoff.h (obj_app_file): Likewise. 259 1.1 skrll * config/obj-multi.h (obj_app_file): Likewise. 260 1.1 skrll * config/obj-elf.h (elf_file_symbol): Likewise. 261 1.1 skrll * config/obj-elf.c (elf_file_symbol): Only emit one file symbol 262 1.1 skrll if called for # preprocessor lines. 263 1.1 skrll 264 1.1 skrll 2004-11-08 H.J. Lu <hongjiu.lu (a] intel.com> 265 1.1 skrll 266 1.1 skrll PR 528 267 1.1 skrll * symbols.c (resolve_symbol_value): Convert weak symbols only 268 1.1 skrll for Windows PECOFF. 269 1.1 skrll (symbol_equated_reloc_p): Don't equate weaks when relocating 270 1.1 skrll only for Windows PECOFF. 271 1.1 skrll 272 1.1 skrll 2004-11-08 Tomer Levi <Tomer.Levi (a] nsc.com> 273 1.1 skrll 274 1.1 skrll * config/tc-crx.c (print_insn): Check and set insn_addr. 275 1.1 skrll * config/tc-crx.h (md_frag_check): Define. 276 1.1 skrll 277 1.1 skrll 2004-11-08 Inderpreet Singh <inderpreetb (a] nioda.hcltech.com> 278 1.1 skrll Vineet Sharma <vineets (a] noida.hcltech.com> 279 1.1 skrll 280 1.1 skrll * configure.in: Add support for new target maxq-coff. 281 1.1 skrll * configure: Regenerate. 282 1.1 skrll * NEWS: Mention new support. 283 1.1 skrll * config/tc-maxq.c: New file. 284 1.1 skrll * config/tc-maxq.h: New file. 285 1.1 skrll * config/obj-coff.h: Add support for maxq-coff. 286 1.1 skrll 287 1.1 skrll 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9 (a] aaronwl.com> 288 1.1 skrll 289 1.1 skrll * symbols.c (any_external_name): Define. 290 1.1 skrll (resolve_symbol_value): Convert weak symbols. 291 1.1 skrll (S_SET_EXTERNAL): Support any_external_name. 292 1.1 skrll (S_SET_NAME): Qualify parameter const. 293 1.1 skrll (symbol_equated_reloc_p): Equate to weaks when relocating. 294 1.1 skrll * symbols.h (S_SET_NAME): Qualfiy parameter const. 295 1.1 skrll * tc.h (any_external_name): Declare. 296 1.1 skrll * config/obj-coff.c ("coff/pe.h"): Include for BFD 297 1.1 skrll assemblers also. 298 1.1 skrll (weak_is_altname): Declare and define. 299 1.1 skrll (weak_name2altname): Same. 300 1.1 skrll (weak_altname2name): Same. 301 1.1 skrll (weak_uniquify): Same. 302 1.1 skrll (weak_altprefix): Define. 303 1.1 skrll (obj_coff_weak): Change .weak syntax and handling. 304 1.1 skrll (coff_frob_symbol): Fix PE weak symbol alternates. 305 1.1 skrll * config/obj-coff.h (USE_UNIQUE): Define. 306 1.1 skrll * config/tc-i386.c (md_apply_fix3): Assume weak symbols 307 1.1 skrll are in another segment. 308 1.1 skrll (tc_gen_reloc): Remove broken addend hack. 309 1.1 skrll doc/as.texinfo: Update. 310 1.1 skrll 311 1.1 skrll 2004-11-05 Sterling Augustine <sterling (a] tensilica.com> 312 1.1 skrll 313 1.1 skrll * config/tc-xtensa.c (total_frag_text_expansion): New. 314 1.1 skrll (md_estimate_size_before_relax): Use it. 315 1.1 skrll (find_address_of_next_align_frag): Likewise. 316 1.1 skrll 317 1.1 skrll 2004-11-05 Tomer Levi <Tomer.Levi (a] nsc.com> 318 1.1 skrll 319 1.1 skrll * config/tc-crx.c: Rename argument types. 320 1.1 skrll (processing_arg_number): Rename to 'cur_arg_num'. 321 1.1 skrll (get_number_of_bits): Rename to 'set_operand_size'. 322 1.1 skrll (get_operandtype): Rename to 'parse_operand', totally rewrite. 323 1.1 skrll (set_cons_rparams): Rename to 'set_operand', totally rewrite. 324 1.1 skrll (set_indexmode_parameters): Remove function, integrate its code into 325 1.1 skrll 'set_operand'. 326 1.1 skrll (set_operand_size): Get rid of 'Operand Number' function parameter - 327 1.1 skrll use global variable 'cur_arg_num' instead. 328 1.1 skrll Use a local 'argument' pointer to reference the current argument. 329 1.1 skrll (parse_operand): Likewise. 330 1.1 skrll (set_operand): Likewise. 331 1.1 skrll (process_label_constant): Likewise. 332 1.1 skrll 333 1.1 skrll 2004-11-04 Bob Wilson <bob.wilson (a] acm.org> 334 1.1 skrll 335 1.1 skrll * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs. 336 1.1 skrll (add_section_rename): Delete. Inlined into... 337 1.1 skrll (build_section_rename): ...here. Use xstrdup instead of strdup. 338 1.1 skrll (xtensa_section_rename): Drop "const" from argument and return types. 339 1.1 skrll (md_show_usage): Indent to match show_usage(). 340 1.1 skrll * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs. 341 1.1 skrll (tc_canonicalize_section_name): Define. 342 1.1 skrll (md_elf_section_rename): Remove unused macro. 343 1.1 skrll * doc/as.texinfo (Overview): Document Xtensa --rename-section option. 344 1.1 skrll * doc/c-xtensa.texi (Xtensa Options): Likewise. 345 1.1 skrll (Frame Directive): Delete. 346 1.1 skrll 347 1.1 skrll 2004-11-04 Daniel Jacobowitz <dan (a] debian.org> 348 1.1 skrll 349 1.1 skrll * configure.in: Remove arm-*-oabi and thumb-*-oabi. 350 1.1 skrll * config/tc-arm.c (target_oabi): Delete. 351 1.1 skrll (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks. 352 1.1 skrll (arm_opts): Remove moabi. 353 1.1 skrll * doc/as.texinfo (Overview): Remove documentation of -moabi. 354 1.1 skrll * doc/c-arm.texi (ARM Options): Likewise. 355 1.1 skrll * configure: Regenerated. 356 1.1 skrll 357 1.1 skrll 2004-11-04 Hans-Peter Nilsson <hp (a] axis.com> 358 1.1 skrll 359 1.1 skrll * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED 360 1.1 skrll DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like 361 1.1 skrll cris-*-linux-gnu* and crisv32-*-* like cris-*-*. 362 1.1 skrll * configure: Regenerate. 363 1.1 skrll * config/tc-cris.c (enum cris_archs): New. 364 1.1 skrll (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg) 365 1.1 skrll (cris_insn_ver_valid_for_arch): New functions. 366 1.1 skrll (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10. 367 1.1 skrll (cris_arch): New variable. 368 1.1 skrll (md_pseudo_table): New pseudo .arch. 369 1.1 skrll (err_for_dangerous_mul_placement): Initialize according to 370 1.1 skrll DEFAULT_CRIS_ARCH. 371 1.1 skrll (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH. 372 1.1 skrll All users changed. 373 1.1 skrll (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON) 374 1.1 skrll (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32) 375 1.1 skrll (BRANCH_WF_V32, BRANCH_WB_V32): New. 376 1.1 skrll (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after 377 1.1 skrll use in md_cris_relax_table. 378 1.1 skrll (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32, 379 1.1 skrll STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC. 380 1.1 skrll Update and improve head comment. 381 1.1 skrll (OPTION_PIC): Define in terms of previous option, OPTION_US. 382 1.1 skrll (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar. 383 1.1 skrll (OPTION_ARCH): New. 384 1.1 skrll (md_longopts): New option --march=... 385 1.1 skrll (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New 386 1.1 skrll macros. 387 1.1 skrll (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH. 388 1.1 skrll (HANDLE_RELAXABLE): New macro. 389 1.1 skrll (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common 390 1.1 skrll cases. Check for weak symbols and assume not relaxable. Handle 391 1.1 skrll STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON, 392 1.1 skrll STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not 393 1.1 skrll fragP->fr_symbol. 394 1.1 skrll (md_convert_frag): Handle STATE_COND_BRANCH_V32, 395 1.1 skrll STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC. 396 1.1 skrll (cris_create_short_jump): Adjust for CRISv32. 397 1.1 skrll (cris_relax_frag): Handle new states. 398 1.1 skrll (md_create_long_jump): Ditto. Emit error for common_v10_v32. 399 1.1 skrll (md_begin): Define symbols "..asm.arch.cris.v32", 400 1.1 skrll "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and 401 1.1 skrll "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch 402 1.1 skrll when entering opcode table entry points. 403 1.1 skrll (md_assemble): Adjust branch handling for CRISv32. Handle LAPC 404 1.1 skrll relaxation. In fix_new_exp call for main insn, pass 1 for pcrel 405 1.1 skrll parameter for 8, 16 and 32-bit pc-relative insns and LAPC. 406 1.1 skrll (cris_process_instruction): Initialize out_insnp->insn_type to 407 1.1 skrll CRIS_INSN_NONE, not CRIS_INSN_NORMAL. 408 1.1 skrll <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New 409 1.1 skrll cases. 410 1.1 skrll <case 'm'>: Check that modified_char == '.'. 411 1.1 skrll <invalid operands>: Consume the rest of the line. 412 1.1 skrll When operands don't match, skip over subsequent insns with 413 1.1 skrll non-matching version specifier but same mnemonic. 414 1.1 skrll <immediate constant, case SIZE_SPEC_REG>: Immediate operands for 415 1.1 skrll special registers in CRISv32 are always 32 bit long. 416 1.1 skrll <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>: 417 1.1 skrll New cases. 418 1.1 skrll (get_gen_reg): Only recognize "PC" when followed by "+]" for v32 419 1.1 skrll and compatible. Recognize "ACR" for v32, unless followed by "+". 420 1.1 skrll (get_spec_reg): Consider cris_arch when looking up register. 421 1.1 skrll (get_autoinc_prefix_or_indir_op): Don't recognize assignment for 422 1.1 skrll v32 or compatible. 423 1.1 skrll (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'. 424 1.1 skrll (cris_get_expression): Restore input_line_pointer if failing "early". 425 1.1 skrll (get_flags): Consider cris_arch and recognize flags accordingly. 426 1.1 skrll (branch_disp): Adjust for CRISv32. 427 1.1 skrll (gen_cond_branch_32): Similar. Emit error for common_v10_v32. 428 1.1 skrll (cris_number_to_imm): Use as_bad_where, not as_bad. Remove 429 1.1 skrll related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be 430 1.1 skrll resolved. Don't enter zeros in object file for 431 1.1 skrll BFD_RELOC_32_PCREL. 432 1.1 skrll <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16> 433 1.1 skrll <case BFD_RELOC_CRIS_SIGNED_8>: New case. 434 1.1 skrll (md_parse_option): Break out "return 1". 435 1.1 skrll <OPTION_ARCH> New case. 436 1.1 skrll (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET> 437 1.1 skrll <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8> 438 1.1 skrll <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16> 439 1.1 skrll <case BFD_RELOC_32_PCREL>: New cases. 440 1.1 skrll Addends for non-zero fx_pcrel are too in fx_offset. 441 1.1 skrll (md_show_usage): Show --march=<arch>. 442 1.1 skrll (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET. 443 1.1 skrll (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too. 444 1.1 skrll (s_syntax) <struct syntaxes>: Properly constify member operand. 445 1.1 skrll * config/tc-cris.h (TARGET_MACH): Define. 446 1.1 skrll (cris_mach): Declare. 447 1.1 skrll * doc/as.texinfo (Overview) <CRIS>: Add --march=... 448 1.1 skrll * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols. 449 1.1 skrll (CRIS-Opts): Document --march=... 450 1.1 skrll (CRIS-Pseudos): Document .arch. 451 1.1 skrll 452 1.1 skrll 2004-11-04 Jan Beulich <jbeulich (a] novell.com> 453 1.1 skrll 454 1.1 skrll * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when 455 1.1 skrll intel syntax and no register prefix, allow $ in symbol names when 456 1.1 skrll intel syntax. 457 1.1 skrll (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX. 458 1.1 skrll (intel_float_operand): Add fourth return value indicating math control 459 1.1 skrll operations. Make classification more precise. 460 1.1 skrll (md_assemble): Complain if memory operand of mov[sz]x has no size 461 1.1 skrll specified. 462 1.1 skrll (parse_insn): Translate word operands to floating point instructions 463 1.1 skrll operating on integers as well as control instructions to short ones 464 1.1 skrll as expected by AT&T syntax. Translate 'd' suffix to short one only for 465 1.1 skrll floating point instructions operating on non-integer operands. 466 1.1 skrll (match_template): Remove fldcw special case. Adjust q-suffix handling 467 1.1 skrll to permit it on fild/fistp/fisttp in AT&T mode. 468 1.1 skrll (process_suffix): Don't guess DefaultSize insns' suffix from 469 1.1 skrll stackop_size for certain floating point control instructions. Guess 470 1.1 skrll suffix for branch and [ls][gi]dt based on flag_code. Split error 471 1.1 skrll messages for Intel and AT&T syntax, and make the condition more strict 472 1.1 skrll for the former. Adjust suppressing of generation of operand size 473 1.1 skrll overrides. 474 1.1 skrll (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE, 475 1.1 skrll OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add 476 1.1 skrll more error checking. 477 1.1 skrll * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR 478 1.1 skrll SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines. 479 1.1 skrll 480 1.1 skrll 2004-11-03 Hans-Peter Nilsson <hp (a] axis.com> 481 1.1 skrll 482 1.1 skrll * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare 483 1.1 skrll md_short_jump_size, md_long_jump_size. 484 1.1 skrll * write.c [!WORKING_DOT_WORD]: Ditto. 485 1.1 skrll * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const 486 1.1 skrll qualifier. 487 1.1 skrll * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't 488 1.1 skrll declare. 489 1.1 skrll * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop 490 1.1 skrll const qualifier in these definitions. 491 1.1 skrll * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c, 492 1.1 skrll config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto. 493 1.1 skrll 494 1.1 skrll 2004-11-02 Nick Clifton <nickc (a] redhat.com> 495 1.1 skrll 496 1.1 skrll * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file 497 1.1 skrll table before deciding to produce a .debug_line section to match up 498 1.1 skrll with a user provided .debug_info section. 499 1.1 skrll 500 1.1 skrll 2004-10-28 Tomer Levi <Tomer.Levi (a] nsc.com> 501 1.1 skrll 502 1.1 skrll * config/tc-crx.c (getreg_image): Bug fix, a return value was 503 1.1 skrll mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases. 504 1.1 skrll 505 1.1 skrll 2004-10-27 Tomer Levi <Tomer.Levi (a] nsc.com> 506 1.1 skrll 507 1.1 skrll * config/tc-crx.c: Remove global variable 'post_inc_mode'. 508 1.1 skrll (get_flags): New function. 509 1.1 skrll (get_number_of_bits): Edit comments, update numeric values to 510 1.1 skrll supported sizes. 511 1.1 skrll (process_label_constant): Don't support the colon 512 1.1 skrll format (SYMBOL:[s|m|l]). 513 1.1 skrll (set_cons_rparams): Support argument type 'arg_rbase'. 514 1.1 skrll (get_operandtype): Bug fix in 'rbase' operand type parsing. 515 1.1 skrll (handle_LoadStor): Bug fix, first handle post-increment mode. 516 1.1 skrll (getreg_image): Remove redundant code, update according to latest 517 1.1 skrll CRX spec. 518 1.1 skrll (print_constant): Bug fix relate to 3-word instructions. 519 1.1 skrll (assemble_insn): Bug fix, when matching instructions, verify also 520 1.1 skrll instruction type (not only mnemonic). 521 1.1 skrll Add various error checking. 522 1.1 skrll (preprocess_reglist): Support HI/LO and user registers. 523 1.1 skrll 524 1.1 skrll 2004-10-25 David Mosberger-Tang <davidm (a] hpl.hp.com> 525 1.1 skrll 526 1.1 skrll * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value 527 1.1 skrll in an epilogue directive go negative. 528 1.1 skrll 529 1.1 skrll 2004-10-25 H.J. Lu <hongjiu.lu (a] intel.com> 530 1.1 skrll 531 1.1 skrll PR 474 532 1.1 skrll * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use 533 1.1 skrll after reporting template error during manual bundling. Reported 534 1.1 skrll by Michael Dupont, michaelx.dupont (a] intel.com. 535 1.1 skrll 536 1.1 skrll 2004-10-25 Daniel Jacobowitz <dan (a] debian.org> 537 1.1 skrll 538 1.1 skrll * Makefile.am: Run dep-am. 539 1.1 skrll * aclocal.m4: Regenerate with automake 1.9.2. 540 1.1 skrll * Makefile.in: Regenerate with automake 1.9.2. 541 1.1 skrll * doc/Makefile.in: Likewise. 542 1.1 skrll 543 1.1 skrll * config/tc-arm.c: Include "dw2gencfi.h". 544 1.1 skrll (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions): 545 1.1 skrll New functions. 546 1.1 skrll * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN) 547 1.1 skrll (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum) 548 1.1 skrll (tc_cfi_frame_initial_instructions): Define. 549 1.1 skrll (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions): 550 1.1 skrll Add prototypes. 551 1.1 skrll 552 1.1 skrll 2004-10-21 Tomer Levi <Tomer.Levi (a] nsc.com> 553 1.1 skrll 554 1.1 skrll * config/tc-crx.c (assemble_insn): Check unsigned immediate 555 1.1 skrll operands validity. 556 1.1 skrll Update coprocessor id to be unsigned immediate. 557 1.1 skrll 558 1.1 skrll 2004-10-18 Aaron W. LaFramboise <aaron98wiridge9 (a] aaronwl.com> 559 1.1 skrll 560 1.1 skrll * config/tc-i386.c (O_secrel): Delete. 561 1.1 skrll (tc_pe_dwarf2_emit_offset): New function. 562 1.1 skrll * config/tc-i386.h (O_secrel): Define as O_md1. 563 1.1 skrll (TC_DWARF2_EMIT_OFFSET): Define. 564 1.1 skrll 565 1.1 skrll 2004-10-18 Nick Clifton <nickc (a] redhat.com> 566 1.1 skrll 567 1.1 skrll * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and 568 1.1 skrll ignore @fptr() directives for 4-byte fixups. 569 1.1 skrll 570 1.1 skrll 2004-10-15 Alan Modra <amodra (a] bigpond.net.au> 571 1.1 skrll 572 1.1 skrll * Makefile.am: Run "make dep-am" 573 1.1 skrll * Makefile.in: Regenerate. 574 1.1 skrll 575 1.1 skrll 2004-10-14 Bob Wilson <bob.wilson (a] acm.org> 576 1.1 skrll 577 1.1 skrll * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive): 578 1.1 skrll Remove comments about placement of literal pools. 579 1.1 skrll (Literal Directive): Update description of literal placement. 580 1.1 skrll (Literal Prefix Directive): Remove statement that this does not apply 581 1.1 skrll to absolute-mode literals. Describe new section naming scheme. 582 1.1 skrll 583 1.1 skrll 2004-10-12 Bob Wilson <bob.wilson (a] acm.org> 584 1.1 skrll 585 1.1 skrll * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq. 586 1.1 skrll (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode, 587 1.1 skrll is_windowed_return_opcode): Delete. 588 1.1 skrll (xtensa_frob_label): Use get_subseg_target_freq. 589 1.1 skrll (md_assemble): Inline call to is_entry_opcode. 590 1.1 skrll (xtensa_handle_align): Inline call to get_frag_is_literal. 591 1.1 skrll (relaxation_requirements): Inline call to is_jx_opcode. 592 1.1 skrll (emit_single_op): Inline call to is_movi_opcode. 593 1.1 skrll (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn, 594 1.1 skrll get_frag_is_no_transform, is_entry_opcode, and 595 1.1 skrll set_frag_is_specific_opcode. Use get_subseg_total_freq. 596 1.1 skrll (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags, 597 1.1 skrll xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed): 598 1.1 skrll Inline calls to get_frag_is_no_transform. 599 1.1 skrll (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode. 600 1.1 skrll (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and 601 1.1 skrll get_frag_is_no_transform. 602 1.1 skrll (convert_frag_immed_finish_loop): Inline calls to get_expression_value 603 1.1 skrll and set_frag_is_no_transform. 604 1.1 skrll (get_expression_value): Delete. 605 1.1 skrll (subseg_map struct): Rename cur_total_freq to total_freq. Rename 606 1.1 skrll cur_target_freq to target_freq. 607 1.1 skrll (get_subseg_info): Split out code to create a new map entry into ... 608 1.1 skrll (add_subseg_info): ... this new function. 609 1.1 skrll (get_last_insn_flags): Check if get_subseg_info succeeded. 610 1.1 skrll (set_last_insn_flags): Call add_subseg_info if needed. 611 1.1 skrll (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New. 612 1.1 skrll (xtensa_reorder_segments): Compute last_sec while counting sections. 613 1.1 skrll Remove call to get_last_sec. 614 1.1 skrll (get_last_sec): Delete. 615 1.1 skrll (cache_literal_section): Inline call to retrieve_literal_seg and its 616 1.1 skrll callees, seg_present and add_seg_list. 617 1.1 skrll (retrieve_literal_seg, seg_present, add_seg_list): Delete. 618 1.1 skrll (get_frag_is_insn, get_frag_is_no_transform, 619 1.1 skrll set_frag_is_specific_opcode, set_frag_is_no_transform): Delete. 620 1.1 skrll * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15. 621 1.1 skrll 622 1.1 skrll 2004-10-12 Bob Wilson <bob.wilson (a] acm.org> 623 1.1 skrll 624 1.1 skrll * config/tc-xtensa.c: Use ISO C90 formatting. 625 1.1 skrll * config/tc-xtensa.h: Likewise. 626 1.1 skrll * config/xtensa-istack.h: Likewise. 627 1.1 skrll * config/xtensa-relax.c: Likewise. 628 1.1 skrll * config/xtensa-relax.h: Likewise. 629 1.1 skrll 630 1.1 skrll 2004-10-12 Paul Brook <paul (a] codesourcery.com> 631 1.1 skrll 632 1.1 skrll * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to 633 1.1 skrll EF_ARM_EABI_VER4. 634 1.1 skrll (arm_eabis): Ditto. 635 1.1 skrll * doc/c-arm.texi: Document that we actually support -meabi=4, not 636 1.1 skrll -meabi=3. 637 1.1 skrll 638 1.1 skrll 2004-10-08 Bob Wilson <bob.wilson (a] acm.org> 639 1.1 skrll 640 1.1 skrll * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index 641 1.1 skrll entries. 642 1.1 skrll (Acknowledgements): Use "GAS" instead of AS variable. 643 1.1 skrll 644 1.1 skrll 2004-10-08 Daniel Jacobowitz <dan (a] debian.org> 645 1.1 skrll 646 1.1 skrll * config/tc-i386.c: Include "elf/x86-64.h". 647 1.1 skrll (i386_elf_section_type): New function. 648 1.1 skrll * config/tc-i386.h (md_elf_section_type): Define. 649 1.1 skrll (i386_elf_section_type): New prototype. 650 1.1 skrll 651 1.1 skrll 2004-10-08 Linus Nielsen Feltzing <linus (a] haxx.se> 652 1.1 skrll 653 1.1 skrll * config/m68k-parse.h (enum m68k_register): New control register, 654 1.1 skrll MBAR2 (for MCF5249) 655 1.1 skrll * config/tc-m68k.c: Correct control register set for MCF5249. 656 1.1 skrll 657 1.1 skrll 2004-10-07 Bob Wilson <bob.wilson (a] acm.org> 658 1.1 skrll Sterling Augustine <sterling (a] tensilica.com> 659 1.1 skrll 660 1.1 skrll * config/tc-xtensa.c (absolute_literals_supported): New global flag. 661 1.1 skrll (UNREACHABLE_MAX_WIDTH): Define. 662 1.1 skrll (XTENSA_FETCH_WIDTH): Delete. 663 1.1 skrll (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end, 664 1.1 skrll prefer_const16, prefer_l32r): New global variables. 665 1.1 skrll (LIT4_SECTION_NAME): Define. 666 1.1 skrll (lit4_state struct): Add lit4_seg_name and lit4_seg fields. 667 1.1 skrll (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define. 668 1.1 skrll (frag_flags struct): New. 669 1.1 skrll (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field. 670 1.1 skrll (subseg_map struct): Add cur_total_freq and cur_target_freq fields. 671 1.1 skrll (bitfield, bit_is_set, set_bit, clear_bit): Define. 672 1.1 skrll (MAX_FORMATS): Define. 673 1.1 skrll (op_placement_info struct, op_placement_table): New. 674 1.1 skrll (O_pltrel, O_hi16, O_lo16): Define. 675 1.1 skrll (directiveE enum): Rename directive_generics to directive_transform. 676 1.1 skrll Delete directive_relax. Add directive_schedule, 677 1.1 skrll directive_absolute_literals, and directive_last_directive. 678 1.1 skrll (directive_info): Rename "generics" to "transform". Delete "relax". 679 1.1 skrll Add "schedule" and "absolute-literals". 680 1.1 skrll (directive_state): Adjust entries to match changes in directive_info. 681 1.1 skrll (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h. 682 1.1 skrll (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode, 683 1.1 skrll xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New. 684 1.1 skrll (xtensa_j_opcode, xtensa_rsr_opcode): Delete. 685 1.1 skrll (align_only_targets, software_a0_b_retw_interlock, 686 1.1 skrll software_avoid_b_j_loop_end, maybe_has_b_j_loop_end, 687 1.1 skrll software_avoid_short_loop, software_avoid_close_loop_end, 688 1.1 skrll software_avoid_all_short_loops, specific_opcode): Delete. 689 1.1 skrll (warn_unaligned_branch_targets): New. 690 1.1 skrll (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop, 691 1.1 skrll workaround_close_loop_end, workaround_all_short_loops): Default FALSE. 692 1.1 skrll (option_[no_]link_relax, option_[no_]transform, 693 1.1 skrll option_[no_]absolute_literals, option_warn_unaligned_targets, 694 1.1 skrll option_prefer_l32r, option_prefer_const16, option_target_hardware): 695 1.1 skrll New enum values. 696 1.1 skrll (option_[no_]align_only_targets, option_literal_section_name, 697 1.1 skrll option_text_section_name, option_data_section_name, 698 1.1 skrll option_bss_section_name, option_eb, option_el): Delete. 699 1.1 skrll (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals, 700 1.1 skrll warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax, 701 1.1 skrll and target-hardware. Delete entries for [no-]target-align-only, 702 1.1 skrll literal-section-name, text-section-name, data-section-name, and 703 1.1 skrll bss-section-name. 704 1.1 skrll (md_parse_option): Handle new options and remove old ones. Accept but 705 1.1 skrll ignore [no-]density options. Warn for [no-]generics and [no-]relax 706 1.1 skrll and treat them as [no-]transform. 707 1.1 skrll (md_show_usage): Add new options and remove old ones. 708 1.1 skrll (xtensa_setup_hw_workarounds): New. 709 1.1 skrll (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add 710 1.1 skrll "long", "short", "loc" and "frequency" entries. 711 1.1 skrll (use_generics): Rename to ... 712 1.1 skrll (use_transform): ... this function. Add past_xtensa_end check. 713 1.1 skrll (use_longcalls): Add past_xtensa_end check. 714 1.1 skrll (code_density_available, can_relax): Delete. 715 1.1 skrll (do_align_targets): New. 716 1.1 skrll (get_directive): Accept dashes in directive names. Warn about 717 1.1 skrll [no-]generics and [no-]relax directives and treat them as 718 1.1 skrll [no-]transform. 719 1.1 skrll (xtensa_begin_directive): Call md_flush_pending_output only for some 720 1.1 skrll directives. Check for directives inside instruction bundles. Warn 721 1.1 skrll about deprecated ".begin literal" usage. Warn and ignore [no-]density 722 1.1 skrll directives. Handle new directives. Check generating_literals flag 723 1.1 skrll for literal_prefix. 724 1.1 skrll (xtensa_end_directive): Check for directives inside instruction 725 1.1 skrll bundles. Warn and ignore [no-]density directives. Handle new 726 1.1 skrll directives. Call xtensa_set_frag_assembly_state. 727 1.1 skrll (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc, 728 1.1 skrll xtensa_dwarf2_emit_insn): New. 729 1.1 skrll (xtensa_literal_position): Call md_flush_pending_output. Do not check 730 1.1 skrll use_literal_section flag. 731 1.1 skrll (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute 732 1.1 skrll literals. Use xtensa_elf_cons to parse the expression. 733 1.1 skrll (xtensa_literal_prefix): Do not check use_literal_section. Support 734 1.1 skrll ".lit4" sections for absolute literals. Change prefix convention to 735 1.1 skrll replace ".text" (or ".t" in a linkonce section). No need to call 736 1.1 skrll subseg_set. 737 1.1 skrll (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New. 738 1.1 skrll (expression_end): Handle closing braces and colons. 739 1.1 skrll (PLT_SUFFIX, plt_suffix): Delete. 740 1.1 skrll (expression_maybe_register): Use new xtensa-isa.h functions. Use 741 1.1 skrll xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16 742 1.1 skrll and O_hi16 expressions as well. 743 1.1 skrll (tokenize_arguments): Handle closing braces and colons. 744 1.1 skrll (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible" 745 1.1 skrll operands and paired register syntax. 746 1.1 skrll (get_invisible_operands): New. 747 1.1 skrll (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use 748 1.1 skrll new xtensa-isa.h functions. 749 1.1 skrll (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New. 750 1.1 skrll (xg_translate_idioms): Check if inside bundle. Use use_transform. 751 1.1 skrll Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density 752 1.1 skrll instructions. Use xtensa_translate_zero_immed. 753 1.1 skrll (operand_is_immed, operand_is_pcrel_label): Delete. 754 1.1 skrll (get_relaxable_immed): Use new xtensa-isa.h functions. 755 1.1 skrll (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h 756 1.1 skrll functions. 757 1.1 skrll (xtensa_print_insn_table, print_vliw_insn): New. 758 1.1 skrll (is_direct_call_opcode): Use new xtensa-isa.h functions. 759 1.1 skrll (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode, 760 1.1 skrll is_branch_or_jump_opcode): Delete. 761 1.1 skrll (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New. 762 1.1 skrll (opnum_to_reloc, reloc_to_opnum): Delete. 763 1.1 skrll (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new 764 1.1 skrll xtensa-isa.h functions. Operate on one slot of an instruction. 765 1.1 skrll (xtensa_insnbuf_set_immediate_field, is_negatable_branch, 766 1.1 skrll xg_get_insn_size): Delete. 767 1.1 skrll (xg_get_build_instr_size): Use xg_get_single_size. 768 1.1 skrll (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to 769 1.1 skrll xg_build_widen_table. Use xg_get_single_size. 770 1.1 skrll (xg_get_max_narrow_insn_size): Delete. 771 1.1 skrll (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size, 772 1.1 skrll xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use 773 1.1 skrll xg_get_single_size. 774 1.1 skrll (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and 775 1.1 skrll OP_OPERAND_LOW16U. Check xg_valid_literal_expression. 776 1.1 skrll (xg_expand_to_stack, xg_expand_narrow): Update calls to 777 1.1 skrll xg_build_widen_table. Use xg_get_single_size. 778 1.1 skrll (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to 779 1.1 skrll xg_check_operand. 780 1.1 skrll (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and 781 1.1 skrll treat weak symbols conservatively. 782 1.1 skrll (xg_check_operand): Use new xtensa-isa.h functions. 783 1.1 skrll (is_dnrange): Delete. 784 1.1 skrll (xg_assembly_relax): Inline previous calls to tinsn_copy. 785 1.1 skrll (xg_finish_frag): Specify separate relax states for the frag and slot0. 786 1.1 skrll (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new 787 1.1 skrll xtensa-isa.h functions. 788 1.1 skrll (xg_instruction_matches_option_term, xg_instruction_matches_or_options, 789 1.1 skrll xg_instruction_matches_options): New. 790 1.1 skrll (xg_instruction_matches_rule): Handle O_register expressions. Call 791 1.1 skrll xg_instruction_matches_options. 792 1.1 skrll (transition_rule_cmp): New. 793 1.1 skrll (xg_instruction_match): Update call to xg_build_simplify_table. 794 1.1 skrll (xg_build_token_insn): Record loc fields. 795 1.1 skrll (xg_simplify_insn): Check is_specific_opcode field and 796 1.1 skrll density_supported flag. 797 1.1 skrll (xg_expand_assembly_insn): Skip checking code_density_available. Use 798 1.1 skrll new xtensa-isa.h functions. Call use_transform instead of can_relax. 799 1.1 skrll (xg_assemble_literal): Add error handling for O_big. Call 800 1.1 skrll record_alignment. Handle O_pltrel. 801 1.1 skrll (xg_valid_literal_expression): New. 802 1.1 skrll (xg_assemble_literal_space): Add slot parameter. Remove call to 803 1.1 skrll set_expr_symbol_offset. Add call to record_alignment. Update call to 804 1.1 skrll xg_finish_frag. 805 1.1 skrll (xg_emit_insn): Delete. 806 1.1 skrll (xg_emit_insn_to_buf): Add format parameter. Update calls to 807 1.1 skrll xg_add_opcode_fix and xtensa_insnbuf_to_chars. 808 1.1 skrll (xg_add_opcode_fix): Change opcode parameter to tinsn and add format 809 1.1 skrll and slot parameters. Handle new "alternate" relocations for absolute 810 1.1 skrll literals and CONST16 instructions. Check for bad uses of O_lo16 and 811 1.1 skrll O_hi16. Use new xtensa-isa.h functions. 812 1.1 skrll (xg_assemble_tokens): Delete. 813 1.1 skrll (is_register_writer): Use new xtensa-isa.h functions. 814 1.1 skrll (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of 815 1.1 skrll old-style RSR from LCOUNT. 816 1.1 skrll (next_frag_opcode): Delete. 817 1.1 skrll (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size, 818 1.1 skrll update_next_frag_state): New. 819 1.1 skrll (update_next_frag_nop_state): Delete. 820 1.1 skrll (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop. 821 1.1 skrll (xtensa_mark_literal_pool_location): Check use_literal_section flag and 822 1.1 skrll the state of the absolute-literals directive. Add calls to 823 1.1 skrll record_alignment and xtensa_set_frag_assembly_state. Call 824 1.1 skrll xtensa_switch_to_non_abs_literal_fragment instead of 825 1.1 skrll xtensa_switch_to_literal_fragment. 826 1.1 skrll (build_nop): New. 827 1.1 skrll (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars. 828 1.1 skrll (get_expanded_loop_offset): Change check for undefined opcode to an 829 1.1 skrll assertion. 830 1.1 skrll (xtensa_set_frag_assembly_state, relaxable_section, 831 1.1 skrll xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets, 832 1.1 skrll xtensa_find_unaligned_loops, xg_apply_tentative_value): New. 833 1.1 skrll (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1. 834 1.1 skrll Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes. 835 1.1 skrll Call init_op_placement_info_table and xtensa_set_frag_assembly_state. 836 1.1 skrll (xtensa_init_fix_data): New. 837 1.1 skrll (xtensa_frob_label): Reset label symbol to the current frag. Check 838 1.1 skrll do_align_targets and generating_literals flag. Propagate frequency 839 1.1 skrll info to new alignment frag. Call xtensa_set_frag_assembly_state. 840 1.1 skrll (xtensa_unrecognized_line): New. 841 1.1 skrll (xtensa_flush_pending_output): Check if inside a bundle. Add a call 842 1.1 skrll to xtensa_set_frag_assembly_state. 843 1.1 skrll (error_reset_cur_vinsn): New. 844 1.1 skrll (md_assemble): Remove check for literal frag. Remove call to 845 1.1 skrll istack_init. Call use_transform instead of use_generics. Parse 846 1.1 skrll explicit instruction format specifiers. Move code for 847 1.1 skrll a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call 848 1.1 skrll error_reset_cur_vinsn on errors. Add call to get_invisible_operands. 849 1.1 skrll Add dwarf2_where call. Remote automatic alignment for ENTRY 850 1.1 skrll instructions. Move call to xtensa_clear_insn_labels to the end. 851 1.1 skrll Rearrange to handle bundles. 852 1.1 skrll (xtensa_cons_fix_new): Delete. 853 1.1 skrll (xtensa_handle_align): New. 854 1.1 skrll (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove 855 1.1 skrll assignment to is_no_density field. 856 1.1 skrll (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc 857 1.1 skrll instead of reloc_to_opnum. Handle "alternate" relocations. 858 1.1 skrll (xtensa_force_relocation, xtensa_check_inside_bundle, 859 1.1 skrll xtensa_elf_section_change_hook): New. 860 1.1 skrll (xtensa_symbol_new_hook): Delete. 861 1.1 skrll (xtensa_fix_adjustable): Check for difference of symbols with an 862 1.1 skrll offset. Check for external and weak symbols. 863 1.1 skrll (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs. 864 1.1 skrll (md_estimate_size_before_relax): Return expansion for the first slot. 865 1.1 skrll (tc_gen_reloc): Handle difference of symbols by producing 866 1.1 skrll XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference 867 1.1 skrll into the output. Handle new XTENSA_SLOT*_OP relocs by storing the 868 1.1 skrll tentative values into the output when linkrelax is set. 869 1.1 skrll (XTENSA_PROP_SEC_NAME): Define. 870 1.1 skrll (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags. 871 1.1 skrll Create literal tables only if using literal sections. Create new 872 1.1 skrll property tables instead of old instruction tables. Check for unaligned 873 1.1 skrll branch targets and loops. 874 1.1 skrll (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes, 875 1.1 skrll new_resource_table, clear_resource_table, resize_resource_table, 876 1.1 skrll resources_available, reserve_resources, release_resources, 877 1.1 skrll opcode_funcUnit_use_unit, opcode_funcUnit_use_stage, 878 1.1 skrll resources_conflict, xg_find_narrowest_format, relaxation_requirements, 879 1.1 skrll bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New. 880 1.1 skrll (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end 881 1.1 skrll flag. Update checks for workaround options. Call 882 1.1 skrll xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns. 883 1.1 skrll (xtensa_cleanup_align_frags): Add special case for branch targets. 884 1.1 skrll Check for and mark unreachable frags. 885 1.1 skrll (xtensa_fix_target_frags): Remove use of align_only_targets flag. 886 1.1 skrll Use RELAX_LOOP_END_BYTES in special case for negatable branch at the 887 1.1 skrll end of a zero-overhead loop body. 888 1.1 skrll (frag_can_negate_branch): Handle instructions with multiple slots. 889 1.1 skrll Use new xtensa-isa.h functions 890 1.1 skrll (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range, 891 1.1 skrll xtensa_mark_zcl_first_insns): New. 892 1.1 skrll (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if 893 1.1 skrll transformations are disabled. 894 1.1 skrll (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle 895 1.1 skrll multislot instructions. 896 1.1 skrll (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags): 897 1.1 skrll Likewise. Also error if transformations are disabled. 898 1.1 skrll (unrelaxed_frag_max_size): New. 899 1.1 skrll (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new 900 1.1 skrll xtensa-isa.h functions. 901 1.1 skrll (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use 902 1.1 skrll xtensa_opcode_is_loop instead of is_loop_opcode. 903 1.1 skrll (get_text_align_power): Replace as_fatal with assertion. 904 1.1 skrll (get_text_align_fill_size): Iterate instead of using modulus when 905 1.1 skrll use_nops is false. 906 1.1 skrll (get_noop_aligned_address): Assert that this is for a machine-dependent 907 1.1 skrll RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop, 908 1.1 skrll xg_get_single_size, and frag_format_size. 909 1.1 skrll (get_widen_aligned_address): Rename to ... 910 1.1 skrll (get_aligned_diff): ... this function. Add max_diff parameter. 911 1.1 skrll Remove handling of rs_align/rs_align_code frags. Use 912 1.1 skrll next_frag_format_size, get_text_align_power, get_text_align_fill_size, 913 1.1 skrll next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff 914 1.1 skrll and pass it back to caller. 915 1.1 skrll (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new 916 1.1 skrll RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, 917 1.1 skrll RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen. 918 1.1 skrll (relax_frag_text_align): Rename to ... 919 1.1 skrll (relax_frag_loop_align): ... this function. Assume loops can only be 920 1.1 skrll in the first slot of an instruction. 921 1.1 skrll (relax_frag_add_nop): Use assemble_nop instead of constructing an OR 922 1.1 skrll instruction. Remove call to frag_wane. 923 1.1 skrll (relax_frag_narrow): Rename to ... 924 1.1 skrll (relax_frag_for_align): ... this function. Extend to handle 925 1.1 skrll RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with 926 1.1 skrll RELAX_NARROW for the first slot. 927 1.1 skrll (find_address_of_next_align_frag, bytes_to_stretch): New. 928 1.1 skrll (future_alignment_required): Use find_address_of_next_align_frag and 929 1.1 skrll bytes_to_stretch. Look ahead to subsequent frags to make smarter 930 1.1 skrll alignment decisions. 931 1.1 skrll (relax_frag_immed): Add format, slot, and estimate_only parameters. 932 1.1 skrll Check if transformations are enabled for b_j_loop_end workaround. 933 1.1 skrll Use new xtensa-isa.h functions and handle multislot instructions. 934 1.1 skrll Update call to xg_assembly_relax. 935 1.1 skrll (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE, 936 1.1 skrll RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP 937 1.1 skrll frag types. 938 1.1 skrll (convert_frag_narrow): Add segP, format and slot parameters. Call 939 1.1 skrll convert_frag_immed for branch instructions. Adjust calls to 940 1.1 skrll tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use 941 1.1 skrll xg_get_single_size and xg_get_single_format. 942 1.1 skrll (convert_frag_fill_nop): New. 943 1.1 skrll (convert_frag_immed): Add format and slot parameters. Handle multislot 944 1.1 skrll instructions and use new xtensa-isa.h functions. Update calls to 945 1.1 skrll tinsn_immed_from_frag and xg_assembly_relax. Check if transformations 946 1.1 skrll enabled for b_j_loop_end workaround. Use build_nop instead of 947 1.1 skrll assemble_nop. Check is_specific_opcode flag. Check for unreachable 948 1.1 skrll frags. Use xg_get_single_size. Handle O_pltrel. 949 1.1 skrll (fix_new_exp_in_seg): Remove check for old plt flag. 950 1.1 skrll (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and 951 1.1 skrll xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check 952 1.1 skrll for loop opcode to an assertion. Mark all frags up to the end of the 953 1.1 skrll loop as not transformable. 954 1.1 skrll (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info. 955 1.1 skrll (get_subseg_info): New. 956 1.1 skrll (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null 957 1.1 skrll check for dest_seg. 958 1.1 skrll (xtensa_switch_to_literal_fragment): Rewrite to handle absolute 959 1.1 skrll literals and use xtensa_switch_to_non_abs_literal_fragment otherwise. 960 1.1 skrll (xtensa_switch_to_non_abs_literal_fragment): New. 961 1.1 skrll (cache_literal_section): Add is_code parameter and pass it through to 962 1.1 skrll retrieve_literal_seg. 963 1.1 skrll (retrieve_literal_seg): Add is_code parameter and use it to set the 964 1.1 skrll flags on the literal section. Handle case where head parameter is 0. 965 1.1 skrll (get_frag_is_no_transform, set_frag_is_specific_opcode, 966 1.1 skrll set_frag_is_no_transform): New. 967 1.1 skrll (xtensa_create_property_segments): Add end_property_function parameter 968 1.1 skrll and pass it through to add_xt_block_frags. Call bfd_get_section_flags 969 1.1 skrll and skip SEC_DEBUGGING and !SEC_ALLOC sections. 970 1.1 skrll (xtensa_create_xproperty_segments, section_has_xproperty): New. 971 1.1 skrll (add_xt_block_frags): Add end_property_function parameter and call it 972 1.1 skrll if it is non-zero. Call xtensa_frag_flags_init. 973 1.1 skrll (xtensa_frag_flags_is_empty, xtensa_frag_flags_init, 974 1.1 skrll get_frag_property_flags, frag_flags_to_number, 975 1.1 skrll xtensa_frag_flags_combinable, xt_block_aligned_size, 976 1.1 skrll xtensa_xt_block_combine, add_xt_prop_frags, 977 1.1 skrll init_op_placement_info_table, opcode_fits_format_slot, 978 1.1 skrll xg_get_single_size, xg_get_single_format): New. 979 1.1 skrll (istack_push): Inline call to tinsn_copy. 980 1.1 skrll (tinsn_copy): Delete. 981 1.1 skrll (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and 982 1.1 skrll CONST16 opcodes. Handle O_big, O_illegal, and O_absent. 983 1.1 skrll (tinsn_has_complex_operands): Handle O_hi16 and O_lo16. 984 1.1 skrll (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h 985 1.1 skrll functions. Handle invisible operands. 986 1.1 skrll (tinsn_to_slotbuf): New. 987 1.1 skrll (tinsn_check_arguments): Use new xtensa-isa.h functions. 988 1.1 skrll (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn, 989 1.1 skrll vinsn_from_chars, and xg_free_vinsn. 990 1.1 skrll (tinsn_from_insnbuf): New. 991 1.1 skrll (tinsn_immed_from_frag): Add slot parameter and handle multislot 992 1.1 skrll instructions. Handle symbol differences. 993 1.1 skrll (get_num_stack_text_bytes): Use xg_get_single_size. 994 1.1 skrll (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes, 995 1.1 skrll xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register, 996 1.1 skrll get_expr_register, set_expr_symbol_offset_diff): New. 997 1.1 skrll * config/tc-xtensa.h (MAX_SLOTS): Define. 998 1.1 skrll (xtensa_relax_statesE): Move from tc-xtensa.c. Add 999 1.1 skrll RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS, 1000 1.1 skrll RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and 1001 1.1 skrll RELAX_NONE types. 1002 1.1 skrll (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c. 1003 1.1 skrll (xtensa_frag_type struct): Add is_assembly_state_set, 1004 1.1 skrll use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode, 1005 1.1 skrll is_align, is_text_align, alignment, and is_first_loop_insn fields. 1006 1.1 skrll Replace is_generics and is_relax fields by is_no_transform field. 1007 1.1 skrll Delete is_text and is_longcalls fields. Change text_expansion and 1008 1.1 skrll literal_expansion to arrays of MAX_SLOTS entries. Add arrays of 1009 1.1 skrll per-slot information: literal_frags, slot_subtypes, slot_symbols, 1010 1.1 skrll slot_sub_symbols, and slot_offsets. Add fr_prev field. 1011 1.1 skrll (xtensa_fix_data struct): New. 1012 1.1 skrll (xtensa_symfield_type struct): Delete plt field. 1013 1.1 skrll (xtensa_block_info struct): Move definition to tc-xtensa.h. Add 1014 1.1 skrll forward declaration here. 1015 1.1 skrll (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec. 1016 1.1 skrll (XTENSA_SECTION_RENAME): Undefine. 1017 1.1 skrll (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT, 1018 1.1 skrll tc_unrecognized_line, md_do_align, md_elf_section_change_hook, 1019 1.1 skrll HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define. 1020 1.1 skrll (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete. 1021 1.1 skrll (unit_num_copies_func, opcode_num_units_func, 1022 1.1 skrll opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New. 1023 1.1 skrll (resource_table struct): New. 1024 1.1 skrll * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10. 1025 1.1 skrll (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype, 1026 1.1 skrll literal_space, symbol, sub_symbol, offset, and literal_frag fields. 1027 1.1 skrll (tinsn_copy): Delete prototype. 1028 1.1 skrll (vliw_insn struct): New. 1029 1.1 skrll * config/xtensa-relax.c (insn_pattern_struct): Add options field. 1030 1.1 skrll (widen_spec_list): Add option conditions for density and boolean 1031 1.1 skrll instructions. Add expansions using CONST16 and conditions for using 1032 1.1 skrll CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for 1033 1.1 skrll predicted branches. 1034 1.1 skrll (simplify_spec_list): Add option conditions for density instructions. 1035 1.1 skrll Add entry for NOP instruction. 1036 1.1 skrll (append_transition): Add cmp function pointer parameter and use it to 1037 1.1 skrll insert the new entry in order. 1038 1.1 skrll (operand_function_LOW16U, operand_function_HI16U): New. 1039 1.1 skrll (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle 1040 1.1 skrll OP_OPERAND_LOW16U and OP_OPERAND_HI16U. 1041 1.1 skrll (enter_opname, split_string): Use xstrdup instead of strdup. 1042 1.1 skrll (init_insn_pattern): Initialize new options field. 1043 1.1 skrll (clear_req_or_option_list, clear_req_option_list, 1044 1.1 skrll clone_req_or_option_list, clone_req_option_list, parse_option_cond): 1045 1.1 skrll New. 1046 1.1 skrll (parse_insn_pattern): Parse option conditions. 1047 1.1 skrll (transition_applies): New. 1048 1.1 skrll (build_transition): Use new xtensa-isa.h functions. Fix incorrectly 1049 1.1 skrll swapped last arguments in calls to append_constant_value_condition. 1050 1.1 skrll Call clone_req_option_list. Add warning about invalid opcode. 1051 1.1 skrll Handle LOW16U and HI16U function names. 1052 1.1 skrll (build_transition_table): Add cmp parameter and use it in calls to 1053 1.1 skrll append_transition. Use new xtensa-isa.h functions. Check 1054 1.1 skrll transition_applies before adding entries. 1055 1.1 skrll (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and 1056 1.1 skrll pass it through to build_transition_table. 1057 1.1 skrll * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList, 1058 1.1 skrll ReqOption, transition_cmp_fn): New types. 1059 1.1 skrll (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U. 1060 1.1 skrll (transition_rule struct): Add options field. 1061 1.1 skrll * doc/as.texinfo (Overview): Update Xtensa options. 1062 1.1 skrll * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density, 1063 1.1 skrll --[no-]relax, and --[no-]generics options. Update descriptions of 1064 1.1 skrll --text-section-literals and --[no-]longcalls. Add 1065 1.1 skrll --[no-]absolute-literals and --[no-]transform. 1066 1.1 skrll (Xtensa Syntax): Add description of syntax for FLIX instructions. 1067 1.1 skrll Remove use of "generic" and "specific" terminology for opcodes. 1068 1.1 skrll (Xtensa Registers): Generalize the syntax description to include 1069 1.1 skrll user-defined register files. 1070 1.1 skrll (Xtensa Automatic Alignment): Update. 1071 1.1 skrll (Xtensa Branch Relaxation): Mention limitation of unconditional jumps. 1072 1.1 skrll (Xtensa Call Relaxation): Linker can now remove most of the overhead. 1073 1.1 skrll (Xtensa Directives): Remove confusing rules about precedence. 1074 1.1 skrll (Density Directive, Relax Directive): Delete. 1075 1.1 skrll (Schedule Directive): New. 1076 1.1 skrll (Generics Directive): Rename to ... 1077 1.1 skrll (Transform Directive): ... this node. 1078 1.1 skrll (Literal Directive): Update for absolute literals. Missing 1079 1.1 skrll literal_position directive is now an error. 1080 1.1 skrll (Literal Position Directive): Update for absolute literals. 1081 1.1 skrll (Freeregs Directive): Delete. 1082 1.1 skrll (Absolute Literals Directive): New. 1083 1.1 skrll (Frame Directive): Minor editing. 1084 1.1 skrll * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf): 1085 1.1 skrll Update dependencies. 1086 1.1 skrll * Makefile.in: Regenerate. 1087 1.1 skrll 1088 1.1 skrll 2004-10-07 Richard Sandiford <rsandifo (a] redhat.com> 1089 1.1 skrll 1090 1.1 skrll * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp 1091 1.1 skrll to build the second and third fixups for a composite relocation. 1092 1.1 skrll (macro_read_relocs): New function. 1093 1.1 skrll (macro_build): Use it. 1094 1.1 skrll (s_cpsetup): Pass all three composite relocation codes to macro_build. 1095 1.1 skrll Simplify fragging code accordingly. 1096 1.1 skrll (s_gpdword): Use fix_new rather than fix_new_exp for the second part 1097 1.1 skrll of the composite relocation. Set fx_tcbit in both fixups. 1098 1.1 skrll 1099 1.1 skrll 2004-10-07 Richard Sandiford <rsandifo (a] redhat.com> 1100 1.1 skrll 1101 1.1 skrll * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs. 1102 1.1 skrll (md_apply_fix3): Don't treat composite relocs as done. 1103 1.1 skrll 1104 1.1 skrll 2004-10-07 Jan Beulich <jbeulich (a] novell.com> 1105 1.1 skrll 1106 1.1 skrll * macro.c (macro_expand_body): When ELF, use .LL rather than LL as 1107 1.1 skrll prefix for symbol names generated from the LOCAL macro directive. 1108 1.1 skrll 1109 1.1 skrll * dw2gencfi.c (select_cie_for_fde): When separating CIE out from 1110 1.1 skrll FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc. 1111 1.1 skrll 1112 1.1 skrll 2004-10-07 Tomer Levi <Tomer.Levi (a] nsc.com> 1113 1.1 skrll 1114 1.1 skrll * config/tc-crx.c (preprocess_reglist): Handle Co-processor 1115 1.1 skrll Special registers. 1116 1.1 skrll (md_assemble): Add error checking for Co-Processor instructions. 1117 1.1 skrll (get_cinv_parameters): Add 'b' option to invalidate the 1118 1.1 skrll branch-target cache. 1119 1.1 skrll 1120 1.1 skrll 2004-10-05 Paul Brook <paul (a] codesourcery.com> 1121 1.1 skrll 1122 1.1 skrll * config/tc-arm.c (unwind): New variable. 1123 1.1 skrll (vfp_sp_encode_reg): New function. 1124 1.1 skrll (vfp_sp_reg_required_here): Use it. 1125 1.1 skrll (vfp_sp_reg_list, vfp_dp_reg_list): Remove. 1126 1.1 skrll (vfp_parse_reg_list): New function. 1127 1.1 skrll (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind, 1128 1.1 skrll s_arm_unwind_personality, s_arm_unwind_personalityindex, 1129 1.1 skrll s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp, 1130 1.1 skrll s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New 1131 1.1 skrll functions. 1132 1.1 skrll (md_pseudo_table): Add them. 1133 1.1 skrll (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg. 1134 1.1 skrll (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto. 1135 1.1 skrll (set_section, add_unwind_adjustsp, flush_pending_unwind, 1136 1.1 skrll finish_unwind_opcodes, start_unwind_section, create_unwind_entry, 1137 1.1 skrll require_hashconst, add_unwind_opcode): New functions. 1138 1.1 skrll * doc/c-arm.texi: Document unwinding opcodes. 1139 1.1 skrll * NEWS: Mention the new feature. 1140 1.1 skrll 1141 1.1 skrll 2004-10-04 Eric Christopher <echristo (a] redhat.com> 1142 1.1 skrll 1143 1.1 skrll * config/tc-mips.c (md_apply_fix3): Remove erroneous assert. 1144 1.1 skrll 1145 1.1 skrll 2004-10-01 H.J. Lu <hongjiu.lu (a] intel.com> 1146 1.1 skrll 1147 1.1 skrll * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for 1148 1.1 skrll TLS relocations. 1149 1.1 skrll * config/tc-s390.c (md_apply_fix3): Likewise. 1150 1.1 skrll * config/tc-sparc.c (md_apply_fix3): Likewise. 1151 1.1 skrll 1152 1.1 skrll 2004-10-01 Paul Brook <paul (a] codesourcery.com> 1153 1.1 skrll 1154 1.1 skrll * config/tc-arm.c (arm_elf_section_type): New function. 1155 1.1 skrll (arm_elf_change_section): Set section link for exidx sections. 1156 1.1 skrll * config/tc-arm.h (arm_elf_section_type): Add prototype. 1157 1.1 skrll (md_elf_section_type): Define. 1158 1.1 skrll 1159 1.1 skrll 2004-10-01 Bill Farmer <Bill (a] the-farmers.freeserve.co.uk> 1160 1.1 skrll 1161 1.1 skrll * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB 1162 1.1 skrll instruction's offset. 1163 1.1 skrll 1164 1.1 skrll 2004-10-01 Adam Nemet <anemet (a] lnxw.com> 1165 1.1 skrll 1166 1.1 skrll * (TARGET_FORMAT): Remove LynxOS COFF definition. 1167 1.1 skrll 1168 1.1 skrll 2004-10-01 Ravi Ramaseshan <ravi.ramaseshan (a] codito.com> 1169 1.1 skrll 1170 1.1 skrll * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an 1171 1.1 skrll asymbol *, instead use symbol_get_bfdsym. 1172 1.1 skrll 1173 1.1 skrll 2004-09-30 Linus Nielsen Feltzing <linus (a] haxx.se> 1174 1.1 skrll 1175 1.1 skrll * config/tc-m68k.c (select_control_regs): Add mcf5249. 1176 1.1 skrll 1177 1.1 skrll 2004-09-30 Paul Brook <paul (a] codesourcery.com> 1178 1.1 skrll 1179 1.1 skrll * config/tc-arm.c (do_smi, do_nop): New functions. 1180 1.1 skrll (insns): Add ARMv6ZK instructions. 1181 1.1 skrll (md_apply_fix3): Handle BFD_RELOC_ARM_SMI. 1182 1.1 skrll (tc_gen_reloc): Ditto. 1183 1.1 skrll (arm_cpus): Add mpcore and arm1176. 1184 1.1 skrll (arm_archs): Add armv6{k,z,zk}. 1185 1.1 skrll * doc/c-arm.texi: Document new cores and architectures. 1186 1.1 skrll 1187 1.1 skrll 2004-09-30 Nick Clifton <nickc (a] redhat.com> 1188 1.1 skrll 1189 1.1 skrll * config/tc-arm.c: Use ISO C90 formatting. 1190 1.1 skrll 1191 1.1 skrll 2004-09-30 Vladimir Ivanov <vladitx (a] nucleusys.com> 1192 1.1 skrll 1193 1.1 skrll * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN 1194 1.1 skrll as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or 1195 1.1 skrll REG_TYPE_MVDX is expected. 1196 1.1 skrll 1197 1.1 skrll 2004-09-29 Marc Bevand <m.bevand (a] gmail.com> 1198 1.1 skrll 1199 1.1 skrll * doc/c-i386.texi (i386-Mnemonics): Fix typo. 1200 1.1 skrll 1201 1.1 skrll 2004-09-21 James E Wilson <wilson (a] specifixinc.com> 1202 1.1 skrll 1203 1.1 skrll * config/tc-ia64.c (ENCODED_PSP_OFFSET): New. 1204 1.1 skrll (output_rp_psprel, output_pfs_psprel, output_preds_psprel, 1205 1.1 skrll output_spill_base, output_unat_psprel, output_lc_psprel, 1206 1.1 skrll output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel, 1207 1.1 skrll output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel, 1208 1.1 skrll output_spill_psprel_p): Use it. 1209 1.1 skrll 1210 1.1 skrll 2004-09-20 Tomer Levi <Tomer.Levi (a] nsc.com> 1211 1.1 skrll 1212 1.1 skrll * config/tc-crx.c (handle_LoadStor): New function. 1213 1.1 skrll Handle load/stor unique instructions before parsing. 1214 1.1 skrll 1215 1.1 skrll 2004-09-17 Paul Brook <paul (a] codesourcery.com> 1216 1.1 skrll 1217 1.1 skrll * config/tc-arm.c (s_arm_rel31): New funciton. 1218 1.1 skrll (md_pseudo_table): Add .rel31. 1219 1.1 skrll (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2, 1220 1.1 skrll BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31. 1221 1.1 skrll (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. 1222 1.1 skrll (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2. 1223 1.1 skrll (arm_parse_reloc): Add (target2). 1224 1.1 skrll 1225 1.1 skrll 2004-09-17 Alan Modra <amodra (a] bigpond.net.au> 1226 1.1 skrll 1227 1.1 skrll * Makefile.am: Run "make dep-am". 1228 1.1 skrll * Makefile.in: Regenerate. 1229 1.1 skrll * aclocal.m4: Regenerate. 1230 1.1 skrll * configure: Regenerate. 1231 1.1 skrll * doc/Makefile.in: Regenerate. 1232 1.1 skrll * po/POTFILES.in: Regenerate. 1233 1.1 skrll * po/gas.pot: Regenerate. 1234 1.1 skrll 1235 1.1 skrll 2004-09-14 Hideki IWAMOTO <h-iwamoto (a] kit.hi-ho.ne.jp> 1236 1.1 skrll 1237 1.1 skrll * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif. 1238 1.1 skrll [!LLONG_MAX]: Ditto. 1239 1.1 skrll 1240 1.1 skrll 2004-09-13 Paul Brook <paul (a] codesourcery.com> 1241 1.1 skrll 1242 1.1 skrll * config/tc-arm.c: Rename RELABS to TARGET1. 1243 1.1 skrll 1244 1.1 skrll 2004-09-13 Alan Modra <amodra (a] bigpond.net.au> 1245 1.1 skrll 1246 1.1 skrll * messages.c (as_internal_value_out_of_range): Cast values passed 1247 1.1 skrll to as_bad_where or as_warn_where to proper type. 1248 1.1 skrll 1249 1.1 skrll 2004-09-11 Theodore A. Roth <troth (a] openavr.org> 1250 1.1 skrll 1251 1.1 skrll * config/tc-avr.c: Add support for 1252 1.1 skrll atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128. 1253 1.1 skrll 1254 1.1 skrll 2004-09-09 Alan Modra <amodra (a] bigpond.net.au> 1255 1.1 skrll 1256 1.1 skrll * dw2gencfi.c (select_cie_for_fde): When separating CIE out 1257 1.1 skrll from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc. 1258 1.1 skrll 1259 1.1 skrll 2004-09-08 Paul Brook <paul (a] codesourcery.com> 1260 1.1 skrll 1261 1.1 skrll * config/obj-elf.c (obj_elf_section_type): Handle init_array, 1262 1.1 skrll fini_array and preinit_array section types. 1263 1.1 skrll * config/tc-ia64.c (ia64_elf_section_type): Remove init_array 1264 1.1 skrll and fini_array. 1265 1.1 skrll * doc/as.texinfo: Document extra section types. 1266 1.1 skrll 1267 1.1 skrll 2004-09-02 Mark Mitchell <mark (a] codesourcery.com> 1268 1.1 skrll 1269 1.1 skrll * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h. 1270 1.1 skrll * Makefile.in: Regenerated. 1271 1.1 skrll * configure.in: Set em for arm*-*-symbianelf*. 1272 1.1 skrll * configure: Regenerated. 1273 1.1 skrll * config/tc-arm.c (elf32_arm_target_format): Use Symbian target 1274 1.1 skrll vectors when appropriate. 1275 1.1 skrll * config/te-symbian.h: New file. 1276 1.1 skrll 1277 1.1 skrll 2004-09-03 Tomer Levi <Tomer.Levi (a] nsc.com> 1278 1.1 skrll 1279 1.1 skrll * config/tc-crx.c (gettrap): Exception vector can be case 1280 1.1 skrll insensitive. 1281 1.1 skrll (process_label_constant): Fix a 32-bit displacement bug in branch 1282 1.1 skrll instructions. 1283 1.1 skrll (get_operandtype) : Bug fix, wrong operand was used. 1284 1.1 skrll (process_label_constant): Initialize relocation type to 1285 1.1 skrll BFD_RELOC_NONE 1286 1.1 skrll 1287 1.1 skrll 2004-09-01 Richard Earnshaw < reanrsha (a] arm.com> 1288 1.1 skrll 1289 1.1 skrll * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s 1290 1.1 skrll for synthesizable cores. 1291 1.1 skrll 1292 1.1 skrll * doc/c-arm.texi (ARM Options): Document canonical names of CPUs. 1293 1.1 skrll 1294 1.1 skrll 2004-08-25 Dmitry Diky <diwil (a] spec.ru> 1295 1.1 skrll 1296 1.1 skrll * config/tc-msp430.c: Clean-up the code. 1297 1.1 skrll (md_relax_table): New relax table. 1298 1.1 skrll (mcu_types): Sort MCU types. 1299 1.1 skrll (md_pseudo_table): Add .profiler pseudo handler. 1300 1.1 skrll (pow2value): New function. 1301 1.1 skrll (msp430_profiler): New function. 1302 1.1 skrll (msp430_operands): Add new insns handlers. 1303 1.1 skrll (msp430_srcoperand): Add register operand handler, allow complex 1304 1.1 skrll expressions. 1305 1.1 skrll (md_estimate_size_before_relax): Rewritten. 1306 1.1 skrll (md_convert_frag): Rewritten. 1307 1.1 skrll (msp430_relax_frag): New function. 1308 1.1 skrll * config/tc-msp430.h (md_relax_frag): define macro 1309 1.1 skrll * doc/c-msp430.texi: Update information. 1310 1.1 skrll 1311 1.1 skrll 2004-08-24 Nick Clifton <nickc (a] redhat.com> 1312 1.1 skrll 1313 1.1 skrll * as.c (std_shortopts): Allow -g to take an optional argument. 1314 1.1 skrll (parse_args): Pass any switch starting with -g on to the backend 1315 1.1 skrll for parsing. 1316 1.1 skrll 1317 1.1 skrll 2004-08-18 Mark Mitchell <mark (a] codesourcery.com> 1318 1.1 skrll 1319 1.1 skrll * configure.in (arm*-*-symbianelf*): New target. 1320 1.1 skrll (arm*-*-eabi*): Likewise. 1321 1.1 skrll * configure: Regenerated. 1322 1.1 skrll 1323 1.1 skrll 2004-08-18 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 1324 1.1 skrll * config/tc-mips.c (append_insn): Handle delay slots in branch likely 1325 1.1 skrll correctly. 1326 1.1 skrll 1327 1.1 skrll 2004-08-18 Jakub Jelinek <jakub (a] redhat.com> 1328 1.1 skrll 1329 1.1 skrll * config/tc-ia64.c (start_unwind_section): Add linkonce_empty 1330 1.1 skrll argument, don't do anything if current section is not 1331 1.1 skrll .gnu.linkonce.t.* and linkonce_empty is set. 1332 1.1 skrll (generate_unwind_image, dot_endp): Adjust callers, call 1333 1.1 skrll start_unwind_section (*, 1) if nothing will be put into the 1334 1.1 skrll section. 1335 1.1 skrll 1336 1.1 skrll 2004-08-17 Nick Clifton <nickc (a] redhat.com> 1337 1.1 skrll 1338 1.1 skrll * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition. 1339 1.1 skrll (show_usage): Add -g. 1340 1.1 skrll (std_longopts): Add --gen-debug. Alpha sort the table. 1341 1.1 skrll (parse_args): Print an error message if a switch is not handled. 1342 1.1 skrll Handle the -g switch, calling md_debug_format_selector() if 1343 1.1 skrll necessary. 1344 1.1 skrll * NEWS: Mention new feature. 1345 1.1 skrll * doc/as.texinfo: Document new switch. 1346 1.1 skrll * doc/internals.texi: Document behaviour of md_parse_option. 1347 1.1 skrll 1348 1.1 skrll * config/tc-arm.c (md_parse_option): Do not issue an error message 1349 1.1 skrll if the switch is not recognised. 1350 1.1 skrll * config/tc-m68k.c (md_parse_option): Likewise. 1351 1.1 skrll * config/tc-pdp11.c (md_parse_option): Likewise. 1352 1.1 skrll * config/tc-v850.c (md_parse_option): Likewise. 1353 1.1 skrll 1354 1.1 skrll * as.h: Fix up formatting. 1355 1.1 skrll * tc.h: Likewise. 1356 1.1 skrll 1357 1.1 skrll 2004-08-16 Nick Clifton <nickc (a] redhat.com> 1358 1.1 skrll 1359 1.1 skrll * macro.c (macro_set_alternate): Use ISO C90 formatting. 1360 1.1 skrll 1361 1.1 skrll * configure.in: Sort architecture based tables alphabetically. 1362 1.1 skrll * configure: Regenerate. 1363 1.1 skrll 1364 1.1 skrll 2004-08-16 Alan Modra <amodra (a] bigpond.net.au> 1365 1.1 skrll 1366 1.1 skrll * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace 1367 1.1 skrll { "cc", 68 }, with { "cr", 70 }. 1368 1.1 skrll 1369 1.1 skrll 2004-08-13 Jan Beulich <jbeulich (a] novell.com> 1370 1.1 skrll Nick Clifton <nickc (a] redhat.com> 1371 1.1 skrll 1372 1.1 skrll * as.c: Add and handle new --alternate command line option. 1373 1.1 skrll * macro.c (macro_set_alternate): New. 1374 1.1 skrll * macro.h (macro_set_alternate): Declare. 1375 1.1 skrll * read.c: Add and handle new .altmacro and .noaltmacro directives. 1376 1.1 skrll * doc/as.texinfo: Document new command line option and pseudo-ops 1377 1.1 skrll as well as insert documentation originating from gasp about 1378 1.1 skrll alternate macro syntax. 1379 1.1 skrll * NEWS: Mention new command line option and pseudo-ops. 1380 1.1 skrll 1381 1.1 skrll 2004-08-10 Mark Mitchell <mark (a] codesourcery.com> 1382 1.1 skrll 1383 1.1 skrll * expr.c (operand): Handle the "~", "-", and "!" operators applied 1384 1.1 skrll to bignums. 1385 1.1 skrll 1386 1.1 skrll 2004-08-06 Paul Brook <paul (a] codesourcery.com> 1387 1.1 skrll 1388 1.1 skrll * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc): 1389 1.1 skrll Handle new relocations. 1390 1.1 skrll * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations. 1391 1.1 skrll 1392 1.1 skrll 2004-08-05 Bob Wilson <bob.wilson (a] acm.org> 1393 1.1 skrll 1394 1.1 skrll * write.c (relax_segment): Use was_address instead of address when 1395 1.1 skrll setting fr_fix field for align frag due to backwards .org. 1396 1.1 skrll 1397 1.1 skrll 2004-07-29 Alexandre Oliva <aoliva (a] redhat.com> 1398 1.1 skrll 1399 1.1 skrll Introduce SH2a support. 1400 1.1 skrll 2004-02-24 Corinna Vinschen <vinschen (a] redhat.com> 1401 1.1 skrll * config/tc-sh.c (get_specific): Change arch_sh2a_up to 1402 1.1 skrll arch_sh2a_nofpu_up. 1403 1.1 skrll 2004-02-24 Corinna Vinschen <vinschen (a] redhat.com> 1404 1.1 skrll * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling. 1405 1.1 skrll 2004-02-20 Corinna Vinschen <vinschen (a] redhat.com> 1406 1.1 skrll * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition 1407 1.1 skrll to end of conditional expression. 1408 1.1 skrll 2004-02-20 Corinna Vinschen <vinschen (a] redhat.com> 1409 1.1 skrll * config/tc-sh.c: Add sh2a-nofpu support. 1410 1.1 skrll 2003-12-29 DJ Delorie <dj (a] redhat.com> 1411 1.1 skrll * tc-sh.c: Add sh2a support. 1412 1.1 skrll (parse_reg): Add tbr. 1413 1.1 skrll (parse_at): Support @@(disp,tbr). 1414 1.1 skrll (get_specific): Support sh2a opcodes. 1415 1.1 skrll (insert4): New, for 4 byte relocs. 1416 1.1 skrll (build_Mytes): Support sh2a opcodes. 1417 1.1 skrll (md_apply_fix3_Mytes): Support sh2a opcodes. 1418 1.1 skrll 2003-12-02 Michael Snyder <msnyder (a] redhat.com> 1419 1.1 skrll * config/tc-sh.c (md_parse_option): Handle sh2a. 1420 1.1 skrll (sh_elf_final_processing): Ditto. 1421 1.1 skrll 1422 1.1 skrll 2004-07-27 Jason Thorpe <thorpej (a] wasabisystems.com> 1423 1.1 skrll 1424 1.1 skrll * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" 1425 1.1 skrll for TE_NetBSD. 1426 1.1 skrll 1427 1.1 skrll 2004-07-27 Alan Modra <amodra (a] bigpond.net.au> 1428 1.1 skrll 1429 1.1 skrll * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big. 1430 1.1 skrll (ppc_arch): Expand comment. 1431 1.1 skrll 1432 1.1 skrll 2004-07-27 Tomer Levi <Tomer.Levi (a] nsc.com> 1433 1.1 skrll 1434 1.1 skrll * config/tc-crx.c: Support evaluating the difference between two 1435 1.1 skrll symbols. 1436 1.1 skrll * config/tc-crx.h: Likewise. 1437 1.1 skrll 1438 1.1 skrll 2004-07-26 H.J. Lu <hongjiu.lu (a] intel.com> 1439 1.1 skrll 1440 1.1 skrll * config/tc-ia64.c (start_unwind_section): Set the linked-to 1441 1.1 skrll section. 1442 1.1 skrll (ia64_elf_section_change_hook): Set the linked-to section for 1443 1.1 skrll SHT_IA_64_UNWIND. 1444 1.1 skrll 1445 1.1 skrll 2004-07-26 Dmitry Diky <diwil (a] spec.ru> 1446 1.1 skrll 1447 1.1 skrll * config/tc-msp430.c: Add new subtargets: msp430x1610, 1448 1.1 skrll msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437, 1449 1.1 skrll msp430xG438, msp430xG439. 1450 1.1 skrll 1451 1.1 skrll 2004-07-25 Daniel Jacobowitz <dan (a] debian.org> 1452 1.1 skrll 1453 1.1 skrll * doc/as.texinfo (Section, PushSection): Correct documentation 1454 1.1 skrll for ELF. 1455 1.1 skrll 1456 1.1 skrll 2004-07-21 Jan Beulich <jbeulich (a] novell.com> 1457 1.1 skrll 1458 1.1 skrll * config/tc-i386.c (optimize_imm): Adjust immediates to only those 1459 1.1 skrll permissible for the selected instruction suffix. 1460 1.1 skrll (match_template): Don't permit 64-bit general purpose operands in 1461 1.1 skrll 32-bit mode. 1462 1.1 skrll (finalize_imm): Permit 64-bit immediates. 1463 1.1 skrll (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode 1464 1.1 skrll specially except for the width of the used base and/or index 1465 1.1 skrll registers. For 32-bit displacements, use sign-extended 1466 1.1 skrll relocations only when using 64-bit addressing. 1467 1.1 skrll Force zero displacement on rip-relative addressing when there is 1468 1.1 skrll no other displacement. 1469 1.1 skrll (i386_index_check): Don't treat 32-bit addressing in 64-bit mode 1470 1.1 skrll specially except for the width of the used base and/or index 1471 1.1 skrll registers. 1472 1.1 skrll (parse_register): Disallow Reg64 registers in 32-bit mode. 1473 1.1 skrll 1474 1.1 skrll * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q' 1475 1.1 skrll suffix if the instruction doesn't support it. 1476 1.1 skrll 1477 1.1 skrll 2004-07-20 Maciej W. Rozycki <macro (a] linux-mips.org> 1478 1.1 skrll 1479 1.1 skrll * config/tc-mips.c (append_insn): Handle constant expressions with 1480 1.1 skrll no associated relocation. 1481 1.1 skrll (mips_ip): Cancel the expression after use for the Q format 1482 1.1 skrll specifier. 1483 1.1 skrll (parse_relocation): Return no relocation for unsupported 1484 1.1 skrll operators. 1485 1.1 skrll (my_getSmallExpression): Return no relocation if no relocation 1486 1.1 skrll operators are used. 1487 1.1 skrll 1488 1.1 skrll 2004-07-19 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 1489 1.1 skrll 1490 1.1 skrll * config/obj-som.c (adjust_stab_sections): Add prototype. 1491 1.1 skrll (obj_som_compiler, obj_som_version, obj_som_copyright, 1492 1.1 skrll adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments. 1493 1.1 skrll * config/tc-hppa.c (update_subspace): Likewise. 1494 1.1 skrll (is_defined_subspace): Amplify comment. 1495 1.1 skrll * config/obj-som.h (som_frob_file): Add prototype. 1496 1.1 skrll 1497 1.1 skrll 2004-07-19 Christopher Faylor <cgf (a] timesys.com> 1498 1.1 skrll H.J. Lu <hongjiu.lu (a] intel.com> 1499 1.1 skrll 1500 1.1 skrll * subsegs.c (section_symbol): Don't create a new segment when 1501 1.1 skrll existing segment is undefined. 1502 1.1 skrll 1503 1.1 skrll 2004-07-16 Richard Earnshaw <rearnsha (a] arm.com> 1504 1.1 skrll 1505 1.1 skrll * config/tc-arm.c: Include include/opcode/arm.h. 1506 1.1 skrll (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete. 1507 1.1 skrll (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete. 1508 1.1 skrll (FPU_ARCH_*): Delete. 1509 1.1 skrll * Makefile.am: Update dependencies. 1510 1.1 skrll * Makefile.in: Regenerate. 1511 1.1 skrll 1512 1.1 skrll 2004-07-15 Nick Clifton <nickc (a] redhat.com> 1513 1.1 skrll 1514 1.1 skrll * configure.in: Accept armbe as a big-endian arm configuration. 1515 1.1 skrll * configure: Regenerate. 1516 1.1 skrll 1517 1.1 skrll 2004-07-13 Thomas Nystrom <thn (a] saeab.se> 1518 1.1 skrll 1519 1.1 skrll * config/tc-i386.c (T_SHIFTOP): New constant. 1520 1.1 skrll (intel_e05_1): Handle '&', '|' and T_SHIFTOP. 1521 1.1 skrll (intel_el1): Handle '~'. 1522 1.1 skrll (intel_get_token): Handle '<>', '&', '|' and '~'. 1523 1.1 skrll 1524 1.1 skrll 2004-07-13 Nick Clifton <nickc (a] redhat.com> 1525 1.1 skrll 1526 1.1 skrll (md_assemble): Remove spurious newline from end of as_bad error 1527 1.1 skrll message. 1528 1.1 skrll (intel_e05_1): Likewise. 1529 1.1 skrll (intel_e11): Likewise. 1530 1.1 skrll (intel_match_token): Likewise. 1531 1.1 skrll 1532 1.1 skrll 2004-07-11 Andreas Schwab <schwab (a] suse.de> 1533 1.1 skrll 1534 1.1 skrll * config/tc-m68k.c: Convert to C90. Remove redundant 1535 1.1 skrll declarations. Indentation fixup. 1536 1.1 skrll [M68KCOFF]: Include "obj-coff.h" instead of declaring 1537 1.1 skrll obj_coff_section ourselves. 1538 1.1 skrll 1539 1.1 skrll 2004-07-09 James E Wilson <wilson (a] specifixinc.com> 1540 1.1 skrll 1541 1.1 skrll * config/tc-ia64.c (default_big_endian): New. 1542 1.1 skrll (dot_byteorder, md_begin): Use it. 1543 1.1 skrll (md_parse_option): Set it. 1544 1.1 skrll 1545 1.1 skrll 2004-07-09 Nick Clifton <nickc (a] redhat.com> 1546 1.1 skrll 1547 1.1 skrll * configure.in: Change sh-sybmian-elf to sh-*-symbianelf. 1548 1.1 skrll * configure: Regenerate. 1549 1.1 skrll * NEWS: Change sh-sybmian-elf to sh-*-symbianelf. 1550 1.1 skrll * config/tc-sh.c (sh_elf_final_processing): Use renamed version of 1551 1.1 skrll sh_find_elf_flags if necessary. 1552 1.1 skrll 1553 1.1 skrll 2004-07-08 Richard Sandiford <rsandifo (a] redhat.com> 1554 1.1 skrll 1555 1.1 skrll * config/tc-mips.c (mips_fix_adjustable): If the full addend is 1556 1.1 skrll going to be split into more than one in-place addend, return 0 1557 1.1 skrll for relocations against mergeable sections. Associate comments 1558 1.1 skrll with code. 1559 1.1 skrll 1560 1.1 skrll 2004-07-07 Tomer Levi <Tomer.Levi (a] nsc.com> 1561 1.1 skrll 1562 1.1 skrll * Makefile.am (CPU_TYPES): Add crx. 1563 1.1 skrll (TARGET_CPU_CFILES): Add config/tc-crx.c. 1564 1.1 skrll (TARGET_CPU_HFILES): Add config/tc-crx.h. 1565 1.1 skrll (DEPTC_crx_elf): New target. 1566 1.1 skrll (DEPOBJ_crx_elf): Likewise. 1567 1.1 skrll (DEP_crx_elf): Likewise. 1568 1.1 skrll * Makefile.in: Regenerate. 1569 1.1 skrll * configure.in: Add crx* target. 1570 1.1 skrll * configure: Regenerate. 1571 1.1 skrll * config/tc-crx.c: New file. 1572 1.1 skrll * config/tc-crx.h: New file. 1573 1.1 skrll * NEWS: Mention new target. 1574 1.1 skrll 1575 1.1 skrll 2004-07-06 Nick Clifton <nickc (a] redhat.com> 1576 1.1 skrll 1577 1.1 skrll * config.in: Undefine TARGET_SYMBIAN by default. 1578 1.1 skrll * configure.in: 1579 1.1 skrll * configure: Regenerate. Add sh-symbian-elf target. If 1580 1.1 skrll selected define TARGET_SYMBIAN. 1581 1.1 skrll * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target 1582 1.1 skrll format if TARGET_SYMBIAN has been defined. 1583 1.1 skrll 1584 1.1 skrll * output-file.c (output_file_create): Report the target format 1585 1.1 skrll chosen when bfd_openw reports that it is invalid. 1586 1.1 skrll 1587 1.1 skrll * config/obj-coff.c (coff_pseudo_table): Only define the weak 1588 1.1 skrll pseudo for BFD based assemblers. 1589 1.1 skrll 1590 1.1 skrll 2004-07-05 Andrew Stubbs <andrew.stubbs (a] superh.com> 1591 1.1 skrll 1592 1.1 skrll gas: 1593 1.1 skrll * config/tc-sh.c (md_assemble): Change isspace to ISSPACE. 1594 1.1 skrll (md_parse_option): Remove redundant -isa testing. 1595 1.1 skrll Make bfd_arch variable const. 1596 1.1 skrll (md_show_usage): Make bfd_arch variable const. 1597 1.1 skrll 1598 1.1 skrll 2004-07-03 James E Wilson <wilson (a] specifixinc.com> 1599 1.1 skrll 1600 1.1 skrll * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr. 1601 1.1 skrll * config/tc-ia64.h (md_frag_check): Define. 1602 1.1 skrll 1603 1.1 skrll 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9 (a] aaronwl.com> 1604 1.1 skrll 1605 1.1 skrll * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak 1606 1.1 skrll externals. 1607 1.1 skrll * doc/as.texinfo (Weak): Document PE weak symbols. 1608 1.1 skrll 1609 1.1 skrll 2004-07-03 Richard Sandiford <rsandifo (a] redhat.com> 1610 1.1 skrll 1611 1.1 skrll * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro. 1612 1.1 skrll (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS. 1613 1.1 skrll (mips_frob_file): Rework so that only a single pass through the 1614 1.1 skrll relocs is needed. Allow %lo()s to have higher offsets than their 1615 1.1 skrll corresponding %hi()s or %got()s. 1616 1.1 skrll 1617 1.1 skrll 2004-07-02 Nick Clifton <nickc (a] redhat.com> 1618 1.1 skrll 1619 1.1 skrll * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not 1620 1.1 skrll allow values which have come from undefined symbols. 1621 1.1 skrll Always consider this fixup to have been processed as a reloc 1622 1.1 skrll cannot be generated for it. 1623 1.1 skrll 1624 1.1 skrll 2004-07-02 Alan Modra <amodra (a] bigpond.net.au> 1625 1.1 skrll 1626 1.1 skrll * frags.h (struct frag): Add has_code and insn_addr fields. 1627 1.1 skrll * write.c (cvt_frag_to_fill): Invoke md_frag_check. 1628 1.1 skrll * config/tc-ppc.c (md_assemble): Check and set insn_addr. 1629 1.1 skrll * config/tc-ppc.h (md_frag_check): Define. 1630 1.1 skrll 1631 1.1 skrll 2004-06-28 Maciej W. Rozycki <macro (a] linux-mips.org> 1632 1.1 skrll 1633 1.1 skrll * doc/Makefile.am (info): Rename goal to... 1634 1.1 skrll (info-local): ... this, to preserve implicit dependencies. 1635 1.1 skrll * doc/Makefile.in: Regenerate with automake 1.8.5. 1636 1.1 skrll 1637 1.1 skrll 2004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 1638 1.1 skrll 1639 1.1 skrll * config/tc-m32r.c (md_convert_frag): Changed for @PLT. 1640 1.1 skrll (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT. 1641 1.1 skrll (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT. 1642 1.1 skrll (tc_gen_reloc): Likewise. 1643 1.1 skrll (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT. 1644 1.1 skrll (m32r_parse_name): Likewise. 1645 1.1 skrll (m32r_cgen_parse_fix_exp): Likewise. 1646 1.1 skrll * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT. 1647 1.1 skrll (O_PIC_reloc): Likewise. 1648 1.1 skrll (TC_CGEN_PARSE_FIX_EXP): Likewise.. 1649 1.1 skrll * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP 1650 1.1 skrll for @GOTOFF, @GOT, @PLT. 1651 1.1 skrll 1652 1.1 skrll 2004-06-21 Jan Beulich <jbeulich (a] novell.com> 1653 1.1 skrll 1654 1.1 skrll * gas/symbols.c: While discarding ordinary local absolute symbols 1655 1.1 skrll when --strip-local-absolute is in effect, retain file symbols. 1656 1.1 skrll 1657 1.1 skrll 2004-06-20 Andreas Schwab <schwab (a] suse.de> 1658 1.1 skrll 1659 1.1 skrll * config/tc-m68k.c (mri_chip): Replace current_chip, not augment. 1660 1.1 skrll (md_parse_option): Likewise. 1661 1.1 skrll 1662 1.1 skrll 2004-06-17 Jan Beulich <jbeulich (a] novell.com> 1663 1.1 skrll 1664 1.1 skrll * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT. 1665 1.1 skrll * config/te-netware.h: New file. 1666 1.1 skrll * config/te-ppcnw.h: Delete: Obsolete. 1667 1.1 skrll * configure.in: Eliminate ill NetWare targets. Make generic 1668 1.1 skrll NetWare target use proper emulation. 1669 1.1 skrll * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add 1670 1.1 skrll reference to new te-netware.h. 1671 1.1 skrll * configure: Regenerate. 1672 1.1 skrll * Makefile.in: Regenerate. 1673 1.1 skrll 1674 1.1 skrll 2004-06-15 Martin Schwidefsky <schwidefsky (a] de.ibm.com> 1675 1.1 skrll 1676 1.1 skrll * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned 1677 1.1 skrll comparison in .insn pseudo operation. 1678 1.1 skrll 1679 1.1 skrll 2004-06-15 Alan Modra <amodra (a] bigpond.net.au> 1680 1.1 skrll 1681 1.1 skrll * config/obj-coff.c (coff_adjust_section_syms): Use 1682 1.1 skrll bfd_get_section_size instead of bfd_get_section_size_before_reloc. 1683 1.1 skrll (coff_frob_section): Likewise. 1684 1.1 skrll * config/tc-mips.c (md_apply_fix3): Likewise. 1685 1.1 skrll * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size. 1686 1.1 skrll (elf_frob_file_after_relocs): Likewise. 1687 1.1 skrll 1688 1.1 skrll 2004-06-10 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 1689 1.1 skrll 1690 1.1 skrll * config/tc-hppa.c (log2): Rename to exact_log2. 1691 1.1 skrll (pa_next_subseg): Delete unused function. 1692 1.1 skrll (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED. 1693 1.1 skrll (create_new_subspace): Likewise. 1694 1.1 skrll 1695 1.1 skrll Bug gas/213 1696 1.1 skrll * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake 1697 1.1 skrll labels. Fix warning. 1698 1.1 skrll 1699 1.1 skrll 2004-05-28 DJ Delorie <dj (a] redhat.com> 1700 1.1 skrll 1701 1.1 skrll * config/tc-mn10300.h (tc_fix_adjustable): Define. 1702 1.1 skrll * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug 1703 1.1 skrll or non-merged symbols. 1704 1.1 skrll 1705 1.1 skrll 2004-05-28 H.J. Lu <hongjiu.lu (a] intel.com> 1706 1.1 skrll 1707 1.1 skrll * config/tc-ia64.c (remove_marked_resource): Save, clear and 1708 1.1 skrll restore the old slot when inserting srlz.i/srlz.d. 1709 1.1 skrll 1710 1.1 skrll 2004-05-28 Andrew Stubbs <andrew.stubbs (a] superh.com> 1711 1.1 skrll 1712 1.1 skrll * Makefile.am: Regenerate dependecies. 1713 1.1 skrll * Makefile.in: Regenerate. 1714 1.1 skrll * config/tc-sh.c (valid_arch): Make unsigned. 1715 1.1 skrll (preset_target_arch): Likewise. 1716 1.1 skrll (md_begin): Use new architecture flags system. 1717 1.1 skrll (get_specific): Likewise. 1718 1.1 skrll (assemble_ppi): Likewise. 1719 1.1 skrll (md_assemble): Likewise. Also fix error check for bad opcodes. 1720 1.1 skrll (md_parse_option): Likewise. Also generate -isa values according 1721 1.1 skrll to the table in bfd/cpu-sh.c instead of just constants. Also 1722 1.1 skrll allow <arch>-up ISA variants. 1723 1.1 skrll (sh_elf_final_processing): Replace if-else chain with a call to 1724 1.1 skrll sh_find_elf_flags(). 1725 1.1 skrll 1726 1.1 skrll 2004-05-28 Peter Barada <peter (a] the-baradas.com> 1727 1.1 skrll 1728 1.1 skrll * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing 1729 1.1 skrll with zero offset into mode 2 addressing to save a word. 1730 1.1 skrll 1731 1.1 skrll 2004-05-27 H.J. Lu <hongjiu.lu (a] intel.com> 1732 1.1 skrll 1733 1.1 skrll * config/tc-ia64.c (ar_is_in_integer_unit): Removed. 1734 1.1 skrll (ar_is_only_in_integer_unit): New. 1735 1.1 skrll (ar_is_only_in_memory_unit): New. 1736 1.1 skrll (generate_unwind_image): Silence gcc on 32bit host. 1737 1.1 skrll (md_assemble): Use ar_is_only_in_integer_unit instead of 1738 1.1 skrll ar_is_in_integer_unit. Check AR access. 1739 1.1 skrll 1740 1.1 skrll 2004-05-27 Peter Barada <peter (a] the-baradas.com> 1741 1.1 skrll 1742 1.1 skrll * config/tc-m68k.c (md_begin): Sort the opcode table into 1743 1.1 skrll alphabetical order. 1744 1.1 skrll (m68k_compare_opcode): New function to do the sorting. 1745 1.1 skrll 1746 1.1 skrll 2004-05-24 Peter Barada <peter (a] the-baradas.com> 1747 1.1 skrll 1748 1.1 skrll * config/m68k-parse.y(operand): Allow for MAC/EMAC mask 1749 1.1 skrll addressing on MIT style operands. 1750 1.1 skrll * config/m68k-parse.y(yylex): Allow '-&' for predecrement 1751 1.1 skrll w/mask addressing. 1752 1.1 skrll * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type 1753 1.1 skrll operands. 1754 1.1 skrll 1755 1.1 skrll 2004-05-23 Alan Modra <amodra (a] bigpond.net.au> 1756 1.1 skrll 1757 1.1 skrll * expr.c (operand, operator): Don't reject '++' and '--'. 1758 1.1 skrll 1759 1.1 skrll 2004-05-20 Richard Sandiford <rsandifo (a] redhat.com> 1760 1.1 skrll 1761 1.1 skrll * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16 1762 1.1 skrll dwarf tables. 1763 1.1 skrll 1764 1.1 skrll 2004-05-17 Adam Nemet <anemet (a] lnxw.com> 1765 1.1 skrll 1766 1.1 skrll * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF. 1767 1.1 skrll * configure: Regenerate. 1768 1.1 skrll 1769 1.1 skrll 2004-05-13 Paul Brook <paul (a] codesourcery.com> 1770 1.1 skrll 1771 1.1 skrll * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries. 1772 1.1 skrll 1773 1.1 skrll 2004-05-13 Joel Sherrill <joel (a] oarcorp.com> 1774 1.1 skrll 1775 1.1 skrll * configure.in (or32-*-rtems*): Switch to elf. 1776 1.1 skrll * configure: Regenerate. 1777 1.1 skrll 1778 1.1 skrll 2004-05-13 Nick Clifton <nickc (a] redhat.com> 1779 1.1 skrll 1780 1.1 skrll * po/fr.po: Updated French translation. 1781 1.1 skrll 1782 1.1 skrll 2004-05-11 Nick Clifton <nickc (a] redhat.com> 1783 1.1 skrll 1784 1.1 skrll * doc/as.texinfo (Section): Document G and T flags to .section 1785 1.1 skrll directive. Document the extra arguments that the G flag 1786 1.1 skrll requires. Document the #tls flag. 1787 1.1 skrll 1788 1.1 skrll 2004-05-11 H.J. Lu <hongjiu.lu (a] intel.com> 1789 1.1 skrll 1790 1.1 skrll * subsegs.c (section_symbol): Create a new section symbol if 1791 1.1 skrll the existing one doesn't match. 1792 1.1 skrll * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol. 1793 1.1 skrll 1794 1.1 skrll 2004-05-07 Richard Sandiford <rsandifo (a] redhat.com> 1795 1.1 skrll 1796 1.1 skrll * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120 1797 1.1 skrll to cope with VR4181A errata MD(1) and MD(4). 1798 1.1 skrll 1799 1.1 skrll 2004-05-07 Brian Ford <ford (a] vss.fsi.com> 1800 1.1 skrll 1801 1.1 skrll * NEWS: Mention .secrel32 for pe[i]-i386. 1802 1.1 skrll 1803 1.1 skrll 2004-05-07 Alexandre Oliva <aoliva (a] redhat.com> 1804 1.1 skrll 1805 1.1 skrll * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New. 1806 1.1 skrll (HANDLE_ALIGN): New. 1807 1.1 skrll 1808 1.1 skrll 2004-05-06 Daniel Jacobowitz <dan (a] debian.org> 1809 1.1 skrll 1810 1.1 skrll * Makefile.am (DIST_SUBDIRS): Define. 1811 1.1 skrll * aclocal.m4: Regenerate with automake 1.8.4. 1812 1.1 skrll * Makefile.in: Likewise. 1813 1.1 skrll * doc/Makefile.in: Likewise. 1814 1.1 skrll 1815 1.1 skrll 2004-05-06 David Mosberger-Tang <davidm (a] hpl.hp.com> 1816 1.1 skrll 1817 1.1 skrll * config/tc-ia64.c (dot_serialize): Declare. 1818 1.1 skrll (dot_serialize): New function. 1819 1.1 skrll (md_pseudo_table): Add ".serialize.data" and 1820 1.1 skrll ".serialize.instruction" directives. 1821 1.1 skrll 1822 1.1 skrll 2004-05-06 Nick Clifton <nickc (a] redhat.com> 1823 1.1 skrll 1824 1.1 skrll * messages (as_internal_value_out_of_range): Print a message about 1825 1.1 skrll a value being out of range. Be consistent about whether the 1826 1.1 skrll values are printed in decimal or hexadecimal. 1827 1.1 skrll (as_warn_value_out_of_range): Generate a warning message about an 1828 1.1 skrll out of range value. 1829 1.1 skrll (as_bad_value_out_of_range): Generate an error message about an 1830 1.1 skrll out of range value. 1831 1.1 skrll * as.h: Prototype the new functions. 1832 1.1 skrll * config/tc-alpha.c (insert_operand): Use new function. 1833 1.1 skrll * config/tc-arc.c (arc_insert_operand): Likewise. 1834 1.1 skrll * config/tc-mn10200.c (mn10200_insert_operand): Likewise. 1835 1.1 skrll * config/tc-mn10300.c (mn10300_insert_operand): Likewise. 1836 1.1 skrll * config/tc-ppc.c (ppc_insert_operand): Likewise. 1837 1.1 skrll * config/tc-s390.c (s390_insert_operand): Likewise. 1838 1.1 skrll * config/tc-v850.c (v850_insert_operand): Likewise. 1839 1.1 skrll 1840 1.1 skrll 2004-05-05 Alexandre Oliva <aoliva (a] redhat.com> 1841 1.1 skrll 1842 1.1 skrll * configure.in: Set em=linux for frv-*-*linux*. 1843 1.1 skrll * configure: Rebuilt. 1844 1.1 skrll * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if... 1845 1.1 skrll (frv_md_fdpic_enabled): New. 1846 1.1 skrll * config/tc-frv.c (frv_md_fdpic_enabled): New. 1847 1.1 skrll (DEFAULT_FDPIC): New. 1848 1.1 skrll (frv_flags): Use DEFAULT_FDPIC. 1849 1.1 skrll (frv_pic_flag): Likewise. 1850 1.1 skrll (OPTION_NOPIC): New. 1851 1.1 skrll (md_longopts): Add -mnopic. 1852 1.1 skrll (md_parse_option): Handle it. 1853 1.1 skrll (md_show_usage): Add -mfdpic and -mnopic. 1854 1.1 skrll 1855 1.1 skrll 2004-05-05 Peter Barada <peter (a] the-baradas.com> 1856 1.1 skrll 1857 1.1 skrll * config/tc-m68k.c: Add find_cf_chip to print list of valid 1858 1.1 skrll chips for invalid coldfire instructions, rename selectors 1859 1.1 skrll for ColdFire sub-variants, add 521x,5249,547x,548x and aliases, 1860 1.1 skrll add current_chip to track which chip is referred to(including save/restore), 1861 1.1 skrll use current_chip to select control registers, not current_arch. 1862 1.1 skrll (md_show_usage): Add new chips. 1863 1.1 skrll * doc/c-m68k.texi: Document new command line switches. 1864 1.1 skrll 1865 1.1 skrll 2004-05-05 Jakub Jelinek <jakub (a] redhat.com> 1866 1.1 skrll 1867 1.1 skrll * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove. 1868 1.1 skrll (NOP_OPCODE): Define. 1869 1.1 skrll (s390_align_code): Remove prototype. 1870 1.1 skrll * tc-s390.c (s390_align_code): Remove. 1871 1.1 skrll 1872 1.1 skrll 2004-05-04 H.J. Lu <hongjiu.lu (a] intel.com> 1873 1.1 skrll 1874 1.1 skrll * config/tc-ia64.c (make_unw_section_name): Removed. 1875 1.1 skrll (start_unwind_section): New function. 1876 1.1 skrll (generate_unwind_image): Take const segT instead of const 1877 1.1 skrll char *. 1878 1.1 skrll (dot_handlerdata): Adjusted. 1879 1.1 skrll (dot_endp): Likewise. 1880 1.1 skrll 1881 1.1 skrll 2004-05-02 H.J. Lu <hongjiu.lu (a] intel.com> 1882 1.1 skrll 1883 1.1 skrll * config/obj-elf.c (obj_elf_change_section): Allow the 1884 1.1 skrll ".note.GNU-stack" section has SHF_EXECINSTR. 1885 1.1 skrll 1886 1.1 skrll 2004-05-02 H.J. Lu <hongjiu.lu (a] intel.com> 1887 1.1 skrll 1888 1.1 skrll * config/obj-elf.c (get_section): Return bfd_boolean. 1889 1.1 skrll (obj_elf_change_section): Call bfd_get_section_by_name_if 1890 1.1 skrll instead of bfd_map_over_sections. 1891 1.1 skrll 1892 1.1 skrll 2004-04-30 H.J. Lu <hongjiu.lu (a] intel.com> 1893 1.1 skrll 1894 1.1 skrll * config/obj-elf.c (get_section): New function. 1895 1.1 skrll (obj_elf_change_section): Support multiple sections with same 1896 1.1 skrll name. 1897 1.1 skrll 1898 1.1 skrll 2004-04-30 Nick Clifton <nickc (a] redhat.com> 1899 1.1 skrll 1900 1.1 skrll * config/tc-arm.c (create_register_alias): Fix typo checking for 1901 1.1 skrll case sensitive register aliases. 1902 1.1 skrll (co_proc_number): Use error message string in all_reg_maps[] 1903 1.1 skrll array. 1904 1.1 skrll (cp_reg_required_here): Likewise. 1905 1.1 skrll (fp_reg_required_here): Likewise. 1906 1.1 skrll 1907 1.1 skrll 2004-04-29 Brian Ford <ford (a] vss.fsi.com> 1908 1.1 skrll 1909 1.1 skrll * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags. 1910 1.1 skrll 1911 1.1 skrll 2004-04-28 Chris Demetriou <cgd (a] broadcom.com> 1912 1.1 skrll 1913 1.1 skrll * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) 1914 1.1 skrll (load_address, macro, mips_ip, md_parse_option) 1915 1.1 skrll (mips_force_relocation, mips_validate_fix, md_apply_fix3) 1916 1.1 skrll (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all 1917 1.1 skrll embedded-PIC handling, and update comments. 1918 1.1 skrll (SWITCH_TABLE): Remove. 1919 1.1 skrll * config/tc-mips.h (DIFF_EXPR_OK): Delete. 1920 1.1 skrll (enum mips_pic_level): Remove EMBEDDED_PIC. 1921 1.1 skrll (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. 1922 1.1 skrll (TC_FORCE_RELOCATION): Update comment. 1923 1.1 skrll * ecoff.c (ecoff_build_lineno): Add comment about some code that 1924 1.1 skrll might be safe to remove now that MIPS embedded-PIC is gone. 1925 1.1 skrll 1926 1.1 skrll 2004-04-28 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 1927 1.1 skrll 1928 1.1 skrll * config/obj-som.c (obj_som_init_stab_section): Add new arguments in 1929 1.1 skrll call to obj_set_subsection_attributes. 1930 1.1 skrll (obj_som_init_stab_section): Likewise. 1931 1.1 skrll * config/tc-hppa.c (default_subspace_dict): Add comdat field. 1932 1.1 skrll (pa_def_subspaces): Provide comdat default. 1933 1.1 skrll (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and 1934 1.1 skrll not SEC_IS_COMMON if section is comdat, common or dup_common. Update 1935 1.1 skrll calls to create_new_subspace and update_subspace to pass comdat flag. 1936 1.1 skrll (create_new_subspace, update_subspace): Add new comdat argument. Use 1937 1.1 skrll it in calls to obj_set_subsection_attributes. 1938 1.1 skrll * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter 1939 1.1 skrll and use of comdat, common and dup_comm parameters. 1940 1.1 skrll 1941 1.1 skrll 2004-04-26 H.J. Lu <hongjiu.lu (a] intel.com> 1942 1.1 skrll 1943 1.1 skrll * config/obj-elf.c (obj_elf_change_section): Check if the old 1944 1.1 skrll group name is NULL before comparison. 1945 1.1 skrll 1946 1.1 skrll 2004-04-23 Chris Demetriou <cgd (a] broadcom.com> 1947 1.1 skrll 1948 1.1 skrll * config/tc-mips.h (mips_dwarf2_addr_size): Prototype. 1949 1.1 skrll 1950 1.1 skrll 2004-04-23 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 1951 1.1 skrll 1952 1.1 skrll * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN. 1953 1.1 skrll 1954 1.1 skrll 2004-04-23 Chris Demetriou <cgd (a] broadcom.com> 1955 1.1 skrll 1956 1.1 skrll * config/tc-mips.c (md_longopts): Remove -membedded-pic option. 1957 1.1 skrll (OPTION_MEMBEDDED_PIC): Remove. 1958 1.1 skrll (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL) 1959 1.1 skrll (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS) 1960 1.1 skrll (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64) 1961 1.1 skrll (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH) 1962 1.1 skrll (OPTION_ELF_BASE): Renumber. 1963 1.1 skrll (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling. 1964 1.1 skrll (md_show_usage): Remove mention of -membedded-pic. 1965 1.1 skrll * doc/as.texinfo: Remove mention of -membedded-pic. 1966 1.1 skrll 1967 1.1 skrll 2004-04-23 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 1968 1.1 skrll 1969 1.1 skrll * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove. 1970 1.1 skrll * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove 1971 1.1 skrll a.out support. 1972 1.1 skrll (md_begin, mips_ip, md_parse_option, s_change_sec, s_option, 1973 1.1 skrll s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of 1974 1.1 skrll USE_GLOBAL_POINTER_OPT. 1975 1.1 skrll 1976 1.1 skrll 2004-04-22 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 1977 1.1 skrll 1978 1.1 skrll * config/tc-mips.c (macro): One more use of load_delay_nop. 1979 1.1 skrll 1980 1.1 skrll 2004-04-22 Atsushi Nemoto <anemo (a] mba.ocn.ne.jp> 1981 1.1 skrll 1982 1.1 skrll * config/tc-mips.c (load_delay_nop): New function. 1983 1.1 skrll (load_address, macro): Use load_delay_nop() to build a nop 1984 1.1 skrll which can be omitted with gpr_interlocks. 1985 1.1 skrll 1986 1.1 skrll 2004-04-22 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 1987 1.1 skrll 1988 1.1 skrll * config/tc-mips.c (hilo_interlocks, gpr_interlocks, 1989 1.1 skrll cop_interlocks): Remove superfluous CPU entries. 1990 1.1 skrll 1991 1.1 skrll 2004-04-22 Paul Brook <paul (a] codesourcery.com> 1992 1.1 skrll 1993 1.1 skrll * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4. 1994 1.1 skrll 1995 1.1 skrll 2004-04-22 Peter Barada <peter (a] the-baradas.com> 1996 1.1 skrll 1997 1.1 skrll * NEWS: Added support for EMAC instructions and MAC/EMAC 1998 1.1 skrll Motorola syntax. 1999 1.1 skrll * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC 2000 1.1 skrll scale factor tokens, trailing_ampersand to mark mask addressing 2001 1.1 skrll for MAC/EMAC instructions. 2002 1.1 skrll * config/m68k-parse.y: Add options_ampersand clause, '<<', 2003 1.1 skrll '>>'. 2004 1.1 skrll (yylex): Handle '>', '<', and '&' following '+'. 2005 1.1 skrll * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire 2006 1.1 skrll architectures in archs[]. 2007 1.1 skrll (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing 2008 1.1 skrll for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>' 2009 1.1 skrll respectively. 2010 1.1 skrll (m68k_ip): Handle trailing '&' on MAC/EMAC insns. 2011 1.1 skrll (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']' 2012 1.1 skrll cases. 2013 1.1 skrll Add EMAC operands to init_table[]. 2014 1.1 skrll 2015 1.1 skrll 2004-04-22 Bruno De Bus <bdebus (a] elis.ugent.be> 2016 1.1 skrll 2017 1.1 skrll * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED 2018 1.1 skrll state. 2019 1.1 skrll (TC_SEGMENT_INFO_TYPE): Define to enum mstate. 2020 1.1 skrll * config/tc-arm.c (enum mstate): Delete from here. 2021 1.1 skrll (mapping_state): Remove the static mapstate variable and instead 2022 1.1 skrll store the state in the segment. This allows a per-section mapping 2023 1.1 skrll state. Handle and ignore MAP_UNDEFINED states. 2024 1.1 skrll (arm_elf_change_section): Get the current mapping state from the 2025 1.1 skrll new section. 2026 1.1 skrll (s_ltorg): Set the mapping state to MAP_DATA. 2027 1.1 skrll (arm_cleanup): Use arm_elf_change_section to get the mapping state 2028 1.1 skrll for each pool as it is emitted. 2029 1.1 skrll 2030 1.1 skrll 2004-04-22 Nick Clifton <nickc (a] redhat.com> 2031 1.1 skrll 2032 1.1 skrll * config/tc-arm.h: Formatting tidy ups. 2033 1.1 skrll 2034 1.1 skrll 2004-04-20 Chris Demetriou <cgd (a] broadcom.com> 2035 1.1 skrll 2036 1.1 skrll * NEWS: Note that MIPS -membedded-pic option is deprecated. 2037 1.1 skrll 2038 1.1 skrll 2004-04-20 DJ Delorie <dj (a] redhat.com> 2039 1.1 skrll 2040 1.1 skrll * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define. 2041 1.1 skrll * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32". 2042 1.1 skrll [TE_PE] (O_secrel): Define. 2043 1.1 skrll [TE_PE] (x86_pe_cons_fix_new): New. 2044 1.1 skrll [TE_PE] (pe_directive_secrel): Likewise. 2045 1.1 skrll (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL. 2046 1.1 skrll 2047 1.1 skrll 2004-04-19 Eric Christopher <echristo (a] redhat.com> 2048 1.1 skrll 2049 1.1 skrll * config/tc-mips.c (mips_dwarf2_addr_size): Revert part 2050 1.1 skrll of previous patch for fix in gcc. 2051 1.1 skrll 2052 1.1 skrll 2004-04-19 Jakub Jelinek <jakub (a] redhat.com> 2053 1.1 skrll 2054 1.1 skrll * config/tc-xtensa.c (xg_assembler_literal): Fix a typo. 2055 1.1 skrll 2056 1.1 skrll 2004-04-19 Nathan Sidwell <nathan (a] codesourcery.com> 2057 1.1 skrll 2058 1.1 skrll * read.c (do_align): Call md_flush_pending_output, if defined. 2059 1.1 skrll 2060 1.1 skrll 2004-04-16 Alan Modra <amodra (a] bigpond.net.au> 2061 1.1 skrll 2062 1.1 skrll * expr.c (operand): Correct checks for ++ and --. 2063 1.1 skrll 2064 1.1 skrll 2004-04-14 H.J. Lu <hongjiu.lu (a] intel.com> 2065 1.1 skrll 2066 1.1 skrll * config/tc-generic.c: Add some comments. 2067 1.1 skrll 2068 1.1 skrll 2004-04-14 Richard Sandiford <rsandifo (a] redhat.com> 2069 1.1 skrll 2070 1.1 skrll * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from 2071 1.1 skrll -{no-}mfix-vr4122-bugs. 2072 1.1 skrll * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs. 2073 1.1 skrll (append_insn, mips_emit_delays): Update accordingly. 2074 1.1 skrll (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122. 2075 1.1 skrll (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120. 2076 1.1 skrll (md_parse_option): Update after above changes. 2077 1.1 skrll (md_show_usage): Add -mfix-vr4120. 2078 1.1 skrll 2079 1.1 skrll 2004-04-13 Bob Wilson <bob.wilson (a] acm.org> 2080 1.1 skrll 2081 1.1 skrll * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use 2082 1.1 skrll of .section directive; add a reference to the ELF .subsection 2083 1.1 skrll directive. 2084 1.1 skrll 2085 1.1 skrll 2004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 2086 1.1 skrll 2087 1.1 skrll * config/tc-m32r.c (md_assemble): Fixed infinite loop bug 2088 1.1 skrll in parallel. 2089 1.1 skrll 2090 1.1 skrll 2004-04-11 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2091 1.1 skrll 2092 1.1 skrll * Makefile.am: Remove mips from aout targets. 2093 1.1 skrll * Makefile.in: Regenerate. 2094 1.1 skrll * configure.in: Remove mips-dec-bsd* target. 2095 1.1 skrll * configure: Regenerate. 2096 1.1 skrll 2097 1.1 skrll 2004-04-07 Alan Modra <amodra (a] bigpond.net.au> 2098 1.1 skrll 2099 1.1 skrll PR 96 2100 1.1 skrll * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields 2101 1.1 skrll to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64. 2102 1.1 skrll Update "mapping". Restrict some @ modifiers to 32 bit. 2103 1.1 skrll 2104 1.1 skrll 2004-04-01 Asgari Jinia <asgarij (a] kpitcummins.com> 2105 1.1 skrll Dhananjay Deshpande <dhananjayd (a] kpitcummins.com> 2106 1.1 skrll 2107 1.1 skrll * config/tc-sh.c (dont_adjust_reloc_32): New variable. 2108 1.1 skrll (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when 2109 1.1 skrll dont_adjust_reloc_32 is set. 2110 1.1 skrll (md_longopts): Add option -renesas. 2111 1.1 skrll (md_parse_option, md_show_usage): Likewise. 2112 1.1 skrll * doc/c-sh.texi: Likewise. 2113 1.1 skrll 2114 1.1 skrll 2004-04-01 Dave Korn <dk (a] artimi.com> 2115 1.1 skrll 2116 1.1 skrll * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for 2117 1.1 skrll hi16 and lo16 fixS structs. 2118 1.1 skrll (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in 2119 1.1 skrll exactly the same way as for RELOC_DLX_REL16. 2120 1.1 skrll (machine_ip): properly respect LO flag in the_insn and 2121 1.1 skrll output RELOC_DLX_LO16 rather than RELOC_DLX_16. 2122 1.1 skrll (md_apply_fix3): apply RELOC_DLX_LO16. 2123 1.1 skrll 2124 1.1 skrll 2004-03-30 Stan Shebs <shebs (a] apple.com> 2125 1.1 skrll 2126 1.1 skrll Remove long-obsolete MPW support. 2127 1.1 skrll * mpw-config.in, mpw-make.sed, mac-as.r: Remove files. 2128 1.1 skrll * configure.in: Remove mention of ppc-*-mpw* config. 2129 1.1 skrll * configure.in: Likewise. 2130 1.1 skrll 2131 1.1 skrll 2004-03-30 Nick Clifton <nickc (a] redhat.com> 2132 1.1 skrll 2133 1.1 skrll * config/tc-arm.c (meabi_flags): Make its use conditional upon 2134 1.1 skrll OBJ_ELF being defined. 2135 1.1 skrll 2136 1.1 skrll 2004-03-27 Alan Modra <amodra (a] bigpond.net.au> 2137 1.1 skrll 2138 1.1 skrll * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code. 2139 1.1 skrll 2140 1.1 skrll 2004-03-23 Paul Brook <paul (a] codesourcery.com> 2141 1.1 skrll 2142 1.1 skrll * config/tc-arm.c (meabi_flags): New variable. 2143 1.1 skrll (arm_parse_eabi): New function. 2144 1.1 skrll (md_begin): Set flags for EABI v3. 2145 1.1 skrll (arm_eabis): Add. 2146 1.1 skrll (arm_long_opts): Add meabi. 2147 1.1 skrll * doc/as.texinfo <ARM>: Document -meabi. 2148 1.1 skrll * doc/c-arm.texi: Ditto. 2149 1.1 skrll 2150 1.1 skrll 2004-03-22 Bob Wilson <bob.wilson (a] acm.org> 2151 1.1 skrll 2152 1.1 skrll * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal 2153 1.1 skrll tables even when use_literal_section flag is not set. 2154 1.1 skrll 2155 1.1 skrll 2004-03-22 Alan Modra <amodra (a] bigpond.net.au> 2156 1.1 skrll 2157 1.1 skrll * config/tc-sh.c: Remove trailing whitespace. 2158 1.1 skrll 2159 1.1 skrll 2004-03-22 Hans-Peter Nilsson <hp (a] axis.com> 2160 1.1 skrll 2161 1.1 skrll * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort, 2162 1.1 skrll --mul-bug-abort and the default behavior. 2163 1.1 skrll * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL. 2164 1.1 skrll (err_for_dangerous_mul_placement): New variable. 2165 1.1 skrll (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New 2166 1.1 skrll macros. 2167 1.1 skrll (md_cris_relax_table): Have placeholder for STATE_MUL. 2168 1.1 skrll (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort. 2169 1.1 skrll (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New 2170 1.1 skrll case doing nothing. 2171 1.1 skrll (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL, 2172 1.1 skrll STATE_BYTE)>: Ditto. 2173 1.1 skrll (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check 2174 1.1 skrll alignment and position of this frag, emit error message if 2175 1.1 skrll suspicious. 2176 1.1 skrll (md_assemble): For a multiply insn and when checking it, 2177 1.1 skrll transform the current frag into a special frag for that purpose. 2178 1.1 skrll (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case 2179 1.1 skrll OPTION_MULBUG_ABORT_ON>: Handle new options. 2180 1.1 skrll 2181 1.1 skrll 2004-03-19 Bob Wilson <bob.wilson (a] acm.org> 2182 1.1 skrll 2183 1.1 skrll * config/tc-xtensa.c (mark_literal_frags): New function. 2184 1.1 skrll (xtensa_move_literals): Call mark_literal_frags for all literal 2185 1.1 skrll segments, including init and fini literal segments. 2186 1.1 skrll (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec. 2187 1.1 skrll 2188 1.1 skrll 2004-03-19 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca> 2189 1.1 skrll 2190 1.1 skrll * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. 2191 1.1 skrll (pa_comm): Set BSF_OBJECT in symbol flags. 2192 1.1 skrll 2193 1.1 skrll 2004-03-19 Alan Modra <amodra (a] bigpond.net.au> 2194 1.1 skrll 2195 1.1 skrll * Makefile.am: Run "make dep-am". 2196 1.1 skrll * Makefile.in: Regenerate. 2197 1.1 skrll * doc/Makefile.in: Regenerate. 2198 1.1 skrll * config.in: Regenerate. 2199 1.1 skrll * po/gas.pot: Regenerate. 2200 1.1 skrll 2201 1.1 skrll 2004-03-18 Nathan Sidwell <nathan (a] codesourcery.com> 2202 1.1 skrll 2203 1.1 skrll * read.c (read_a_source_file): Use demand_empty_rest_of_line. 2204 1.1 skrll (demand_empty_rest_of_line): Issue an error here. 2205 1.1 skrll (ignore_rest_of_line): Silently skip to end. 2206 1.1 skrll (demand_copy_string): Issue an error, not warning. 2207 1.1 skrll (equals): Likewise. 2208 1.1 skrll * config/obj-elf.c (obj_elf_section_name): Likewise. 2209 1.1 skrll (obj_elf_section): Likewise. 2210 1.1 skrll * config/tc-arc.c (arc_extoper): Remove bogus NULL checks. 2211 1.1 skrll (arc_extinst): Likewise. 2212 1.1 skrll * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line. 2213 1.1 skrll (dot_spill): Likewise. 2214 1.1 skrll (dot_unwabi): Likewise. 2215 1.1 skrll (dot_prologue): Likewise. 2216 1.1 skrll 2217 1.1 skrll * expr.c (operand): Reject ++ and --. 2218 1.1 skrll (operator): Likewise. 2219 1.1 skrll 2220 1.1 skrll 2004-03-17 Kaz Kojima <kkojima (a] rr.iij4u.or.jp> 2221 1.1 skrll 2222 1.1 skrll * config/tc-sh.c: Include dw2gencfi.h. 2223 1.1 skrll (sh_cfi_frame_initial_instructions): New function. 2224 1.1 skrll (sh_regname_to_dw2regnum): Likewise. 2225 1.1 skrll * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of 2226 1.1 skrll file. 2227 1.1 skrll (TARGET_USE_CFIPOP): Define. 2228 1.1 skrll (tc_cfi_frame_initial_instructions): Likewise. 2229 1.1 skrll (tc_regname_to_dw2regnum): Likewise. 2230 1.1 skrll (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise. 2231 1.1 skrll * Makefile.am: Update dependencies. 2232 1.1 skrll * Makefile.in: Regenerate. 2233 1.1 skrll 2234 1.1 skrll 2004-03-17 Ralf Corsepius <corsepiu (a] faw.uni-ulm.de> 2235 1.1 skrll 2236 1.1 skrll * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. 2237 1.1 skrll * configure: Regenerate. 2238 1.1 skrll 2239 1.1 skrll 2004-03-12 Bob Wilson <bob.wilson (a] acm.org> 2240 1.1 skrll 2241 1.1 skrll * read.c (s_leb128): Call md_flush_pending_output. 2242 1.1 skrll 2243 1.1 skrll 2004-03-12 Michal Ludvig <mludvig (a] suse.cz> 2244 1.1 skrll 2245 1.1 skrll * config/tc-i386.c (output_insn): Handle PadLock instructions. 2246 1.1 skrll * config/tc-i386.h (CpuPadLock): New define. 2247 1.1 skrll (CpuUnknownFlags): Added CpuPadLock. 2248 1.1 skrll 2249 1.1 skrll 2004-03-07 Andreas Schwab <schwab (a] suse.de> 2250 1.1 skrll 2251 1.1 skrll * doc/c-hppa.texi (HPPA Directives): Fix typo. 2252 1.1 skrll 2253 1.1 skrll 2004-03-07 Richard Henderson <rth (a] redhat.com> 2254 1.1 skrll 2255 1.1 skrll * dw2gencfi.c (output_cie): Align length to 4 byte boundary. 2256 1.1 skrll (cfi_finish): Likewise for fde. 2257 1.1 skrll 2258 1.1 skrll 2004-03-05 H.J. Lu <hongjiu.lu (a] intel.com> 2259 1.1 skrll 2260 1.1 skrll * config/tc-ia64.c (md_assemble): Properly handle NULL 2261 1.1 skrll align_frag. 2262 1.1 skrll (ia64_handle_align): Don't abort if failed to add a stop bit. 2263 1.1 skrll 2264 1.1 skrll 2004-03-04 H.J. Lu <hongjiu.lu (a] intel.com> 2265 1.1 skrll 2266 1.1 skrll * Makefile.in: Regenerated. 2267 1.1 skrll * aclocal.m4: Likewise. 2268 1.1 skrll * configure: Likewise. 2269 1.1 skrll * doc/Makefile.in: Likewise. 2270 1.1 skrll 2271 1.1 skrll 2004-03-03 H.J. Lu <hongjiu.lu (a] intel.com> 2272 1.1 skrll 2273 1.1 skrll * config/tc-ia64.c (dot_align): New. 2274 1.1 skrll (ia64_do_align): Make it static. 2275 1.1 skrll (md_pseudo_table): Use "dot_align" for "align". 2276 1.1 skrll (ia64_md_do_align): Don't set align_frag here. 2277 1.1 skrll (ia64_handle_align): Add a stop bit to the previous bundle if 2278 1.1 skrll needed. 2279 1.1 skrll 2280 1.1 skrll * config/tc-ia64.h (ia64_do_align): Removed. 2281 1.1 skrll 2282 1.1 skrll 2003-03-03 Andrew Stubbs <andrew.stubbs (a] superh.com> 2283 1.1 skrll 2284 1.1 skrll * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and 2285 1.1 skrll -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. 2286 1.1 skrll (sh_elf_final_processing): Output BFD type sh4_nofpu if that is 2287 1.1 skrll the most general type or the user specifically requested it. 2288 1.1 skrll (md_assemble): Add a new error message for when an instruction 2289 1.1 skrll is understood, but is not allowed due to an -isa option. 2290 1.1 skrll 2291 1.1 skrll 2004-03-02 H.J. Lu <hongjiu.lu (a] intel.com> 2292 1.1 skrll 2293 1.1 skrll * config/tc-ia64.c (align_frag): New. 2294 1.1 skrll (md_assemble): Set the tc_frag_data field in align_frag for 2295 1.1 skrll IA64_OPCODE_FIRST instructions. 2296 1.1 skrll (ia64_md_do_align): Set align_frag. 2297 1.1 skrll (ia64_handle_align): Add a stop bit if needed. 2298 1.1 skrll 2299 1.1 skrll * config/tc-ia64.h (TC_FRAG_TYPE): New. 2300 1.1 skrll (TC_FRAG_INIT): New. 2301 1.1 skrll 2302 1.1 skrll 2004-03-01 Richard Sandiford <rsandifo (a] redhat.com> 2303 1.1 skrll 2304 1.1 skrll * config/tc-frv.c (fr400_audio): New variable. 2305 1.1 skrll (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450. 2306 1.1 skrll (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405. 2307 1.1 skrll (target_implements_insn_p): New function. 2308 1.1 skrll (md_assemble): Report an error if the processor doesn't implement 2309 1.1 skrll the instruction. 2310 1.1 skrll 2311 1.1 skrll 2004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro (a] renesas.com> 2312 1.1 skrll 2313 1.1 skrll * config/tc-m32r.c (md_longopts): Added -no-bitinst option. 2314 1.1 skrll (md_parse_option): Ditto. 2315 1.1 skrll (OPTION_NO_SPECIAL_M32R): Added. 2316 1.1 skrll (md_show_usage): Document it. 2317 1.1 skrll (enable_speial_m32r): Changed a default value from 0 to 1. 2318 1.1 skrll * doc/c-m32r.texi: Document the -no-bitinst option. 2319 1.1 skrll 2320 1.1 skrll 2004-02-27 Nick Clifton <nickc (a] redhat.com> 2321 1.1 skrll 2322 1.1 skrll * config/tc-sh.c (get_operand): Revert previous delta. 2323 1.1 skrll (tc_gen_reloc): Check for an unknown reloc type before processing 2324 1.1 skrll the addend. 2325 1.1 skrll 2326 1.1 skrll 2004-02-27 Hannes Reinecke <hare (a] suse.de> 2327 1.1 skrll 2328 1.1 skrll * config/tc-s390.c (s390_insn): Correct range check for opcode in 2329 1.1 skrll .insn pseudo operation. 2330 1.1 skrll 2331 1.1 skrll 2004-02-27 Anil Paranjpe <anilp1 (a] kpitcummins.com> 2332 1.1 skrll 2333 1.1 skrll * config/tc-sh.c (get_operand): In case of #Imm, check has been 2334 1.1 skrll added for wrong syntax. 2335 1.1 skrll 2336 1.1 skrll 2004-02-26 Eric Christopher <echristo (a] redhat.com> 2337 1.1 skrll 2338 1.1 skrll * config/tc-mips.c (mips_dwarf2_addr_size): New. 2339 1.1 skrll * config/tc-mips.h (DWARF2_ADDR_SIZE): Use. 2340 1.1 skrll 2341 1.1 skrll 2004-02-26 Andrew Stubbs <andrew.stubbs (a] superh.com> 2342 1.1 skrll 2343 1.1 skrll * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01 2344 1.1 skrll nibble types to assembler. 2345 1.1 skrll 2346 1.1 skrll 2004-02-25 Fred Fish <fnf (a] redhat.com> 2347 1.1 skrll 2348 1.1 skrll * config/tc-iq2000.c: Add missing \n\ in multiline string literal. 2349 1.1 skrll 2350 1.1 skrll 2004-02-20 James E Wilson <wilson (a] specifixinc.com> 2351 1.1 skrll 2352 1.1 skrll * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of 2353 1.1 skrll finalize_syms. 2354 1.1 skrll (fixup_unw_records): New arg before_relax. Pass to slot_index. 2355 1.1 skrll (ia64_estimate_size_before_relax): New. 2356 1.1 skrll (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment. 2357 1.1 skrll (generate_unwind_image): Pass 1 to fixup_unw_records. 2358 1.1 skrll * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare. 2359 1.1 skrll (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax. 2360 1.1 skrll 2361 1.1 skrll 2004-02-19 Jakub Jelinek <jakub (a] redhat.com> 2362 1.1 skrll 2363 1.1 skrll * stabs.c (generate_asm_file): Avoid warning about use of 2364 1.1 skrll uninitialized variable. 2365 1.1 skrll 2366 1.1 skrll 2004-02-18 David Mosberger <davidm (a] hpl.hp.com> 2367 1.1 skrll 2368 1.1 skrll * config/tc-ia64.c (ia64_flush_insns): In addition to prologue, 2369 1.1 skrll body, and endp, allow unwind records which do not have a "t" 2370 1.1 skrll (time/instruction) field. 2371 1.1 skrll 2372 1.1 skrll 2004-02-17 Petko Manolov <petkan (a] nucleusys.com> 2373 1.1 skrll 2374 1.1 skrll * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn. 2375 1.1 skrll (do_mav_dspsc_2): Likewise. 2376 1.1 skrll Fix accumulator registers move opcodes. 2377 1.1 skrll 2378 1.1 skrll 2004-02-13 Hannes Reinecke <hare (a] suse.de> 2379 1.1 skrll Jakub Jelinek <jakub (a] redhat.com> 2380 1.1 skrll 2381 1.1 skrll * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory. 2382 1.1 skrll 2383 1.1 skrll 2004-02-10 Steve Ellcey <sje (a] cup.hp.com> 2384 1.1 skrll 2385 1.1 skrll * config/tc-ia64.h (ia64_frob_symbol): New declaration. 2386 1.1 skrll (tc_frob_symbol): New macro definition. 2387 1.1 skrll * config/tc-ia64.c (ia64_frob_symbol): New routine. 2388 1.1 skrll 2389 1.1 skrll 2004-02-09 Daniel Jacobowitz <drow (a] mvista.com> 2390 1.1 skrll 2391 1.1 skrll * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as 2392 1.1 skrll read-only. 2393 1.1 skrll 2394 1.1 skrll 2004-02-09 Nathan Sidwell <nathan (a] codesourcery.com> 2395 1.1 skrll 2396 1.1 skrll * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ... 2397 1.1 skrll (TC_CASE_SENSITIVE): ... this. 2398 1.1 skrll * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE. 2399 1.1 skrll * doc/internals.texi (TC_CASE_SENSITIVE): Document. 2400 1.1 skrll 2401 1.1 skrll 2004-02-06 James E Wilson <wilson (a] specifixinc.com> 2402 1.1 skrll 2403 1.1 skrll * config/tc-ia64.c (dot_endp): Delete call to output_endp. 2404 1.1 skrll (generate_unwind_image): Re-add it here. 2405 1.1 skrll 2406 1.1 skrll 2004-02-06 Nathan Sidwell <nathan (a] codesourcery.com> 2407 1.1 skrll 2408 1.1 skrll * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';' 2409 1.1 skrll * read.h (SKIP_WHITESPACE): Turn into an expression. 2410 1.1 skrll * read.c (read_a_source_file): A pseudo is removed by having a 2411 1.1 skrll NULL handler. 2412 1.1 skrll 2413 1.1 skrll 2004-02-05 James E Wilson <wilson (a] specifixinc.com> 2414 1.1 skrll 2415 1.1 skrll * config/tc-ia64.c (output_endp): New. 2416 1.1 skrll (count_bits): Delete. 2417 1.1 skrll (ia64_flush_insns, process_one_record, optimize_unw_records): Handle 2418 1.1 skrll endp unwind records. 2419 1.1 skrll (fixup_unw_records): Handle endp unwind records. Delete code for 2420 1.1 skrll shortening prologue regions not followed by a body record. 2421 1.1 skrll (dot_endp): Call add_unwind_entry to emit endp unwind record. 2422 1.1 skrll * config/tc-ia64.h (unw_record_type): Add endp. 2423 1.1 skrll 2424 1.1 skrll 2004-02-03 James E Wilson <wilson (a] specifixinc.com> 2425 1.1 skrll 2426 1.1 skrll * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to 2427 1.1 skrll fill padding bytes with zeroes. 2428 1.1 skrll (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that 2429 1.1 skrll sets unwind_record slot_number and slot_frag fields. 2430 1.1 skrll 2431 1.1 skrll 2004-02-02 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 2432 1.1 skrll 2433 1.1 skrll * config/tc-mips.c (add_got_offset_hilo): New function. 2434 1.1 skrll (macro): Use load_register() and add_got_offset_hilo() to load 2435 1.1 skrll constants instead of hardcoding code sequences throughout. 2436 1.1 skrll 2437 1.1 skrll 2004-01-28 H.J. Lu <hongjiu.lu (a] intel.com> 2438 1.1 skrll 2439 1.1 skrll * config/tc-ia64.c (emit_one_bundle): Add proper indentation. 2440 1.1 skrll 2441 1.1 skrll 2004-01-26 Bernardo Innocenti <bernie (a] develer.com> 2442 1.1 skrll 2443 1.1 skrll * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, 2444 1.1 skrll like m68k-elf. 2445 1.1 skrll * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead 2446 1.1 skrll of hard-coded test for TARGET_OS=elf. 2447 1.1 skrll 2448 1.1 skrll 2004-01-24 Chris Demetriou <cgd (a] broadcom.com> 2449 1.1 skrll 2450 1.1 skrll * config/tc-mips.c (hilo_interlocks): Change definition 2451 1.1 skrll so that MIPS32, MIPS64 and later ISAs are included, along with 2452 1.1 skrll the already-included machines. Update comments. 2453 1.1 skrll 2454 1.1 skrll 2004-01-23 Daniel Jacobowitz <drow (a] mvista.com> 2455 1.1 skrll 2456 1.1 skrll * config/tc-arm.c (tc_gen_reloc): Improve error message for 2457 1.1 skrll undefined local labels. 2458 1.1 skrll 2459 1.1 skrll 2004-01-23 Richard Sandiford <rsandifo (a] redhat.com> 2460 1.1 skrll 2461 1.1 skrll * config/tc-mips.c (load_address, macro): Update comments about 2462 1.1 skrll NewABI GP relaxation. 2463 1.1 skrll 2464 1.1 skrll 2004-01-23 Richard Sandiford <rsandifo (a] redhat.com> 2465 1.1 skrll 2466 1.1 skrll * config/tc-mips.c (macro_build): Remove place and counter arguments. 2467 1.1 skrll (mips_build_lui, macro_build_ldst_constoffset): Likewise. 2468 1.1 skrll (mips16_macro_build, macro_build_jalr): Remove counter argument. 2469 1.1 skrll (set_at, load_register, load_address, move_register): Likewise. 2470 1.1 skrll (load_got_offset, add_got_offset): Likewise. 2471 1.1 skrll Update all calls and tidy accordingly. 2472 1.1 skrll 2473 1.1 skrll 2004-01-23 Richard Sandiford <rsandifo (a] redhat.com> 2474 1.1 skrll 2475 1.1 skrll * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument. 2476 1.1 skrll (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities. 2477 1.1 skrll (RELAX_USE_SECOND): Bump to 0x10000. 2478 1.1 skrll (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags. 2479 1.1 skrll (mips_macro_warning): New variable. 2480 1.1 skrll (md_assemble): Wrap macro expansion in macro_start() and macro_end(). 2481 1.1 skrll (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise. 2482 1.1 skrll (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use 2483 1.1 skrll of RELAX_ENCODE. 2484 1.1 skrll (append_insn): Update mips_macro_warning.sizes. 2485 1.1 skrll (macro_start, macro_warning, macro_end): New functions. 2486 1.1 skrll (macro_build): Don't emit warnings here. 2487 1.1 skrll (macro_build_lui, md_estimate_size_before_relax): ...or here. 2488 1.1 skrll (md_convert_frag): Check for cases where one macro alternative 2489 1.1 skrll needs a warning and the other doesn't. Emit a warning if the 2490 1.1 skrll longer sequence was chosen. 2491 1.1 skrll 2492 1.1 skrll 2004-01-23 Richard Sandiford <rsandifo (a] redhat.com> 2493 1.1 skrll 2494 1.1 skrll * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove. 2495 1.1 skrll * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of 2496 1.1 skrll the first sequence, the size of the second sequence, and a flag 2497 1.1 skrll that says whether we should warn. 2498 1.1 skrll (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete. 2499 1.1 skrll (RELAX_FIRST, RELAX_SECOND): New. 2500 1.1 skrll (mips_relax): New variable. 2501 1.1 skrll (relax_close_frag, relax_start, relax_switch, relax_end): New fns. 2502 1.1 skrll (append_insn): Remove "place" argument. Use mips_relax.sequence 2503 1.1 skrll rather than "place" to check whether we're expanding the second 2504 1.1 skrll alternative of a relaxable macro. Remove redundant check for 2505 1.1 skrll branch relaxation. If generating a normal insn, and there 2506 1.1 skrll is not enough room in the current frag, call relax_close_frag() 2507 1.1 skrll to close it. Update mips_relax.sizes[]. Emit fixups for the 2508 1.1 skrll second version of a relaxable macro. Record the first relaxable 2509 1.1 skrll fixup in mips_relax. Remove tc_gen_reloc workaround. 2510 1.1 skrll (macro_build): Remove all uses of "place". Use mips_relax.sequence 2511 1.1 skrll in the same way as in append_insn. 2512 1.1 skrll (mips16_macro_build): Remove "place" argument. 2513 1.1 skrll (macro_build_lui): As for macro_build. Don't drop the add_symbol 2514 1.1 skrll when generating the second version of a relaxable macro. 2515 1.1 skrll (load_got_offset, add_got_offset): New functions. 2516 1.1 skrll (load_address, macro): Use new relaxation machinery. Remove 2517 1.1 skrll tc_gen_reloc workarounds. 2518 1.1 skrll (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second 2519 1.1 skrll version of a relaxable macro is needed. Return -RELAX_SECOND if the 2520 1.1 skrll first version is needed. 2521 1.1 skrll (tc_gen_reloc): Remove relaxation handling. 2522 1.1 skrll (md_convert_frag): Go through the fixups for a relaxable macro and 2523 1.1 skrll mark those that belong to the unneeded alternative as done. If the 2524 1.1 skrll second alternative is needed, adjust the fixup addresses to account 2525 1.1 skrll for the deleted first alternative. 2526 1.1 skrll 2527 1.1 skrll 2004-01-23 Richard Sandiford <rsandifo (a] redhat.com> 2528 1.1 skrll 2529 1.1 skrll * frags.h (frag_room): Declare. 2530 1.1 skrll * frags.c (frag_room): New function. 2531 1.1 skrll * doc/internals.texi: Document it. 2532 1.1 skrll 2533 1.1 skrll 2004-01-22 Thiemo Seufer <seufer (a] csv.ica.uni-stuttgart.de> 2534 1.1 skrll 2535 1.1 skrll * config/tc-mips.c (append_insn): Don't do r3900 interlock 2536 1.1 skrll optimization for -mtune=r3900, as this will break on other CPUs. 2537 1.1 skrll 2538 1.1 skrll 2004-01-11 Tom Rix <tcrix (a] worldnet.att.net> 2539 1.1 skrll 2540 1.1 skrll * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot 2541 1.1 skrll be relaxed, use fixup. 2542 1.1 skrll (md_apply_fix3): Use 5 bit reloc from movb and movw fixup. 2543 1.1 skrll 2544 1.1 skrll 2004-01-19 Jakub Jelinek <jakub (a] redhat.com> 2545 1.1 skrll 2546 1.1 skrll * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single 2547 1.1 skrll precision operands. 2548 1.1 skrll 2549 1.1 skrll 2004-01-14 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 2550 1.1 skrll 2551 1.1 skrll * config/tc-mips.c (append_insn): Properly detect variant frags 2552 1.1 skrll that preclude swapping of relaxed branches. Correctly swap 2553 1.1 skrll instructions between frags when dealing with relaxed branches. 2554 1.1 skrll 2555 1.1 skrll 2004-01-14 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 2556 1.1 skrll 2557 1.1 skrll * acinclude.m4: Quote names of macros to be defined by AC_DEFUN 2558 1.1 skrll throughout. 2559 1.1 skrll * aclocal.m4: Regenerate. 2560 1.1 skrll * configure: Regenerate. 2561 1.1 skrll 2562 1.1 skrll 2004-01-12 Anil Paranjpe <anilp1 (a] KPITCummins.com> 2563 1.1 skrll 2564 1.1 skrll * config/tc-h8300.c (build_bytes): Apply relaxation to bit 2565 1.1 skrll manipulation insns. 2566 1.1 skrll 2567 1.1 skrll 2004-01-12 Richard Sandiford <rsandifo (a] redhat.com> 2568 1.1 skrll 2569 1.1 skrll * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR 2570 1.1 skrll reloc, reserve space for the delay slot as well as the jalr itself. 2571 1.1 skrll 2572 1.1 skrll 2004-01-09 Paul Brook <paul (a] codesourcery.com> 2573 1.1 skrll 2574 1.1 skrll * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2. 2575 1.1 skrll (do_vfp_sp2_from_reg2): New function. 2576 1.1 skrll (insns): Use them. 2577 1.1 skrll (do_vfp_dp_from_reg2): Check return values properly. 2578 1.1 skrll 2579 1.1 skrll 2004-01-08 Ian Lance Taylor <ian (a] wasabisystems.com> 2580 1.1 skrll 2581 1.1 skrll * config/tc-mips.c (warn_nops): Remove static variable. 2582 1.1 skrll (macro): Remove test of warn_nops. 2583 1.1 skrll (md_shortops): Remove 'n'. 2584 1.1 skrll (md_parse_option): Remove 'n' case. 2585 1.1 skrll (md_show_usage): Remove -n. 2586 1.1 skrll * doc/as.texinfo (Overview): Remove MIPS -n option. 2587 1.1 skrll * doc/c-mips.texi (MIPS Opts): Remove mention -n. 2588 1.1 skrll * NEWS: Mention removal of MIPS -n option. 2589 1.1 skrll 2590 1.1 skrll * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove. 2591 1.1 skrll (cop_interlocks): Check ISA level. 2592 1.1 skrll (cop_mem_interlocks): Define. 2593 1.1 skrll (reg_needs_delay): Check cop_interlocks rather than 2594 1.1 skrll ISA_HAS_COPROC_DELAYS. 2595 1.1 skrll (append_insn): Likewise. Use cop_mem_interlocks rather than 2596 1.1 skrll directly checking mips_opts.isa. 2597 1.1 skrll (mips_emit_delays): Likewise. 2598 1.1 skrll 2599 1.1 skrll 2004-01-07 H.J. Lu <hongjiu.lu (a] intel.com> 2600 1.1 skrll 2601 1.1 skrll * config/tc-ia64.c (unwind): Move next_slot_number and 2602 1.1 skrll next_slot_frag to ... 2603 1.1 skrll (unw_rec_list): Here. 2604 1.1 skrll (free_list_records): Removed. 2605 1.1 skrll (output_unw_records): Likewise. 2606 1.1 skrll (generate_unwind_image): Make it void. 2607 1.1 skrll (alloc_record): Initialize next_slot_number and next_slot_frag. 2608 1.1 skrll (slot_index): Take .org, .space and .align into account. 2609 1.1 skrll (fixup_unw_records): Don't set slot_number to 0. Use 2610 1.1 skrll list->next_slot_number and list->next_slot_frag instead of 2611 1.1 skrll unwind.next_slot_number and unwind.next_slot_frag. 2612 1.1 skrll (ia64_convert_frag): New. 2613 1.1 skrll (generate_unwind_image): Generate a rs_machine_dependent frag 2614 1.1 skrll for unwind record. 2615 1.1 skrll (emit_one_bundle): Use list->next_slot_number and 2616 1.1 skrll list->next_slot_frag instead of unwind.next_slot_number and 2617 1.1 skrll unwind.next_slot_frag. 2618 1.1 skrll 2619 1.1 skrll * config/tc-ia64.h (md_convert_frag): Defined as 2620 1.1 skrll ia64_convert_frag. 2621 1.1 skrll (md_estimate_size_before_relax): Defined as (f)->fr_var. 2622 1.1 skrll 2623 1.1 skrll 2004-01-06 Alexandre Oliva <aoliva (a] redhat.com> 2624 1.1 skrll 2625 1.1 skrll 2003-12-19 Alexandre Oliva <aoliva (a] redhat.com> 2626 1.1 skrll * config/tc-frv.h (md_apply_fix3): Don't define. 2627 1.1 skrll * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo 2628 1.1 skrll operands. 2629 1.1 skrll * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. 2630 1.1 skrll 2003-10-07 Alexandre Oliva <aoliva (a] redhat.com> 2631 1.1 skrll * config/tc-frv.c (line_separator_chars): Add `!'. 2632 1.1 skrll 2003-09-19 Alexandre Oliva <aoliva (a] redhat.com> 2633 1.1 skrll * config/tc-frv.c (md_assemble): Clear insn upfront. 2634 1.1 skrll 2003-09-18 Alexandre Oliva <aoliva (a] redhat.com> 2635 1.1 skrll * config/tc-frv.c (OPTION_FDPIC): New macro. 2636 1.1 skrll (md_longopts): Add mfdpic. 2637 1.1 skrll (md_parse_option): Handle it. 2638 1.1 skrll 2003-08-04 Alexandre Oliva <aoliva (a] redhat.com> 2639 1.1 skrll * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12, 2640 1.1 skrll FRV_OPERAND_S12>: Use reloc type encoded in fix-up. 2641 1.1 skrll (frv_pic_ptr): Parse funcdesc. 2642 1.1 skrll 2643 1.1 skrll 2004-01-05 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 2644 1.1 skrll 2645 1.1 skrll * doc/as.texinfo: Let texi2pod parse asconfig.texi and 2646 1.1 skrll gasver.texi. Remove duplicate symbol definitions for texi2pod. 2647 1.1 skrll 2648 1.1 skrll 2004-01-05 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 2649 1.1 skrll 2650 1.1 skrll * Makefile.am (Makefile): Move the dependency on 2651 1.1 skrll $(BFDDIR)/configure.in to... 2652 1.1 skrll (CONFIG_STATUS_DEPENDENCIES): ... here. 2653 1.1 skrll (AUTOMAKE_OPTIONS): Require automake 1.8. 2654 1.1 skrll * Makefile.in: Regenerate. 2655 1.1 skrll * doc/Makefile.am (BASEDIR, BFDDIR): Define. 2656 1.1 skrll (CONFIG_STATUS_DEPENDENCIES): Add a dependency on 2657 1.1 skrll $(BFDDIR)/configure.in here as well. 2658 1.1 skrll * doc/Makefile.in: Regenerate. 2659 1.1 skrll 2660 1.1 skrll 2004-01-05 Maciej W. Rozycki <macro (a] ds2.pg.gda.pl> 2661 1.1 skrll 2662 1.1 skrll * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove. 2663 1.1 skrll * Makefile.in: Regenerate. 2664 1.1 skrll * aclocal.m4: Regenerate. 2665 1.1 skrll * doc/Makefile.am (install, install-info): Remove. 2666 1.1 skrll (install-data-local): A new hook for install-info. 2667 1.1 skrll (AUTOMAKE_OPTIONS): Require automake 1.8. 2668 1.1 skrll * doc/Makefile.in: Regenerate. 2669 1.1 skrll 2670 1.1 skrll 2004-01-02 Nutan Singh <nutan (a] kpitcummins.com> 2671 1.1 skrll 2672 1.1 skrll * doc/c-sh.texi: Update description about floating point behavior 2673 1.1 skrll of SH family. 2674 1.1 skrll 2675 1.1 skrll 2004-01-02 Bernardo Innocenti <bernie (a] develer.com> 2676 1.1 skrll 2677 1.1 skrll * configure.in: Add m68k-uClinux target. 2678 1.1 skrll * configure: Regenerate. 2679 1.1 skrll 2680 1.1 skrll For older changes see ChangeLog-0203 2681 1.1 skrll 2683 1.1.1.2 christos Copyright (C) 2004 Free Software Foundation, Inc. 2684 1.1.1.2 christos 2685 1.1.1.2 christos Copying and distribution of this file, with or without modification, 2686 1.1.1.2 christos are permitted in any medium without royalty provided the copyright 2687 1.1.1.2 christos notice and this notice are preserved. 2688 1.1 skrll 2689 1.1 skrll Local Variables: 2690 1.1 skrll mode: change-log 2691 1.1 skrll left-margin: 8 2692 1.1 skrll fill-column: 74 2693 1.1 skrll version-control: never 2694 End: 2695