aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-06-23include/opcode/Alan Modra3-23/+25
* i386.h (i386_optab): Remove fildd, fistpd and fisttpd. opcodes/ * i386-dis.c (x_mode): Comment. (two_source_ops): File scope. (float_mem): Correct fisttpll and fistpll. (float_mem_mode): New table. (dofloat): Use it. (OP_E): Correct intel mode PTR output. (ptr_reg): Use open_char and close_char. (PNI_Fixup): Handle possible suffix on sidt. Use op1out etc. for operands. Set two_source_ops. gas/testsuite/ * gas/i386/prescott.s: Remove fisttpd and fisttpq. * gas/i386/prescott.d: Update.
2004-06-21* gas/symbols.c: While discarding ordinary local absolute symbolsNick Clifton2-1/+8
when --strip-local-absolute is in effect, retain file symbols.
2004-06-20 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.Andreas Schwab2-2/+7
(md_parse_option): Likewise.
2004-06-18* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.Nick Clifton1-0/+28
* config/te-netware.h: New file. * config/te-ppcnw.h: Delete: Obsolete. * configure.in: Eliminate ill NetWare targets. Make generic NetWare target use proper emulation. * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add reference to new te-netware.h. * configure: Regenerate. * Makefile.in: Regenerate.
2004-06-18* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.Nick Clifton7-43/+27
* config/te-netware.h: New file. * config/te-ppcnw.h: Delete: Obsolete. * configure.in: Eliminate ill NetWare targets. Make generic NetWare target use proper emulation. * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add reference to new te-netware.h. * configure: Regenerate. * Makefile.in: Regenerate.
2004-06-15 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsignedMartin Schwidefsky2-3/+8
comparison in .insn pseudo operation.
2004-06-15 * config/obj-coff.c (coff_adjust_section_syms): UseAlan Modra4-10/+22
bfd_get_section_size instead of bfd_get_section_size_before_reloc. (coff_frob_section): Likewise. * config/tc-mips.c (md_apply_fix3): Likewise. * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size. (elf_frob_file_after_relocs): Likewise.
2004-06-11 * config/tc-hppa.c (log2): Rename to exact_log2.Dave Anglin2-21/+18
(pa_next_subseg): Delete unused function. (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED. (create_new_subspace): Likewise.
2004-06-11 Bug gas/213Dave Anglin2-2/+15
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake labels. Fix warning.
2004-06-08opcodes/Jakub Jelinek3-1/+37
* ia64-gen.c (in_iclass): Handle more postinc st and ld variants. * ia64-asmtab.c: Rebuilt. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add some new postinc tests. * gas/ia64/dv-raw-err.l: Updated.
2004-05-28* config/tc-mn10300.h (tc_fix_adjustable): Define.DJ Delorie3-2/+17
* config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug or non-merged symbols.
2004-05-282004-05-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+11
* config/tc-ia64.c (remove_marked_resource): Save, clear and restore the old slot when inserting srlz.i/srlz.d.
2004-05-282004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke4-54/+94
bfd: * Makefile.am: Regenerate dependencies. * Makefile.in: Regenerate. * archures.c: Add bfd_mach_sh3_nommu . * bfd-in2.h: Regenerate. * cpu-sh.c: Add sh3-nommu architecture. (bfd_to_arch_table): Create new table. (sh_get_arch_from_bfd_mach): Create new function. (sh_get_arch_up_from_bfd_mach): Create new function. (sh_merge_bfd_arch): Create new function. * elf32-sh.c (sh_ef_bfd_table): Add table. (sh_elf_check_relocs): Replace switch statement with use of sh_ef_bfd_table . (sh_elf_get_flags_from_mach): Add new function. (sh_find_elf_flags): Likewise. (sh_elf_copy_private_data): Replace most of non-elf contents with a call to sh_merge_bfd_arch() . gas: * Makefile.am: Regenerate dependecies. * Makefile.in: Regenerate. * config/tc-sh.c (valid_arch): Make unsigned. (preset_target_arch): Likewise. (md_begin): Use new architecture flags system. (get_specific): Likewise. (assemble_ppi): Likewise. (md_assemble): Likewise. Also fix error check for bad opcodes. (md_parse_option): Likewise. Also generate -isa values according to the table in bfd/cpu-sh.c instead of just constants. Also allow <arch>-up ISA variants. (sh_elf_final_processing): Replace if-else chain with a call to sh_find_elf_flags(). * testsuite/gas/sh/arch: New directory. * testsuite/gas/sh/arch/arch.exp: New test script. * testsuite/gas/sh/arch/arch_expected.txt: New file. * testsuite/gas/sh/arch/sh.s: New file. * testsuite/gas/sh/arch/sh2.s: New file. * testsuite/gas/sh/arch/sh-dsp.s: New file. * testsuite/gas/sh/arch/sh2e.s: New file. * testsuite/gas/sh/arch/sh3-nommu.s: New file. * testsuite/gas/sh/arch/sh3.s: New file. * testsuite/gas/sh/arch/sh3-dsp.s: New file. * testsuite/gas/sh/arch/sh3e.s: New file. * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/gas/sh/arch/sh4-nofpu.s: New file. * testsuite/gas/sh/arch/sh4.s: New file. * testsuite/gas/sh/arch/sh4a-nofpu.s: New file. * testsuite/gas/sh/arch/sh4al-dsp.s: New file. * testsuite/gas/sh/arch/sh4a.s: New file. include/elf: * sh.h (EF_SH_HAS_DSP): Remove. (EF_SH_HAS_FP): Remove. (EF_SH_MERGE_MACH): Remove. (EF_SH4_NOFPU): Convert to decimal. (EF_SH4A_NOFPU): Likewise. (EF_SH4_NOMMU_NOFPU): Likewise. (EF_SH3_NOMMU): Add new macro. (EF_SH_BFD_TABLE): Likewise. (sh_find_elf_flags): Add prototype. (sh_elf_get_flags_from_mach): Likewise. opcodes: * sh-dis.c (target_arch): Make unsigned. (print_insn_sh): Replace (most of) switch with a call to sh_get_arch_from_bfd_mach(). Also use new architecture flags system. * sh-opc.h: Redefine architecture flags values. Add sh3-nommu architecture. Reorganise <arch>_up macros so they make more visual sense. (SH_MERGE_ARCH_SET): Define new macro. (SH_VALID_BASE_ARCH_SET): Likewise. (SH_VALID_MMU_ARCH_SET): Likewise. (SH_VALID_CO_ARCH_SET): Likewise. (SH_VALID_ARCH_SET): Likewise. (SH_MERGE_ARCH_SET_VALID): Likewise. (SH_ARCH_SET_HAS_FPU): Likewise. (SH_ARCH_SET_HAS_DSP): Likewise. (SH_ARCH_UNKNOWN_ARCH): Likewise. (sh_get_arch_from_bfd_mach): Add prototype. (sh_get_arch_up_from_bfd_mach): Likewise. (sh_get_bfd_mach_from_arch_set): Likewise. (sh_merge_bfd_arc): Likewise. ld: * testsuite/ld-sh/arch/arch.exp: New test script. * testsuite/ld-sh/arch/arch_expected.txt: New file. * testsuite/ld-sh/arch/sh.s: New file. * testsuite/ld-sh/arch/sh2.s: New file. * testsuite/ld-sh/arch/sh-dsp.s: New file. * testsuite/ld-sh/arch/sh2e.s: New file. * testsuite/ld-sh/arch/sh3-nommu.s: New file. * testsuite/ld-sh/arch/sh3.s: New file. * testsuite/ld-sh/arch/sh3-dsp.s: New file. * testsuite/ld-sh/arch/sh3e.s: New file. * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/ld-sh/arch/sh4-nofpu.s: New file. * testsuite/ld-sh/arch/sh4.s: New file. * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. * testsuite/ld-sh/arch/sh4al-dsp.s: New file. * testsuite/ld-sh/arch/sh4a.s: New file.
2004-05-28Convert mode 5 addressing with zero offset into mode 2 addressing to save aNick Clifton6-0/+44
word.
2004-05-28gas/H.J. Lu4-46/+93
2004-05-27 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (ar_is_in_integer_unit): Removed. (ar_is_only_in_integer_unit): New. (ar_is_only_in_memory_unit): New. (generate_unwind_image): Silence gcc on 32bit host. (md_assemble): Use ar_is_only_in_integer_unit instead of ar_is_in_integer_unit. Check AR access. gas/testsuite 2004-05-27 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/regs.d: Updated.
2004-05-27Sort m68k opcodes into alphabetical orderNick Clifton2-32/+72
2004-05-262004-05-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+267
* gas/ia64/ia64.exp: Run invalid-ar. * gas/ia64/invalid-ar.l: New file. Test invalid AR access. * gas/ia64/invalid-ar.s: Likewise.
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