aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
2003-05-21Fix dw3gencfi.c so that it will build on targets that do not define ↵Nick Clifton2-4/+19
BFD_ASSEMBLER.
2003-05-212003-05-20 Jason Eckhardt <jle@rice.edu>Jason Eckhardt5-0/+319
* gas/i860/branch.{s,d}: New files. * gas/i860/system.{s,d}: New files.
2003-05-212003-05-20 Jason Eckhardt <jle@rice.edu>Jason Eckhardt59-0/+4535
* gas/i860/bitwise.{s,d}: New files. * gas/i860/bte.{s,d}: New files. * gas/i860/fldst01.{s,d}: New files. * gas/i860/fldst02.{s,d}: New files. * gas/i860/fldst03.{s,d}: New files. * gas/i860/fldst04.{s,d}: New files. * gas/i860/fldst05.{s,d}: New files. * gas/i860/fldst06.{s,d}: New files. * gas/i860/fldst07.{s,d}: New files. * gas/i860/fldst08.{s,d}: New files. * gas/i860/float01.{s,d}: New files. * gas/i860/float02.{s,d}: New files. * gas/i860/float03.{s,d}: New files. * gas/i860/float04.{s,d}: New files. * gas/i860/form.{s,d}: New files. * gas/i860/iarith.{s,d}: New files. * gas/i860/ldst01.{s,d}: New files. * gas/i860/ldst02.{s,d}: New files. * gas/i860/ldst03.{s,d}: New files. * gas/i860/ldst04.{s,d}: New files. * gas/i860/ldst05.{s,d}: New files. * gas/i860/ldst06.{s,d}: New files. * gas/i860/pfam.{s,d}: New files. * gas/i860/pfmam.{s,d}: New files. * gas/i860/pfmsm.{s,d}: New files. * gas/i860/pfsm.{s,d}: New files. * gas/i860/regress01.{s,d}: New files. * gas/i860/shift.{s,d}: New files. * gas/i860/simd.{s,d}: New files.
2003-05-212003-05-20 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-0/+17
* gas/i860: New directory. * gas/i860/i860.exp: New file.
2003-05-202003-05-20 Michal Ludvig <mludvig@suse.cz>Michal Ludvig5-160/+156
* as.c (main): Remove tc_cfi_init(). * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning with '%'. (cfi_pseudo_table): Add "cfi_register" entry. (cfi_make_insn): Handle CFA_register. (cfi_output_insn): Ditto. (dot_cfi): Ditto. (cfi_get_label): Add 'simple' modifier to .cfi_startproc. (dot_cfi_endproc): Reuse already emitted CIEs. * testsuite/gas/cfi/cfi-i386.d: New pattern. * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
2003-05-20Add support for .file and .locNick Clifton2-1/+9
2003-05-20 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum ifAlan Modra2-2/+11
defined. (dot_cfi_endproc): Avoid C99 construct.
2003-05-20 * gas/cfi/cfi.exp: Testsuite for cfi machinery.Alan Modra6-23/+484
* gas/cfi/cfi-x86_64.[sd]: Files for x86-64. * gas/cfi/cfi-i386.[sd]: Files for i386.
2003-05-20 * dw2gencfi.c, dw2gencfi.h: New files.Alan Modra15-80/+1113
* config/tc-i386.c (tc_x86_cfi_init): New function. * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines. * as.c (parse_args): Set verbose flag on --verbose. (main): Call tc_cfi_init()/cfi_finish(). * as.h (verbose): New external variable. * read.c (pobegin): Insert CFI pops to the list. * symbols.c (local_symbol_make): Make symbol external. * symbols.h (local_symbol_make): New prototype. * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am". * Makefile.in: Regenerate. * doc/as.texinfo: Added node "CFI directives" with description of all implemented .cfi_* directives. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2003-05-19 * gas/mips/mips.exp: mips-*-linux-*, mipsel-*-linux-* use only 32-bitThiemo Seufer18-230/+257
register width by default. Add them to addr32 and exclude offending testcases. * gas/mips/delay.s: Avoid odd floating point registers. * gas/mips/delay.d: Likewise. * gas/mips/nodelay.d: Likewise. * gas/mips/mips4.s: Likewise. * gas/mips/mips4.d: Likewise. * gas/mips/mips5.s: Likewise. * gas/mips/mips5.d: Likewise. * gas/mips/vr5400.s: Likewise. * gas/mips/vr5400.d: Likewise. * gas/mips/vr5500.s: Likewise. * gas/mips/vr5500.d: Likewise. * gas/mips/elf_e_flags2.d: Allow different expansions of the move macro. * gas/mips/elf_e_flags3.d: Likewise. * gas/mips/elf_e_flags4.d: Likewise. * gas/mips/uld2-eb.d: Likewise. * gas/mips/uld2-el.d: Likewise.
2003-05-18Reverted faulty codeSvein Seldal2-6/+0
2003-05-18Forgot to check in changelog of config/tc-tic4x.hSvein Seldal1-0/+1
2003-05-18 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel insns.Svein Seldal3-11/+43
(tic4x_start_line): Fixed scrub bug and added error for three-element parallel insns.
2003-05-182003-05-18 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-0/+6
gas: * config/tc-i860.c (i860_process_insn): Initialize fc after each opcode mismatch. include/opcode: * i860.h (form, pform): Add missing .dd suffix. opcodes: * i860-dis.c (print_insn_i860): Instruction shrd has a dual bit, print it. bfd: * elf32-i860.c (elf32_i860_relocate_highadj): Simplify calculation.
2003-05-16Replace i[3456]86 with i[3-7]86Nick Clifton5-290/+255
2003-05-15 * config/tc-mips.h: Fix comment formatting.Thiemo Seufer2-1/+5
2003-05-13Correct annotation last entryHans-Peter Nilsson1-1/+1
2003-05-13 * gas/macros/app1.s, gas/macros/app1.d, gas/macros/app2.s,Hans-Peter Nilsson11-0/+85
gas/macros/app2.d, gas/macros/app3.s, gas/macros/app3.d, gas/macros/app4.s, gas/macros/app4b.s, gas/macros/app4.d: New tests. * gas/macros/macros.exp: Run them.
2003-05-13 * read.c (old_buffer, old_input, old_limit): Remove variables.Hans-Peter Nilsson2-28/+24
(read_a_source_file): Delete label contin. <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into input as with macros, instead of in separate old_* variables. Zero-terminate string being scrubbed.
2003-05-12Allow xstormy-elf-gas to handle "@fptr() - @fptr()" expressions.Nick Clifton2-0/+33
2003-05-122003-05-11 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-86/+128
* config/tc-i860.c (MAX_FIXUPS): Define. (struct i860_fi fi[]): New struct. (struct i860_it the_insn): Add above as member and move fields exp, reloc, pcrel and fup into i860_fi. (md_assemble): Replace all instances of exp, reloc, pcrel and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup. Add a loop to possibly emit multiple fix-ups for each insn. (i860_process_insn): Likewise. (i860_get_expression): Likewise. (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
2003-05-09 * config/tc-s390.c (s390_target_format): Always call init_default_arch.Martin Schwidefsky2-2/+5
2003-05-07gas/H.J. Lu7-8/+260
2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (alias_hash): New. (alias_name_hash): New. (secalias_hash): New. (secalias_name_hash): New. (md_pseudo_table): Add "secalias". (md_begin): Initialize alias_hash, alias_name_hash, secalias_hash and secalias_name_hash. (struct alias): New. (dot_alias): Implement .alias and .secalias directives. (do_alias): New. (ia64_adjust_symtab): New. (do_secalias): New. (ia64_frob_file): New. * config/tc-ia64.h (ia64_adjust_symtab): New. (tc_adjust_symtab): Defined. (ia64_frob_file): New. (tc_frob_file): Defined. gas/testsuite/ 2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/ia64.exp: Add alias. * gas/ia64/alias.s: New. * gas/ia64/alias.d: Likewise.
2003-05-07(md_show_usage): Add missing lines to known cpus list.Nick Clifton2-0/+6
2003-05-07* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.Alexandre Oliva5-243/+329
* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it. * config.in, configure: Rebuilt.
2003-05-07* gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d,Alexandre Oliva109-88/+164
gas/mips/beq.d, gas/mips/bge.d, gas/mips/bgeu.d, gas/mips/blt.d, gas/mips/bltu.d, gas/mips/branch-misc-1.d, gas/mips/break20.d, gas/mips/cp0sel-names-mips32.d, gas/mips/cp0sel-names-mips32r2.d, gas/mips/cp0sel-names-mips64.d, gas/mips/cp0sel-names-numeric.d, gas/mips/cp0sel-names-sb1.d, gas/mips/elf-jal.d, gas/mips/elf-rel.d, gas/mips/elf-rel2.d, gas/mips/elf-rel3.d, gas/mips/elf-rel4.d, gas/mips/elf-rel5.d, gas/mips/elf-rel6.d, gas/mips/elf-rel7.d, gas/mips/elf_arch_mips1.d, gas/mips/elf_arch_mips2.d, gas/mips/elf_arch_mips3.d, gas/mips/elf_arch_mips32.d, gas/mips/elf_arch_mips32r2.d, gas/mips/elf_arch_mips4.d, gas/mips/elf_arch_mips5.d, gas/mips/elf_arch_mips64.d, gas/mips/elf_ase_mips16.d, gas/mips/empic.d, gas/mips/empic2.d, gas/mips/empic3_e.d, gas/mips/empic3_g1.d, gas/mips/empic3_g2.d, gas/mips/hwr-names-mips32r2.d, gas/mips/hwr-names-numeric.d, gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf.d, gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/jal.d, gas/mips/la-empic.d, gas/mips/la-svr4pic.d, gas/mips/la-xgot.d, gas/mips/la.d, gas/mips/lb-empic.d, gas/mips/lb-svr4pic.d, gas/mips/lb-xgot-ilocks.d, gas/mips/lb-xgot.d, gas/mips/lb.d, gas/mips/ld-empic.d, gas/mips/ld-svr4pic.d, gas/mips/ld-xgot.d, gas/mips/ld.d, gas/mips/li.d, gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d, gas/mips/lif-xgot.d, gas/mips/lifloat.d, gas/mips/mips-gp32-fp32-pic.d, gas/mips/mips-gp32-fp32.d, gas/mips/mips-gp32-fp64-pic.d, gas/mips/mips-gp32-fp64.d, gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.d, gas/mips/mips-gp64-fp64-pic.d, gas/mips/mips-gp64-fp64.d, gas/mips/mips.exp, gas/mips/mips16-e.d, gas/mips/mips16-f.d, gas/mips/mips32.d, gas/mips/mips32r2.d, gas/mips/mips4010.d, gas/mips/mips4650.d, gas/mips/mips64.d, gas/mips/mipsel16-e.d, gas/mips/mipsel16-f.d, gas/mips/rol-hw.d, gas/mips/rol.d, gas/mips/sb.d, gas/mips/sync.d, gas/mips/tempic.d, gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d, gas/mips/trunc.d, gas/mips/uld.d, gas/mips/ulh-empic.d, gas/mips/ulh-svr4pic.d, gas/mips/ulh-xgot.d, gas/mips/ulh.d, gas/mips/ulh2-eb.d, gas/mips/ulh2-el.d, gas/mips/ulw.d, gas/mips/ulw2-eb.d, gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2-el-ilocks.d, gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d, gas/mips/vr4122.d: Added ABI specification. gas/vtable/vtable.exp: mips64*-*-linux* and mips*-*-irix6* are RELA.
2003-05-062003-05-05 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+14
* config/tc-mips.c (tc_gen_reloc): Add addend just once if howto->partial_inplace is false.
2003-05-06 * config/tc-mips.c (mips_need_elf_addend_fixup): RemoveDaniel Jacobowitz2-11/+26
symbol_used_in_reloc_p check. (md_apply_fix3): Remove check for howto->pcrel_offset.
2003-05-042003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu3-5/+10
* gas/elf/symver.s: Use '%' instead of '@' in .type. * gas/elf/type.s: Likewise.
2003-05-032003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu6-52/+18
* gas/elf/elf.exp (run_list_test): Support pipe for readelf. * gas/elf/type.e-m32r: Removed. * gas/elf/type.e-mips: Likewise. * gas/elf/type.e-miwmmxt: Likewise. * gas/elf/type.e: Updated.
2003-05-03gas/H.J. Lu9-8/+66
2003-05-03 H.J. Lu <hjl@gnu.org> * config/obj-elf.c (obj_elf_parse_section_letters): Make it a fatal error for unknown section attribute. * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for unknown section attribute. * config/tc-ia64.c (ia64_elf_section_letter): Likewise. * config/tc-ppc.c (ppc_section_letter): Likewise. * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'. (ia64_elf_section_type): Accept "unwind". gas/testsuite/ 2003-05-03 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add unwind. * gas/ia64/unwind.s: New. Test the new section attribute 'o' and the new section type "unwind". * gas/ia64/unwind.d: Likewise.
2003-05-032003-05-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+8
* gas/mips/mips.exp (mips_arch_init): Reimplement in a way that's safe with ancient versions of tcl/expect.
2003-05-032003-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+7
* read.h (demand_copy_string): New. * config/tc-alpha.c (demand_copy_string): Removed.