aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-08-08gas/Andreas Schwab7-1/+160
* config/tc-m68k.h (TARGET_USE_CFIPOP) (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): Define. * config/tc-m68k.c: Include "dw2gencfi.h". (tc_m68k_regname_to_dw2regnum) (tc_m68k_frame_initial_instructions): New functions. gas/testsuite/ * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. * gas/cfi/cfi.exp (run_list_test): Run it.
2003-08-08Add MSP430 variantsNick Clifton2-20/+40
2003-08-072003-08-07 Jason Eckhardt <jle@rice.edu>Jason Eckhardt3-0/+27
* config/tc-i860.c (i860_check_label): New function. * config/tc-i860.h (i860_check_label): New prototype. (tc_check_label): Define macro as i860_check_label.
2003-08-072003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt3-7/+53
* config/tc-i860.c (s_align_wrapper): New function and prototype. (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove surrounding OBJ_ELF ifdef, and re-format slightly. * doc/c-i860.texi: Document the special .align syntax available in Intel mode.
2003-08-06gas:Jason Eckhardt7-0/+79
2003-08-06 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_handle_align): New function. * config/tc-i860.h (HANDLE_ALIGN): Define macro. (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro. gas/testsuite: 2003-08-06 Jason Eckhardt <jle@rice.edu> * gas/i860/dir-align01.{s,d}: New files. * gas/i860/i860.exp: Execute the new test above.
2003-08-06gas:Jason Eckhardt5-4/+22
2003-08-06 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c (i860_process_insn): Check that instructions with their dual-bit set are 8-byte aligned. gas/testsuite: 2003-08-06 Jason Eckhardt <jle@rice.edu> * gas/i860/dual02-err.l: Update expected error message. * gas/i860/README.i860: Remove dual02-err from known failure list.
2003-08-06Updated French translationsNick Clifton2-591/+70
2003-08-062003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-3/+5
* gas/i860/README.i860: Remove dual01 from the known failures.
2003-08-062003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-6/+21
* config/tc-i860.c (i860_process_insn): Don't handle dual-bit setting during flop argument parsing. Instead, do it after instruction is fully parsed.
2003-08-052003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-0/+7
* doc/c-i860.texi: Mention that .dual, .enddual, and .atmp directives are only available in Intel syntax mode.
2003-08-052003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt8-0/+95
* gas/i860/dir-intel01.{s,d}: New files. * gas/i860/dir-intel02.{s,d}: New files. * gas/i860/dir-intel03-err.{s,l}: New files. * gas/i860/i860.exp: Execute the above new tests.
2003-08-052003-08-05 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-3/+24
* config/tc-i860.c (s_dual): Accept .dual directive only in the Intel syntax mode. (s_enddual): Likewise for .enddual. (s_atmp): Likewise for .atmp.
2003-08-04 * config/tc-i386.c (i386_intel_operand): Always call i386_index_checkAlan Modra2-4/+10
for memory operands. Pass the full operand_string to i386_index_check.
2003-08-042003-08-03 Jason Eckhardt <jle@rice.edu>Jason Eckhardt33-32/+36
* gas/i860/*.d: Prefix name with "i860".
2003-08-042003-08-03 Jason Eckhardt <jle@rice.edu>Jason Eckhardt9-14/+223
* gas/i860/dual01.{s,d}: New files. * gas/i860/dual02-err.{s,l}: New files. * gas/i860/dual03.{s,d}: New files. * gas/i860/i860.exp: Execute the above new tests. * gas/i860/README.i860: Update.
2003-08-02Adjust for objdump -d change.Alan Modra22-24/+24
2003-08-022003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2-0/+31
* gas/i860/README.i860: New file.
2003-08-022003-08-01 Jason Eckhardt <jle@rice.edu>Jason Eckhardt3-99/+131
* config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences. (target_intel_syntax): Declare variable. (OPTION_INTEL_SYNTAX): Declare macro. (md_longopts): Add option -mintel-syntax. (md_parse_option): Set target_intel_syntax. (md_show_usage): Add -mintel-syntax usage. (md_begin): Set reg_prefix based on target_intel_syntax. (i860_process_insn): Skip register prefix only if there is one. Parse relocatable expressions in either Intel or AT&T syntax based on target_intel_syntax instead of the SYNTAX_SVR4 macro. * doc/c-i860.texi: Document -mintel-syntax option and give blurb about the differences in syntax.
2003-08-01 * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaroundAlan Modra2-10/+7
to all arches.
2003-07-30 * config/tc-sh.c (md_assemble): For branches, check & updateJoern Rennecke2-0/+11
valid_arch here.
2003-07-30bfd:Jason Eckhardt2-58/+34
2003-07-30 Jason Eckhardt <jle@rice.edu> * elf32-i860.c: Convert to ISO C90. Remove superflous prototypes. gas: 2003-07-30 Jason Eckhardt <jle@rice.edu> * config/tc-i860.c: Convert to ISO C90.
2003-07-30 * read.c (s_space): Revert 2003-07-28 change.Rainer Orth2-1/+7
2003-07-30 * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.Alan Modra2-2/+7
2003-07-29Remove empty .text disassemblyNick Clifton2-1/+4
2003-07-29 * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.Alan Modra2-0/+6
2003-07-29 * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.Alan Modra2-1/+5
2003-07-29gas/H.J. Lu6-0/+22
2003-07-28 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_section_type): Also accept "note". gas/testsuite/ 2003-07-28 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Add section3 for note section. * gas/elf/section3.d: New file. * gas/elf/section3.s: Likewise.
2003-07-28 * read.c (s_space): Don't warn about .space 0.Rainer Orth2-3/+5
2003-07-28 * config/tc-mips.c (mips_flag_pdr): Define.Rainer Orth4-3/+48
(md_begin) [OBJ_ELF]: Use it to control .pdr creation. (s_mips_end) [OBJ_ELF]: Likewise. (md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR. (md_parse_option) [OBJ_ELF]: Handle them. (md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr. * doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr. * doc/as.texinfo (Overview) [MIPS]: Likewise.
2003-07-26Update tests for corrected section attributes and objdump change.Alan Modra8-14/+17
2003-07-26bfd/H.J. Lu2-2/+10
2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * elf.c (_bfd_elf_new_section_hook): Set the default section type to SHT_NULL. (elf_fake_sections): Set the section type based on asect->flags if it is SHT_NULL. Don't abort on processor specific section types. gas/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (obj_elf_change_section): Update elf_section_type and elf_section_flags only when they are specified.
2003-07-252003-07-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+8
* config/obj-elf.c (obj_elf_change_section): Always set section type and flags.
2003-07-25bfd/H.J. Lu14-187/+84
2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (bfd_elf_special_section): New. (elf_backend_data): Add special_sections, a pointer to bfd_elf_special_section. (elf_section_type). New. (elf_section_flags): New. (_bfd_elf_get_sec_type_attr): New. * elf.c (_bfd_elf_make_section_from_shdr): Always use the real section type/flags. (special_sections): New. (get_special_section): New. (_bfd_elf_get_sec_type_attr): New. (_bfd_elf_new_section_hook): Check special_section to set elf_section_type and elf_section_flags. (elf_fake_sections): Don't use section name to set ELF section data. * elf32-m32r.c (m32r_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-m68hc11.c (elf32_m68hc11_special_sections): New. (elf_backend_special_sections): Defined. * elf32-mcore.c (mcore_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-ppc.c (ppc_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-sh64.c (sh64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-v850.c (v850_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf32-xtensa.c (elf_xtensa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-alpha.c (elf64_alpha_special_sections): New. (elf_backend_special_sections): Defined. * elf64-hppa.c (elf64_hppa_special_sections): New. (elf_backend_special_sections): Defined. * elf64-ppc.c (ppc64_elf_special_sections): New. (elf_backend_special_sections): Defined. * elf64-sh64.c (sh64_elf64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-ia64.c (elfNN_ia64_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-mips.c (_bfd_mips_elf_special_sections): New. * elfxx-mips.h (_bfd_mips_elf_special_sections): New. (elf_backend_special_sections): Defined. * elfxx-target.h (elf_backend_special_sections): New. Default to NULL. (elfNN_bed): Initialize special_sections. * section.c (bfd_abs_section): Remove const. (bfd_und_section): Likewise. (bfd_com_section): Likewise. (bfd_ind_section): Likewise. gas/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/obj-elf.c (special_sections): Removed. (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set elf_section_type and elf_section_flags. (elf_frob_file): Set SHT_GROUP. * config/obj-elf.h (obj_sec_set_private_data): New. * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed. * config/tc-ia64.h: Likewise. * config/tc-m32r.h: Likewise. * config/tc-m68hc11.h: Likewise. * config/tc-mcore.h: Likewise. * config/tc-mips.h: Likewise. * config/tc-ppc.h: Likewise. * config/tc-sh64.h: Likewise. * config/tc-v850.h: Likewise. * config/tc-xtensa.h: Likewise. * config/tc-v850.h (SHF_V850_GPREL): Removed. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise. * subsegs.c (subseg_get): Call obj_sec_set_private_data if it is defined. include/elf/ 2003-07-25 H.J. Lu <hongjiu.lu@intel.com> * v850.h (SHF_V850_GPREL): New. (SHF_V850_EPREL): Likewise. (SHF_V850_R0REL): Likewise.
2003-07-24 * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address forStephane Carrez2-0/+9
debugging symbols so that we handle page memory correctly.
2003-07-24Updated French translationsNick Clifton2-2735/+3702
2003-07-23 * gas/m68hc11/m68hc11.exp: Execute the new tests.Stephane Carrez7-0/+50
* gas/m68hc11/abi.s: New test for abi elf flags. * gas/m68hc11/abi-m68hc11-32-64.d: Test for 32-bit int, 64-bit float. * gas/m68hc11/abi-m68hc11-16-64.d: Test for 16-bit int, 64-bit float. * gas/m68hc11/abi-m68hc11-32-32.d: Test for 32-bit int, 32-bit float. * gas/m68hc11/abi-m68hc11-16-32.d: Test for 16-bit int, 32-bit float.
2003-07-23 * config/tc-arm.c (arm_archs): Add iwmmxt.Daniel Jacobowitz2-0/+5
2003-07-222003-07-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* read.c (do_parse_cons_expression): Mark nbytes unused to silence gcc.
2003-07-22* config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bcAlexandre Oliva2-2/+7
or bsr/bs.
2003-07-22* config/tc-h8300.c (md_assemble): Make sure characters afterAlexandre Oliva2-1/+15
slash and dot are lower-case.
2003-07-17Update translationsNick Clifton4-3143/+4108
2003-07-16 * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.Alan Modra2-10/+12
(generic_dwarf2_emit_offset): Don't define function when TC__DWARF2_EMIT_OFFSET is defined.
2003-07-15 * doc/c-mips.texi: Document -march=rm9000.Richard Sandiford2-0/+2
2003-07-15include/opcode/Richard Sandiford6-1/+33
* mips.h (CPU_RM7000): New macro. (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. bfd/ * archures.c (bfd_mach_mips7000): New. * bfd-in2.h: Regenerated. * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. (mips_mach_extensions): Add an entry for it. opcodes/ * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. gas/ * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. (mips_cpu_info_table): Add rm7000 and rm9000 entries. gas/testsuite/ * gas/mips/rm7000.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-07-15 * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixupsAlan Modra2-55/+59
only for V850_OPERAND_DISP operands.
2003-07-15 * frags.c (frag_more): Move segment checks to..Alan Modra2-15/+31
(frag_alloc_check): ..here. New function. (frag_append_1_char): Call frag_alloc_check.
2003-07-14Update Turkish translation files for bfd, gas and opcodesNick Clifton5-3219/+4182
2003-07-14Remove uses of ctype.hNick Clifton5-26/+33
2003-07-11Update pot files.Alan Modra2-1514/+1569
2003-07-10 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.Jakub Jelinek13-2/+395
(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New prototypes. (ppc_cie_data_alignment): Declare. * config/tc-ppc.c: Include dw2gencfi.h. (ppc_cie_data_alignment): Define. (md_begin): Initialize ppc_cie_data_alignment. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New functions. * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): New prototypes. (s390_cie_data_alignment): Declare. * config/tc-s390.c: Include dw2gencfi.h. (s390_cie_data_alignment): Define. (md_begin): Initialize s390_cie_data_alignment. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): New functions. * gas/cfi/cfi-ppc-1.s: New test. * gas/cfi/cfi-ppc-1.d: New test. * gas/cfi/cfi-s390-1.s: New test. * gas/cfi/cfi-s390-1.s: New test. * gas/cfi/cfi-s390x-1.s: New test. * gas/cfi/cfi-s390x-1.s: New test. * gas/cfi/cfi.exp: Run them.