aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-05-24Add support for FreeBSD/i386 ELF.Mark Kettenis7-28/+389
* i386bsd-nat.c: New file. * config/i386/tm-fbsd.h (HAVE_I387_REGS): Define. Include "i386/tm-i386.h" instead of "i386/tm-i386b.h". (NUM_REGS): Remove redefinition. (USE_STRUCT_CONVENTION): Define. (i386_float_info): Remove prototype. (FLOAT_INFO): Remove define. (JB_ELEMENT_SIZE): Define to 4. (JB_PC): Define to 0. (GET_LONGJMP_TARGET): Define. (SIGTRAMP_START, SIGTRAMP_END): Define. (SIGCONTEXT_PC_OFFSET): Define. (IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS * config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t. (FETCH_INFERIOR_REGISTERS): Define. (ATTACH_DETACH): Define. (kernel_u_size): Remove PARAMS. (register_u_addr): Use CORE_ADDR in prototype where appropriate. Remove PARAMS. (SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]: Define. [SVR4_SHARED_LIBS]: Include "elf/common.h". Only define aliases for struct members from <link.h> if !SVR4_SHARED_LIBS. * config/i386/xm-fbsd.h: New file. * config/i386/fbsd.mt (TDEPFILES): Remove solib.o. * config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o. Add core-regset.o i387-nat.o i386bsd-nat.o.
2000-05-24 * bfdint.texi (BFD ELF processor required): Add paragraph aboutHans-Peter Nilsson2-0/+11
target necessities for readelf.
2000-05-242000-05-24 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-18/+18
* findvar.c (value_from_register): Factor code, simplify logic.
2000-05-242000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-5/+1
* config/sparc/tm-sun4sol2.h: Turn on multi-arch. * sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.
2000-05-242000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-4/+10
* gdb.base/annota1.exp (annotate-signal-handler-caller): Relax the regular expression a little, make it pass on Solaris 8.
2000-05-242000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-1/+7
* config/sparc/tm-sun4sol2.h: Turn on multi-arch. sparc-tdep.c (gdb_print_insn_sparc): Remove temporary multi-arch hack.
2000-05-24 * gdb.texinfo: Remove duplicate @syncodeindex. From BrianEli Zaretskii2-4/+6
Youmans.
2000-05-24 * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.Diego Novillo2-2/+19
(STD_REGISTER_NAMES): New name for REGISTER_NAMES. (reg_names): Rename to std_reg_names. Change it to a char ** static variable. (std_reg_names): New name for reg_names. (set_mips_isa_type): Set reg_names to point to std_reg_names by default.
2000-05-24et al. not et.al.Andrew Cagney2-2/+7
2000-05-24Change profiling so that it is enabled by default. Re-generate everything.Andrew Cagney43-2307/+2582
2000-05-24* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...J.T. Conklin10-27/+200
* config/i386/nbsd.mh (NATDEPFILES): ...to here. * config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here... * config/m68k/nbsd.mh (NATDEPFILES): ...to here. * config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here... * config/ns32k/nbsd.mh (NATDEPFILES): ...to here. * config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o. * configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs. * gdbserver/low-nbsd.c (initialize_arch): Define for PPC. (fetch_inferior_registers): Likewise. (store_inferior_registers): Likewise. * gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86 floating point registers. (store_inferior_registers): Likewise. -------------------------------------------------------------------
2000-05-24Remove quotes from arround for loop arg.Andrew Cagney2-1/+6
2000-05-23Add special case handling when GDB set CPSR registerNick Clifton2-1/+12
2000-05-23* i387-nat.h, i387-nat.c: New files.Mark Kettenis3-0/+166
2000-05-23When deciding if ".text" section should be read-only, don't forget to resetNick Clifton2-10/+17
SEC_READONLY because it could be already set.
2000-05-23* config/sparc/nm-linux.h: Include config/nm-linux.h.Alexandre Oliva3-1/+10
* config/powerpc/nm-linux.h: Likewise.
2000-05-23one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problemDavid Taylor2-1/+6
with the printing of complex numbers (it would print the real part twice).
2000-05-23Add make_cleanup_close() function.Andrew Cagney3-0/+20
2000-05-232000-05-23 H.J. Lu <hjl@gnu.org>H.J. Lu3-3/+6
* elf32-mips.c (mips_elf_calculate_relocation): Check h->root.other not h->other. * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
2000-05-232000-05-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+7
* elf64-alpha.c (elf64_alpha_relocate_section): Check h->root.other not h->other.
2000-05-232000-05-23 H.J. Lu <hjl@gnu.org>H.J. Lu13-21/+66
* elf32-i386.c (elf_i386_relocate_section): Don't allow the undefined symbol with the non-default visibility attributes. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-mips.c (mips_elf_calculate_relocation): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-ia64.c (elf64_ia64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2000-05-23sigrc wasn't initialized before being passed to sim_resume().Andrew Cagney2-0/+6
2000-05-23Add -Wuninitialized.Andrew Cagney3-3/+9
2000-05-23Oops. Forgot to say "configure: Regenerate".Hans-Peter Nilsson1-0/+1
2000-05-23 * configure.in (i386-*-freebsd a.out entry): Quote properly.Hans-Peter Nilsson3-1/+7
2000-05-23IRIX GCC fixes from 5.0 branch.Andrew Cagney4-9/+22
2000-05-23Missed copyright update in last patch.Alan Modra2-2/+2
2000-05-23Pass jump reloc in fr_var so it can be used inAlan Modra4-36/+46
md_estimate_size_before_relax, replacing old kludge.
2000-05-23From branch. Bump VERSION number.Andrew Cagney2-1/+6
2000-05-23 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.Richard Henderson2-77/+153
(pseudo_func): Add pcrel. (operand_match): Handle IA64_OPND_TGT64. (build_insn): Likewise. (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE]. (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE. (fix_insn): Handle all three 64-bit relocation types.
2000-05-23 * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,Richard Henderson5-33/+462
PCREL22, PCREL64I. Zero size of special relocs. (elf64_ia64_reloc_type_lookup): Likewise. (USE_BRL, oor_brl, oor_ip): New. (elf64_ia64_relax_section): New. (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I. (elf64_ia64_install_value): Likewise, plus PCREL21BI. (elf64_ia64_relocate_section): Likewise. (bfd_elf64_bfd_relax_section): New. * reloc.c (BFD_RELOC_IA64_PCREL21BI): New. (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New. * bfd-in2.h, libbfd.h: Regenerate.
2000-05-23 * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.Richard Henderson2-1/+11
(R_IA64_PCREL22, R_IA64_PCREL64I): New.
2000-05-23Allow d suffix on iretAlan Modra2-2/+7
2000-05-22Patch from Thomas de Lellis to implement --section-startNick Clifton5-4/+87
2000-05-22 * obj.h (struct format_ops): New members begin, app_file,Hans-Peter Nilsson9-18/+289
s_set_other, s_set_desc, s_get_type, s_set_type, separate_stab_sections, init_stab_section. * config/obj-multi.h: Update GPL notice to v2. (obj_begin): New. (obj_app_file): New. (S_SET_SIZE): Test s_set_size for NULL before calling. (S_SET_ALIGN): Similar for s_set_align. (S_SET_OTHER): New. (S_SET_DESC): New. (S_GET_TYPE): New. (S_SET_TYPE): New. (SEPARATE_STAB_SECTIONS): New. (INIT_STAB_SECTION): New. (EMIT_SECTION_SYMBOLS): New. (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define. * config/obj-elf.h: Update GPL notice to v2. Mention that this file is included from obj-multi.h. (obj_begin): Wrap definition in ifndef. (elf_file_symbol): Constify declaration. (obj_app_file): Ditto. (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): Wrap in ifndef SEPARATE_STAB_SECTIONS. * config/obj-elf.c (elf_s_set_other): New. (elf_file_symbol): Constify argument. (elf_separate_stab_sections): New. (elf_init_stab_section): New. (elf_format_ops): Add new members. Remove comma at end. * config/obj-ecoff.c (ecoff_separate_stab_sections): New. (ecoff_format_ops): Add new fields. Remove comma at end. Mention inconsistency for emit_section_symbols. * config/obj-coff.h (c_dot_file_symbol): Constify declaration. * config/obj-coff.c (c_dot_file_symbol): Constify argument. (coff_separate_stab_sections): New. (coff_format_ops): Add new members. * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New. (obj_aout_s_set_other): New. (obj_aout_s_set_desc): New. (obj_aout_s_get_type): New. (obj_aout_s_set_type): New. (obj_aout_separate_stab_sections): New. (aout_format_ops): New members added. Use obj_aout_process_stab, not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0. (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as appropriate. (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
2000-05-22* am33.igen: Fix leading comments of SP-relative offset insns thatAlexandre Oliva2-7/+11
referred to other registers. Make their offsets unsigned.
2000-05-22Add peigen.lo to MIPS PE targetNick Clifton3-22/+21
2000-05-22Use bfd_generic_verify_endian_match() and fix it to only check when endiannessNick Clifton6-62/+37
is known.
2000-05-22Regerbated after change to Makefile.amNick Clifton1-18/+22
2000-05-22Keep a reloc for jumps to weak and external symbols.Alan Modra2-10/+23
2000-05-22Purge (almost) make_cleanup_func.Andrew Cagney20-35/+187
2000-05-222000-05-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+10
* elflink.h (elf_link_output_extsym): Clear the visibility field for symbols not defined locally.
2000-05-22Purge procfs.c of make_cleanup_func.Andrew Cagney2-5/+28
2000-05-22Eliminate make_cleanup_func from top.cAndrew Cagney4-20/+69
2000-05-22Replace preg() with phex(). Cleanup monitor.c.Andrew Cagney5-87/+56
2000-05-21* i387-tdep.c (print_i387_value): Cast &value to (char *) inMark Kettenis2-1/+8
pointer arithmetic. Fixes a bug which manifested itself on FreeBSD.
2000-05-212000-05-21 H.J. Lu (hjl@gnu.org)H.J. Lu2-1/+12
* ld-elfvsb/main.c (main_visibility_check): Fix the protected visibility test.
2000-05-21 * stabs.c (aout_process_stab): Make global.Hans-Peter Nilsson6-223/+245
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. * read.h (aout_process_stab): Declare. * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: Generalize to *aout, *coff *elf. * configure: Regenerated. * doc/internals.texi (Object format backend): Say SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
2000-05-21 * gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.Hans-Peter Nilsson2-0/+5
2000-05-21Define LIBIBERTYNick Clifton2-0/+7