aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-09-13bfd/Paul Brook5-5/+14
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel. (elf32_arm_link_hash_table_create): Set target1_is_rel. (bfd_elf32_arm_process_before_allocation): Ditto. (elf32_arm_final_link_relocate): Handle R_ARM_TARGET1. (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. * elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1. * reloc.c: Ditto. gas/ * config/tc-arm.c: Rename RELABS to TARGET1. gas/testsuite/ * gas/arm/pic.d: Rename RELABS to TARGET1. * gas/arm/pic.s: Ditto. include/ * elf/arm.h: Rename RELABS to TARGET1. ld/ * emulparams/armsymbian.sh: Set TARGET1_IS_REL. * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
2004-09-13 * messages.c (as_internal_value_out_of_range): Cast values passedAlan Modra2-3/+11
to as_bad_where or as_warn_where to proper type.
2004-09-11 * gas/config/tc-avr.c: Add support forMarek Michalkiewicz2-1/+13
atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128. * include/opcode/avr.h: Add support for atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
2004-09-09 * dw2gencfi.c (select_cie_for_fde): When separating CIE outAlan Modra2-3/+13
from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
2004-09-08 * config/obj-elf.c (obj_elf_section_type): Handle init_array,Paul Brook4-6/+22
fini_array and preinit_array section types. * config/tc-ia64.c (ia64_elf_section_type): Remove init_array and fini_array. * doc/as.texinfo: Document extra section types.
2004-09-03 * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.Mark Mitchell7-4/+25
* configure.in (bfd_elf32_bigarm_symbian_vec): Add it. (bfd_elf32_littlearm_symbian_vec): Likewise. * configure: Regenerated. * elf-bfd.h (elf_backend_data): Add dynamic_sec_flags. * elf32-arm.h (PLT_HEADER_SIZE): Do not define. (PLT_ENTRY_SIZE): Likewise. (bfd_vma_elf32_arm_symbian_plt_entry): New variable. (elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size, and symbian_p. (create_got_section): Don't create sections when generating BPABI objects. (elf32_arm_create_dynamic_sections): Tidy. (elf32_arm_link_hash_table_create): Set plt_header_size, plt_entry_size, and symbian_p. (elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when generating BPABI objects. (allocate_dynrelocs): Use htab->plt_header_size, not PLT_HEADER_SIZE. Do not add to .got.plt when generating BPABI objects. (elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs. * elfarm-nabi.c: Add SymbianOS target vectors. * elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags. (_bfd_elf_link_create_dynamic_sections): Likewise. * elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro. (elfNN_bed): Use it. * targets.c (bfd_elf32_bigarm_symbian_vec): New variable. (bfd_elf32_littlearm_symbian_vec): Likewise. (_bfd_target_vector): Add them. * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h. * Makefile.in: Regenerated. * configure.in: Set em for arm*-*-symbianelf*. * configure: Regenerated. * config/tc-arm.c (elf32_arm_target_format): Use Symbian target vectors when appropriate. * config/te-symbian.h: New file. * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. (earmsymbian.c): New target. * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * emulparams/armsymbian.sh: New file.
2004-09-03Add LD and GAS testsuites for CRX port.Nick Clifton28-65/+2974
Fix several crx bugs.
2004-09-01* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.Richard Earnshaw2-5/+8
2004-09-01Argh! missing comma...Richard Earnshaw1-1/+1
2004-09-01* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>sRichard Earnshaw2-0/+11
for synthesizable cores.
2004-08-27cpu/Richard Sandiford4-0/+23
* frv.cpu (cfmovs): Change UNIT attribute to FMALL. opcodes/ * frv-desc.[ch], frv-opc.[ch]: Regenerated. gas/testsuite/ * gas/frv/fr550-pack1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
2004-08-27Allow pcrel test for COFF targets as well, but not for PE targets.Nick Clifton2-2/+12
Similarly for the absrel test.
2004-08-27* gas/i386/i386.exp: Group ELF specific tests together. Move the pcrelNick Clifton2-15/+13
test into the ELF only section. Use is_elf_format to test for ELF based toolchains.
2004-08-252004-08-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
2004-08-25Apply Dmitry Diky's patches to add relaxation to msp430.Nick Clifton4-656/+1385
2004-08-24* as.c (std_shortopts): Allow -g to take an optional argument.Nick Clifton2-4/+9
(parse_args): Pass any switch starting with -g on to the backend for parsing.
2004-08-24altmacro.[sd]: Split out part from here...Nick Clifton7-3/+47
altmac2.[sd]: ... to here. excl.s: New. gas.exp: Suppress both tests for a few targets known to break. Run the new (split out) test only when the target doesn't use '!' as a comment character.
2004-08-19 * configure.in (arm*-*-symbianelf*): New target.Mark Mitchell3-0/+10
(arm*-*-eabi*): Likewise. * configure: Regenerated.
2004-08-18* config/tc-mips.c (append_insn): Handle delay slots in branch likelyThiemo Seufer6-0/+40
correctly.
2004-08-18 * config/tc-ia64.c (start_unwind_section): Add linkonce_emptyJakub Jelinek2-4/+21
argument, don't do anything if current section is not .gnu.linkonce.t.* and linkonce_empty is set. (generate_unwind_image, dot_endp): Adjust callers, call start_unwind_section (*, 1) if nothing will be put into the section.
2004-08-18Remove #NO_APP, accidentally committed as part of another patch.Nick Clifton2-1/+5
2004-08-17Add support for a -g switch to GASNick Clifton11-203/+259
2004-08-16(macro_set_alternate): Use ISO C90 formatting.Nick Clifton2-2/+3
2004-08-16Sort architecture based tables alphabetically.Nick Clifton3-34/+49
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.