gdbadmin [Tue, 4 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 3 Jan 2005 23:25:19 +0000 (23:25 +0000)]
2005.
Alan Modra [Mon, 3 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Mon, 3 Jan 2005 15:34:19 +0000 (15:34 +0000)]
* Makefile.in (hw_com.o, hw_eeprom.o): Depend on
$(DEVICE_TABLE_H).
Paolo Bonzini [Mon, 3 Jan 2005 14:02:25 +0000 (14:02 +0000)]
2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.
gdbadmin [Mon, 3 Jan 2005 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 2 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 2 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 1 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Sat, 1 Jan 2005 12:28:21 +0000 (12:28 +0000)]
* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
in register number for addil instruction.
gdbadmin [Sat, 1 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 31 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Paul Brook [Fri, 31 Dec 2004 16:22:25 +0000 (16:22 +0000)]
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
Alan Modra [Fri, 31 Dec 2004 00:43:58 +0000 (00:43 +0000)]
* reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Commit missing changes from 2004-12-22.
* bfd-in2.h: Regenerate.
gdbadmin [Fri, 31 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 30 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 30 Dec 2004 22:41:31 +0000 (22:41 +0000)]
* gas/elf/elf.exp: Don't list reloc sections.
* gas/elf/section5.e: Remove reloc sections.
Alan Modra [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 +0000)]
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.
Alan Modra [Thu, 30 Dec 2004 22:33:20 +0000 (22:33 +0000)]
* objdump.c (remove_useless_symbols): Discard section symbols.
gdbadmin [Thu, 30 Dec 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 29 Dec 2004 23:00:38 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 29 Dec 2004 10:21:58 +0000 (10:21 +0000)]
PR gas/619
* read.c (s_comm_internal): Don't zero end of name until size
expression has been parsed.
Danny Smith [Wed, 29 Dec 2004 05:59:29 +0000 (05:59 +0000)]
* emultempl/pe.em (set_pe_subsystem): Change second arg to
lang_add_entry to FALSE.
gdbadmin [Wed, 29 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 28 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Tue, 28 Dec 2004 17:39:43 +0000 (17:39 +0000)]
2004-12-28 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include. BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.
Jim Blandy [Tue, 28 Dec 2004 09:06:10 +0000 (09:06 +0000)]
* remote.c (fetch_register_using_p): Recognize a register value
starting with 'x' as indicating an unfetchable register.
gdbadmin [Tue, 28 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 27 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 27 Dec 2004 21:41:05 +0000 (21:41 +0000)]
Revert 2004-12-08 Makefile changes.
DJ Delorie [Mon, 27 Dec 2004 21:39:28 +0000 (21:39 +0000)]
merge from gcc
H.J. Lu [Mon, 27 Dec 2004 19:08:31 +0000 (19:08 +0000)]
2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (read_leb128): Support 64bit host.
Mark Kettenis [Mon, 27 Dec 2004 15:08:13 +0000 (15:08 +0000)]
* config/mips/obsd64.mh (NATDEPFILES): Unwrap line.
gdbadmin [Mon, 27 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sun, 26 Dec 2004 23:24:26 +0000 (23:24 +0000)]
* inftarg.c (child_xfer_partial): Remove code that handles
TARGET_OBJ_WCOOKIE.
Alan Modra [Sun, 26 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 26 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 25 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Marek Michalkiewicz [Sat, 25 Dec 2004 20:34:24 +0000 (20:34 +0000)]
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
Mark Kettenis [Sat, 25 Dec 2004 12:31:35 +0000 (12:31 +0000)]
* inftarg.c (child_create_inferior) [HPUXHPPA]: Remove code.
Mark Kettenis [Sat, 25 Dec 2004 10:19:48 +0000 (10:19 +0000)]
* gdbint.texinfo (Algorithms): Remove description of
TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS.
gdbadmin [Sat, 25 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 24 Dec 2004 23:00:08 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 24 Dec 2004 22:54:02 +0000 (22:54 +0000)]
* target.h (TARGET_DISABLE_HW_WATCHPOINTS)
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros.
* infrun.c (struct execution_control_state): Remove
enable_hw_watchpoints_after_wait member.
(number_of_threads_in_syscalls): Remove variable.
(init_wait_for_inferior): Don't initialize
number_of_threads_in_syscalls.
(init_execution_control_state): Don't initialize
ECS->enable_hw_watchpoints_after_wait.
(handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS
or TARGET_DISABLE_HW_WATCHPOINTS.
Mark Kettenis [Fri, 24 Dec 2004 14:45:32 +0000 (14:45 +0000)]
* i386-tdep.h (i386_collect_gregset): New prototype.
* i386-nto-tdep.c (i386_nto_target): Move variable. Add comment.
(i386nto_gregset_reg_offset): Rename frame regmap.
(nto_reg_offset): Tweak comment. Use ARRAY_SIZE.
(i386nto_supply_gregset): Implement using register set support.
(i386nto_supply_regset): Remove redundant comment.
(i386nto_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.
* nto-tdep.c (fetch_core_registers): Remove function.
(regset_core_fns): Remove structure.
(_initialize_nto_tdep): Don't call deprecated_add_core_fns.
gdbadmin [Fri, 24 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 23 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 23 Dec 2004 22:34:23 +0000 (22:34 +0000)]
* i386-nto-tdep.c: Reorder include files.
(i386nto_svr4_fetch_link_map_offsets): Remove function.
(init_i386nto_ops, i386nto_init_abi): Use
svr4_ilp32_fetch_link_map_offsets instead of
i386nto_svr4_fetch_link_map_offsets.
Tomer Levi [Thu, 23 Dec 2004 13:52:11 +0000 (13:52 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c: Mark 'bcop' instruction as RELAXABLE.
Tomer Levi [Thu, 23 Dec 2004 13:50:36 +0000 (13:50 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
Tomer Levi [Thu, 23 Dec 2004 13:48:25 +0000 (13:48 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
Nick Clifton [Thu, 23 Dec 2004 12:27:45 +0000 (12:27 +0000)]
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.
gdbadmin [Thu, 23 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 22 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Wed, 22 Dec 2004 15:29:25 +0000 (15:29 +0000)]
* configure.tgt: New.
* configure.in: Move setting of cpu_type, fmt, etc., to
configure.tgt.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/configure.tgt.
* configure, Makefile.in: Rebuild.
Kris Warkentin [Wed, 22 Dec 2004 14:43:44 +0000 (14:43 +0000)]
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Add 'base' argument for constructing register sections. Reformat.
(elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both
gp and fp regs. Reformat.
Nick Clifton [Wed, 22 Dec 2004 14:25:42 +0000 (14:25 +0000)]
Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
LDI, ADIW/SBIW and LDD/STD instructions.
Nick Clifton [Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)]
readelf.c (last_pointer_size, warned_about_missing_comp_units):
New variables associated with obtaining the pointer size for a comp_unit.
(get_pointer_size_of_comp_unit): Add an extra parameter - the name of the
section requesting the pointer size. Use this name in error messages. If
there are not enough comp_units available produce a warning message, but
return the last known pointer size so that section dumping can continue.
(get_debug_info): Reset the new variables.
(display_debug_lines): Add extra parameter to invocation of
get_pointer_size_of_comp_unit and remove error message when it returns 0.
(display_debug_loc): Likewise.
Tomer Levi [Wed, 22 Dec 2004 08:14:38 +0000 (08:14 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* ld-crx/reloc-abs32.d: Update reference file according
to disassembler printing method.
* ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.
Alan Modra [Wed, 22 Dec 2004 03:59:26 +0000 (03:59 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
as-needed dynamic libs as undefined.
(elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed
libs when finding they are needed.
gdbadmin [Wed, 22 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 21 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 21 Dec 2004 22:50:54 +0000 (22:50 +0000)]
* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.
Mark Kettenis [Tue, 21 Dec 2004 22:06:40 +0000 (22:06 +0000)]
* hppa-tdep.c (hppa64_return_value): Fix previous commit.
Mark Kettenis [Tue, 21 Dec 2004 21:36:28 +0000 (21:36 +0000)]
* hppa-tdep.c (hppa32_return_value): Move further down.
(hppa64_return_value): Re-implement.
Jim Blandy [Tue, 21 Dec 2004 21:24:56 +0000 (21:24 +0000)]
* remote.c (fetch_register_using_p): Fix formatting.
Tomer Levi [Tue, 21 Dec 2004 16:28:40 +0000 (16:28 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* ld-crx/reloc-abs32.d: Update reference file according to disassembler printing method.
* ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.
Tomer Levi [Tue, 21 Dec 2004 16:26:54 +0000 (16:26 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/beq_insn.d: Update reference file according to
disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
Tomer Levi [Tue, 21 Dec 2004 16:25:05 +0000 (16:25 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/beq_insn.d: Update reference file according to disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
Hans-Peter Nilsson [Tue, 21 Dec 2004 13:09:55 +0000 (13:09 +0000)]
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.
Paul N. Hilfinger [Tue, 21 Dec 2004 10:03:55 +0000 (10:03 +0000)]
* ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code
output.
* ada-typeprint.c (ada_typedef_print): Ditto.
(print_unchecked_union_type): Ditto.
(print_record_type): Ditto, and correct output for non-derived
types that was inadvertently left off during the markup.
Hans-Peter Nilsson [Tue, 21 Dec 2004 04:37:58 +0000 (04:37 +0000)]
* cris.cpu (cris-set-mem): Correct integral write semantics.
gdbadmin [Tue, 21 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 20 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Mon, 20 Dec 2004 21:22:33 +0000 (21:22 +0000)]
* Makefile.am: Use $(SHELL) whenever we run move-if-change.
* Makefile.in: Rebuild.
Nick Clifton [Mon, 20 Dec 2004 15:35:53 +0000 (15:35 +0000)]
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
Nick Clifton [Mon, 20 Dec 2004 15:16:06 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.
DJ Delorie [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc
DJ Delorie [Mon, 20 Dec 2004 04:20:34 +0000 (04:20 +0000)]
merge from gcc
gdbadmin [Mon, 20 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done. Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.
Alan Modra [Sun, 19 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 19 Dec 2004 22:09:26 +0000 (22:09 +0000)]
* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check
whether the name returned by find_pc_partial_function is a null
pointer, not whether it is an empty string.
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.