aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-01* i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pcMark Kettenis6-46/+69
with sigcontext_addr. Add sc_sp_offset. (i386bsd_sigtramp_saved_pc): Remove prototype. (i386bsd_sicontext_addr): Add prototype. * i386-tdep.c (i386_sigtramp_saved_pc): New function. (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. (i386_svr4_sigtramp_saved_pc): Removed. (i386_svr4_sigcontext_addr): New function. (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr instead. Initialize tdep->sc_pc_offset and tdep->sc_sp_offset. (i386_gdbarch_init): Likewise. * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static any more. (i386bsd_sigtramp_saved_pc): Remove function. (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr instead. Initialize tdep->sc_pc_offset. * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization of tdep->sigtramp_saved_pc. * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr instead.
2002-07-01merge from gccDJ Delorie4-141/+224
2002-07-01include/elf:Jason Thorpe6-7/+37
2002-07-01 Matt Thomas <matt@3am-software.com> * Rename EF_* to EF_VAX_*. bfd: 2002-07-01 Matt Thomas <matt@3am-software.com> * elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_* to EF_VAX_*. binutils: 2002-07-01 Matt Thomas <matt@3am-software.com> * readelf.c: Include "elf/vax.h". (guess_is_rela): Move EM_VAX from unknown to RELA case. (dump_relocations): Handle VAX relocations. (get_machine_flags): Handle VAX machine flags.
2002-07-01* i386-tdep.c (i386_frameless_function_invocation,Mark Kettenis2-20/+33
i386_frame_num_args, i386_frame_init_saved_regs, i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, i386_pop_frame, i386_push_arguments, i386_store_struct_return, i386_extract_return_value, i386_store_return_value, i386_extract_struct_value_address, i386_register_virtual_type, i386_register_convertible, i386_register_convert_to_virtual, i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make static.
2002-07-01 * elfxx-mips.c (ABI_64_P): Fix comment.Thiemo Seufer2-19/+40
(MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the new section names for N64 ABI. (mips_elf_output_extsym): No special _gp_disp handling for NewABI. (mips_elf_calculate_relocation): Code formatting. (mips_elf_create_dynamic_relocation): Likewise. (_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too. (_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI. (_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64 in any NewABI. (_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling for NewABI. (_bfd_mips_elf_modify_segment_map): Handle any N64 ABI. (_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled here, too.
2002-07-01* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.Mark Kettenis2-11/+2
2002-07-01* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.Mark Kettenis3-8/+11
* i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of this macro. Include "value.h".
2002-07-01 * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convertAndreas Schwab2-3/+43
R_X86_64_64 to R_X86_64_RELATIVE.
2002-07-01 * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.Alan Modra2-1/+5
2002-07-01 * vaxbsd.c: New BFD backend for VAX BSD and Ultrix.Alan Modra9-168/+260
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend. Run "make dep-am". * config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of host_aout_vec. * configure.in (vaxbsd_vec): Add. * targets.c (vaxbsd_vec): Add. * Makefile.in: Rebuild. * configure: Rebuild. * po/SRC-POTFILES.in: Rebuild.
2002-07-01 * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.Alan Modra11-45/+72
* ldlang.c (entry_sym): Likewise. (ldlang_undef_chain_list_type): Likewise. (lang_finish): Adjust references to entry_symbol. (lang_add_entry): Likewise. (lang_gc_sections): Use link_info.gc_sym_list. (lang_process): Set link_info.gc_sym_list. * ldlex.l: Include bfdlink.h. * ldmain.c (main): Init link_info.gc_sym_list. * emultempl/aix.em: Adjust references to entry_symbol. * emultempl/armcoff.em: Likewise. * emultempl/armelf.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/ppc64elf.em (ppc_after_open): New function. (LDEMUL_AFTER_OPEN): Define. * emulparams/elf64ppc.sh: KEEP .opd sections.
2002-07-01 * elflink.h (elf_gc_mark): Pass in the section whose relocs we areAlan Modra31-305/+619
examining to gc_mark_hook, rather than the bfd. (elf_gc_sections): Adjust. * elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise. * elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise. * elf32-arm.h (elf32_arm_gc_mark_hook): Likewise. * elf32-avr.c (elf32_avr_gc_mark_hook): Likewise. * elf32-cris.c (cris_elf_gc_mark_hook): Likewise. * elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise. * elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise. * elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise. * elf32-i386.c (elf_i386_gc_mark_hook): Likewise. * elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise. * elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise. * elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise. * elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise. * elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise. * elf32-s390.c (elf_s390_gc_mark_hook): Likewise. * elf32-sh.c (sh_elf_gc_mark_hook): Likewise. * elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise. * elf32-v850.c (v850_elf_gc_mark_hook): Likewise. * elf32-vax.c (elf_vax_gc_mark_hook): Likewise. * elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise. * elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise. * elf64-s390.c (elf_s390_gc_mark_hook): Likewise. * elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise. * elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise. * elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise. * elf32-frv.c (elf32_frv_gc_mark_hook): Likewise. Also remove redundant local sym tests. * elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry. (link_hash_newfunc): Init is_entry. (ppc64_elf_copy_indirect_symbol): Copy is_entry. (ppc64_elf_link_hash_table_create): Init all_local_syms. (create_linkage_sections): Use bfd_make_section_anyway rather than bfd_make_section. (ppc64_elf_mark_entry_syms): New function. (ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab. Set up opd entry to function section map. (ppc64_elf_gc_mark_hook): Special case opd section relocs, and relocs that reference the opd section. (edit_opd): New function. (ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd. (ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here. (get_local_syms): Do so here. Exit if we already have local syms. Remove bogus comment imported from elf32-hppa.c. Don't attempt to read local syms on non-ELF input. (ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather than duplicating it's function here. Adjust free of internal relocs to suit. (ppc64_elf_relocate_section): Adjust local syms in opd section. * elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare. * elf32-hppa.c (elf32_hppa_size_stubs): Call _bfd_elf32_link_read_relocs rather than duplicating it's function here. Adjust free of internal relocs to suit.
2002-07-01 * bfdlink.h (struct bfd_sym_chain): Declare.Alan Modra2-3/+44
(struct bfd_link_info): Add gc_sym_list. Formatting fixes.
2002-07-01 * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocationsAndreas Jaeger2-1/+23
are not allowed in shared libs code, enforce -fPIC.
2002-07-01*** empty log message ***gdbadmin1-1/+1
2002-07-01daily updateAlan Modra1-1/+1
2002-06-30Remove ada-lex.c and ada-exp.tab.c as they are generated filesAidan Skinner3-5563/+5
2002-06-30* config/i386/tm-i386.h (struct frame_info, structMark Kettenis2-6/+4
frame_saved_regs, struct value, struct type): Remove forward declarations.
2002-06-30 * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.Stephane Carrez2-0/+10
2002-06-30* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]Mark Kettenis3-4/+10
(FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] (FILL_FPXREGSET): Define.
2002-06-30* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.Mark Kettenis2-2/+2
2002-06-30* configure.tgt (i[3456]86-*-openbsd*): Fold intoMark Kettenis5-83/+16
i[3456]86-*-netbsd* case. * config/i386/tm-obsd.h: Removed. * config/i386/obsd.mt: Removed. * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and core-aout.o. (MH_CFLAGS): Add -DYYDEBUG=0.
2002-06-30* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET toMark Kettenis2-1/+4
i386nbsd_sc_pc_offset on OpenBSD too.
2002-06-30* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]Mark Kettenis4-15/+36
(IN_SOLIB_CALL_TRAMPOLINE): Remove define. * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove define. * i386bsd-tdep.c: Include "arch-utils.h". (i386bsd_aout_in_solib_call_trampoline): New function. (i386bsd_init_abi): Set in_solib_call_trampoline to i386bsd_aout_in_solib_call_trampoline. (i386nbsdelf_init_abi, i386fbsd_init_abi): Set in_solib_call_trampoline to generic_in_solib_call_trampoline.
2002-06-30*** empty log message ***gdbadmin1-1/+1
2002-06-30daily updateAlan Modra1-1/+1
2002-06-29 * mmo.c (mmo_write_loc_chunk): Don't eliminate leading andHans-Peter Nilsson2-8/+20
trailing zero-sequences when there's previous left-over data.
2002-06-29 * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,Hans-Peter Nilsson6-0/+51
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.
2002-06-29 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.Stephane Carrez2-1/+5
2002-06-29 * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.Stephane Carrez7-0/+45
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. (EEPROM_START_ADDR): Define. (EEPROM_MEMORY): Define. * emulparams/m68hc12elf.sh: Likewise. * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs section to put soft registers in .page0. * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
2002-06-29 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sectionsStephane Carrez2-1/+8
.softregs and .eeprom.
2002-06-292002-06-28 David O'Brien <obrien@FreeBSD.org>David O'Brien2-0/+7
* NEWS: Note the next release is 2.13.
2002-06-29*** empty log message ***gdbadmin1-1/+1
2002-06-29daily updateAlan Modra1-1/+1
2002-06-28* macrotab.h: Do not include "obstack.h" or "bcache.h".Andrew Cagney3-3/+9
(struct obstack, struct bcache): Add opaque declarations. * Makefile.in (macrotab_h): Update
2002-06-28* blockframe.c (generic_find_dummy_frame): Change return type toAndrew Cagney2-19/+43
``struct regcache''. (struct dummy_frame): Replace field ``registers'' with regcache, a struct regcache object. (generic_find_dummy_frame): Update. (generic_push_dummy_frame): Update. Use regcache_xfree, regcache_xmalloc and regcache_cpy. (generic_pop_dummy_frame): Update. Use regcache_cpy and regcache_xfree. (deprecated_generic_find_dummy_frame): Update. (generic_read_register_dummy): Update. Use regcache_read_as_address. (generic_call_dummy_register_unwind): Update. Use regcache_read. (generic_get_saved_register): Update. Use regcache_read.
2002-06-28* Makefile.in (objfiles_h): Add $(bcache_h).Andrew Cagney4-3/+12
* objfiles.h: Include "bcache.h". * Makefile.in (symtab_h): Remove $(bcache_h). * symtab.h: Do not include "bcache.h".
2002-06-28* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid toAndrew Cagney2-0/+7
generic_func_frame_chain_valid.
2002-06-282002-06-28 David O'Brien <obrien@FreeBSD.org>David O'Brien3-0/+13
* config/i386/nm-fbsd.h: Include <sys/param.h>. * config/i386/tm-fbsd.h: Likewise.
2002-06-28* rs6000-tdep.c (rs6000_gdbarch_init): UseAndrew Cagney2-1/+6
generic_unwind_get_saved_register.
2002-06-28daily updateAlan Modra1-1/+1
2002-06-28*** empty log message ***gdbadmin1-1/+1
2002-06-27 * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opdJeff Law2-1/+9
section. Add ${RELOCATING-0}.
2002-06-27 * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.Jeff Law2-1/+35
(elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec and opd_rel_sec in order for starting rela section. Check _raw_size. (elf_backend_reloc_type_class): Define.
2002-06-27From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:Andrew Cagney2-1/+8
* regcache.c (supply_register): Add missing argument to register_buffer call.
2002-06-27* Makefile.in (init.c): Drop -e option to grep. Not necessary andAndrew Cagney2-1/+6
Solaris /bin/grep does not not like it. From Peter Schauer.
2002-06-27* gdbint.texinfo (User Interface): ISO C rather than ISO-C.Andrew Cagney2-4/+10
(Coding): Clarify ISO C version that GDB assumes.
2002-06-272002-06-27 Kevin Buettner <kevinb@redhat.com>Alan Modra2-14/+15
* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit DWARF2 formats.
2002-06-27 * cpu-powerpc.c: Comment on ordering of arch_info.Alan Modra4-1/+62
* elf32-ppc.c (ppc_elf_object_p): New function. (elf_backend_object_p): Define. * elf64-ppc.c (ppc64_elf_object_p): New function. (elf_backend_object_p): Define.
2002-06-27Zap remainder of gdb.threads-hp directory.Andrew Cagney6-961/+31