summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * bfd-in.h: Remove "taken from the source" comment.Alan Modra2002-06-0537-29/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libbfd-in.h: Likewise. * libcoff-in.h: Likewise. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate. * elf.c (bfd_elf_discard_group): Return true. * elf-bfd.h (bfd_elf_discard_group): Declare. * bfd-in.h (bfd_elf_discard_group): Don't declare here. * section.c (bfd_discard_group): Rename to bfd_generic_discard_group. * bfd.c (bfd_discard_group): Define. * targets.c (struct bfd_target): Add _bfd_discard_group. (BFD_JUMP_TABLE_LINK): Here too. * libbfd-in.h (_bfd_nolink_bfd_discard_group): Define. * aout-adobe.c (aout_32_bfd_discard_group): Define. * aout-target.h (MY_bfd_discard_group): Define. * aout-tic30.c (MY_bfd_discard_group): Define. * binary.c (binary_bfd_discard_group): Define. * bout.c (b_out_bfd_discard_group): Define. * coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define. * coffcode.h (coff_bfd_discard_group): Define. * coff-mips.c (_bfd_ecoff_bfd_discard_group): Define. * elfxx-target.h (bfd_elfNN_bfd_discard_group): Define. * i386msdos.c (msdos_bfd_discard_group): Define. * i386os9k.c (os9k_bfd_discard_group): Define. * ieee.c (ieee_bfd_discard_group): Define. * ihex.c (ihex_bfd_discard_group): Define. * mmo.c (mmo_bfd_discard_group): Define. * nlm-target.h (nlm_bfd_discard_group): Define. * oasys.c (oasys_bfd_discard_group): Define. * ppcboot.c (ppcboot_bfd_discard_group): Define. * som.c (som_bfd_discard_group): Define. * srec.c (srec_bfd_discard_group): Define. * tekhex.c (tekhex_bfd_discard_group): Define. * versados.c (versados_bfd_discard_group): Define. * vms.c (vms_bfd_discard_group): Define. * xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define. * coff64-rs6000.c (rs6000coff64_vec): Update initialiser. (aix5coff64_vec): Likewise. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise.
* * Makefile.am (libbfd.h): Add "Extracted from.." comment.Alan Modra2002-06-053-7/+31
| | | | | (libcoff.h, bfd.h): Likewise. * Makefile.in: Regenerate.
* bfd/Jason Thorpe2002-06-059-271/+331
| | | | | | | | | | | | | | | | | | | | | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-com.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh64-com.c. (elf32-sh64-com.lo): New dependency list. * Makefile.in: Regenerate. * configure.in (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec) (bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec): Add elf32-sh64-com.lo. * configure: Regenerate. * elf32-sh64.c (sh64_address_in_cranges) (sh64_get_contents_type, sh64_address_is_shmedia): Move to... (crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb): (crange_bsearch_cmpl): Prepend _bfd_sh64_ to name and move to... * elf32-sh64-com.c: ...here. New file. include/elf/ * sh.h (_bfd_sh64_crange_qsort_cmpb, _bfd_sh64_crange_qsort_cmpl) (_bfd_sh64_crange_bsearch_cmpb, _bfd_sh64_crange_bsearch_cmpl): New prototypes.
* *** empty log message ***gdbadmin2002-06-051-1/+1
|
* daily updateAlan Modra2002-06-051-1/+1
|
* 2002-06-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-044-28/+40
| | | | | | | | | | * sim-main.h (FGRIDX): Remove, replace all uses with... (FGR_BASE): New macro. (FP0_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): New macros. (_sim_cpu): Move 'fgr' member to be right before 'fpr_state' member. (NR_FGR, FGR): Likewise. * interp.c: Replace all uses of FGRIDX with FGR_BASE. * mips.igen: Likewise.
* 2002-06-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-042-0/+27
| | | | * cp1.c: Add an FSF Copyright notice to this file.
* 2002-06-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-043-407/+130
| | | | | | | | | | | | | | | | | | Ed Satterthwaite <ehs@broadcom.com> * cp1.c (Infinity): Remove. * sim-main.h (Infinity): Likewise. * cp1.c (fp_unary, fp_binary): New functions. (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div, fp_recip) (fp_sqrt): New functions, implemented in terms of the above. (AbsoluteValue, Negate, Add, Sub, Multiply, Divide) (Recip, SquareRoot): Remove (replaced by functions above). * sim-main.h (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div) (fp_recip, fp_sqrt): New prototypes. (AbsoluteValue, Negate, Add, Sub, Multiply, Divide) (Recip, SquareRoot): Replace prototypes with #defines which invoke the functions above.
* * ada-exp.tab.c: New fileAidan Skinner2002-06-041-0/+12
| | | | | | | | | | | * ada-exp.y: New file * ada-lang.c: New file * ada-lang.h: New file * ada-lex.c: New file * ada-lex.l: New file * ada-tasks.c: New file * ada-typeprint.c: New file * ada-valprint.c: New file
* Add base ada language filesAidan Skinner2002-06-049-0/+19204
|
* * elf32-openrisc.c (openrisc_elf_gc_mark_hook): RemoveAlan Modra2002-06-044-16/+14
| | | | | | | ATTRIBUTE_UNUSED on used params. * elf32-vax.c (elf_vax_gc_mark_hook): Remove unnecessary checks before calling bfd_section_from_elf_index on local syms. * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.
* bfd:Jason Thorpe2002-06-0412-751/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (BFD32_BACKENDS): Add elf32-sh64-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh64-nbsd.c. (BFD64_BACKENDS): Add elf64-sh64-nbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-sh64-nbsd.c. (elf32-sh64-nbsd.lo, elf64-sh64-nbsd.lo): New rules. * Makefile.in: Regenerate. * config.bfd (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) (sh64-*-netbsd*): New targets. * configure.in: Add bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. * configure: Regenerate. * elf32-sh64-nbsd.c: New file. * elf64-sh64-nbsd.c: New file. * targets.c: Add extern decls for bfd_elf32_sh64nbsd_vec, bfd_elf32_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec, and bfd_elf64_sh64lnbsd_vec. gas: * configure.in (sh5*): Set cpu_type to sh64 and endian to big. (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. * configure: Regenerate. * config/tc-sh64.c (sh64_target_format): Add support for NetBSD environment. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) (eshlelf64_nbsd.c): New rules. * Makefile.in: Regenerate. * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) (sh64-*-netbsd*): New targets. * emulparams/shelf32_nbsd.sh: New file. * emulparams/shelf64_nbsd.sh: New file. * emulparams/shlelf32_nbsd.sh: New file. * emulparams/shlelf64_nbsd.sh: New file. opcodes: * configure.in: Add "sh5*-*" to list of targets which include sh64 support. * configure: Regenerate.
* 2002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-043-30/+42
| | | | | | | | | | | | | * sim-main.h (Nan, Infinity, Less, Equal, AbsoluteValue, Negate) (Add, Sub, Multiply, Divide, Recip, SquareRoot): Move lower in file, remove PARAMS from prototypes. (value_fpr, store_fpr, convert): Likewise. Use SIM_STATE to provide simulator state arguments. (ValueFPR, StoreFPR, Convert): Move lower in file. Use SIM_ARGS to pass simulator state arguments. * cp1.c (SD): Redefine as CPU_STATE(cpu). (store_fpr, convert): Remove 'sd' argument. (value_fpr): Likewise. Convert to use 'SD' instead.
* * elf.c (setup_group): Set SEC_LINK_ONCE on GRP_COMDAT groups.Alan Modra2002-06-046-19/+117
| | | | | | | | | | | | | | | | (bfd_section_from_shdr): Likewise. Set section name of group sections from signature. (group_signature): Split out from setup_group. Ensure symbol table is available. (bfd_elf_discard_group): New function. (_bfd_elf_make_section_from_shdr): Don't set SEC_LINK_ONCE on .gnu.linkonce* sections if they are members of a group. (set_group_contents): Set GRP_COMDAT flag. * section.c (bfd_discard_group): New function. * bfd-in.h (bfd_elf_discard_group): Declare. * bfd-in2.h: Regenerate. * elf-bfd.h (struct bfd_elf_section_data): Add linkonce_p field. (elf_linkonce_p): Define.
* * elf.c (bfd_section_from_shdr): Make "name" const.Alan Modra2002-06-0413-22/+37
| | | | | | | | | | | | | | * elf-bfd.h (elf_backend_section_from_shdr): Likewise. * elf32-i370.c (i370_elf_section_from_shdr): Likewise. * elf32-ppc.c (ppc_elf_section_from_shdr): Likewise. * elf32-sh64.c (sh64_backend_section_from_shdr): Likewise. * elf32-v850.c (v850_elf_section_from_shdr): Likewise. * elf64-alpha.c (elf64_alpha_section_from_shdr): Likewise. * elf64-hppa.c (elf64_hppa_section_from_shdr): Likewise. * elf64-ppc.c (ppc64_elf_section_from_shdr): Likewise. * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Likewise. * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Likewise. * elfxx-mips.h (_bfd_mips_elf_section_from_shdr): Likewise.
* 2002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-043-146/+5
| | | | | * cp1.c (Min, Max): Remove #if 0'd functions. * sim-main.h (Min, Max): Remove.
* *** empty log message ***gdbadmin2002-06-041-1/+1
|
* daily updateAlan Modra2002-06-041-1/+1
|
* 2002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-034-34/+40
| | | | | | * cp1.c: fix formatting of switch case and default labels. * interp.c: Likewise. * sim-main.c: Likewise.
* 2002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-032-24/+30
| | | | | * cp1.c: Clean up comments which describe FP formats. (FPQNaN_DOUBLE, FPQNaN_LONG): Generate using UNSIGNED64.
* 2002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-039-19/+316
| | | | | | | | | | | | | | | | | | | Ed Satterthwaite <ehs@broadcom.com> * configure.in (mipsisa64sb1*-*-*): New target for supporting Broadcom SiByte SB-1 processor configurations. * configure: Regenerate. * sb1.igen: New file. * mips.igen: Include sb1.igen. (sb1): New model. * Makefile.in (IGEN_INCLUDE): Add sb1.igen. * mdmx.igen: Add "sb1" model to all appropriate functions and instructions. * mdmx.c (AbsDiffOB, AvgOB, AccAbsDiffOB): New functions. (ob_func, ob_acc): Reference the above. (qh_acc): Adjust to keep the same size as ob_acc. * sim-main.h (status_SBX, MX_VECT_ABSD, MX_VECT_AVG, MX_AbsDiff) (MX_Avg, MX_VECT_ABSDA, MX_AbsDiffC): New macros.
* * elfxx-mips.c (ABI_64_P): Use backend's data to determine theMaciej W. Rozycki2002-06-032-1/+6
| | | | ABI.
* 2002-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-032-0/+5
| | | | * Makefile.in (IGEN_INCLUDE): Add mdmx.igen.
* * gen-engine.c (print_run_body): Avoid multi-line strings.Richard Henderson2002-06-033-44/+49
| | | | * lf.c (lf_print__gnu_copyleft): Likewise.
* * elf32-arc.c: Fix formatting.Kazu Hirata2002-06-0319-99/+120
| | | | | | | | | | | | | | | | | | | | * elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-dlx.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i386.c: Likewise. * elf32-i386qnx.c: Likewise. * elf32-or32.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh64.c: Likewise. * elf32-vax.c: Likewise. * elf32-xstormy16.c: Likewise. * elf64-alpha.c: Likewise. * elf64-mmix.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sh64.c: Likewise. * elf64-x86-64.c: Likewise.
* Use current date in ChangeLog entry.Elena Zannoni2002-06-031-1/+1
|
* 2002-05-28 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-06-032-1/+7
| | | | | | From Jason Eckhardt <jle@redhat.com> * d10v_sim.h (INC_ADDR): Correctly handle the case where MOD_E is less than MOD_S (post-decrement).
* *** empty log message ***gdbadmin2002-06-031-1/+1
|
* daily updateAlan Modra2002-06-031-1/+1
|
* * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't setJason Thorpe2002-06-022-6/+5
| | | | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention.
* * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.oJason Thorpe2002-06-024-3/+10
| | | | | | insetead of ppc-linux-tdep.o. * config/rs6000/rs6000.mt (TDEPFILES): Likewise. * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise.
* Output tweaks.Andrew Cagney2002-06-022-10/+17
|
* * elf64-alpha.c (elf64_alpha_relocate_section): Don't dereferenceRichard Henderson2002-06-022-12/+19
| | | | | | null when there are no got entries for a symbol. (elf64_alpha_relax_find_tls_segment): Rearrange to avoid uninitialized variable warning.
* 2002-06-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-06-026-0/+2154
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ed Satterthwaite <ehs@broadcom.com> * mips.igen (mdmx): New (pseudo-)model. * mdmx.c, mdmx.igen: New files. * Makefile.in (SIM_OBJS): Add mdmx.o. * sim-main.h (MDMX_accumulator, MX_fmtsel, signed24, signed48): New typedefs. (ACC, MX_Add, MX_AddA, MX_AddL, MX_And, MX_C_EQ, MX_C_LT, MX_Comp) (MX_FMT_OB, MX_FMT_QH, MX_Max, MX_Min, MX_Msgn, MX_Mul, MX_MulA) (MX_MulL, MX_MulS, MX_MulSL, MX_Nor, MX_Or, MX_Pick, MX_RAC) (MX_RAC_H, MX_RAC_L, MX_RAC_M, MX_RNAS, MX_RNAU, MX_RND_AS) (MX_RND_AU, MX_RND_ES, MX_RND_EU, MX_RND_ZS, MX_RND_ZU, MX_RNES) (MX_RNEU, MX_RZS, MX_RZU, MX_SHFL, MX_ShiftLeftLogical) (MX_ShiftRightArith, MX_ShiftRightLogical, MX_Sub, MX_SubA, MX_SubL) (MX_VECT_ADD, MX_VECT_ADDA, MX_VECT_ADDL, MX_VECT_AND) (MX_VECT_MAX, MX_VECT_MIN, MX_VECT_MSGN, MX_VECT_MUL, MX_VECT_MULA) (MX_VECT_MULL, MX_VECT_MULS, MX_VECT_MULSL, MX_VECT_NOR) (MX_VECT_OR, MX_VECT_SLL, MX_VECT_SRA, MX_VECT_SRL, MX_VECT_SUB) (MX_VECT_SUBA, MX_VECT_SUBL, MX_VECT_XOR, MX_WACH, MX_WACL, MX_Xor) (SIM_ARGS, SIM_STATE, UnpredictableResult, fmt_mdmx, ob_fmtsel) (qh_fmtsel): New macros. (_sim_cpu): New member "acc". (mdmx_acc_op, mdmx_cc_op, mdmx_cpr_op, mdmx_pick_op, mdmx_rac_op) (mdmx_round_op, mdmx_shuffle, mdmx_wach, mdmx_wacl): New functions.
* * elf64-alpha.c (elf64_alpha_relax_with_lituse): Don't test forRichard Henderson2002-06-022-85/+154
| | | | | | | | | undefined symbols here. (elf64_alpha_relax_section): Do it here. Also test for not defined in the current module. (elf64_alpha_relocate_section_r): Split out of ... (elf64_alpha_relocate_section): ... here. Don't dereference NULL when looking up local got entries.
* * elf64-alpha.c (elf64_alpha_relax_with_lituse): Reject undefinedRichard Henderson2002-06-022-57/+209
| | | | | | | | | | | | | symbols from JSR relaxation. (elf64_alpha_size_plt_section_1): New. (elf64_alpha_calc_dynrel_sizes): Split out .rela.got bits ... (elf64_alpha_size_rela_got_1): ... here. (elf64_alpha_size_dynamic_sections): Split out .rela.got bits ... (elf64_alpha_size_rela_got_section): ... here. (elf64_alpha_size_plt_section): New. (elf64_alpha_relax_section): Call them. (elf64_alpha_size_got_sections): Remove output_bfd arg. (elf64_alpha_finish_dynamic_symbol): Check gotent use_count.
* * MAINTAINERS: Mention that any `HP/UX reader' can be changed byAndrew Cagney2002-06-022-0/+7
| | | | any maintainer.
* include/elf/Richard Henderson2002-06-024-134/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF, LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New. gas/ * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". Rename them LITUSE_ALPHA_*. bfd/ * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New. (elf64_alpha_relocate_section): Use them. Reject LE TLS relocs in shared libraries. Fix DTPRELHI and TPRELHI value. (INSN_ADDQ, INSN_RDUNIQ): New. (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent. (elf64_alpha_relax_with_lituse): Return boolean. Remove irelend argument. Reject dynamic symbols. Use LITUSE symbolic constants. (elf64_alpha_relax_got_load): Rename from relax_without_lituse. Handle GOTDTPREL and GOTTPREL relocations. (elf64_alpha_relax_gprelhilo): New. (elf64_alpha_relax_tls_get_addr): New. (elf64_alpha_relax_find_tls_segment): New. (elf64_alpha_relax_section): Handle TLS relocations. (ALPHA_ELF_LINK_HASH_TLS_IE): New. (elf64_alpha_check_relocs): Set it.
* *** empty log message ***gdbadmin2002-06-021-1/+1
|
* daily updateAlan Modra2002-06-021-1/+1
|
* Regenerate.Andrew Cagney2002-06-012-1/+4
|
* Add everyone to write-after-approval.Andrew Cagney2002-06-012-3/+32
|
* Delete TiC80, no longer supported by GDB.Andrew Cagney2002-06-0116-8593/+4
|
* * elf64-alpha.c (elf64_alpha_relax_section): Don't store computed gp.Richard Henderson2002-06-012-9/+7
|
* * elf64-alpha.c: Remove dead code.Richard Henderson2002-06-012-11/+2
|
* * elf64-alpha.c (elf64_alpha_check_relocs): Fix typo on maybe_dynamicRichard Henderson2002-06-012-3/+9
| | | | check; don't suppress dynamic relocs for non-allocated sections.
* * stack.c (frame_info): Use frame_register_unwind instead ofAndrew Cagney2002-06-015-31/+414
| | | | | | | | | | | | | | | | saved_regs. Mention when the SP is on the stack or in a register. * frame.h (frame_register_unwind_ftype): Define. Document. (struct frame_info): Add field register_unwind and register_unwind_cache. (frame_register_unwind): Declare. (generic_unwind_get_saved_register): Declare. * frame.c (frame_register_unwind): New function. (generic_unwind_get_saved_register): New function. * blockframe.c (generic_call_dummy_register_unwind): New function. (frame_saved_regs_register_unwind): New function. (set_unwind_by_pc): New function. (create_new_frame): New function. (get_prev_frame): New function.
* * gdbint.texinfo (Target Architecture Definition): Add sectionAndrew Cagney2002-06-012-1/+168
| | | | ``Converting an existing Target Architecture to Multi-arch''.
* Fill-out d10v enum so that there are no ``=''.Andrew Cagney2002-06-014-76/+178
|
* 2002-05-31 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-06-012-21/+33
| | | | | * library/prefs.tcl (pref_read): If the regular expression cannot parse line, print debug message and skip it.