Mark Kettenis [Sun, 19 Dec 2004 21:09:40 +0000 (21:09 +0000)]
* hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,
HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM.
* hppa-tdep.c (hppa64_integral_or_pointer_p)
(hppa64_floating_p) New functions.
(hppa64_push_dummy_call): Re-implement.
(hppa32_register_type): Rename argument reg_nr to regnum.
(hppa64_register_type): Likewise. Use HPPA64_FP4_REGNUM instead
of HPPA_FP4_REGNUM.
(hppa32_cannot_store_register): Renamed from
hppa_cannot_store_register.
(hppa64_cannot_store_register): New function.
(hppa_gdbarch_init): Set cannot_store_register and
cannot_fetch_register to hppa32_cannot_store_register or
hppa64_cannot_store_register when appropriate.
gdbadmin [Sun, 19 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 18 Dec 2004 23:00:11 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 18 Dec 2004 17:36:33 +0000 (17:36 +0000)]
* hppah-nat.c: Remove file.
* infttrace.h: Remove file.
* infttrace.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove hppah-nat.c
(infttrace_h): Remove variable.
(hppah-nat.o, infttrace.o): Remove dependencies.
* configure.host (hppa*64*-*-hpux11*): Remove.
* config/pa/hpux11w.mh: Remove file.
* config/pa/nm-hppah.h: Remove file.
* config/pa/nm-hppah11.h: Remove file.
DJ Delorie [Sat, 18 Dec 2004 17:19:27 +0000 (17:19 +0000)]
merge from gcc
H.J. Lu [Sat, 18 Dec 2004 16:46:03 +0000 (16:46 +0000)]
2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".
* aclocal.m4: Include ../libtool.m4.
* config.table: Don't check --enable-shared.
* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.
* maint-tool: Updated for .lo/libtool.
Mark Kettenis [Sat, 18 Dec 2004 14:53:39 +0000 (14:53 +0000)]
* config/djgpp/fnchange.lst: Resolve name clash between
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and
i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c,
testsuite/gdb.base/bitfields.c and
testsuite/gdb.base/bitfields2.c, testsuite/gdb.base/bitfields.exp
and testsuite/gdb.base/bitfields2.exp. Remove entry for
config/m88k/xm-delta88v4.h.
Mark Kettenis [Sat, 18 Dec 2004 14:27:57 +0000 (14:27 +0000)]
* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
PA_SOM_ONLY isn't defined.
Mark Kettenis [Sat, 18 Dec 2004 14:21:09 +0000 (14:21 +0000)]
* somread.c: Include "solib-som.h".
(som_symfile_init, som_new_init, som_symfile_read,
som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove
redudant prototypes.
* Makefile.in (somread.o): Update dependencies.
gdbadmin [Sat, 18 Dec 2004 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 17 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Jim Blandy [Fri, 17 Dec 2004 22:19:51 +0000 (22:19 +0000)]
* remote.c (fetch_register_using_p): Indentation cleanup.
Randolph Chung [Fri, 17 Dec 2004 19:21:20 +0000 (19:21 +0000)]
2004-12-17 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (setup_d_pid_in_inferior): Make static.
(find_stub_with_shl_get): Make static.
Randolph Chung [Fri, 17 Dec 2004 19:09:53 +0000 (19:09 +0000)]
2004-12-17 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (IS_32BIT_TARGET): New.
(in_opd_section): New.
(hppa32_hpux_find_global_pointer): Rename from
hppa_hpux_som_find_global_pointer.
(hppa64_hpux_find_global_pointer): New.
(ldsid_pattern): New.
(hppa_hpux_search_pattern): New.
(hppa32_hpux_search_dummy_call_sequence): New.
(hppa64_hpux_search_dummy_call_sequence): New.
(hppa_hpux_find_import_stub_for_addr): New.
(hppa_hpux_sr_for_addr): New.
(hppa_hpux_find_dummy_bpaddr): New.
(hppa_hpux_init_abi): Use IS_32BIT_TARGET predicate.
(hppa_hpux_som_init_abi): Set find_global_pointer method to
hppa32_hpux_find_global_pointer instead of
hppa_hpux_som_find_global_pointer.
(hppa_hpux_elf_init_abi): Set find_global_pointer method.
* hppa-tdep.c (hppa_init_objfile_priv_data): New.
(read_unwind_info): Use function to initialize objfile-private data.
(hppa32_push_dummy_call): Don't automatically set the RP if there is
a push_dummy_code method.
(hppa64_push_dummy_call): Retrieve and set the global pointer.
Don't automatically set the RP if there is a push_dummy_code method.
* hppa-tdep.h (hppa_objfile_private): Add dummy_call_sequence_reg and
dummy_call_sequence_addr members.
(hppa_init_objfile_priv_data): New prototype.
Jakub Jelinek [Fri, 17 Dec 2004 15:50:02 +0000 (15:50 +0000)]
* ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
* ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
* ldlang.c (lang_size_sections): Use them to avoid wasting virtual
address space at DATA_SEGMENT_ALIGN. Fix computation of expected
PT_GNU_RELRO segment end.
Joern Rennecke [Fri, 17 Dec 2004 12:47:44 +0000 (12:47 +0000)]
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.
* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.
Joel Brobecker [Fri, 17 Dec 2004 07:42:48 +0000 (07:42 +0000)]
* hppa-tdep.c (hppa_lookup_stub_minimal_symbol): New function.
* hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Add declaration.
* solib-som.c (som_solib_create_inferior_hook): Replace stub
msymbol search by call to hppa_lookup_stub_minimal_symbol. This
extends the search to all objfiles, not just shared libraries.
Remove unused variable.
gdbadmin [Fri, 17 Dec 2004 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Thu, 16 Dec 2004 23:53:12 +0000 (23:53 +0000)]
2004-12-16 Michael Snyder <msnyder@redhat.com>
* MAINTAINERS: Add myself as maintainer for mn10300.
* NEWS: Mention mn10300.
Alan Modra [Thu, 16 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Joern Rennecke [Thu, 16 Dec 2004 19:51:28 +0000 (19:51 +0000)]
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
* configure.in (sh64-*-*): Reenable gprof.
* configure: Regenerate.
Joern Rennecke [Thu, 16 Dec 2004 18:23:24 +0000 (18:23 +0000)]
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.
Joern Rennecke [Thu, 16 Dec 2004 18:17:04 +0000 (18:17 +0000)]
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.
Richard Sandiford [Thu, 16 Dec 2004 16:56:04 +0000 (16:56 +0000)]
include/elf/
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.
bfd/
* reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type.
* elf32-v850.c (v850_elf_howto_table): Add entry for
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET.
(v850_elf_perform_lo16_relocation): New function, extracted from...
(v850_elf_perform_relocation): ...here. Use it to handle
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_check_relocs, v850_elf_final_link_relocate): Handle
R_V850_LO16_SPLIT_OFFSET.
* libbfd.h, bfd-in2.h: Regenerate.
gas/
* config/tc-v850.c (handle_lo16): New function.
(v850_reloc_prefix): Use it to check lo().
(md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
gas/testsuite/
* gas/v850/split-lo16.{s,d}: New test.
* gas/v850/v850.exp: Run it.
ld/testsuite/
* ld-v850: New directory.
Nick Clifton [Thu, 16 Dec 2004 16:02:59 +0000 (16:02 +0000)]
Add support for s390x-ibm-tpf target
Nick Clifton [Thu, 16 Dec 2004 15:40:36 +0000 (15:40 +0000)]
* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.
Jan Beulich [Thu, 16 Dec 2004 13:23:22 +0000 (13:23 +0000)]
gas/
2004-12-15 Jan Beulich <jbeulich@novell.com>
* config/obj-elf.c (obj_elf_change_section): Only set type and
attributes on new sections. Emit warning when type of re-declared
section doesn't match.
gas/testsuite/
2004-12-15 Jan Beulich <jbeulich@novell.com>
* gas/elf/section5.[els]: New.
Jan Beulich [Thu, 16 Dec 2004 13:16:33 +0000 (13:16 +0000)]
binutils/
2004-12-15 Jan Beulich <jbeulich@novell.com>
* doc/binutils.texi: Document --strip-unneeded-symbol and
--strip-unneeded-symbols.
* objcopy.c (strip_unneeded_list): New.
(enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
and OPTION_STRIP_UNNEEDED_SYMBOLS.
(copy_options): Add --strip-unneeded-symbol and
--strip-unneeded-symbols.
(copy_usage): Likewise.
(filter_symbols): Suppress copying of symbol if in strip_unneeded_list
and the symbol is not needed.
(copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
OPTION_STRIP_UNNEEDED_SYMBOLS.
Jan Beulich [Thu, 16 Dec 2004 08:57:23 +0000 (08:57 +0000)]
gas/
2004-12-15 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
'.cfi_startproc simple' doesn't inherit the old value.
Jan Beulich [Thu, 16 Dec 2004 08:53:43 +0000 (08:53 +0000)]
gas/
2004-12-15 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
generation to emit a factored offset.
gdbadmin [Thu, 16 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 15 Dec 2004 23:00:13 +0000 (23:00 +0000)]
daily update
Kevin Buettner [Wed, 15 Dec 2004 22:45:39 +0000 (22:45 +0000)]
* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
frame cache.
Jim Blandy [Wed, 15 Dec 2004 18:28:54 +0000 (18:28 +0000)]
* gdb.threads/linux-dp.exp: Fix output regexp to handle output
under NPTL when there is debugging info available for libpthread.
Hans-Peter Nilsson [Wed, 15 Dec 2004 01:26:40 +0000 (01:26 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_truncate>
<case CB_SYS_ftruncate>: New cases.
Hans-Peter Nilsson [Wed, 15 Dec 2004 01:24:15 +0000 (01:24 +0000)]
* callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.
gdbadmin [Wed, 15 Dec 2004 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 14 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Svein Seldal [Tue, 14 Dec 2004 22:30:28 +0000 (22:30 +0000)]
Added printing of symbols on AVR disasm
Svein Seldal [Tue, 14 Dec 2004 22:27:05 +0000 (22:27 +0000)]
Added printing of symbols on AVR disasm
Randolph Chung [Tue, 14 Dec 2004 16:35:37 +0000 (16:35 +0000)]
2004-12-14 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_in_function_epilogue_p): New function.
(hppa_gdbarch_init): Set in_epilogue_p method.
Corinna Vinschen [Tue, 14 Dec 2004 15:40:17 +0000 (15:40 +0000)]
* sh-tdep.c (sh_extract_return_value_nofpu): Rename from
sh_default_extract_return_value.
(sh_extract_return_value_fpu): Rename from
sh3e_sh4_extract_return_value.
(sh_store_return_value_nofpu): Rename from
sh_default_store_return_value.
(sh_store_return_value_fpu): Rename from sh3e_sh4_store_return_value.
(sh_return_value_nofpu): Accomodate above changes.
(sh_return_value_fpu): Ditto.
Tomer Levi [Tue, 14 Dec 2004 15:38:04 +0000 (15:38 +0000)]
2004-12-14 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *'
to prototype, to make hash info available.
Prevent wrapped symbols from being adjusted twice.
Tomer Levi [Tue, 14 Dec 2004 15:36:23 +0000 (15:36 +0000)]
2004-12-14 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' to prototype, to make hash info available.
Prevent wrapped symbols from being adjusted twice.
Richard Sandiford [Tue, 14 Dec 2004 09:48:20 +0000 (09:48 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Don't report an
overflow for calls to undefined weak symbols.
gdbadmin [Tue, 14 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 13 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Jerome Guitton [Mon, 13 Dec 2004 16:04:20 +0000 (16:04 +0000)]
* gdb.ada/fixed_points.c: New file.
* gdb.ada/fixed_points.exp: New file.
Jerome Guitton [Mon, 13 Dec 2004 15:56:47 +0000 (15:56 +0000)]
* stabsread.c (read_huge_number): Add support for reading octal
signed number in twos complement, based on the size of this
number.
(read_range_type): Add support for reading octal signed bounds
in twos complements, based on the size of the type.
(read_type_number, read_cpp_abbrev, read_member_functions,
read_cpp_abbrev, read_one_struct_field, read_baseclasses,
read_struct_type, read_array_type, read_enum_type,
read_sun_builtin_type, read_sun_floating_type): Update calls to
read_huge_number.
(read_type): Update call to read_range_type.
Richard Sandiford [Mon, 13 Dec 2004 13:09:55 +0000 (13:09 +0000)]
* ld-mips-elf/mips-elf.exp: Only run jalbal if n32 is supported.
Richard Sandiford [Mon, 13 Dec 2004 13:02:10 +0000 (13:02 +0000)]
* gas/mips/elf-rel25.d, gas/mips/elf-rel25a.d: Cope with different
.text alignments.
Randolph Chung [Mon, 13 Dec 2004 08:47:07 +0000 (08:47 +0000)]
2004-12-13 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
solib_get_solib_by_pc method through target vector.
(hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc
method through target vector.
Randolph Chung [Mon, 13 Dec 2004 08:43:17 +0000 (08:43 +0000)]
2004-12-13 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
solib_get_solib_by_pc method through target vector.
Joel Brobecker [Mon, 13 Dec 2004 05:10:16 +0000 (05:10 +0000)]
Correct date in last entry.
Joel Brobecker [Mon, 13 Dec 2004 05:07:23 +0000 (05:07 +0000)]
* alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Change
parameter name to make it clear that we already have a next
frame. Return the sigcontext from that next frame instead
of the frame following it.
Randolph Chung [Mon, 13 Dec 2004 04:06:16 +0000 (04:06 +0000)]
2004-12-13 Randolph Chung <tausq@debian.org>
* Makefile.in (pa64solib_h, somsolib_h): Delete.
(solib_pa64_h, solib_som_h): New.
(HFILES_NO_SRCDIR, ALLDEPFILES): Replace somsolib.h with solib-som.h.
(hppa-hpux-tdep.o, hpread.o): Update dependencies.
(pa64solib.o, somsolib.o): Delete.
(solib-pa64.o, solib-som.o): New.
* hppa-hpux-tdep.c: Include new solib interfaces.
(hppa_hpux_som_init_abi): Attach to SOM solib interface.
(hppa_hpux_elf_init_abi): Attach to PA64 ELF solib interface.
* hppa-tdep.c (internalize_unwinds): If solib_get_text_base method
is available, use it to determine the base of unwind records.
* hppa-tdep.h (gdbarch_tdep): Add new solib methods.
* hpread.c: Replace somsolib.h with solib-som.h.
(hpread_process_one_debug_symbol): Use target vector to get thread
start address.
* config/pa/hppa64.mt (TDEPFILES): Use new solib interface.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
* config/pa/hpux.mh (NATDEPFILES): Delete references to target objects.
* config/pa/tm-hppah.h: Use new solib interface.
Randolph Chung [Mon, 13 Dec 2004 03:38:23 +0000 (03:38 +0000)]
2004-12-13 Randolph Chung <tausq@debian.org>
* tramp-frame.c (tramp_frame_sniffer): Allow frames with names or
sections to be trampolines too.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:46:42 +0000 (00:46 +0000)]
Correct last mispasted entry
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:46:05 +0000 (00:46 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_rename>: New case.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:43:59 +0000 (00:43 +0000)]
Correct attribution last changes
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:42:49 +0000 (00:42 +0000)]
* callback.h (CB_SYS_rename): New macro.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:38:38 +0000 (00:38 +0000)]
* syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
* callback.c (os_lstat): New function.
Hans-Peter Nilsson [Mon, 13 Dec 2004 00:35:29 +0000 (00:35 +0000)]
* callback.h (struct host_callback_struct): New member lstat.
(CB_SYS_lstat): New macro.
gdbadmin [Mon, 13 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 12 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update
Ben Elliston [Sun, 12 Dec 2004 21:48:55 +0000 (21:48 +0000)]
* f-exp.y (typename): Remove unused nonterminal.
(name): Likewise.
Andrew Cagney [Sun, 12 Dec 2004 17:06:26 +0000 (17:06 +0000)]
2004-11-27 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Committed by Andrw Cagney.
* abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n
markup.
Andrew Cagney [Sun, 12 Dec 2004 16:26:17 +0000 (16:26 +0000)]
2004-12-12 Andrew Cagney <cagney@gnu.org>
* frame.c (get_prev_frame): When unwinding normal frames, check
that the PC isn't zero.
* hppa-tdep.c (hppa_stub_frame_unwind_cache): Delete check for a
zero PC.
Andrew Cagney [Sun, 12 Dec 2004 15:31:36 +0000 (15:31 +0000)]
2004-12-12 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Reword description of what "Target Instruction Set
Architectures" covers.
Mark Kettenis [Sun, 12 Dec 2004 13:51:55 +0000 (13:51 +0000)]
* hppa-hpux-nat.c (hppa_hpux_child_can_run): Tweak comment.
gdbadmin [Sun, 12 Dec 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sat, 11 Dec 2004 23:04:58 +0000 (23:04 +0000)]
* hppa-hpux-nat.c (ss_mpsfu_high): Remove define.
(hppa_hpux_save_state_offset): New function, replacing variable
with the same name.
(hppa_cannot_fetch_register, hppa_cannot_store_register): Remove
functions.
(hppa_hpux_fetch_register): Don't call hppa_cannot_fetch_register.
Use new hppa_hpux_save_state_offset function. Add special
handling for handling 64-bit "flags" register.
(hppa_hpux_store_register): Likewise.
(hppa_hpux_child_can_run): Tweak comment.
Alan Modra [Sat, 11 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 11 Dec 2004 21:53:58 +0000 (21:53 +0000)]
* inf-ttrace.c (inf_ttrace_him): Set TTEVT_BPT_SSTEP if available.
(inf_ttrace_attach): Likewise.
(inf_ttrace_resume_callback): New function.
(inf_ttrace_resume): Don't use TT_PROC_CONTINUE. Iterate over all
lwps and call inf_ttrace_resume_callback instead.
(inf_ttrace_wait): Handle TTEVT_BPT_SSTEP.
Mark Kettenis [Sat, 11 Dec 2004 16:49:26 +0000 (16:49 +0000)]
* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
Mark Kettenis [Sat, 11 Dec 2004 16:44:23 +0000 (16:44 +0000)]
Wrap long line.
Alan Modra [Sat, 11 Dec 2004 04:32:37 +0000 (04:32 +0000)]
bfd/
* elfcode.h (elf_slurp_symbol_table): Use bfd_elf_sym_name so that
canonical sections syms have a name.
gas/testsuite/
Update for changed section syms.
ld/testsuite/
Update for changed section syms.
Alan Modra [Sat, 11 Dec 2004 03:56:43 +0000 (03:56 +0000)]
* elf64-ppc.c (opd_entry_value): Don't use cached relocs if they
have been adjusted for output.
(ppc64_elf_relocate_section): Mark sections with reloc_done.
Ian Lance Taylor [Sat, 11 Dec 2004 03:41:31 +0000 (03:41 +0000)]
* config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
which is too large in the case of NO_PIC without 64-bit
addresses.
Michael Snyder [Sat, 11 Dec 2004 02:02:01 +0000 (02:02 +0000)]
2004-12-10 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c: New file. This is a re-implementation of
the mn10300 target back-end using the new frame api etc.
* mn10300-tdep.h: New file.
* config/mn10300/mn10300.mt: New file (or replace old file).
* configure.tgt: Add mn10300 target.
gdbadmin [Sat, 11 Dec 2004 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 10 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Fri, 10 Dec 2004 22:04:41 +0000 (22:04 +0000)]
merge from gcc
Mark Kettenis [Fri, 10 Dec 2004 20:06:31 +0000 (20:06 +0000)]
* configure.host (hppa*-*-hpux11*): Remove.
* config/pa/hpux11.mh: Remove file.
Ian Lance Taylor [Fri, 10 Dec 2004 19:48:42 +0000 (19:48 +0000)]
* gas/mips/elf-rel23a.d: New test.
* gas/mips/elf-rel23b.d: New test.
* gas/mips/elf-rel25.s: New test.
* gas/mips/elf-rel25.d: New test.
* gas/mips/elf-rel25a.d: New test.
* gas/mips/mips.exp: Run new tests.
Ian Lance Taylor [Fri, 10 Dec 2004 19:48:21 +0000 (19:48 +0000)]
* config/tc-mips.c (mips_in_shared): New static variable.
(macro_build_lui): Permit "_gp" if !mips_in_shared.
(md_longopts): Add -mshared and -mno-shared.
(md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
(s_cpload): Implement !mips_in_shared case.
(s_cpsetup): Likewise.
* doc/c-mips.texi (MIPS Opts): Document -mno-shared.
* NEWS: Mention -mno-shared.
Mark Kettenis [Fri, 10 Dec 2004 15:48:21 +0000 (15:48 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Fix
typo.
Alan Modra [Fri, 10 Dec 2004 14:04:58 +0000 (14:04 +0000)]
* elf.c (bfd_elf_sym_name): Add symtab_hdr param.
(group_signature): Update call.
* elf-bfd.h (bfd_elf_sym_name): Update.
* elf32-ppc.c (ppc_elf_relocate_section): Update.
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
(ppc64_elf_relocate_section): Update
* elflink.c (elf_link_input_bfd): Update.
Kris Warkentin [Fri, 10 Dec 2004 13:38:23 +0000 (13:38 +0000)]
* nto-tdep.h: Include osabi.h. Prototypes for generic Neutrino
osabi sniffer, signal handling initializer, 'in_dynsym_resolve_code'
function and nto_set_target function.
(struct nto_target_ops): Put comments inline with struct. Add osabi
sniffer hook. Redefine macros to permit testing/assignment. Remove
nto_ prefix from members.
* nto-tdep.c (nto_find_and_open_solib): Allocate all buffers
dynamically to support arbitrary root paths. Check for basename of
lib in search path and then check for absolute.
(nto_in_dynsym_resolve_code): New function.
(nto_core_sniffer): New function.
(regset_core_fns): Register core sniffer.
(nto_initialize_signals): New function.
(_initialize_nto_tdep): Move signal initialization code to above to
avoid initialization race conditions.
(nto_set_target): New function.
* nto-procfs.c: Minor formatting/indenting changes.
(procfs_is_nto_target): New function.
(procfs_open): Set nto_is_nto_target.
(_initialize_procfs): Ditto. Remove notice_signals() call to avoid
initialization race conditions.
(procfs_create_inferior): Resume inferior after creation.
* i386-nto-tdep.c: Declare i386_nto_target.
(init_i386nto_ops): Initialize i386_nto_target instead of
current_nto_target.
(i386nto_init_abi): Initialize signals. Call nto_set_target. Set
TARGET_SO_IN_DYNSYM_RESOLVE_CODE.
(_initialize_i386nto_tdep): Call init_i386nto_ops. Register osabi sniffer.
Alan Modra [Fri, 10 Dec 2004 13:18:40 +0000 (13:18 +0000)]
* elf.c (bfd_elf_sym_name): Rename from bfd_elf_local_sym_name.
(group_signature): Update calls.
* elf-bfd.h (bfd_elf_sym_name): Update.
* elf32-ppc.c (ppc_elf_relocate_section): Update.
* elf64-ppc.c (ppc64_elf_edit_opd, ppc64_elf_edit_toc)
(ppc64_elf_relocate_section): Update
* elflink.c (elf_link_input_bfd): Update.
Jakub Jelinek [Fri, 10 Dec 2004 13:08:03 +0000 (13:08 +0000)]
* elf.c (bfd_elf_local_sym_name): Avoid crashes with invalid
st_shndx on STT_SECTION sections.
Mark Kettenis [Fri, 10 Dec 2004 10:45:33 +0000 (10:45 +0000)]
* hppa-hpux-tdep.c (child_enable_exception_callback): Use XMALLOC.
(hppa_hpux_sigtramp_frame_unwind_cache): Use ARRAY_SIZE.
(hppa_hpux_init_abi): Reformat long line.
Mark Kettenis [Fri, 10 Dec 2004 09:42:10 +0000 (09:42 +0000)]
* hppa-hpux-tdep.c: Include "regset.h".
(HPPA_HPUX_SS_WIDEREGS, HPPA_HPUX_SS_FLAGS_OFFSET)
(HPPA_HPUX_SS_NARROW_OFFSET, HPPA_HPUX_SS_FPBLOCK_OFFSET)
(HPPA_HPUX_SS_WIDE_OFFSET, HPPA_HPUX_SAVE_STATE_SIZE)
(HPPA_HPUX_PA89_SAVE_STATE_SIZE): New defines.
(hppa_hpux_supply_ss_narrow, hppa_hpux_supply_ss_fpblock)
(hppa_hpux_supply_ss_wide, hppa_hpux_supply_save_state): New
functions.
(hppa_hpux_regset): New variable.
(hppa_hpux_regset_from_core_section): New function.
(hppa_hpux_init_abi): Set regset_from_core_section.
(hppa_hpux_core_osabi_sniffer): New function.
(_initialize_hppa_hpux_tdep): Register
hppa_hpux_core_osabi_sniffer.
* Makefile.in (hppa-hpux-tdep.o): Update dependencies.
* config/pa/hppahpux.mt (TDEPFILES): Add corelow.o.
gdbadmin [Fri, 10 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 9 Dec 2004 23:00:24 +0000 (23:00 +0000)]
daily update
Jim Blandy [Thu, 9 Dec 2004 21:59:14 +0000 (21:59 +0000)]
* MAINTAINERS: List 'depcomp' as part of automake.
Paul Brook [Thu, 9 Dec 2004 20:25:24 +0000 (20:25 +0000)]
* config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
for function start.
* testsuite/gas/arm/unwind.d: Expect R_ARM_PREL31 relocations.
Randolph Chung [Thu, 9 Dec 2004 17:58:04 +0000 (17:58 +0000)]
2004-12-09 Randolph Chung <tausq@debian.org>
* solib-pa64.c (pa64_relocate_section_addresses): Properly relocate
text and data sections.
(pa64_current_sos): Also include the dld in the list of current shared
objects.
(pa64_solib_get_solib_by_pc): Update comments.
(pa64_solib_get_text_base): New function.
(pa64_solib_select): Set solib_get_text_base method.
Daniel Jacobowitz [Thu, 9 Dec 2004 16:17:42 +0000 (16:17 +0000)]
* elfcode.h (elf_slurp_reloc_table_from_section): Don't canonicalize
ELF section symbols.
Ian Lance Taylor [Thu, 9 Dec 2004 15:51:32 +0000 (15:51 +0000)]
* config/tc-mips.c (append_insn): If we emit a nop during a relax
sequence, increase the size of the sequence.