aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-10-07Add support for CRX co-processor opcodesNick Clifton9-92/+190
2004-10-06 * gas/testsuite/gas/ppc/e500.s: Add double-precision instructions.Aldy Hernandez3-0/+67
* gas/testsuite/gas/ppc/e500.d: Same.
2004-10-05oops - omitted from previous deltaNick Clifton1-0/+7
2004-10-05Add support for generating ARM unwind tables.Nick Clifton7-175/+1457
2004-10-042004-10-04 Eric Christopher <echristo@redhat.com>Eric Christopher2-13/+16
* config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
2004-10-022004-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-1/+47
* config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for TLS relocations. * config/tc-s390.c (md_apply_fix3): Likewise. * config/tc-sparc.c (md_apply_fix3): Likewise.
2004-10-01The patch below adds binutils support for the SHT_ARM_EXIDX, as defined byNick Clifton3-0/+24
the ARM EABI.
2004-10-01Fixes for the encoding and decoding of the PDP11's SOB instructionNick Clifton4-2/+12
2004-10-01(TARGET_FORMAT): Remove LynxOS COFF definition.Nick Clifton2-5/+5
2004-10-01 * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is anAlan Modra2-2/+8
asymbol *, instead use symbol_get_bfdsym.
2004-09-30(select_control_regs): Add mcf5249.Nick Clifton2-0/+5
2004-09-30Apply Paul Brook's patch to implement armv6k instructionsNick Clifton7-3/+167
2004-09-30Use ISO C90 semanticsNick Clifton2-3400/+2719
2004-09-30(mav_reg_required_here): Allow REG_TYPE_CN as alternative when REG_TYPE_MVF,Nick Clifton2-2/+26
REG_TYPE_MVD, REG_TYPE_MVFX or REG_TYPE_MVDX is expected.
2004-09-29gas/testsuite/Alan Modra3-1/+8
* gas/i386/secrel.s: Pad .rdata out to 16 byte boundary. * gas/i386/secrel.d: Adjust to suit. ld/testsuite/ * ld-pe/secrel1.s: Pad .rdata out to 16 byte boundary. * ld-pe/secrel.d: Adjust to suit.
2004-09-29 * doc/c-i386.texi (i386-Mnemonics): Fix typo.Alan Modra2-1/+5
2004-09-21Fix error in unwind info for psp relative offsets.Jim Wilson2-13/+28
* config/tc-ia64.c (ENCODED_PSP_OFFSET): New. (output_rp_psprel, output_pfs_psprel, output_preds_psprel, output_spill_base, output_unat_psprel, output_lc_psprel, output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel, output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel, output_spill_psprel_p): Use it.
2004-09-20config/tc-crx.c (handle_LoadStor): New function. Handle load/stor unique ↵Tomer Levi1-0/+5
instructions before parsing.
2004-09-20Handle load/stor unique instructions before parsingTomer Levi1-8/+19
2004-09-19 * gas/elf/elf.exp: Recognise additional arm elf targets.Paul Brook2-2/+7
2004-09-17bfd/Paul Brook5-1/+84
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype. (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. * bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc. (elf32_arm_link_hash_table_create): Set it. (bfd_elf32_arm_process_before_allocation): Remove target1_is_rel. (bfd_elf32_arm_set_target_relocs): New function. (arm_real_reloc_type): New function. (elf32_arm_final_link_relocate): Use it. Handle R_ARM_PREL31 and R_ARM_GOT_PREL. Remove R_ARM_TARGET1. (elf32_arm_gc_sweep_hook): Ditto. (elf32_arm_check_relocs): Ditto. (elf32_arm_relocate_section): Handle R_ARM_GOT_PREL. * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and R_ARM_GOT_TARGET2. (elf32_arm_got_prel): New variable. (elf32_arm_howto_from_type): New function. (elf32_arm_info_to_howto): Use it. (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. * libbfd.h: Regenerate. * reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31. gas/ * config/tc-arm.c (s_arm_rel31): New funciton. (md_pseudo_table): Add .rel31. (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2, BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31. (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2. (arm_parse_reloc): Add (target2). gas/testsuite/ * gas/arm/pic.s: Add (target2). * gas/arm/pic.d: Ditto. include/ * elf/arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK. Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL, R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX. ld/ * ld.texinfo: Rename arm-specific section. Document --target* * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. * emulparams/armelf_linux.sh: Ditto. * emulparams/armelf_nbsd.sh: Ditto. * emultempl/armelf.em: Set default for TARGET2_TYPE. (target2_type): New variable. (arm_elf_before_allocation): Don't pass target1_type. (arm_elf_create_output_section_statements): New function. (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. * emultempl/armelf_oabi.em (_before_allocation): Remove extra argument to bfd_elf32_arm_process_before_allocation. ld/testsuite/ * ld-arm/arm-target1-{abs,rel}.d}: New files. * ld-arm/arm-target1.s: New file. * ld-arm/arm-target2-{,got-}rel.d: New files. * ld-arm/arm-target2.s: New file. * ld-arm/arm-rel31.d: New files. * ld-arm/arm-rel31.s: New files. * ld-arm/arm.ld: New file. * ld-arm/arm-elf.exp: Add new tests.
2004-09-17 * Makefile.am: Run "make dep-am".Alan Modra8-1846/+2274
* Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. * po/gas.pot: Regenerate.
2004-09-14 * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.Hans-Peter Nilsson2-3/+8
[!LLONG_MAX]: Ditto.
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.