aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+17
* config/tc-crx.c: Remove global variable 'post_inc_mode'. (get_flags): New function. (get_number_of_bits): Edit comments, update numeric values to supported sizes. (process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]). (set_cons_rparams): Support argument type 'arg_rbase'. (get_operandtype): Bug fix in 'rbase' operand type parsing. (handle_LoadStor): Bug fix, first handle post-increment mode. (getreg_image): Remove redundant code, update according to latest CRX spec. (print_constant): Bug fix relate to 3-word instructions. (assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic). Add various error checking. (preprocess_reglist): Support HI/LO and user registers.
2004-10-27* config/tc-crx.c: Remove global variable 'post_inc_mode'.Tomer Levi1-265/+270
(get_flags): New function. (get_number_of_bits): Edit comments, update numeric values to supported sizes. (process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]). (set_cons_rparams): Support argument type 'arg_rbase'. (get_operandtype): Bug fix in 'rbase' operand type parsing. (handle_LoadStor): Bug fix, first handle post-increment mode. (getreg_image): Remove redundant code, update according to latest CRX spec. (print_constant): Bug fix relate to 3-word instructions. (assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic). Add various error checking. (preprocess_reglist): Support HI/LO and user registers.
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+12
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE. (getregliststring): Support HI/LO and user registers. * crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file. (crx_regtab): Likewise. (crx_optab): Likewise. (crx_instruction): Reorder load/stor instructions, remove unsupported formats. support new Co-Processor instruction 'cpi'.
2004-10-27* crx-opc.c (crx_instruction): Update data structure according to the ↵Tomer Levi1-232/+237
rearrangement done in CRX opcode header file. (crx_regtab): Likewise. (crx_optab): Likewise. (crx_instruction): Reorder load/stor instructions, remove unsupported formats. support new Co-Processor instruction 'cpi'.
2004-10-27* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.Tomer Levi1-41/+58
(getregliststring): Support HI/LO and user registers.
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+14
* opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and 'pc'. (enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE. (enum operand_type): Rearrange operands, edit comments. replace us<N> with ui<N> for unsigned immediate. replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively). replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index. (instruction type): Add NO_TYPE_INS. (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR. (operand_entry): New field - 'flags'. (operand flags): New.
2004-10-27(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.Tomer Levi1-50/+77
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE. (enum operand_type): Rearrange operands, edit comments. replace us<N> with ui<N> for unsigned immediate. replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively). replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index. (instruction type): Add NO_TYPE_INS. (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR. (operand_entry): New field - 'flags'. (operand flags): New.
2004-10-27Add an index operand to some of the iq2000 co-processor instructionsNick Clifton11-149/+155
2004-10-27 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emitMark Mitchell2-2/+7
__exidx_{start,end} when not relocating.
2004-10-272004-10-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+10
PR 475 * elfxx-ia64.c (elfNN_ia64_relocate_section): Correct R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB and R_IA64_SECREL64LSB.
2004-10-27*** empty log message ***gdbadmin1-1/+1
2004-10-27daily updateAlan Modra1-1/+1
2004-10-26Missed from previous commit.Paul Brook3-0/+9
ld/testsuite/ * ld-elfvers/vers29.c: New file. * ld-elfvers/vers29.dsym: New file. * ld-elfvers/vers29.ver: New file.
2004-10-26 * configure.in (case ${target}): Do not build fixincludesAaron W. LaFramboise3-76/+134
on platforms where it is not used. * configure: Regenerated. ----------------------------------------------------------------------
2004-10-26* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,Mark Kettenis2-1/+22
MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM to enum with register numbers. (enum mips_insn_size): New enum.
2004-10-26 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.Mark Mitchell14-151/+236
* ldexp.h (segment_type): New type. (segments): New variable. * ldexp.c (segments): New variable. (exp_print_token): Handle SEGMENT_START. (fold_binary): Likewise. * ldgram.y (SEGMENT_START): Declare it as a token. (exp): Handle SEGMENT_START. * ldlang.h (lang_address_statement_type): Add segment field. (lang_section_start): Change prototype. * ldlang.c (map_input_to_output_sections): Do not process section assignments if a corresponding SEGMENT_START has already been seen. (lang_section_start): Add segment parameter. * ldlex.l (SEGMENT_START): Add it. * lexsup.c (seg_segment_start): New function. (parse_args): Use it for -Tbss, -Tdata, and -Ttext. * ld.texinfo (SEGMENT_START): Document it. * emulparams/armsymbian.sh (EMBEDDED): Set it. * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment base addresses. Do not map relocations. * NEWS: Mention SEGMENT_START.
2004-10-26readelf.c (get_note_type): Handle notes not in core files.Nick Clifton4-148/+126
(process_note_sections): New function. (process_corefile_contents): Rename to ... (process_notes): ... this. (process_object): Call process_notes, not process_corefile_contents. doc/binutils.texi: Update readelf -n documentation.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-10/+8
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE. * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub. (mips_gdbarch_init): Update. (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+12
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef IN_SOLIB_RETURN_TRAMPOLINE. * mips-tdep.c (mips_dump_tdep): Do not print IN_SOLIB_RETURN_TRAMPOLINE. (mips_in_solib_return_trampoline): Rename mips_in_return_stub. (mips_gdbarch_init): Update.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-8/+12
* mips-tdep.h (mips_software_single_step): Move to here ... * config/mips/tm-mips.h: ... from here. * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete. * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
2004-10-26bfd/Paul Brook10-14/+116
* elflink.c (elf_finalize_dynstr): Skip shared aux structure. (bfd_elf_size_dynamic_sections): Create default version definition. (elf_link_output_extsym): Adjust for default symbol version. include/ * bfdlink.h (struct bfd_link_info): Add create_default_symver. ld/ * ld.texinfo: Document --default-symver. * ldmain.c (main): Set link_info.create_default_symver. * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. (ld_options): Add default-symver. (parse_args): Handle OPTION_DEFAULT_SYMVER. ld/testsuite/ * ld-elfvers/vers.exp (build_binary): Add ldargs parameter. (build_vers_lib_pic_flags): New function. Add vers29 test. * ld-elfvers/vers29.c: New file. * ld-elfvers/vers29.dsym: New file. * ld-elfvers/vers29.ver: New file.
2004-10-26 * ar.c (extract_file): Set atime to mtime for ar xo.Jakub Jelinek2-1/+10
2004-10-26(sim_run): Add support for the "rawsid" protocol.Nick Clifton2-3/+15
2004-10-26daily updateAlan Modra1-1/+1
2004-10-26*** empty log message ***gdbadmin1-1/+1
2004-10-252004-10-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+9
* NEWS: Add Changes since GDB 6.3 section.
2004-10-252004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>H.J. Lu2-1/+12
* config/tc-ia64.c (fixup_unw_records): Don't let the "t" value in an epilogue directive go negative.
2004-10-252004-10-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+13
PR 474 * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use after reporting template error during manual bundling. Reported by Michael Dupont, michaelx.dupont@intel.com.
2004-10-25 * stabs.c (stab_demangle_v3_arglist): New static function, brokenIan Lance Taylor2-9/+66
out of stab_demangle_v3_argtypes. (stab_demangle_v3_argtypes): Call it. (stab_demangle_v3_arg): Handle DEMANGLE_COMPONENT_FUNCTION_TYPE. If we find an unrecognized component, print out its number.
2004-10-252004-10-25 David Mosberger <davidm@hpl.hp.com>H.J. Lu2-17/+8
* readelf.c (slurp_ia64_unwind_table): Support relocations against non-section symbols by adding in the symbol value.
2004-10-25Add ARM CFI supportNick Clifton11-8/+122
2004-10-25PR 465Nick Clifton2-49/+89
* readelf.c (dynamic_strings_length): New global variable. (VALID_DYNAMIC_NAME, GET_DYNAMIC_NAME): New macros for accessing strings in the dynamic string table. (process_section_headers): Initialise dynamic_strings_length. (process_dynamic_section): Likewise. (process_object): Reset dynamic_string_length when the buffer is freed. (dynamic_sections_mips_val): Use the new macros. (process_dynamic_section): Likewise. (process_version_sections): Likewise. (process_symbol_table): Likewise. (process_syminfo): Likewise. (process_mips_specific): Likewise. (dump_relocations): Add a new parameter 'strtablen' and use this to verify that string offset in a given reloc is valid. Print a suitable error message otherwise. (process_relocs): Pass the new argument to dump_relocations.
2004-10-252004-10-21 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+7
* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively). Remove unsupported 'popa' instruction. Reverse operands order in store co-processor instructions.
2004-10-252004-10-21 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-77/+75
* crx-opc.c (crx_instruction): Replace i3, i4, i5 with us3, us4, us5 (respectively). Remove unsupported 'popa' instruction. Reverse operands order in store co-processor instructions.
2004-10-252004-10-21 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi2-3/+15
* opcode/crx.h (operand_type): Remove redundant types i3, i4, i5, i8, i12. Add new unsigned immediate types us3, us4, us5, us16.
2004-10-25'gas/crx' updateTomer Levi1-0/+8
2004-10-25Remove test for unsupported 'popa' instruction.Tomer Levi2-12/+5
2004-10-25Reverse operands order in store co-processor instructions.Tomer Levi2-4/+4
2004-10-25'config/tc-crx.c' update.Tomer Levi1-0/+6
2004-10-251. Check unsigned immediate operands validity. 2. Update coprocessor id to ↵Tomer Levi1-1/+16
be unsigned immediate.
2004-10-25daily updateAlan Modra1-1/+1
2004-10-25*** empty log message ***gdbadmin1-1/+1
2004-10-24 * mmo.c: Adjust to ISO C.Hans-Peter Nilsson2-321/+170
2004-10-24 * mmo.c (mmo_write_section_description): New function broken outHans-Peter Nilsson2-27/+129
of mmo_internal_write_section. (mmo_internal_write_section): For each of .text and .data, call mmo_write_section_description before outputting contents if it has nontrivially deducible vma or contents. (mmo_has_leading_or_trailing_zero_tetra_p): New function. (mmo_canonicalize_symtab): Adjust absolute symbols to .data symbols if found within the .data address range.
2004-10-24 * ld-mmix/sec-8m.d: Adjust test for dump using correct sectionHans-Peter Nilsson5-13/+53
length. * ld-mmix/sec-9.d: Renamed test, formerly known as sec-5.d. * ld-mmix/sec-5.d, ld-mmix/b-offloc.s: Rewritten test.
2004-10-24 * opncls.c (bfd_close): Return TRUE for BFD_IN_MEMORY.Daniel Jacobowitz2-1/+5
2004-10-24* dlltool.c: Include <assert.h>.Aaron W. LaFramboise1-0/+2
(PREFIX_ALIAS_BASE): Define. (struct export): Add member import_name; (def_exports): Set import_name. (make_one_lib_file): Remove prefix alias code, use import_name in .idata$6. (gen_lib_file): Create and delete aliases. * binutils-all/alias.def: New file. * binutils-all/dlltool.exp: Two new -p tests. * config/default.exp (dlltool_gas_flag): New variable. Copy gas and lds executables into tmpdir/gas directory rather than making symlinks which might not be supported by the host OS. Attempt to handle the case where the host OS does not use the .exe extension but the target OS does. * lib/utils-lib.exp (exe_ext): New procedure.
2004-10-24 * mmo.c (File Layout): Correct place of misplaced blurb aboutHans-Peter Nilsson2-6/+11
special data.
2004-10-24 * pe-dll.c (process_def_file): Don't export all symbols by default ifDanny Smith2-1/+6
building a position-independent executable.
2004-10-24 * ld-mmix/getaa-6b.d, ld-mmix/getaa-6f.d, ld-mmix/getaa14b.d,Hans-Peter Nilsson11-10/+17
ld-mmix/getaa14f.d, ld-mmix/jumpa-6b.d, ld-mmix/jumpa-6f.d, ld-mmix/jumpa14b.d, ld-mmix/jumpa14f.d, ld-mmix/reg-1.d, ld-mmix/reg-1m.d: Adjust for changed error message format.