summaryrefslogtreecommitdiff
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>Alexandre Oliva2003-07-102-1/+440
| | | | | | | | | | | | | | | | | | | | | | * config/tc-mn10300.c (mn10300_insert_operand): Negate negative accumulator's shift. 2000-05-08 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (md_relax_table, md_convert_frag, md_assemble, md_estimate_size_before_relax): Handle fbCC. 2000-04-20 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of HAVE_AM33_2. 2000-04-03 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant. (HAVE_AM33): Match AM33_2 too. (HAVE_AM33_2): New macro. (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2. 2000-04-01 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'. (float_registers, double_registers): New variables. (float_register_name, double_register_name): New functions. (md_assemble): Recognize FP registers. Implement FMT_D3. (mn10300_insert_operand): Support FP registers.
* 2002-02-20 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva2003-07-105-0/+3400
| | | | | | | | | | | | | | | | | | | | | | * gas/mn10300/am33-2.c (d8pcsec): PC-relative relocations within text sections don't decay to section+offset. * gas/mn10300/am33-2.d: Rebuilt. 2000-08-15 Eric Christopher <echristo@cygnus.com> * gas/mn10300/am33-2.c (d8pcsec): New Function (condjmp): Adjust testcase for TC_LINKRELAX_FIXUP functionality. * gas/mn10300/am33-2.d: Regenerate 2000-05-24 Alexandre Oliva <aoliva@cygnus.com> * gas/mn10300/am33-2.c (d8pcoff): Likewise. * gas/mn10300/am33-2.d: Rebuilt. 2000-04-01 Alexandre Oliva <aoliva@cygnus.com> * gas/mn10300/am33-2.c (main): Changed `.am332' to `.am33_2'. Replaced `AM33 2.0' with `AM33/2.0'. * gas/mn10300/am33-2.d, gas/mn10300/am33-2.s: Rebuilt. 2000-03-31 Alexandre Oliva <aoliva@cygnus.com> * gas/mn10300/am33-2.c: New file, that generated... * gas/mn10300/am33-2.s, gas/mn10300/am33-2.d: New files. * gas/mn10300/basic.exp: Test am33-2.
* [ gas/ChangeLog ]Chris Demetriou2003-07-097-9/+71
| | | | | | | | | | | | | | | | 2003-07-08 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_validate_fix): Do not warn about branch target being a global symbol if not compiling SVR4 PIC code. [ gas/testsuite/ChangeLog ] 2003-07-08 Chris Demetriou <cgd@broadcom.com> * gas/testsuite/gas/mips/mips.exp: Make sure that branch-misc-2 is run to compile non-PIC code, and add branch-misc-2pic. * gas/mips/branch-misc-2.l: Adjust for change in non-PIC warnings. * gas/mips/branch-misc-2pic.l: New file. * gas/mips/branch-misc-2pic.s: New file.
* Add documentation of M32R .high, .shigh and .low directives.Nick Clifton2003-07-072-2/+89
|
* * config/tc-h8300.c (h8300sxnmode): Add prototype.Richard Sandiford2003-07-075-177/+154
| | | | | | | | | | | | | | | | | | (DSYMMODE): Remove. (parse_exp): Replace expressionS argument with a h8_op. Parse the operand size as well. (skip_colonthing): Remove unused expression argument. Tighten checks for 2-digit sizes. (colonmod24): Remove. (get_mova_operands): Combine calls to parse_exp and skip_colonthing. (get_operand): Likewise. Use the standard code to read the size of pc-relative operands. (fix_operand_size): Include the size-guessing logic that used to be in colonmod24 and get_operand. Don't apply dd:2 optimizations to offsets with a symbolic component. testsuite/ * gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements.
* * gas/ppc/test2elf64.s: Rename to..Alan Modra2003-07-044-32/+61
| | | | | | | * gas/ppc/power4.s: ..this. Add mtcr and mfcr testcases. * gas/ppc/test2elf64.d: Rename to.. * gas/ppc/power4.d: ..this. Update. * gas/ppc/ppc.exp: Update.
* * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZENick Clifton2003-07-042-2/+7
| | | | macro to compute size of selected register name array.
* * gas/mips/set-arch.d: Fix GPR names and show raw insns.Thiemo Seufer2003-07-022-360/+364
|
* * config/tc-s390.c (md_parse_option): Add cpu type z990.Martin Schwidefsky2003-07-012-15/+63
| | | | | | | | | | | (md_begin): Add minimal cpu type logic for instructions with different binary format depending on the cpu. (md_assemble): Remove check for minimal cpu. (s390_insert_operand): Add support for long displacements. (md_gather_operands): Likewise. (tc_s390_fix_adjustable): Likewise. (tc_s390_force_relocation): Likewise. (md_apply_fix3): Likewise.
* 2003-06-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2003-06-302-44/+27
| | | | | * config/tc-mips.c (s_mipsset): Implement -march= handling differently.
* * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessaryThiemo Seufer2003-06-303-1494/+1019
| | | | | prototypes and casts. Replace PTR with void *. Reformat. * config/tc-mips.h: Likewise.
* * config/tc-ia64.c (note_register_values): Warning fix.Alan Modra2003-06-303-2/+8
| | | | * config/tc-mips.c (append_insn): Likewise.
* * ld-mips-elf/elf-rel-got-n64-linux.d: New file.Thiemo Seufer2003-06-296-69/+1000
| | | | | * ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. * ld-mips-elf/mips-elf.exp: Use the new files for Linux.
* 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-06-262-2/+6
| | | | * config/tc-i386.c (md_assemble): Declare "exp" before "if".
* include/opcode/Richard Sandiford2003-06-255-0/+36
| | | | | | | | | | | | | * h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove. (IMM8U, IMM8U_NS): Define. (h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy. gas/ * config/tc-h8300.c (get_specific): Allow ':8' to be used for unsigned 8-bit operands. gas/testsuite/ * gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.
* Correct spelling of "relocatable".Alan Modra2003-06-252-3/+3
|
* * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...Richard Sandiford2003-06-243-4/+9
| | | | * gas/h8300/h8300-elf.exp: ...here.
* Update .comm error messages to assume an unsigned value.Nick Clifton2003-06-247-15/+28
| | | | Update relaxing code to work in 64-bit address spaces.
* * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.Mark Mitchell2003-06-242-1/+5
|
* gas/H.J. Lu2003-06-237-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * gas/config/tc-i386.c (md_assemble): Support Intel Precott New Instructions. * gas/config/tc-i386.h (CpuPNI): New. (CpuUnknownFlags): Add CpuPNI. gas/testsuite/ 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Add prescott. * gas/i386/prescott.d: New file. * gas/i386/prescott.s: Likewise. include/opcode/ 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Support Intel Precott New Instructions. opcodes/ 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in Intel Precott New Instructions. (PREGRP27): New. Added for "addsubpd" and "addsubps". (PREGRP28): New. Added for "haddpd" and "haddps". (PREGRP29): New. Added for "hsubpd" and "hsubps". (PREGRP30): New. Added for "movsldup" and "movddup". (PREGRP31): New. Added for "movshdup" and "movhpd". (PREGRP32): New. Added for "lddqu". (dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry. Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for entry 0xd0. Use PREGRP32 for entry 0xf0. (twobyte_has_modrm): Updated. (twobyte_uses_SSE_prefix): Likewise. (grps): Use PNI_Fixup in the "sidtQ" entry. (prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30, PREGRP31 and PREGRP32. (float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb. Use "fisttpll" in entry 1 in opcode 0xdd. Use "fisttp" in entry 1 in opcode 0xdf.
* Patch from David Mosberger.Jim Wilson2003-06-232-3/+12
| | | | | * config/tc-ia64.c (pseudo_func): Add ABI constants for linux, freebsd, openvms, and nsk (non-stop kernel).
* * config/tc-ns32k.c (md_begin): Initialize inst_hash_table afterJason Thorpe2003-06-232-1/+7
| | | | all locals have been declared.
* * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): RemoveThiemo Seufer2003-06-216-219/+228
| | | | | | | | | | special handling for n32 ABI. (macro): Likewise. * gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/jal-newabi.d: Likewise. * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* * gas/z8k: New directory.Christian Groessler2003-06-2118-0/+1332
| | | | | | | | | | | | | | | | | | | | * gas/z8k/dec.s: New file. * gas/z8k/decbf.s: New file. * gas/z8k/decf.s: New file. * gas/z8k/eidi.s: New file. * gas/z8k/eidif.s: New file. * gas/z8k/inc.s: New file. * gas/z8k/incbf.s: New file. * gas/z8k/incf.s: New file. * gas/z8k/inout.d: New file. * gas/z8k/inout.s: New file. * gas/z8k/jr-back.s: New file. * gas/z8k/jr-backf.s: New file. * gas/z8k/jr-forw.s: New file. * gas/z8k/jr-forwf.s: New file. * gas/z8k/ldk.s: New file. * gas/z8k/ldkf.s: New file. * gas/z8k/z8k.exp: New file.
* Revert 2003-06-11 change.Thiemo Seufer2003-06-192-3/+8
|
* * config/tc-z8k.c (parse_reg): Invalid registers generate an errorChristian Groessler2003-06-192-14/+42
| | | | | | | | | now, not only a warning. Add some more checks to detect invalid registers. (get_operand): For CLASS_IR remember register size in mode struct. (get_specific): Handle new CLASS_IRO type. Add register size checks for CLASS_IR and CLASS_IRO. (md_apply_fix3): Fix undefined usage of buf.
* * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.Alan Modra2003-06-182-16/+37
| | | | | | (ppc_change_csect): Add align param. Align frag at start of csect. (ppc_section, ppc_named_section): Adjust ppc_change_csect calls. (ppc_frob_section): Align vma.
* * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.Jakub Jelinek2003-06-1811-87/+93
| | | | | | | | | | | | | | | | (output_cie): Don't pad. (output_fde): Add align argument. Pad to align if not 0. (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT. Pad just last FDE to EH_FRAME_ALIGNMENT. * gas/cfi/cfi-i386.d: Regenerated. * gas/cfi/cfi-common-1.d: Regenerated. * gas/cfi/cfi-common-2.d: Regenerated. * gas/cfi/cfi-common-3.d: Regenerated. * gas/cfi/cfi-x86_64.d: Regenerated. * gas/cfi/cfi-alpha-1.d: Regenerated. * gas/cfi/cfi-alpha-2.d: Regenerated. * gas/cfi/cfi-alpha-3.d: Regenerated.
* * config/tc-s390.c (init_default_arch): Make current_mode_maskMartin Schwidefsky2003-06-182-8/+21
| | | | | dependent on s390_arch_size and current_cpu dependent on current_mode_mask.
* Add c4x as an architecture variant to tic4x.Nick Clifton2003-06-185-235/+255
|
* * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other thanAlan Modra2003-06-182-4/+9
| | | | ".TOC." from PPC64_TOC relocs.
* Tweak expected results for i386-pc-cygwin target.Nick Clifton2003-06-173-4/+10
|
* Allow system-specific gunk after canonical file format.Nick Clifton2003-06-178-7/+18
|
* * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.Alan Modra2003-06-172-0/+10
|
* * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,Thiemo Seufer2003-06-162-255/+175
| | | | | | ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros. (macro_build_ldst_constoffset,load_address,macro,s_cpsetup, s_cprestore,s_cpadd): Use them.
* * configure.in: Add specific case for cris-*-linux-gnu* withHans-Peter Nilsson2003-06-165-243/+259
| | | | | | | | | | | em=linux. * configure: Regenerate. * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE if TE_LINUX defined, else FALSE. (bfd_boolean demand_register_prefix): Set default from DEFAULT_CRIS_AXIS_LINUX_GNU. (symbols_have_leading_underscore): Similar. * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
* * gas/cris: Match output having $ register prefix. Deal withHans-Peter Nilsson2003-06-1572-3683/+3709
| | | | target variants default requiring register prefix on input.
* * gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.Richard Earnshaw2003-06-132-1/+5
|
* * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.Richard Earnshaw2003-06-132-0/+27
| | | | | | | (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF, FPU_ARCH_FPA for AOUT. (md_begin): Don't try to guess the floating point architecture from the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
* Add i386-netbsd-gnu target.Nick Clifton2003-06-133-169/+176
|
* * doc/as.texinfo (Comm): Added @node. Moved before CFITom Tromey2003-06-122-29/+37
| | | | directives node.
* * config/tc-mips.c (append_insn): In a compound relocation, take theRichard Sandiford2003-06-126-74/+56
| | | | field width from the final (outermost) operator.
* * dw2gencfi.c (struct cfi_escape_data): New.Richard Henderson2003-06-1110-22/+110
| | | | | | | | | | | | | | | (cfi_add_CFA_nop): Remove. (CFI_escape, dot_cfi_escape): New. (dot_cfi): Remove nop. (cfi_pseudo_table): Remove nop; add escape. (output_cfi_insn): Likewise. (select_cie_for_fde): Stop on escape. * dw2gencfi.h (cfi_add_CFA_nop): Remove. * read.c, read.h (do_parse_cons_expression): New. * doc/as.texinfo (.cfi_escape): New. * gas/cfi/cfi-common-3.[ds]: New. * gas/cfi/cfi.exp: Run it.
* * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.Thiemo Seufer2003-06-112-3/+9
| | | | | (s_cprestore): Likewise. (s_cpreturn): Likewise.
* * config/tc-mips.c (tc_gen_reloc): Initialize retval amd relocThiemo Seufer2003-06-112-5/+7
| | | | with zeros.
* * elf32-mips.c (mips_elf_generic_reloc): New Function.Thiemo Seufer2003-06-113-202/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (elf_mips_howto_table_rel): Use it. (gprel32_with_gp): Move prototype. (mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. Use mips_elf_generic_reloc. (mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. Code cleanup. (_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of zero addend. (mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic as in the other *_gprel*_reloc functions. (gprel32_with_gp): Handle partial_inplace properly. (mips32_64bit_reloc): Use mips_elf_generic_reloc. (mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend. Do addend handling directly instead of calling _bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly. * elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. Handle partial_inplace properly. (mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. (mips_elf64_gprel16_reloc): Likewise. (mips_elf64_literal_reloc): Likewise. (mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment logic as in the other *_gprel*_reloc functions. Handle partial_inplace properly. (mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero addend. Handle partial_inplace properly. (mips16_gprel_reloc): Likewise. Do addend handling directly instead of calling _bfd_mips_elf_gprel16_with_gp. * elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL. (mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead of zero addend. (mips_elf_shift6_reloc): Handle partial_inplace properly. (mips16_gprel_reloc): Likewise. Do addend handling directly instead of calling _bfd_mips_elf_gprel16_with_gp. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle partial_inplace properly. Fix wrong addend handling. Fix overflow check. (_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and exported. (mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend. (_bfd_mips_elf_relocate_section): Likewise. (mips_elf_create_dynamic_relocation): Update sec_info_type access. * elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration. (_bfd_mips_elf_sign_extend): New prototype. * config/tc-mips.c (md_pcrel_from): Return actual pcrel address. (md_apply_fix3): Ignore non-special relocations. Remove superfluous exceptions from size assert. Remove most of the addend fixup specialcasing. Remove value, use valP directly. simplify fx_addnumber handling. Remove zero addend specialcases. (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove the addend fixup specialcase. * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
* * write.c (write_relocs): Use xcalloc. Fix relocs initializationThiemo Seufer2003-06-112-3/+7
| | | | in the RELOC_EXPANSION_POSSIBLE case.
* * config/tc-i960.c (line_comment_chars): Add '#'.Alan Modra2003-06-113-3/+23
| | | | * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
* * gas/macros/app1.d: Ignore section symbols.Alan Modra2003-06-115-0/+11
| | | | | | * gas/macros/app2.d: Likewise. * gas/macros/app3.d: Likewise. * gas/macros/app4.d: Likewise.
* bfd/H.J. Lu2003-06-112-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. binutils/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gas/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gprof/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. ld/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. opcodes/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise.