aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-08-09 * elf-bfd.h (struct elf_backend_data): AddAlan Modra5-156/+501
elf_backend_archive_symbol_lookup. (_bfd_elf_archive_symbol_lookup): Declare. * elflink.c (_bfd_elf_archive_symbol_lookup): New function.. (elf_link_add_archive_symbols): ..extracted from here. Call the backend version. * elfxx-target.h (elf_backend_archive_symbol_lookup): Provide default. (elfNN_bed): Init new field. * elf64-ppc.c (elf_backend_check_directives): Define. (elf_backend_archive_symbol_lookup): Define. (struct ppc_link_hash_table): Add tls_get_add_fd. Make tls_get_add a ppc_link_hash_entry pointer. (get_fdh): Move. (ppc64_elf_archive_symbol_lookup, opd_entry_value): New functions. (add_symbol_adjust, ppc64_elf_check_directives): New functions. (ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, func_desc_adjust, ppc64_elf_adjust_dynamic_symbol, ppc64_elf_tls_setup, ppc64_elf_tls_optimize, allocate_dynrelocs, ppc_type_of_stub, ppc_build_one_stub, ppc64_elf_size_stubs, ppc64_elf_relocate_section, ppc64_elf_finish_dynamic_symbol): Handle branch relocs to function descriptor symbols.
2004-08-09 * mips-tdep.c: Include "floatformat.h".Joel Brobecker2-0/+42
(n32n64_floatformat_always_valid): New function. (floatformat_n32n64_long_double_big): New constant. (mips_gdbarch_init): Set size and format of long double for N32 and N64 ABIs. * Makefile.in (mips-tdep.o): Update dependencies.
2004-08-09 * elf64-ppc.c (struct ppc_link_hash_entry): Expand adjust_done comment.Alan Modra2-12/+31
(ppc64_elf_add_symbol_hook): Test for NULL section. (get_sym_h): Formatting. (ppc64_elf_size_stubs): Include reloc addend in value stored as stub target_value.
2004-08-09 * elf64-ppc.c (ppc64_elf_relocate_section): Combine handling ofAlan Modra2-78/+78
long branch stubs with code handling plt and r2off branch stubs.
2004-08-09bfd/Alan Modra7-68/+100
* elf-bfd.h (_bfd_elf_gc_mark): Declare. * elflink.c (elf_link_input_bfd): Formatting. (_bfd_elf_gc_mark): Rename from elf_gc_mark and make global. Adjust all callers. * elf64-ppc.c (struct ppc_link_hash_entry): Remove is_entry. (link_hash_newfunc): Don't set it. (ppc64_elf_copy_indirect_symbol): Nor copy it. (ppc64_elf_mark_entry_syms): Delete. (ppc64_elf_gc_mark_hook): Mark entry syms here. Also mark opd sections. Use get_opd_info. * elf64-ppc.h (ppc64_elf_mark_entry_syms): Delete. ld/ * emultempl/ppc64elf.em (ppc_after_open): Delete. (LDEMUL_AFTER_OPEN): Don't define.
2004-08-09Lost ChangeLog entry:Nathanael Nerode1-0/+6
2004-08-01 Robert Millan <robertmh@gnu.org> * configure.in: Turn mt-linux into mt-gnu. Use mt-gnu and enable libmudflap for all GNU-based systems (with Glibc). * configure: Regenerate.
2004-08-09 * elf64-ppc.c (adjust_opd_syms): Fix merge error.Alan Modra2-1/+2
2004-08-09 * elf64-ppc.c (struct ppc_link_hash_table): Remove have_undefweak.Alan Modra2-36/+14
(func_desc_adjust): Don't set have_undefweak. (ppc64_elf_func_desc_adjust): Don't add an extr nop to sfpr. (ppc64_elf_relocate_section): NOP out calls to undefweak functions.
2004-08-09 * elf64-ppc.c (struct ppc_link_hash_entry): Make "oh" aAlan Modra2-34/+41
"struct ppc_link_hash_entry *". Adjust all references. (ppc64_elf_hide_symbol): Correct a comment.
2004-08-09 * elf64-ppc.c (get_opd_info): New function.Alan Modra2-36/+68
(adjust_opd_syms): Use get_opd_info. Define removed symbols as zero. (ppc64_elf_edit_opd): Use get_opd_info. Check that sym has a dot before calling get_fdh. Test fdh rather than h before dereferencing fdh. Mark removed symbols in opd_adjust. (ppc64_elf_tls_optimize): Don't bother with opd adjustment here. (ppc64_elf_relocate_section): Use get_opd_info, and handle removed opd symbols. (ppc64_elf_output_symbol_hook): Likewise.
2004-08-09daily updateAlan Modra1-1/+1
2004-08-09*** empty log message ***gdbadmin1-1/+1
2004-08-08 PR gdb/1736Daniel Jacobowitz2-7/+28
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL for i?86-*-linux*.
2004-08-08 * gdb.arch/i386-prologue.exp: Compile without debug information.Daniel Jacobowitz2-1/+7
2004-08-082004-08-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-99/+90
* gdbarch.sh: Delete "fmt" and "attrib" fields. Always use %s to print. Improve script's error messages. * gdbarch.h: Re-generate.
2004-08-082004-08-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-99/+125
* gdbarch.sh (pformat): New function. (float_format, double_format, long_double_format): List with bit members. Use pformat when printing. * gdbarch.c, gdbarch.h: Re-generate.
2004-08-08 * ppcnbsd-nat.c: Include <machine/frame.h>, <machine/pcb.h>,Nathan J. Williams4-3/+62
"gdbcore.h", "regcache.h", and "bsd-kvm.h". (ppcnbsd_supply_pcb): New function. (_initialize_ppcnbsd_nat): New prototype and function. * config/powerpc/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. (LOADLIBES): New variable. * Makefile.in (ppcnbsd-nat.o): Update dependencies.
2004-08-082004-08-08 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-0/+98
* gdbtypes.c (builtin_type_arm_ext, builtin_type_ieee_single) (builtin_type_ieee_double, builtin_type_ia64_quad) (builtin_type_ia64_spill, _initialize_gdbtypes): Add tables of BE/LE floating-point types. * gdbtypes.h (builtin_type_arm_ext, builtin_type_ieee_single) (builtin_type_ieee_double, builtin_type_ia64_quad) (builtin_type_ia64_spill): Declare. * doublest.c (_initialize_doublest, floatformat_ieee_single) (floatformat_ieee_double, floatformat_arm_ext) (floatformat_ia64_spill, floatformat_ia64_quad): Add tables of LE/BE floatformats. * doublest.h: (struct floatformat, floatformat_ieee_single) (floatformat_ieee_double, floatformat_arm_ext) (floatformat_ia64_spill, floatformat_ia64_quad): Declare.
2004-08-082004-08-08 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-56/+102
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl rather than asking gdb to search.
2004-08-08* i386gnu-nat.c (gnu_store_registers): Fix typo.Mark Kettenis2-1/+3
2004-08-08* i386gnu-nat.c (gnu_store_registers): Use regcache_raw_collectMark Kettenis2-2/+5
instead of regcache_raw_supply when storing the registers.
2004-08-08* i386gnu-nat.c: Update copyright year.Mark Kettenis2-12/+13
(gnu_store_registers): Don't use deprecated_registers and deprecated_registers_valid. Use regcache_valid_p and regcache_raw_supply instead.
2004-08-08* vax-tdep.c (vax_frame_this_id): Use frame_func_unwind instead ofMark Kettenis2-1/+4
frame_pc_unwind.
2004-08-08* procfs.c (procfs_pid_to_str): Remove redundant and unusedMark Kettenis2-16/+9
variables. Incapitalized "process".
2004-08-08daily updateAlan Modra1-1/+1
2004-08-08*** empty log message ***gdbadmin1-1/+1
2004-08-07* configure.in: Add cursesX to the list of possible curses libs.Mark Kettenis4-192/+239
Add cursesX.h to the list of possible curses headers. * configure, config.in: Regenerate.
2004-08-07 * configure.in: Test for struct lwp in <sys/lwp.h>Nathan J. Williams3-0/+20
* bsd-kvm.c (bsd_kvm_proc_cmd): If HAVE_STRUCT_LWP is defined, use the offset of l_addr in struct lwp.
2004-08-07 * bsd-kvm.c: Include "gdbcore.h"Nathan J. Williams2-0/+7
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-25/+49
* gdbtypes.c (build_flt, build_complex): New functions. (gdbtypes_post_init): Use.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+3
* doublest.c (floatformat_from_length): Fix tipo, "*" not "&".
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-10/+3
* gdbtypes.c (_initialize_gdbtypes): Do not swap builtin_type_int8 through to builtin_type_uint128.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-53/+55
* c-exp.y: Use builtin_type function to obtain builtin types.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-109/+56
* gdbtypes.h (struct builtin_type): Delete builtin_int0 through to builtin_uint128. * gdbtypes.c (gdbtypes_post_init): Update. (build_gdbtypes): Move initialization of builtin_type_int0 through to builtin_type_uint128 from here ... (_initialize_gdbtypes): ... to here. * d10v-tdep.c (d10v_register_type): Update.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-23/+22
* doublest.c: Update copyright. (floatformat_from_length): Call error when floatformat is NULL. (extract_floating_by_length): Remove NULL fmt check. (store_floating_by_length): Ditto.
2004-08-072004-08-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-0/+13
* regcache.c (regcache_raw_read): For the moment, #ifdef assert that the register is valid.
2004-08-07daily updateAlan Modra1-1/+1
2004-08-07*** empty log message ***gdbadmin1-1/+1
2004-08-06* i386-linux-tdep.c (i386_linux_sigtramp_start)Mark Kettenis2-14/+25
(i386_linux_rt_sigtramp_start): Change argument from CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. (i386_linux_sigtramp_p, i386_linux_sigcontext_addr): Adjust for changed signature of i386_linux_sigtramp_start and i386_linux_rt_sigtramp_start.
2004-08-06* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Change argument fromMark Kettenis2-5/+12
CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. (i386nbsd_sigtramp_p): Adjust for changed signature of i386nbsd_sigtramp_offset.
2004-08-06* i386obsd-tdep.c (i386obsd_sigtramp_p): UseMark Kettenis2-5/+9
safe_frame_unwind_memory instead of target_read_memory.
2004-08-06* infptrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead ofMark Kettenis6-43/+21
!NO_SYS_FILE. [KERNEL_U_ADDR_BSD]: Don't include <a.out.h>. [KERNEL_U_ADDR_BSD] (kernel_u_addr): Remove variable. (_initialize_kernel_u_addr): Remove prototype and function. * infttrace.c: Include <sys/file.h> if HAVE_SYS_FILE_H instead of !NO_SYS_FILE. * xcoffread.c: Likewise.
2004-08-06* vax-nat.c: New file.Mark Kettenis11-75/+146
* vaxbsd-nat.c: Tweak comment. * Makefile.in (ALLDEPFILES): Add vax-nat.c, vaxbsd-nat.c and vaxnbsd-tdep.c. (vax-nat.o): New dependency. * configure.host (vax-*-bsd*, vax-*-ultrix*): Set gdb_host to vax. (vax-*-ultrix2*): Remove. * config/vax/vax.mh: New file. * config/vax/nm-vax.h (vax_kernel_u_addr): New extern declaration. (KERNEL_U_ADDR): Define as vax_kernel_u_addr. (vax_register_u_addr): New prototype. (REGISTER_U_ADDR): Define using vax_register_u_addr. * config/vax/vaxult2.mh: Remove file. * config/vax/vaxult.mh: Remove file. * config/vax/vaxbsd.mh: Remove file. * config/vax/vax.mt (TM_FILE): Remove. * config/vax/tm-vaxbsd.h: Remove file.
2004-08-06 * aix-thread.c (get_signaled_thread): New function.Joel Brobecker2-20/+48
(iter_trap): Delete, no longer used. (iter_tid): New function. (pd_update): Find the thread that received the SIGTRAP signal by first locating the kernel thread, and then finding its associated thread.
2004-08-06bfd/Paul Brook11-9/+158
* elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations. (elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. * reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. * bfd-in2.h, bbfd.h: Regenerate. gas/ * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc): Handle new relocations. * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations. gas/testsuite/ * gas/arm/pic.s,d: Test RELABS and SBREL relocations.
2004-08-06merge from gccDJ Delorie2-3/+8
2004-08-06 * lin-lwp.c (child_wait): Continue inferior after processingUlrich Weigand2-0/+6
PTRACE_EVENT_CLONE event.
2004-08-06 * readelf.c (dump_relocations): Fix typo when calculatingAndreas Schwab2-1/+6
sec_index.
2004-08-062004-08-06 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini4-230/+853
* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module. (bison, byacc, flex, texinfo): Do not mark as bootstrap module. (Dependencies): New section. * Makefile.tpl (Dependencies): Generate from Makefile.def. (configure-target-[+module+]): Depend on maybe-all-gcc (all-prebootstrap): New name of all-bootstrap. Changed throughout. (toplevel profiledbootstrap): Fix dependencies. * Makefile.in: Regenerate.
2004-08-06daily updateAlan Modra1-1/+1