aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-04-27binutils/H.J. Lu9-1/+53
2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (do_section_groups): New. (options): Add --section-groups/-g. (usage): Mention --section-groups/-g. (parse_args): Support --section-groups/-g. (get_group_flags): New. (process_section_groups): New. (process_object): Call process_section_groups. gas/ 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_change_section): Check if the old group name is NULL before comparison. gas/testsuite/ 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Add group0a, group0b and group1 for section group. * gas/elf/group0.s: New file. * gas/elf/group0a.d: Likewise. * gas/elf/group0b.d: Likewise. * gas/elf/group1.e: Likewise. * gas/elf/group1.s: Likewise.
2004-04-242004-04-23 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+5
* config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
2004-04-23* config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.Thiemo Seufer2-26/+20
2004-04-23Cope with extra symbols inserted by arm-elf toolchainsNick Clifton4-0/+17
2004-04-232004-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-27/+27
* config/tc-mips.c (md_longopts): Remove -membedded-pic option. (OPTION_MEMBEDDED_PIC): Remove. (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL) (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS) (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64) (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH) (OPTION_ELF_BASE): Renumber. (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling. (md_show_usage): Remove mention of -membedded-pic. * doc/as.texinfo: Remove mention of -membedded-pic.
2004-04-23bfd/Kaz Kojima5-12/+19
* elf32-sh.c (sh_elf_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. opcodes/ * sh-dis.c (print_insn_sh): Print the value in constant pool as a symbol if it looks like a symbol. gas/testsuite/ * gas/sh/pcrel2.d: Update. * gas/sh/tlsd.d: Update. * gas/sh/tlsnopic.d: Update. * gas/sh/tlspic.d: Update. ld/testsuite/ * ld-sh/tlsbin-1.d: Update * ld-sh/tlspic-1.d: Update.
2004-04-23* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.Thiemo Seufer3-76/+43
* config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove a.out support. (md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of USE_GLOBAL_POINTER_OPT.
2004-04-22* config/tc-mips.c (macro): One more use of load_delay_nop.Thiemo Seufer2-2/+5
2004-04-22* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.Mark Kettenis2-0/+17
2004-04-22* config/tc-mips.c (load_delay_nop): New function.Thiemo Seufer13-870/+936
(load_address, macro): Use load_delay_nop() to build a nop which can be omitted with gpr_interlocks. * gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot. * gas/mips/mips-abi32-pic.d: Likewise. * gas/mips/mips-abi32-pic2.d: Likewise. * gas/mips/mips-gp32-fp32-pic.d: Likewise. * gas/mips/mips-gp32-fp64-pic.d: Likewise. * gas/mips/mips-gp64-fp32-pic.d: Likewise. * gas/mips/mips-gp64-fp64-pic.d: Likewise. * gas/mips/relax-swap1-mips2.d: Likewise. * gas/mips/lb-svr4pic-ilocks.d: New test. * gas/mips/mips.exp: Run it.
2004-04-22* config/tc-mips.c (hilo_interlocks, gpr_interlocks,Thiemo Seufer2-6/+5
cop_interlocks): Remove superfluous CPU entries.
2004-04-22 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.Paul Brook6-941/+961
testsuite * maverick.c (off8s): Test full shifted operand range. (MCC2): Define. (MVDSPACC, MVACCDSP): Use it. * maverick.d, maverick.s: Regenerate.
2004-04-22Add support for ColdFire MAC instructions and tidy up support for other m68kNick Clifton11-55/+20056
variants.
2004-04-22Apply Bruno de Bus's patch to record the ARM mapping symbol state on a per-Nick Clifton3-112/+111
section basis and to switch to the MAP_DATA state when emitting literal pools.
2004-04-22(forgot to commit this earlier)Chris Demetriou1-0/+32
2004-04-21 Chris Demetriou <cgd@broadcom.com> * gas/mips/elempic.d: File removed as part of -membedded-pic removal. * gas/mips/empic.d: Likewise. * gas/mips/empic.l: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/empic2.d: Likewise. * gas/mips/empic2.s: Likewise. * gas/mips/empic3_e.d: Likewise. * gas/mips/empic3_e.s: Likewise. * gas/mips/empic3_g1.d: Likewise. * gas/mips/empic3_g1.s: Likewise. * gas/mips/empic3_g2.d: Likewise. * gas/mips/empic3_g2.s: Likewise. * gas/mips/jal-empic-elf-2.d: Likewise. * gas/mips/jal-empic-elf-2.s: Likewise. * gas/mips/jal-empic-elf-3.d: Likewise. * gas/mips/jal-empic-elf-3.s: Likewise. * gas/mips/jal-empic-elf.d: Likewise. * gas/mips/jal-empic.d: Likewise. * gas/mips/la-empic.d: Likewise. * gas/mips/la-empic.s: Likewise. * gas/mips/lb-empic.d: Likewise. * gas/mips/ld-empic.d: Likewise. * gas/mips/lif-empic.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/ulh-empic.d: Likewise. * gas/mips/ld-pic.s: Remove code conditional on EMPIC. * gas/mips/lifloat.s: Likewise. * gas/mips/mips.exp: Remove -membedded-pic tests and related comments.
2004-04-222004-04-21 Chris Demetriou <cgd@broadcom.com>Chris Demetriou29-2166/+0
* gas/mips/elempic.d: File removed as part of -membedded-pic removal. * gas/mips/empic.d: Likewise. * gas/mips/empic.l: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/empic2.d: Likewise. * gas/mips/empic2.s: Likewise. * gas/mips/empic3_e.d: Likewise. * gas/mips/empic3_e.s: Likewise. * gas/mips/empic3_g1.d: Likewise. * gas/mips/empic3_g1.s: Likewise. * gas/mips/empic3_g2.d: Likewise. * gas/mips/empic3_g2.s: Likewise. * gas/mips/jal-empic-elf-2.d: Likewise. * gas/mips/jal-empic-elf-2.s: Likewise. * gas/mips/jal-empic-elf-3.d: Likewise. * gas/mips/jal-empic-elf-3.s: Likewise. * gas/mips/jal-empic-elf.d: Likewise. * gas/mips/jal-empic.d: Likewise. * gas/mips/la-empic.d: Likewise. * gas/mips/la-empic.s: Likewise. * gas/mips/lb-empic.d: Likewise. * gas/mips/ld-empic.d: Likewise. * gas/mips/lif-empic.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/ulh-empic.d: Likewise. * gas/mips/ld-pic.s: Remove code conditional on EMPIC. * gas/mips/lifloat.s: Likewise. * gas/mips/mips.exp: Remove -membedded-pic tests and related comments.
2004-04-21[ gas/ChangeLog ]Chris Demetriou2-0/+7
2004-04-20 Chris Demetriou <cgd@broadcom.com> * NEWS: Note that MIPS -membedded-pic option is deprecated. [ ld/ChangeLog ] 2004-04-20 Chris Demetriou <cgd@broadcom.com> * NEWS: Note that MIPS --embedded-relocs option is deprecated.
2004-04-20Add support for a .secrel32 x86 reloc to allow DWARF" debug information to usedNick Clifton7-0/+202
with COFF based x86 ports.
2004-04-192004-04-19 Eric Christopher <echristo@redhat.com>Eric Christopher2-4/+5
* config/tc-mips.c (mips_dwarf2_addr_size): Revert part of previous patch for fix in gcc.
2004-04-19bfd/Jakub Jelinek2-6/+10
* elf32-sparc.c (elf32_sparc_relocate_section): Handle relocs against hidden/protected undefweak symbols properly. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. gas/testsuite/ * gas/cfi/cfi-sparc64-1.d: Update. ld/testsuite/ * ld-elfvsb/elfvsb.exp: XFAIL some tests on sparc64. * ld-shared/shared.exp: Likewise.
2004-04-19 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.Jakub Jelinek2-1/+5
2004-04-19 * read.c (do_align): Call md_flush_pending_output, if defined.Nathan Sidwell2-0/+7
2004-04-16 * expr.c (operand): Correct checks for ++ and --.Alan Modra2-2/+6
2004-04-15gas/H.J. Lu2-0/+26
2004-04-14 H.J. Lu <hongjiu.lu@intel.com> * config/tc-generic.c: Add some comments. ld/testsuite/ 2004-04-14 H.J. Lu <hongjiu.lu@intel.com> * ld-scripts/assert.s: Add a newline. * ld-scripts/data.s: Likewise.
2004-04-14 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed fromRichard Sandiford6-20/+36
-{no-}mfix-vr4122-bugs. * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs. (append_insn, mips_emit_delays): Update accordingly. (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122. (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120. (md_parse_option): Update after above changes. (md_show_usage): Add -mfix-vr4120.
2004-04-14 * gas/elf/section2.e-mips: Allow named section symbols.Richard Sandiford8-42/+47
* gas/mips/{,el}empic.d, gas/mips/mips{,el}16-[ef].d: Likewise.
2004-04-13 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific useBob Wilson2-5/+21
of .section directive; add a reference to the ELF .subsection directive.
2004-04-13Add test of M32R seth instructionNick Clifton4-2/+19
2004-04-13Fix inifnite loop problem with M32R portNick Clifton6-7/+55
2004-04-11 /bfd/ChangeLogThiemo Seufer5-4/+9
* config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets. * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3* targets amd aout_mips_big_vec, aout_mips_little_vec target vectors. * configure: Regenerate. /gas/ChangeLog * Makefile.am: Remove mips from aout targets. * Makefile.in: Regenerate. * configure.in: Remove mips-dec-bsd* target. * configure: Regenerate. /ld/ChangeLog * configure.host: Remove mips*-dec-bsd* target. * configure.tgt: Likewise.
2004-04-07 PR 96Alan Modra2-106/+109
* config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64. Update "mapping". Restrict some @ modifiers to 32 bit.
2004-04-02[gas]Kaz Kojima7-1/+53
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> Dhananjay Deshpande <dhananjayd@kpitcummins.com> * config/tc-sh.c (dont_adjust_reloc_32): New variable. (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when dont_adjust_reloc_32 is set. (md_longopts): Add option -renesas. (md_parse_option, md_show_usage): Likewise. * doc/c-sh.texi: Likewise. [gas/testsuite] 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> * gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas option. * gas/sh/basic.exp: Run the new test.
2004-04-01Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.Nick Clifton8-6/+70
2004-03-30 Remove long-obsolete MPW support.Stan Shebs8-256/+14
* mpw-config.in, mpw-make.sed, mac-as.r: Remove files. * configure.in: Remove mention of ppc-*-mpw* config. * configure.in: Likewise. [testsuite/ChangeLog] * gas/macros/macros.exp: Remove mention of MPW config.
2004-03-30make use of meabi_flags be ELF specificNick Clifton2-10/+30
2004-03-27 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.Alan Modra2-11/+7
2004-03-27 * gas/i860/dir-intel03-err.l: Update for junk at end line becomingAlan Modra3-2/+8
an error. * gas/m68hc11/m68hc11.exp: Likewise.
2004-03-23 * bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.Paul Brook4-26/+92
* binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3. * gas/config/tc-arm.c (meabi_flags): New variable. (arm_parse_eabi): New function. (md_begin): Set flags for EABI v3. (arm_eabis): Add. (arm_long_opts): Add meabi. * include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add. * doc/as.texinf <ARM>: Document -meabi. * doc/c-arm.texi: Ditto.
2004-03-23bfd/ChangeLog:Bob Wilson2-4/+8
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read literal tables and check for relocs outside of literal pools. (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag. (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or set DF_TEXTREL. (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry. (elf_xtensa_relocate_section): Read literal tables and check for dynamic relocations in read-only sections and not in literal pools. gas/ChangeLog: * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal tables even when use_literal_section flag is not set.
2004-03-22 * gas/cfi/cfi-m68k.d: Adjust offsets.Andreas Schwab2-8/+17
2004-03-22 * config/tc-sh.c: Remove trailing whitespace.Alan Modra2-16/+20
2004-03-21 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,Hans-Peter Nilsson3-3/+108
--mul-bug-abort and the default behavior. * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL. (err_for_dangerous_mul_placement): New variable. (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New macros. (md_cris_relax_table): Have placeholder for STATE_MUL. (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort. (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New case doing nothing. (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Ditto. (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check alignment and position of this frag, emit error message if suspicious. (md_assemble): For a multiply insn and when checking it, transform the current frag into a special frag for that purpose. (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case OPTION_MULBUG_ABORT_ON>: Handle new options.
2004-03-21 * gas/cris/regreg.d: Assemble with --no-mul-bug-abort.Hans-Peter Nilsson4-0/+85
* gas/cris/mulbug-err-1.s, gas/cris/rd-mulbug-1.d: New tests.
2004-03-19 * config/tc-xtensa.c (mark_literal_frags): New function.Bob Wilson2-17/+39
(xtensa_move_literals): Call mark_literal_frags for all literal segments, including init and fini literal segments. (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
2004-03-19 * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors forDave Anglin2-0/+8
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations. * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. (pa_comm): Set BSF_OBJECT in symbol flags.
2004-03-19 * Makefile.am: Run "make dep-am".Alan Modra6-2187/+2733
* Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * config.in: Regenerate. * po/gas.pot: Regenerate.
2004-03-18 * read.c (read_a_source_file): Use demand_empty_rest_of_line.Nathan Sidwell5-46/+44
(demand_empty_rest_of_line): Issue an error here. (ignore_rest_of_line): Silently skip to end. (demand_copy_string): Issue an error, not warning. (equals): Likewise. * config/obj-elf.c (obj_elf_section_name): Likewise. (obj_elf_section): Likewise. * config/tc-arc.c (arc_extoper): Remove bogus NULL checks. (arc_extinst): Likewise. * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line. (dot_spill): Likewise. (dot_unwabi): Likewise. (dot_prologue): Likewise.
2004-03-18 * expr.c (operand): Reject ++ and --.Nathan Sidwell2-0/+20
(operator): Likewise.
2004-03-18[gas]Kaz Kojima9-9/+164
* config/tc-sh.c: Include dw2gencfi.h. (sh_cfi_frame_initial_instructions): New function. (sh_regname_to_dw2regnum): Likewise. * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of file. (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions): Likewise. (tc_regname_to_dw2regnum): Likewise. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise. * Makefile.am: Update dependencies. * Makefile.in: Regenerate. [gas/testsuite] * gas/cfi/cfi-sh-1.d: New file. * gas/cfi/cfi-sh-1.s: Likewise. * gas/cfi/cfi.exp: Add SH case.
2004-03-17Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.Alan Modra3-4/+9