aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2002-02-05 * archures (bfd_mach_ppc64): Define.Alan Modra2-1/+5
(bfd_powerpc_arch): Rename to bfd_powerpc_archs. (bfd_powerpc_arch): Define. * bfd-in2.h: Regenerate. * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. (bfd_powerpc_archs): Add default powerpc64 arch. * gas/ppc/test1elf64.d: Tweak arch name.
2002-02-04Ok, now the corrected ChangeLog entryAlexandre Oliva1-2/+1
2002-02-04* gas/testsuite/gas/sh/pcrel.d: New test.Alexandre Oliva4-1/+44
* gas/testsuite/gas/sh/pcrel.s: Sources for new test. * gas/testsuite/gas/sh/basic.exp: Run it.
2002-02-04* config/tc-sh.c (parse_at): Set arg type of @(expr,pc) toAlexandre Oliva2-5/+22
A_DISP_PC only if it's an integral constant, and to A_DISP_PC_ABS otherwise. (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is expected. (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if the operand type is not A_DISP_PC_ABS.
2002-02-04 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value ofHans-Peter Nilsson2-4/+21
common and weak symbols. Handle common and weak symbols as undefined symbols with regards to GREG handling and merging. (mmix_frob_file): Ditto.
2002-02-04 * gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d,Hans-Peter Nilsson10-0/+194
gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d, gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New tests for base-plus-offset relocations and global register allocations for weak and common symbols.
2002-02-02bfd:Jason Thorpe4-187/+182
* config.bfd (hppa*-*-netbsd*): New target. gas: * configure.in (hppa-*-netbsd*): New target. * configure: Regenerate. * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. (ehppanbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (hppa*-*-netbsd*): New target. * emulparams/hppalinux.sh: Add comment to check other files that source this file it is modified, and list which files that do. * emulparams/hppanbsd.sh: New file.
2002-02-01 * config/tc-v850.c: Add missing prototypes amd use old-styleAlan Modra5-274/+215
function definitions. (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. (sdata_section tdata_section, zdata_section, sbss_section, tbss_section, zbss_section, rosdata_section, rozdata_section, scommon_section, tcommon_section, zcommon_section, call_table_data_section, call_table_text_section): Delete. (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, v850_zbss, v850_bss, v850_rosdata, v850_rozdata, v850_call_table_data, v850_call_table_text): Delete. (struct v850_seg_entry): New. (v850_seg_table): New. (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. (do_v850_seg): New. (v850_seg): New. (v850_comm): Use do_v850_seg and v850_seg_table. Simplify recording of alignment. (md_pseudo_table): Use v850_seg. (md_begin): Don't init .call_table_data and .call_table_text here. Set v850_seg_table bss entry. * config/tc-v850.h (v850_pcrel_from_section): Prototype. * gas/elf/elf.exp: Don't special case v850.
2002-02-01 * gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d,Hans-Peter Nilsson12-0/+195
gas/mmix/err-bpo2.s, gas/mmix/basep-3b.d, gas/mmix/err-bpo3.s, gas/mmix/basep-4.d, gas/mmix/err-bpo4.s, gas/mmix/err-bpo5.s, gas/mmix/basep-5.d, gas/mmix/basep-6.d: New tests.
2002-02-01 Support on-demand global register allocation by passing onHans-Peter Nilsson5-42/+100
base-plus-offset relocs to the linker. * config/tc-mmix.c: Tweak and fix typos in comments. (allocate_undefined_gregs_in_linker): New variable. (OPTION_LINKER_ALLOCATED_GREGS): New option macro. (md_longopts): Add --linker-allocated-gregs. (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. <case OPTION_LINKER_ALLOCATED_GREGS>: New. (md_show_usage): Update text for -x. Add text for --linker-allocated-gregs. (tc_gen_reloc): Derive default value for addend from val and baddsy. Use addsec and bfd_is_abs_section in more places. Don't emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable GREG if allocate_undefined_gregs_in_linker. * doc/as.texinfo (Overview) <Target MMIX options>: Add --linker-allocated-gregs. * doc/c-mmix.texi (MMIX-Opts): Add blurb about --linker-allocated-gregs. Mention that it's implied by -x. (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. (MMIX-mmixal): Clarify dated comparison and location of MMIXware. * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
2002-02-01Run "make dep-am"Alan Modra3-1/+62
2002-01-31Add support for OpenRISC 32-bit embedded processorNick Clifton13-1064/+3155
2002-01-30 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iyRichard Sandiford2-2/+7
and mod.
2002-01-302002-01-29 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-15/+32
* config/tc-mips.c (tc_gen_reloc): Arrange for BFD_RELOC_PCREL_HI16_S relocations to be output relative to their LO16 parts, even for ELF.
2002-01-292002-01-29 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-0/+9
* config/tc-i386.c: Protect definitions of true and false from redefinition.
2002-01-28 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbolsJakub Jelinek2-2/+16
made because of .weak, if they are neither defined nor used in any way.
2002-01-282002-01-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-429/+480
From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. Various configure scripts regenerated.
2002-01-26 * doc/Makefile.am (install): Depend on install-info.Hans-Peter Nilsson3-0/+13
* doc/Makefile.in: Regenerate.
2002-01-26Updated French translationNick Clifton2-2463/+3578
2002-01-25Missing ChangeLog entries for 2002-01-22 Makefile updatesAlan Modra1-0/+6
2002-01-24 * config/tc-h8300.c (check_operand): Don't print a warningKazu Hirata2-0/+14
when a valid 24-bit address is given to a 16-bit address operand.
2002-01-24copyright yearsAlexandre Oliva2-2/+2
2002-01-24* config/tc-sh.c (sh_elf_suffix): Removed.Alexandre Oliva3-165/+275
(sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, sh_end_of_match, sh_parse_name): New functions. (sh_elf_cons): Simplify. (parse_exp): Reject misplaced PIC operands. (md_undefined_symbol): Simplify. (sh_fix_adjustable): Let @GOTOFF be adjusted. (md_apply_fix3): Write @PLT and @GOTOFF addends in place. (tc_gen_reloc): Move fixp subsy absolute value into addnumber. Complain if subsy remains at the end. * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
2002-01-23oopsAlexandre Oliva1-1/+1
2002-01-23* gas/mn10300/basic.exp (run_list_test): New proc, from alpha.Alexandre Oliva4-1/+63
* gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests.
2002-01-23* config/tc-mn10300.c (xr_registers): Move `pc'...Alexandre Oliva2-1/+6
(other_registers): ... here.
2002-01-22 * gas/alpha/unop.s, gas/alpha/unop.d: New test.Richard Henderson4-0/+22
* gas/alpha/alpha.exp: Run it.
2002-01-22run "make dep-am"; automakeAlan Modra4-2/+62
regenerate po/POTFILES.in
2002-01-22* config/obj-coff.c (obj_coff_init_stab_section): Make theDJ Delorie2-1/+7
stabstr_name allocation permanent, as it will be referenced from the section hash.
2002-01-21bfd:Jason Thorpe3-186/+180
* config.bfd (ia64*-*-netbsd*): New target. gas: * configure.in (ia64-*-netbsd*): New target. * configure: Regenerate. ld: * configure.tgt (ia64-*-netbsd*): New target.
2002-01-21comment typo fixesAlan Modra2-2/+6
2002-01-21 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}Hans-Peter Nilsson3-6/+13
to @dots call. <Detailed description, ARM options>: Ditto. * doc/c-arm.texi (ARM Options): Ditto.
2002-01-19* tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed fromRichard Earnshaw2-260/+268
do_mia, do_mar and do_mra respectively. (do_mav_*): Renamed from do_c_*. (mav_reg_required_here, mav_parse_offset): Renamed from cirrus_reg_required_here and cirrus_parse_offset respectively. (MAV_MODE?): Renamed from CIRRUS_MODE?.
2002-01-192002-01-18 Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw6-6/+79
Keith Walker <keith.walker@arm.com> * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. (insns): Add pattern for bxj instruction. (do_bxj): New function. (arm_cpus): Add arm926ej. (arm_archs): Add armv5tej. Testsuite: 2002-01-18 Richard Earnshaw <rearnsha@arm.com> Keith Walker <keith.walker@arm.com> * gas/arm/arch5tej.s gas/arm/arch5tej.d: New files. * gas/arm/arm.exp (arch5tej): New dump test.
2002-01-19* doc/c-arm.texi: Add new fpe options to list of supported flags.Richard Earnshaw2-0/+6
2002-01-192002-01-19 Keith Walker <keith.walker@arm.com>Richard Earnshaw2-0/+6
* tc-arm.c (arm_fpus): Add fpe2 and fpe3.
2002-01-18* NEWS: Mention new ARM command-line options and VFP support.Richard Earnshaw10-520/+904
* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All uses changed. (ARM_CEXT_MAVERICK): Similarly. (ARM_ANY): Now means any core instruction. (CPU_DEFAULT): Default to ARM_ANY. (uses_apcs_26, atcps, support_interwork, uses_apcs_float) (pic_code): Declare for all object types. Make type int. (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) (march_fpu_opt, mfpu_opt): Declare. (md_longopts): Tidy up conditional definitions. (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) (arm_long_opts): New tables. (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. (arm_parse_extension): New function. (md_parse_option): Rewrite using new table-driven system. (md_show_usage): Use new table-driven system. (md_begin): Calculate cpu_variant from command line option data. * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific command-line options. * doc/c-arm.texi: Likewise. Testsuite: * gas/arm/vfp1.d: Use new command-line options. * gas/arm/vfp1xD.d: Likewise. * gas/arm/arm.exp (vfp-bad): Likewise. * gas/arm/maverick.d: Likewise.
2002-01-18gas:Andreas Jaeger2-7/+10
2002-01-18 Andreas Jaeger <aj@suse.de> * as.c (parse_args): Update year. binutils: 2002-01-18 Andreas Jaeger <aj@suse.de> * version.c (print_version): Update year. ld: 2002-01-18 Andreas Jaeger <aj@suse.de> * ldver.c (ldversion): Update year.
2002-01-17Add a more instructive error message on bad syntaxTimothy Wall4-1/+13
2002-01-17Regenerate .pot and .po filesNick Clifton2-2052/+2742
2002-01-17Add no-c-format comment to prevent confusion when translating string.Nick Clifton3-2/+11
2002-01-16 * config/tc-mips.c (percent_op): Ensure longer percent_op's areThiemo Seufer2-56/+96
matched before the shorter ones. (my_getSmallParser): Fix handling of nested parentheses in percent_op's. Code cleanup. (my_getPercentOp): New function, code from my_getSmallParser. (my_getSmallExpression): Fix handling of closing parentheses. Code cleanup. Better comments.
2002-01-16Import new Turkish translations.Nick Clifton4-108/+9556
2002-01-15Support for VFP instructionsRichard Earnshaw10-28/+2289
* tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. (cp_address_required_here): New argument wb_ok. When false, do not accept write-back forms of addressing. Change all callers. (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) (FPU_VFP_EXT_V2): Define. (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): Define in terms of above. (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. (vfp_reg): New struct. (vfp_regs): New array of registers. (insns): Add VFP instructions. (sn_table): New array of VFP single-precision register names. (dn_table): New array of VFP double-precision register names. (all_reg_maps): Add the new register tables. (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) (do_vfp_sp_dp_cvt): New functions. (md_begin): Set soft-float flag for appropriate VFP work. (md_atof): Handle VFP-format doubles. (md_parse_option): Handle VFP command-line options. (md_show_usage): Display VFP command-line options. * testsuite/gas/arm/vfp1.s gas/arm/vf1.d: New files. * testsuite/gas/arm/vfp1xD.s gas/arm/vf1xD.d: New files. * testsuite/gas/arm/vfp-bad.s gas/arm/vfp-bad.l: New files. * testsuite/gas/arm/arm.exp: Run new VFP tests.
2002-01-15* tc-arm.c (md_parse_option): Tidy up setting of cpu_variant forRichard Earnshaw2-21/+20
various command line options.
2002-01-15Special case handlign for m32r portNick Clifton3-0/+15
2002-01-15Fix expected results of disassembly of DSP instructionsNick Clifton2-18/+22
2002-01-15Fix up generation of VTINHERIT relocsNick Clifton2-5/+14
2002-01-14Use section2.e-mips script for v850-elf toolchain.Nick Clifton2-1/+6
2002-01-14* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.dRichard Earnshaw11-1/+965
arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s, arm/fpa-dyadic.d: New tests. * gas/arm/le-fpconst.d (objdump): pass --section=.text * gas/arm/arm.exp: Add new tests. Run le-fpconst test on elf targets.