aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-06-11 * write.c (write_relocs): Use xcalloc. Fix relocs initializationThiemo Seufer2-3/+7
in the RELOC_EXPANSION_POSSIBLE case.
2003-06-11 * config/tc-i960.c (line_comment_chars): Add '#'.Alan Modra3-3/+23
* config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
2003-06-11 * gas/macros/app1.d: Ignore section symbols.Alan Modra5-0/+11
* gas/macros/app2.d: Likewise. * gas/macros/app3.d: Likewise. * gas/macros/app4.d: Likewise.
2003-06-11bfd/H.J. Lu2-11/+19
2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. binutils/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gas/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gprof/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. ld/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. opcodes/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise.
2003-06-10* bfd/Makefile.am (config.status): Depend on version.h.Alan Modra4-9/+280
Run "make dep-am" in bfd/ and elsewhere, and regen files.
2003-06-10opcodes:Doug Evans5-5/+13
* cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to CGEN_INSN_RELAXED. * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate. * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate. * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate. * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate. * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate. * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate. * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate. gas: * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to CGEN_INSN_RELAXED. * config/tc-fr30.c (md_estimate_size_before_relax): Ditto. * config/tc-m32r.c (md_estimate_size_before_relax): Ditto. * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
2003-06-10 * gas/mips/mips.exp: Fix typo.Thiemo Seufer4-3/+9
* gas/mips/elempic.d: Force o64 ABI. * gas/mips/telempic.d: Likewise. * ld-mips-elf/rel32-n32.d: Force big endian assembly. * ld-mips-elf/rel32-o32.d: Likewise. * ld-mips-elf/rel64.d: Likewise.
2003-06-10 * gas/cfi/cfi.exp: Use here. Only run tests when ELF.Alan Modra3-23/+52
* gas/macros/and.s: Avoid .set so we don't break mips.
2003-06-10 * gas/macros/and.s: Avoid .set so we don't break mips.Alan Modra2-1/+5
2003-06-10 * gas/macros/and.s: New.Alan Modra3-0/+16
* gas/macros/macros.exp: Assemble it.
2003-06-10Add "attn", "lq" and "stq" power4 insns.Alan Modra6-8/+179
2003-06-10include/opcode/Richard Sandiford4-0/+397
* h8300.h (IMM4_NS, IMM8_NS): New. (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l. gas/testsuite * gas/h8300/h8sx_mov_imm.[sd]: New test. * gas/h8300/h8300.exp: Run it.
2003-06-10opcodes/Richard Sandiford6-14/+42
* h8300-dis.c (bfd_h8_disassemble): Don't print brackets round rts/l and rte/l register lists. gas/ * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register lists. Allow single-register ranges. testsuite/ * gas/h8300/h8sx_rtsl.[sd]: New test. * gas/h8300/h8300.exp: Run it.
2003-06-10 * gas/h8300/h8sx_disp2.[sd]: New test.Richard Sandiford4-0/+62
* gas/h8300/h8300.exp: Run it.
2003-06-10Fix last changelog.Richard Sandiford1-1/+1
2003-06-10include/elf/Richard Sandiford2-0/+20
* h8.h (E_H8_MACH_H8300SXN): New flag. bfd/ * archures.c (bfd_mach_h8300sxn): New architecture. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan): Check for 'sxn'. (h8300sxn_info_struct): New. (h8300sx_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. (elf32_h8_final_write_processing): Likewise. gas/ * config/tc-h8300.c (h8300sxnmode): New. (md_pseudo_table): Add .h8300sxn entry. Sync others with FSF version. ld/ * configure.tgt (h8300*): Add h8300sxn emulations. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. (eh8300sxn.c, eh8300sxnelf.c): New rules. * Makefile.in: Regenerate. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
2003-06-102003-06-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-5/+46
* NEWS: Updated for the new -n option for the i386 assembler. * config/tc-i386.c (optimize_align_code): New. (md_shortopts): Add 'n'. (md_parse_option): Handle 'n'. (md_show_usage): Add '-n'. * config/tc-i386.h (optimize_align_code): Declared. (md_do_align): Optimize code alignment only if optimize_align_code is not 0. * doc/as.texinfo: Add the new -n option. * doc/c-i386.texi: Document the new -n option.
2003-06-08 * doc/as.texinfo: Document .cfi_rel_offset.Richard Henderson2-4/+8
2003-06-08 * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.Richard Henderson10-0/+161
(cfi_add_CFA_offset): Detect invalid offsets. (cfi_add_CFA_remember_state): Save cur_cfa_offset. (cfi_add_CFA_restore_state): Restore it. (CFI_rel_offset): New. (cfi_pseudo_table): Add it. (dot_cfi): Handle it. * gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-1.s: New. * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-2.s: New. * gas/cfi/cfi-diag-1.d, gas/cfi/cfi-diag-1.s: New. * gas/cfi/cfi.exp: Run them.
2003-06-072003-06-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+30
* app.c (do_scrub_chars): Add states 14 and 15 to handle predicate for ia64.
2003-06-052003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-42/+105
* config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops. (build_bytes): Ditto. 2003-06-05 Richard Sandiford <rsandifo@redhat.com> * config/tc-h8sx.c (DMODE): Remove. (colonmod24): Don't choose a default if the operand is a 16-bit constant integer. (fix_operand_size): New function. (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn). Adjust @(d:2,ERn) operands before choosing the specific opcodes.
2003-06-052003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+36364
* gas/h8300/t01_mov.s: New file, tests mov instructions. * gas/h8300/t02_mova.s: New file, tests mova instructions. * gas/h8300/t03_add.s: New file, tests add instructions. * gas/h8300/t04_sub.s: New file, tests sub instructions. * gas/h8300/t05_cmp.s: New file, tests cmp instructions. * gas/h8300/t06_ari2.s: New file, tests arithmetic instructions. * gas/h8300/t07_ari3.s: New file, tests arithmetic instructions. * gas/h8300/t08_or.s: New file, tests or instructions. * gas/h8300/t09_xor.s: New file, tests xor instructions. * gas/h8300/t10_and.s: New file, tests and instructions. * gas/h8300/t11_logs.s: New file, tests logical instructions. * gas/h8300/t12_bit.s: New file, tests bit instructions. * gas/h8300/t13_otr.s.s: New file, tests misc. instructions. * gas/h8300/t01_mov.exp: New file. * gas/h8300/t02_mova.exp: New file. * gas/h8300/t03_add.exp: New file. * gas/h8300/t04_sub.exp: New file. * gas/h8300/t05_cmp.exp: New file. * gas/h8300/t06_ari2.exp: New file. * gas/h8300/t07_ari3.exp: New file. * gas/h8300/t08_or.exp: New file. * gas/h8300/t09_xor.exp: New file. * gas/h8300/t10_and.exp: New file. * gas/h8300/t11_logs.exp: New file. * gas/h8300/t12_bit.exp: New file. * gas/h8300/t13_otr.exp: New file.
2003-06-052003-06-05 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-40/+185
* dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg) (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New. (cfi_add_CFA_offset, cfi_add_CFA_def_cfa) (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register) (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*(). (cfi_add_CFA_restore, cfi_add_CFA_undefined) (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New. (cfi_pseudo_table): New directives .cfi_return_column, .cfi_restore, .cfi_undefined, .cfi_same_value, .cfi_remember_state, .cfi_restore_state, .cfi_nop. (dot_cfi, output_cfi_insn): Handle new directives. * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined) (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
2003-06-05 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.Richard Henderson2-1/+3
2003-06-05 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.Richard Henderson2-1/+5
2003-06-05 * config/tc-alpha.c (s_alpha_usepv): New.Richard Henderson13-0/+185
(md_pseudo_table): Add it. (alpha_cfi_frame_initial_instructions): New. * config/tc-alpha.h (TARGET_USE_CFIPOP): New. (tc_cfi_frame_initial_instructions): New. * doc/c-alpha.texi: Document .usepv. * gas/alpha/elf-usepv-1.[sd]: New. * gas/alpha/elf-usepv-2.[sd]: New. * gas/alpha/alpha.exp: Run them. * gas/cfi/cfi-alpha-3.[sd]: New. * gas/cfi/cfi.exp: Run it.
2003-06-04 * as.c (show_usage): Document --execstack and --noexecstack.Jakub Jelinek3-1/+52
(parse_args): Add --execstack and --noexecstack. (main): Create .note.GNU-stack section if --execstack or --noexecstack was given on comand line, set its SHF_EXECINSTR bit. * as.h (flag_execstack, flag_noexecstack): New.
2003-06-042003-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-64/+100
* config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE) (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE) (OPTION_MISC_BASE): New defines. (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL) (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64) (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100) (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX) (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2) (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D) (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64) (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS) (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010) (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16) (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH) (OPTION_TRAP): Redefine in terms of new defines. (md_longopts): Reorder entries.
2003-06-032003-05-14 Michael Snyder <msnyder@redhat.com>Michael Snyder3-222/+834
From Bernd Schmidt <bernds@redhat.com> and Michael Snyder <msnyder@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * config/tc-h8300.c: Add insns and addressing modes for h8300sx. * config/tc-h8300.h: Ditto.
2003-06-03Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.Nick Clifton2-10/+22
2003-06-02Reformat.H.J. Lu1-1/+2
2003-06-02 * read.c (emit_expr): Set dot_value.Alan Modra3-44/+43
* dw2gencfi.c (output_fde): Remove pcrel reloc hack.
2003-06-02 * macro.c (sub_actual): Don't lose string if it turns out thatAlan Modra2-0/+6
&string wasn't an arg.
2003-05-31 * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.Richard Henderson7-18/+69
(cfi_finish): Set flag_traditional_format around .eh_frame data. * gas/alpha/elf-reloc-8.d: Correct .eh_frame relocs. * gas/cfi/cfi-alpha-2.d: New. * gas/cfi/cfi-alpha-2.s: New. * gas/cfi/cfi.exp: Run it.
2003-05-30 * config/tc-alpha.c (alpha_cur_ent_sym): Remove.Richard Henderson8-20/+311
(all_frame_data, plast_frame_data, cur_frame_data): New. (s_alpha_ent): Record data for dwarf2 cfi. (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.[ (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives. * config/tc-alpha.h (md_end): New. (DWARF2_DEFAULT_RETURN_COLUMN): New. (DWARF2_CIE_DATA_ALIGNMENT): New. * gas/alpha/elf-reloc-8.d: Add .eh_frame relocs. * gas/cfi/cfi-alpha-1.d: New. * gas/cfi/cfi-alpha-1.s: New. * gas/cfi/cfi.exp: Run it.
2003-05-29Add i386-*-freebsd* entry.Nick Clifton3-169/+176
2003-05-29Change Mitsubishi to RenesasNick Clifton2-1/+5
2003-05-27 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into theRichard Henderson4-17/+14
symbol_create call. (current_location): Use symbol_temp_new_now. * stabs.c (s_stab_generic): Use symbol_temp_new. * symbols.c (temp_label_name): Remove. (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
2003-05-27 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.Richard Henderson11-800/+748
* as.c (main): Always call cfi_finish. * config/tc-i386.c (x86_dwarf2_return_column): New. (x86_cie_data_alignment): New. (md_begin): Set them. (tc_x86_cfi_init): Remove. (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers; return int, not unsigned long; don't as_bad here. (tc_x86_frame_initial_instructions): Streamline; use updated api. * config/tc-i386.h (tc_cfi_init): Remove. (DWARF2_DEFAULT_RETURN_COLUMN): New. (DWARF2_CIE_DATA_ALIGNMENT): New. * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite. * gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-i386-2.d: New. * gas/cfi/cfi-i386-2.s: New.
2003-05-27 * symbols.c (temp_label_name): New.Richard Henderson4-37/+61
(symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New. (symbol_set_value_now): New. * symbols.h: Prototype them. * dwarf2dbg.c: Use them. (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
2003-05-242003-05-23 Jason Eckhardt <jle@rice.edu>Jason Eckhardt6-5/+583
gas: * config/tc-i860.c (target_xp): Declare variable. (OPTION_XP): Declare macro. (md_longopts): Add option -mxp. (md_parse_option): Set target_xp. (md_show_usage): Add -mxp usage. (i860_process_insn): Recognize XP registers bear, ccr, p0-p3. (md_assemble): Don't try expansions if XP_ONLY is set. * doc/c-i860.texi: Document -mxp option. gas/testsuite: * gas/i860/xp.s: New file. * gas/i860/xp.d: New file. include/opcode: * i860.h (expand_type): Add XP_ONLY. (scyc.b): New XP instruction. (ldio.l): Likewise. (ldio.s): Likewise. (ldio.b): Likewise. (ldint.l): Likewise. (ldint.s): Likewise. (ldint.b): Likewise. (stio.l): Likewise. (stio.s): Likewise. (stio.b): Likewise. (pfld.q): Likewise. opcodes: * i860-dis.c (crnames): Add bear, ccr, p0, p1, p2, p3. (print_insn_i860): Grab 4 bits of the control register field instead of 3.
2003-05-232003-05-23 Eric Christopher <echristo@redhat.com>Eric Christopher2-1/+5
* config/tc-mips.c (macro_build_jalr): Warning patrol.
2003-05-23* gas/i860/i860.exp: Don't call exit if the target isn't an i860.Richard Earnshaw2-10/+11
2003-05-22 * gas/mips/jal-newabi.s: New file, testcase for NewABI xgot jal macro.Thiemo Seufer4-0/+31
* gas/mips/jal-newabi.d: Likewise. * gas/mips/mips.exp: Add new testcase.
2003-05-22 * config/tc-mips.c (append_insn): Use actual relocation size for newThiemo Seufer2-62/+81
fixp's. Don't relax overflow checking for partial_inplace relocations. Use the actual relocation type in combined relocs, not just the type of the first one. (macro_build_jalr): Use actual relocation size for new fix. (s_cpsetup, s_gpdword): Likewise.
2003-05-22 * config/tc-mips.c (macro): Don't use uninitialized tempreg.Thiemo Seufer2-2/+6
2003-05-22Do not producesection relative offsets for relocs that will not be based on theNick Clifton2-12/+17
section symbol.
2003-05-212003-05-07 Eric Christopher <echristo@redhat.com>Eric Christopher2-2/+25
Alexandre Oliva <aoliva@redhat.com> * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Adjust pic tests, change to warning. (_bfd_mips_elf_final_link): Remove EF_MIPS_CPIC flag setting. 2003-05-07 Eric Christopher <echristo@redhat.com> * config/tc-mips.c (mips_abicalls): New variable. (md_parse_option): Use. (s_option): Ditto. (s_abicalls): Ditto. (mips_elf_final_processing): Set EF_MIPS_PIC and EF_MIPS_CPIC dependent on above.
2003-05-21 * config/tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.Dave Anglin5-2/+40
* testsuite/gas/hppa/parse/parse.exp: Add "space.s". * testsuite/gas/hppa/parse/space.s: New file to test spaces.
2003-05-21Move .file and .loc pseudo ops into obj-elf.cNick Clifton27-3765/+4370