aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-08-16altmacro.d: Allow for rest of frag being padded to an alignment boundary.Nick Clifton3-2/+9
arm.exp: Run bignum test for ELF based targets only.
2004-08-16 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): ReplaceAlan Modra2-1/+6
{ "cc", 68 }, with { "cr", 70 }.
2004-08-16binutils/Alan Modra12-61/+75
* readelf.c (debug_apply_rela_addends): New function, extracted from.. (display_debug_info): ..here. (display_debug_frames): Call debug_apply_rela_addends. Don't do DW_EH_PE_pcrel adjustment for ET_REL. gas/testsuite/ * gas/cfi/cfi-alpha-1.d: Adjust for readelf fix. * gas/cfi/cfi-alpha-3.d: Likewise. * gas/cfi/cfi-i386.d: Likewise. * gas/cfi/cfi-m68k.d: Likewise. * gas/cfi/cfi-ppc-1.d: Likewise. * gas/cfi/cfi-s390-1.d: Likewise. * gas/cfi/cfi-s390x-1.d: Likewise. * gas/cfi/cfi-sh-1.d: Likewise. * gas/cfi/cfi-sparc-1.d: Likewise. * gas/cfi/cfi-sparc64-1.d: Likewise. * gas/cfi/cfi-x86_64.d: Likewise.
2004-08-13Add and handle new --alternate command line option.Nick Clifton11-12/+164
2004-08-11 * expr.c (operand): Handle the "~", "-", and "!" operators appliedMark Mitchell5-0/+41
to bignums. * gas/arm/bignum1.s: New test. * gas/arm/arm.exp: Run it.
2004-08-06bfd/Paul Brook5-0/+22
* elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations. (elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. * reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. * bfd-in2.h, bbfd.h: Regenerate. gas/ * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc): Handle new relocations. * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations. gas/testsuite/ * gas/arm/pic.s,d: Test RELABS and SBREL relocations.
2004-08-05 * write.c (relax_segment): Use was_address instead of address whenBob Wilson2-1/+6
setting fr_fix field for align frag due to backwards .org.
2004-08-05Addition of new test case to check rx generation with adds and subs instructionNick Clifton3-0/+56
for plain H8/300 target.
2004-08-01 * gas/m68hc11/m68hc11.exp: Fix tests for 2.15Stephane Carrez4-3/+10
* gas/elf/elf.exp: Test obj-elf for m6811-* and m6812-* * gas/symver/symver.exp: Likewise for symver tests.
2004-07-30Added new instructions for next version of VIA PadLock core.Michal Ludvig3-0/+17
2004-07-30[gas/testsuite]Kaz Kojima3-2/+8
* gas/sh/basic.exp: Don't do sh2a test for sh5. * gas/sh/sh2a.d: Match elf32-sh* format too. [ld/testsuite] * ld-sh/sh64/crange3-cmpct.rd: Update. * ld-sh/sh64/crange3-media.rd: Update.
2004-07-29include/elf/ChangeLog:Alexandre Oliva6-4/+398
Introduce SH2a support. 2004-02-18 Corinna Vinschen <vinschen@redhat.com> * sh.h (EF_SH2A_NOFPU): New. 2003-12-01 Michael Snyder <msnyder@redhat.com> * sh.h (EF_SH2A): New. bfd/ChangeLog: Introduce SH2a support. 2004-02-18 Corinna Vinschen <vinschen@redhat.com> * archures.c (bfd_mach_sh2a_nofpu): New. * bfd-in2.h: Rebuilt. * cpu-sh.c (SH2A_NOFPU_NEXT): New. (arch_info_struct): Add sh2a_nofpu. * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu. 2003-12-29 DJ Delorie <dj@redhat.com> * reloc.c: Add relocs for sh2a. * bfd-in2.h: Regenerate. * libbfd.hh: Regenerate. 2003-12-01 Michael Snyder <msnyder@redhat.com> * archures.c (bfd_mach_sh2a): New. * bfd-in2.h: Rebuilt. * cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums. (SH2A_NEXT): New. (arch_info_struct): Add sh2a. * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a. binutils/ChangeLog: * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and EF_SH2A_NOFPU. gas/ChangeLog: Introduce SH2a support. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c (get_specific): Change arch_sh2a_up to arch_sh2a_nofpu_up. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling. 2004-02-20 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition to end of conditional expression. 2004-02-20 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c: Add sh2a-nofpu support. 2003-12-29 DJ Delorie <dj@redhat.com> * tc-sh.c: Add sh2a support. (parse_reg): Add tbr. (parse_at): Support @@(disp,tbr). (get_specific): Support sh2a opcodes. (insert4): New, for 4 byte relocs. (build_Mytes): Support sh2a opcodes. (md_apply_fix3_Mytes): Support sh2a opcodes. 2003-12-02 Michael Snyder <msnyder@redhat.com> * config/tc-sh.c (md_parse_option): Handle sh2a. (sh_elf_final_processing): Ditto. gas/testsuite/ChangeLog: 2003-12-30 DJ Delorie <dj@redhat.com> * gas/sh/sh2a.s: New. * gas/sh/sh2a.d: New. * gas/sh/basic.exp: Add it.
2004-07-29bfd:Jason Thorpe1-0/+5
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec to targ_selvecs. * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. * configure: Regenerate. * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" case that accepts OSABI=NetBSD and OSABI=SysV. (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to the base of .got or .data (if .got does not exist). (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, set OSABI=NetBSD. (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. gas: * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" for TE_NetBSD. ld: * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-27bfd:Jason Thorpe1-1/+5
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec to targ_selvecs. * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. * configure: Regenerate. * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" case that accepts OSABI=NetBSD and OSABI=SysV. (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to the base of .got or .data (if .got does not exist). (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, set OSABI=NetBSD. (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. gas: * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" for TE_NetBSD. ld: * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-27Remove the leading space.H.J. Lu1-1/+1
2004-07-27 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.Alan Modra2-1/+13
(ppc_arch): Expand comment.
2004-07-27Add CRX insns: pushx, popxNick Clifton8-19/+89
Add support to GAS for expressions which are the difference of two symbols
2004-07-26bfd/H.J. Lu2-0/+12
2004-07-26 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (bfd_elf_section_data): Add a pointer for the linked-to section. (elf_linked_to_section): New. * elf.c (assign_section_numbers): Set up sh_link for SHF_LINK_ORDER. * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set sh_info to sh_link for SHT_IA_64_UNWIND sections. gas/ 2004-07-26 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (start_unwind_section): Set the linked-to section. (ia64_elf_section_change_hook): Set the linked-to section for SHT_IA_64_UNWIND.
2004-07-26Add new subtargets: msp430x1610, msp430x1611, msp430x1612, msp430x415,Nick Clifton2-4/+21
msp430x417, msp430xG437, msp430xG438, msp430xG439.
2004-07-26 * doc/as.texinfo (Section, PushSection): Correct documentationDaniel Jacobowitz2-7/+12
for ELF.
2004-07-222004-07-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-39/+43
* gas/i386/x86-64-inval.l: Remove the leading `+'.
2004-07-22Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 ↵Nick Clifton8-225/+236
disassemblers
2004-07-22oops - omitted from previous deltaNick Clifton1-0/+39
2004-07-21For DefaultSize instructions, don't guess a 'q' suffix if the instructionNick Clifton5-29/+118
doesn't support it.
2004-07-21Corrections for x86_64 assembly.Nick Clifton9-67/+115
2004-07-20* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the testMaciej W. Rozycki2-1/+6
expects load delay slots.
2004-07-20opcodes/Maciej W. Rozycki2-1/+6
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2 move/branch operations to the bottom so that VR5400 multimedia instructions take precedence in disassembly. gas/testsuite/ * gas/mips/vr5400.d: Update for a correct disassembly of "racm.ob".
2004-07-20* config/tc-mips.c (append_insn): Handle constant expressions withMaciej W. Rozycki2-8/+18
no associated relocation. (mips_ip): Cancel the expression after use for the Q format specifier. (parse_relocation): Return no relocation for unsupported operators. (my_getSmallExpression): Return no relocation if no relocation operators are used.
2004-07-20opcodes/Maciej W. Rozycki5-206/+228
* mips-opc.c (mips_builtin_opcodes): Remove the MIPS32 ISA-specific "break" encoding. gas/testsuite/ * gas/mips/mips32.s: Adjust for the unified "break" syntax. Add another "break" case. Update the comment accordingly. * gas/mips/set-arch.s: Likewise. * gas/mips/mips32.d: Adjust for the new output. * gas/mips/set-arch.d: Likewise.
2004-07-20 * config/obj-som.c (adjust_stab_sections): Add prototype.Dave Anglin4-11/+27
(obj_som_compiler, obj_som_version, obj_som_copyright, adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments. * config/tc-hppa.c (update_subspace): Likewise. (is_defined_subspace): Amplify comment. * config/obj-som.h (som_frob_file): Add prototype.
2004-07-192004-07-19 Christopher Faylor <cgf@timesys.com>H.J. Lu2-7/+13
H.J. Lu <hongjiu.lu@intel.com> * subsegs.c (section_symbol): Don't create a new segment when existing segment is undefined.
2004-07-16* config/tc-arm.c: Include include/opcode/arm.h.Richard Earnshaw4-79/+19
(ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete. (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete. (FPU_ARCH_*): Delete. * Makefile.am: Update dependencies. * Makefile.in: Regenerate.
2004-07-16oops - omitted from previous deltaNick Clifton1-0/+13
2004-07-15Accept armbe as a big-endian arm configuration.Nick Clifton3-0/+7
2004-07-15gas/h8300/h8300.exp (do_h8300hn_addressgen): Addition of new test case forNick Clifton2-0/+37
H8300H normal target to check symbol address generation. gas/h8300/symaddgen.s: New test.
2004-07-13Add support for & | << >> ~ arithmetic operators in Intel modeNick Clifton6-9/+73
2004-07-13Delete vtable testsNick Clifton10-113/+5
2004-07-11 * config/tc-m68k.c: Convert to C90. Remove redundantAndreas Schwab2-383/+250
declarations. Indentation fixup. [M68KCOFF]: Include "obj-coff.h" instead of declaring obj_coff_section ourselves.
2004-07-09Make -meb/-mel options work.Jim Wilson2-3/+14
* config/tc-ia64.c (default_big_endian): New. (dot_byteorder, md_begin): Use it. (md_parse_option): Set it.
2004-07-09* gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT.Nick Clifton4-0/+120
* gas/m32r/pic2.d: New file: Expected results.
2004-07-09Rename sh-symbian-elf toolchain to sh-*-symbianelfNick Clifton5-3/+15
2004-07-08Remove superfluous stuff from 2004-07-03 entry.Richard Sandiford1-7/+0
2004-07-08 * config/tc-mips.c (mips_fix_adjustable): If the full addend isRichard Sandiford5-11/+42
going to be split into more than one in-place addend, return 0 for relocations against mergeable sections. Associate comments with code.
2004-07-07Add new port: crx-elfNick Clifton9-5/+2621
2004-07-06Add support for sh-symbian-elf targetNick Clifton5-0/+22
2004-07-06(output_file_create): Report the target format chosen when bfd_openw reportsNick Clifton2-1/+7
that it is invalid.
2004-07-06(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.Nick Clifton2-2/+8
2004-07-052004-06-30 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke2-14/+13
bfd: * elf32-sh.c: Include ../opcodes/sh-opc.h . * Makefile.am: Ran make dep-am . * Makefile.in: Ran make dep-in . gas: * config/tc-sh.c (md_assemble): Change isspace to ISSPACE. (md_parse_option): Remove redundant -isa testing. Make bfd_arch variable const. (md_show_usage): Make bfd_arch variable const.
2004-07-04Emit error for unaligned instructions.Jim Wilson3-0/+22
* config/tc-ia64.c (emit_one_bundle): Check and set insn_addr. * config/tc-ia64.h (md_frag_check): Define.
2004-07-032004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>Christopher Faylor4-46/+114
* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak externals properly. * src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak externals. * binutils/doc/binutils.texi (nm): Clarify weak symbol description. * gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE. * gas/doc/as.texinfo (Weak): Document PE weak symbols. * ld/ld.texinfo (WIN32): Document PE weak symbols.