OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 23 Dec 2004 13:49:14 +0000 (13:49 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [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.

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [Thu, 23 Dec 2004 13:47:31 +0000 (13:47 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.

19 years agoPR 600
nickc [Thu, 23 Dec 2004 12:27:44 +0000 (12:27 +0000)]
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.

19 years ago * include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
dannysmith [Thu, 23 Dec 2004 08:13:48 +0000 (08:13 +0000)]
* include/commctrl.h (CDRF_NOTIFYSUBITEMDRAW): Add define.
Thanks to: Chris Sutcliffe  <ironhead@walled.net>
(CDRF_*): Use hex notation for constants.

19 years ago*** empty log message ***
gdbadmin [Thu, 23 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 22 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failing
cgf [Wed, 22 Dec 2004 18:12:28 +0000 (18:12 +0000)]
* cygheap.cc (cygheap_setup_for_child): Add api_fatal to catch failing
MapViewOfFileEx.
* cygthread.cc (cygthread::stub): Previous change to make diagnostic output
more informative was really a bust.  Try again.  Capture previous name in a new
field in cygthread for diagnostic purposes.
(cygthread::cygthread): Ditto.
(cygthread::release): Add an argument to control whether h should be cleared or
not.
(cygthread::terminate_thread): Use 'inuse' for tests rather than 'h'.
(cygthread): Add some diagnostic fields.
(cygthread::release): Add an argument.
* pinfo.cc (proc_waiter): Accommodate change to cygthread::release.

19 years ago* cygthread.cc (cygthread::stub): Make diagnostic output more informative.
cgf [Wed, 22 Dec 2004 17:10:19 +0000 (17:10 +0000)]
* cygthread.cc (cygthread::stub): Make diagnostic output more informative.

19 years ago* pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with process
cgf [Wed, 22 Dec 2004 16:59:03 +0000 (16:59 +0000)]
* pinfo.cc (proc_waiter): Zero wait_thread in child to avoid races with process
termination.
* cygthread.cc (cygthread::terminate): Clumsily detect when h has gone away and
attempt no further action.

19 years ago* cygthread.h (cygthread::release): Just declare here.
cgf [Wed, 22 Dec 2004 16:19:24 +0000 (16:19 +0000)]
* cygthread.h (cygthread::release): Just declare here.
* cygthread.cc (cygthread::release): Define here.  Use InterlockedExchange to
set inuse or suffer potential races.
(cygthread::terminate): Use release().

19 years ago * configure.tgt: New.
ian [Wed, 22 Dec 2004 15:29:21 +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.

19 years ago* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
kewarken [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.

19 years agoAdd support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
nickc [Wed, 22 Dec 2004 14:25:37 +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.

19 years ago * fhandler_process.cpp (format_process_status): Use tabs in formatting
corinna [Wed, 22 Dec 2004 11:35:23 +0000 (11:35 +0000)]
* fhandler_process.cpp (format_process_status): Use tabs in formatting
instead of spaces.

19 years ago * path.cc (set_normalized_path): Allow empty pathnames.
corinna [Wed, 22 Dec 2004 11:31:28 +0000 (11:31 +0000)]
* path.cc (set_normalized_path): Allow empty pathnames.

19 years agoreadelf.c (last_pointer_size, warned_about_missing_comp_units):
nickc [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.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [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.

19 years ago * elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
amodra [Wed, 22 Dec 2004 03:59:25 +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.

19 years ago*** empty log message ***
gdbadmin [Wed, 22 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 21 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.
kettenis [Tue, 21 Dec 2004 22:50:48 +0000 (22:50 +0000)]
* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.

19 years ago* hppa-tdep.c (hppa64_return_value): Fix previous commit.
kettenis [Tue, 21 Dec 2004 22:06:33 +0000 (22:06 +0000)]
* hppa-tdep.c (hppa64_return_value): Fix previous commit.

19 years ago* hppa-tdep.c (hppa32_return_value): Move further down.
kettenis [Tue, 21 Dec 2004 21:36:20 +0000 (21:36 +0000)]
* hppa-tdep.c (hppa32_return_value): Move further down.
(hppa64_return_value): Re-implement.

19 years ago* remote.c (fetch_register_using_p): Fix formatting.
jimb [Tue, 21 Dec 2004 21:24:53 +0000 (21:24 +0000)]
* remote.c (fetch_register_using_p): Fix formatting.

19 years ago* spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed process.
cgf [Tue, 21 Dec 2004 18:45:01 +0000 (18:45 +0000)]
* spawn.cc (spawn_guts): Force parent to forget about P_DETACH'ed process.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [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.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [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.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
tomerl [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.

19 years ago * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
hp [Tue, 21 Dec 2004 13:09:50 +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.

19 years ago* ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code
hilfingr [Tue, 21 Dec 2004 10:03:52 +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.

19 years ago * cris.cpu (cris-set-mem): Correct integral write semantics.
hp [Tue, 21 Dec 2004 04:37:58 +0000 (04:37 +0000)]
* cris.cpu (cris-set-mem): Correct integral write semantics.

19 years ago*** empty log message ***
gdbadmin [Tue, 21 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Mon, 20 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.am: Use $(SHELL) whenever we run move-if-change.
ian [Mon, 20 Dec 2004 21:22:33 +0000 (21:22 +0000)]
* Makefile.am: Use $(SHELL) whenever we run move-if-change.
* Makefile.in: Rebuild.

19 years ago* path.cc (normalize_win32_path): Remove unneeded check for dots.
cgf [Mon, 20 Dec 2004 17:55:21 +0000 (17:55 +0000)]
* path.cc (normalize_win32_path): Remove unneeded check for dots.

19 years ago* path.cc (normalize_posix_path): Remove unneeded check for dots.
cgf [Mon, 20 Dec 2004 16:31:16 +0000 (16:31 +0000)]
* path.cc (normalize_posix_path): Remove unneeded check for dots.
(path_conv::set_normalized_path): Strip trailing dots, similarly to what had
previously been done for the win32 path.

19 years ago* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
nickc [Mon, 20 Dec 2004 15:35:51 +0000 (15:35 +0000)]
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.

19 years agoIssue an error message if -static and -shared are used together.
nickc [Mon, 20 Dec 2004 15:16:05 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.

19 years agomerge from gcc
dj [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc

19 years agomerge from gcc
dj [Mon, 20 Dec 2004 04:20:33 +0000 (04:20 +0000)]
merge from gcc

19 years ago * include/wchar.h (wcsdup): Correct prototype.
dannysmith [Mon, 20 Dec 2004 00:03:04 +0000 (00:03 +0000)]
* include/wchar.h (wcsdup): Correct prototype.
* include/string.h (wcsdup): Correct prototype.

19 years ago*** empty log message ***
gdbadmin [Mon, 20 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
amodra [Sun, 19 Dec 2004 23:24:45 +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.

19 years agodaily update
amodra [Sun, 19 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check
kettenis [Sun, 19 Dec 2004 22:09:22 +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.

19 years ago* hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,
kettenis [Sun, 19 Dec 2004 21:09:37 +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.

19 years ago* path.cc (normalize_win32_path): Make third arg pass-by reference. Reorganize
cgf [Sun, 19 Dec 2004 03:27:08 +0000 (03:27 +0000)]
* path.cc (normalize_win32_path): Make third arg pass-by reference.  Reorganize
slightly to eliminate extra variables.
(normalize_posix_path): Ditto.
(path_conv::check): Reflect change in arguments.
(mount_info::conv_to_posix_path): Ditto.
(mount_info::add_item): Ditto.

19 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Use updated value.
cgf [Sun, 19 Dec 2004 02:40:40 +0000 (02:40 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Use updated value.
* path.cc (path_conv::check): Check the output Win32 path for trailing spaces
and dots, not the input path.  Disallow all use of foo./bar since consistently
getting this right is time consuming.  Remove strange test for "unc\" since no
one seems to know what it's for.

19 years ago*** empty log message ***
gdbadmin [Sun, 19 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 18 Dec 2004 23:00:11 +0000 (23:00 +0000)]
daily update

19 years ago* hppah-nat.c: Remove file.
kettenis [Sat, 18 Dec 2004 17:36:32 +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.

19 years agomerge from gcc
dj [Sat, 18 Dec 2004 17:19:27 +0000 (17:19 +0000)]
merge from gcc

19 years ago2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 18 Dec 2004 16:46:01 +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.

19 years agorevert erroneous checkin
cgf [Sat, 18 Dec 2004 16:41:27 +0000 (16:41 +0000)]
revert erroneous checkin

19 years ago* fhandler_proc.cc (proc_listing): Add entry for "self".
cgf [Sat, 18 Dec 2004 16:37:43 +0000 (16:37 +0000)]
* fhandler_proc.cc (proc_listing): Add entry for "self".
(proc_fhandlers): Add entry for "self".
* fhandler_process.cc (fhandler_process::fstate): Handle "self".
(fhandler_process::open): Handle "self".

19 years ago* config/djgpp/fnchange.lst: Resolve name clash between
kettenis [Sat, 18 Dec 2004 14:53:37 +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.

19 years ago* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
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.

19 years ago* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
kettenis [Sat, 18 Dec 2004 14:27:48 +0000 (14:27 +0000)]
* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
PA_SOM_ONLY isn't defined.

19 years ago* somread.c: Include "solib-som.h".
kettenis [Sat, 18 Dec 2004 14:21:00 +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.

19 years ago*** empty log message ***
gdbadmin [Sat, 18 Dec 2004 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 17 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 17 Dec 2004 22:47:49 +0000 (22:47 +0000)]
2004-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.13.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.13.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * iconvdata/aclocal.m4: Ditto.
        * iconvdata/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.13.

19 years ago* remote.c (fetch_register_using_p): Indentation cleanup.
jimb [Fri, 17 Dec 2004 22:19:47 +0000 (22:19 +0000)]
* remote.c (fetch_register_using_p): Indentation cleanup.

19 years ago2004-12-17 Christian Groessler <chris@groessler.org>
jjohnstn [Fri, 17 Dec 2004 20:17:12 +0000 (20:17 +0000)]
2004-12-17  Christian Groessler  <chris@groessler.org>

        * libc/machine/z8k/memcmp.S: New file.
        * libc/machine/z8k/memcpy.S: Ditto.
        * libc/machine/z8k/memmove.S: Ditto.
        * libc/machine/z8k/memset.S: Ditto.
        * libc/machine/z8k/Makefile.am: Add new files.
        * libc/machine/z8k/Makefile.in: Regenerated.
        * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
        part.  Implement Z8002 stdcall version.

19 years ago2004-12-17 Randolph Chung <tausq@debian.org>
tausq [Fri, 17 Dec 2004 19:21:14 +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.

19 years ago2004-12-17 Randolph Chung <tausq@debian.org>
tausq [Fri, 17 Dec 2004 19:09:46 +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.

19 years ago* sigproc.cc (proc_subproc): Fix long-standing problem. Only wait for "all
cgf [Fri, 17 Dec 2004 17:42:02 +0000 (17:42 +0000)]
* sigproc.cc (proc_subproc): Fix long-standing problem.  Only wait for "all
processes" if pid == -1 -- not just if pid is negative.
(proc_can_be_signalled): Fix another long-standing problem.  Set correct errno
when detecting an exited process.

19 years ago * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
jakub [Fri, 17 Dec 2004 15:50:00 +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.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
amylaar [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.

19 years ago * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): New function.
brobecke [Fri, 17 Dec 2004 07:42:47 +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.

19 years ago*** empty log message ***
gdbadmin [Fri, 17 Dec 2004 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2004-12-16 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 16 Dec 2004 23:53:05 +0000 (23:53 +0000)]
2004-12-16  Michael Snyder  <msnyder@redhat.com>

* MAINTAINERS: Add myself as maintainer for mn10300.
* NEWS: Mention mn10300.

19 years agodaily update
amodra [Thu, 16 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago* utils-cgen.scm (parse-name): Don't assume that string-map can be
jimb [Thu, 16 Dec 2004 21:24:07 +0000 (21:24 +0000)]
* utils-cgen.scm (parse-name): Don't assume that string-map can be
applied to symbols.  Process everything as strings, and then
convert to a symbol at the end.

19 years ago* read.scm (debug-repl): Temporarily redirect input and output to
jimb [Thu, 16 Dec 2004 21:23:13 +0000 (21:23 +0000)]
* read.scm (debug-repl): Temporarily redirect input and output to
/dev/tty while we debug, so we don't interfere with whatever CGEN
is reading or writing.
* utils.scm (setter-getter-fluid-let, with-input-and-output-to):
New functions.

19 years ago* sidtypes.h: (bytereverse (host_int_2)): The x86-64 has an
jimb [Thu, 16 Dec 2004 21:16:34 +0000 (21:16 +0000)]
* sidtypes.h: (bytereverse (host_int_2)): The x86-64 has an
xchgb instruction, too.
(bytereverse (host_int_4)): The x86-64 has a bswap instruction, too.
(bytereverse (host_int_8)): Use bswap on the x86-64.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
amylaar [Thu, 16 Dec 2004 19:51:27 +0000 (19:51 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* configure.in (sh64-*-*): Reenable gprof.
* configure: Regenerate.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
amylaar [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.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
amylaar [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.

19 years agoinclude/elf/
rsandifo [Thu, 16 Dec 2004 16:55:52 +0000 (16:55 +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.

19 years agoAdd support for s390x-ibm-tpf target
nickc [Thu, 16 Dec 2004 16:02:49 +0000 (16:02 +0000)]
Add support for s390x-ibm-tpf target

19 years ago* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.
nickc [Thu, 16 Dec 2004 15:40:34 +0000 (15:40 +0000)]
* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.

19 years agogas/
jbeulich [Thu, 16 Dec 2004 13:23:19 +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.

19 years ago * fhandler_console.cc (get_win32_attr): Avoid inappropriate intensity
corinna [Thu, 16 Dec 2004 13:19:08 +0000 (13:19 +0000)]
* fhandler_console.cc (get_win32_attr): Avoid inappropriate intensity
interchanging that used to render reverse output unreadable when
non-reversed text is bright.

19 years agobinutils/
jbeulich [Thu, 16 Dec 2004 13:16:30 +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.

19 years agogas/
jbeulich [Thu, 16 Dec 2004 08:57:19 +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.

19 years agogas/
jbeulich [Thu, 16 Dec 2004 08:53:41 +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.

19 years ago*** empty log message ***
gdbadmin [Thu, 16 Dec 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 15 Dec 2004 23:00:13 +0000 (23:00 +0000)]
daily update

19 years ago * xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
kevinb [Wed, 15 Dec 2004 22:45:32 +0000 (22:45 +0000)]
* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
frame cache.

19 years ago2004-12-09 Jim Blandy <jimb@redhat.com>
fche [Wed, 15 Dec 2004 20:07:10 +0000 (20:07 +0000)]
2004-12-09  Jim Blandy  <jimb@redhat.com>

* sidtypes.h: Recognize AMD64 (x86-64) as a little-endian machine.

19 years ago* gdb.threads/linux-dp.exp: Fix output regexp to handle output
jimb [Wed, 15 Dec 2004 18:28:51 +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.

19 years ago * cygwin.din: Add utmpx symbols.
corinna [Wed, 15 Dec 2004 17:28:53 +0000 (17:28 +0000)]
* cygwin.din: Add utmpx symbols.
* syscalls.cc: Include utmpx.h.  Implement utmpx functions as stubs
to utmp functions.
(copy_ut_to_utx): New static function.
(pututline): Change from void to struct utmp * as on Linux.
(setutxent): New function.
(endutxent): New function.
(getutxent): New function.
(getutxid): New function.
(getutxline): New function.
(pututxline): New function.
* include/utmpx.h: New file.
* include/cygwin/utmp.h: New file.
* include/cygwin/version.h: Bump API minor number.
* include/sys/utmp.h: Include cygwin/utmp.h.  Move stuff common with
utmpx functionality there.
(pututline): Declare struct utmp *.

19 years ago * syscall.c (cb_syscall) <case CB_SYS_truncate>
hp [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.

19 years ago * callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.
hp [Wed, 15 Dec 2004 01:24:15 +0000 (01:24 +0000)]
* callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.

19 years ago*** empty log message ***
gdbadmin [Wed, 15 Dec 2004 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Tue, 14 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agoAdded printing of symbols on AVR disasm
sveinse [Tue, 14 Dec 2004 22:30:28 +0000 (22:30 +0000)]
Added printing of symbols on AVR disasm

19 years agoAdded printing of symbols on AVR disasm
sveinse [Tue, 14 Dec 2004 22:27:03 +0000 (22:27 +0000)]
Added printing of symbols on AVR disasm