aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-05-24Reorganise m68k instruction decoding and improve handling of MAC/EMACNick Clifton6-8366/+8499
2004-05-23 * expr.c (operand, operator): Don't reject '++' and '--'.Alan Modra2-6/+13
2004-05-202004-05-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/ia64/dv-srlz.d: Fix a typo.
2004-05-20 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16Richard Sandiford2-2/+12
dwarf tables.
2004-05-17Add PowerPC LynxOS supportNick Clifton3-4/+11
2004-05-13Handle dwarf3 format CIE entries.Nick Clifton2-1/+8
2004-05-13Change or32-rtems target from COFF to ELF formatNick Clifton3-64/+27
2004-05-13Updated French translationsNick Clifton2-3/+8
2004-05-12 * gas/h8300/t03_add.exp: Remove stray semicolons.Ben Elliston14-20/+36
* gas/h8300/t04_sub.exp: Likewise. * gas/h8300/t05_cmp.exp: Likewise. * gas/h8300/t08_or.exp: Likewise. * gas/h8300/t09_xor.exp: Likewise. * gas/h8300/t10_and.exp: Likewise. * gas/hppa/reloc/reloc.exp: Likewise. * gas/hppa/unsorted/unsorted.exp: Likewise. * gas/i386/i386.exp: Likewise. * gas/m68hc11/m68hc11.exp: Likewise. * gas/mips/mips.exp: Likewise. * gas/sparc/sparc.exp: Likewise. * lib/gas-defs.exp: Likewise.
2004-05-11Apply H.J.'s patch to fix label arithmetic when multiple same-name sections ↵Nick Clifton10-15/+110
are involved
2004-05-07 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120Richard Sandiford8-159/+367
to cope with VR4181A errata MD(1) and MD(4).
2004-05-07* NEWS: Mention .secrel32 for pe[i]-i386.Brian Ford2-0/+7
2004-05-07* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.Alexandre Oliva2-0/+46
(HANDLE_ALIGN): New.
2004-05-07 * Makefile.am (DIST_SUBDIRS): Define.Daniel Jacobowitz5-34/+68
* aclocal.m4: Regenerate with automake 1.8.4. * Makefile.in: Likewise. * doc/Makefile.in: Likewise.
2004-05-06Patch from David Mosberger-Tang.Jim Wilson2-0/+27
* config/tc-ia64.c (dot_serialize): Declare. (dot_serialize): New function. (md_pseudo_table): Add ".serialize.data" and ".serialize.instruction" directives.
2004-05-06Remove duplicate code and provide a function for generating internally ↵Nick Clifton10-75/+115
consistent 'value out of range' messages
2004-05-06* configure.in: Set em=linux for frv-*-*linux*.Alexandre Oliva5-7/+97
* configure: Rebuilt. * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if... (frv_md_fdpic_enabled): New. * config/tc-frv.c (frv_md_fdpic_enabled): New. (DEFAULT_FDPIC): New. (frv_flags): Use DEFAULT_FDPIC. (frv_pic_flag): Likewise. (OPTION_NOPIC): New. (md_longopts): Add -mnopic. (md_parse_option): Handle it. (md_show_usage): Add -mfdpic and -mnopic.
2004-05-06* gas/frv/reloc1.d: Match elf32-frvfdpic as well.Alexandre Oliva4-3/+9
* gas/frv/fr405-insn.d: Likewise. * gas/frv/fr450-insn.d: Likewise.
2004-05-05Add support for 521x,5249,547x,548x.Nick Clifton4-78/+217
2004-05-05 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.Jakub Jelinek3-32/+10
(NOP_OPCODE): Define. (s390_align_code): Remove prototype. * tc-s390.c (s390_align_code): Remove.
2004-05-042004-05-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-95/+128
* config/tc-ia64.c (make_unw_section_name): Removed. (start_unwind_section): New function. (generate_unwind_image): Take const segT instead of const char *. (dot_handlerdata): Adjusted. (dot_endp): Likewise.
2004-05-032004-05-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+9
* config/obj-elf.c (obj_elf_change_section): Allow the ".note.GNU-stack" section has SHF_EXECINSTR.
2004-05-02bfd/H.J. Lu2-36/+22
2004-05-02 H.J. Lu <hongjiu.lu@intel.com> * section.c (bfd_get_section_by_name_if): New. * bfd-in2.h: Regenerated. gas/ 2004-05-02 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (get_section): Return bfd_boolean. (obj_elf_change_section): Call bfd_get_section_by_name_if instead of bfd_map_over_sections.
2004-04-30gas/H.J. Lu7-25/+92
2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (get_section): New function. (obj_elf_change_section): Support multiple sections with same name. gas/testsuite/ 2004-04-30 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Remove group1, add group1a and group1b for section group. * gas/elf/group1a.d: New file. * gas/elf/group1b.d: Likewise. * gas/elf/group1.e: Removed.
2004-04-30Fix handling of case sensitive register aliases and add a test for the bugNick Clifton6-40/+59
2004-04-30 * ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.Ben Elliston3-1/+13
[testsuite] * gas/ppc/power4.s: Add dcbz and dcbzl test cases. * gas/ppc/power4.d: Update accordingly.
2004-04-29Add support for generating DWARF2 debug sections in the x86 PE portNick Clifton2-4/+11
2004-04-29[ bfd/ChangeLog ]Chris Demetriou4-398/+55
2004-04-28 Chris Demetriou <cgd@broadcom.com> * reloc.c: Remove BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. [ gas/ChangeLog ] 2004-04-28 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build) (load_address, macro, mips_ip, md_parse_option) (mips_force_relocation, mips_validate_fix, md_apply_fix3) (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all embedded-PIC handling, and update comments. (SWITCH_TABLE): Remove. * config/tc-mips.h (DIFF_EXPR_OK): Delete. (enum mips_pic_level): Remove EMBEDDED_PIC. (EXTERN_FORCE_RELOC): Remove embedded-PIC handling. (TC_FORCE_RELOCATION): Update comment. * ecoff.c (ecoff_build_lineno): Add comment about some code that might be safe to remove now that MIPS embedded-PIC is gone.
2004-04-28 * som.c (struct som_misc_symbol_info): Add is_comdat, is_common andDave Anglin4-30/+103
dup_common fields. (setup_sections): Use som_subspace_dictionary_record struct instead subspace_dictionary_record. Set SEC_LINK_ONCE if subspace is is_comdat, is_common or dup_common. (som_prep_headers): Use som_subspace_dictionary_record struct. Set is_comdat, is_common and dup_common in section subspace_dict from copy_data. (som_begin_writing): Use som_subspace_dictionary_record struct. (som_finish_writing): Likewise. (som_bfd_derive_misc_symbol_info): Add support to set is_comdat, is_common and dup_common flags in info for symbol. Add comment regarding linker support for these fields. Slightly reorganize function. (som_build_and_write_symbol_table): Set is_comdat, is_common and dup_common fields in symbol table from symbol info. (bfd_som_set_subsection_attributes): Add comdat, common and dup_common arguments. Set corresponding fields in copy_data. Change all callers. (som_bfd_ar_write_symbol_stuff): Set dup_common flag in library symbol table. (som_vec): Add SEC_LINK_ONCE to applicable section flags. * som.h (som_subspace_dictionary_record): Define. (som_copyable_section_data_struct): Add is_comdat, is_common and dup_common fields. (som_section_data_struct): Use som_subspace_dictionary_record struct instead of subspace_dictionary_record. (bfd_boolean bfd_som_set_subsection_attributes): Adjust prototype. * config/obj-som.c (obj_som_init_stab_section): Add new arguments in call to obj_set_subsection_attributes. (obj_som_init_stab_section): Likewise. * config/tc-hppa.c (default_subspace_dict): Add comdat field. (pa_def_subspaces): Provide comdat default. (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and not SEC_IS_COMMON if section is comdat, common or dup_common. Update calls to create_new_subspace and update_subspace to pass comdat flag. (create_new_subspace, update_subspace): Add new comdat argument. Use it in calls to obj_set_subsection_attributes. * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter and use of comdat, common and dup_comm parameters.
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