OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
18 years agofix minor typo.
cgf [Mon, 19 Dec 2005 05:08:20 +0000 (05:08 +0000)]
fix minor typo.

18 years ago* fhandler.h (fhandler_pipe::fixup_in_child): Declare new function.
cgf [Mon, 19 Dec 2005 04:34:11 +0000 (04:34 +0000)]
* fhandler.h (fhandler_pipe::fixup_in_child): Declare new function.
(fhandler_console::invisible_console): Declare new variable.
(fhandler_console::need_invisible): Ditto.
(fhandler_console::has_a): Ditto.
* fhandler_console.cc (set_console_state_for_spawn): Eliminate return value.
Set up an invisible console if necessary prior to spawning.
(fhandler_console::invisible_console): Define.
* fhandler_tty.cc (fhandler_tty_slave::open): Use
fhandler_console::invisible_console to setup an invisible console.
* pipe.cc (fhandler_pipe::fixup_in_child): Define new function from
fixup_after_exec.
(fhandler_pipe::fixup_after_exec): Use fixup_in_child when appropriate.
(fhandler_pipe::fixup_after_fork): Ditto.
* spawn.cc (handle): Reorganize and modernize a little.
(spawn_guts): Rely on set_console_state_for_spawn to set the console into the
right state but don't create the process with "detached" flag if we have no
controlling tty since that confuses 'cmd'.
* dtable.cc (dtable::stdio_init): Don't set console as controlling terminal if
we have an invisible console.
* sigproc.cc (child_info::sync): Use correct name in ForceCloseHandle1.

18 years ago* include/sys/dirent.h: Change __deprecated_d_ino to __invalid_d_ino throughout
cgf [Mon, 19 Dec 2005 04:00:41 +0000 (04:00 +0000)]
* include/sys/dirent.h: Change __deprecated_d_ino to __invalid_d_ino throughout
to make things a little clearer.
* dir.cc (readdir_worker): Reflect above change.

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

18 years ago2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 18 Dec 2005 23:50:41 +0000 (23:50 +0000)]
2005-12-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2065
* ld-elf/orphan2.d: New file.
* ld-elf/orphan2.s: Likewise.

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

18 years ago2005-12-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 18 Dec 2005 16:21:48 +0000 (16:21 +0000)]
2005-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/unknown2.d: New.
* ld-elf/unknown2.s: Likewise.

18 years ago*** empty log message ***
gdbadmin [Sun, 18 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * gdb.base/default.exp: Update check for "show version".
drow [Sat, 17 Dec 2005 23:39:26 +0000 (23:39 +0000)]
* gdb.base/default.exp: Update check for "show version".

18 years agodaily update
amodra [Sat, 17 Dec 2005 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago*** empty log message ***
eliz [Sat, 17 Dec 2005 22:40:51 +0000 (22:40 +0000)]
*** empty log message ***

18 years ago * cli/cli-utils.h:
eliz [Sat, 17 Dec 2005 22:40:17 +0000 (22:40 +0000)]
* cli/cli-utils.h:
* cli/cli-utils.c:
* cli/cli-setshow.h:
* cli/cli-setshow.c:
* cli/cli-script.h:
* cli/cli-script.c:
* cli/cli-logging.c:
* cli/cli-interp.c:
* cli/cli-dump.h:
* cli/cli-dump.c:
* cli/cli-decode.h:
* cli/cli-decode.c:
* cli/cli-cmds.h:
* cli/cli-cmds.c: Add (c) after Copyright.  Update FSF address.

18 years ago * breakpoint.c:
eliz [Sat, 17 Dec 2005 22:33:58 +0000 (22:33 +0000)]
* breakpoint.c:
* arm-tdep.c:
* ia64-tdep.c:
* i386-tdep.c:
* hpread.c:
* hppa-tdep.c:
* hppa-hpux-tdep.c:
* gnu-nat.c:
* gdbtypes.c:
* gdbarch.h:
* gdbarch.c:
* eval.c:
* dwarf2read.c:
* dbxread.c:
* copying:
* symfile.c:
* stabsread.c:
* sh64-tdep.c:
* sh-tdep.c:
* s390-tdep.c:
* rs6000-tdep.c:
* remote.c:
* remote-mips.c:
* mips-tdep.c:
* mdebugread.c:
* linux-nat.c:
* infrun.c:
* xcoffread.c:
* win32-nat.c:
* valops.c:
* utils.c:
* tracepoint.c:
* target.c:
* symtab.c:
* c-exp.y:
* ada-valprint.c:
* ada-typeprint.c:
* ada-lex.l:
* ada-lang.h:
* ada-lang.c:
* ada-exp.y:
* alphafbsd-tdep.c:
* alphabsd-tdep.h:
* alphabsd-tdep.c:
* alphabsd-nat.c:
* alpha-tdep.h:
* alpha-tdep.c:
* alpha-osf1-tdep.c:
* alpha-nat.c:
* alpha-mdebug-tdep.c:
* alpha-linux-tdep.c:
* alpha-linux-nat.c:
* aix-thread.c:
* abug-rom.c:
* arch-utils.c:
* annotate.h:
* annotate.c:
* amd64obsd-tdep.c:
* amd64obsd-nat.c:
* amd64nbsd-tdep.c:
* amd64nbsd-nat.c:
* amd64fbsd-tdep.c:
* amd64fbsd-nat.c:
* amd64bsd-nat.c:
* amd64-tdep.h:
* amd64-tdep.c:
* amd64-sol2-tdep.c:
* amd64-nat.h:
* amd64-nat.c:
* amd64-linux-tdep.c:
* amd64-linux-nat.c:
* alphanbsd-tdep.c:
* block.h:
* block.c:
* bfd-target.h:
* bfd-target.c:
* bcache.h:
* bcache.c:
* ax.h:
* ax-general.c:
* ax-gdb.h:
* ax-gdb.c:
* avr-tdep.c:
* auxv.h:
* auxv.c:
* armnbsd-tdep.c:
* armnbsd-nat.c:
* arm-tdep.h:
* arm-linux-nat.c:
* arch-utils.h:
* charset.c:
* call-cmds.h:
* c-valprint.c:
* c-typeprint.c:
* c-lang.h:
* c-lang.c:
* buildsym.h:
* buildsym.c:
* bsd-uthread.h:
* bsd-uthread.c:
* bsd-kvm.h:
* bsd-kvm.c:
* breakpoint.h:
* core-regset.c:
* core-aout.c:
* completer.h:
* completer.c:
* complaints.h:
* complaints.c:
* command.h:
* coffread.c:
* coff-solib.h:
* coff-solib.c:
* coff-pe-read.h:
* coff-pe-read.c:
* cli-out.h:
* cli-out.c:
* charset.h:
* dink32-rom.c:
* dictionary.h:
* dictionary.c:
* demangle.c:
* defs.h:
* dcache.h:
* dcache.c:
* d10v-tdep.c:
* cpu32bug-rom.c:
* cp-valprint.c:
* cp-support.h:
* cp-support.c:
* cp-namespace.c:
* cp-abi.h:
* cp-abi.c:
* corelow.c:
* corefile.c:
* environ.c:
* elfread.c:
* dwarfread.c:
* dwarf2loc.c:
* dwarf2expr.h:
* dwarf2expr.c:
* dwarf2-frame.h:
* dwarf2-frame.c:
* dve3900-rom.c:
* dummy-frame.h:
* dummy-frame.c:
* dsrec.c:
* doublest.h:
* doublest.c:
* disasm.h:
* disasm.c:
* fork-child.c:
* findvar.c:
* fbsd-nat.h:
* fbsd-nat.c:
* f-valprint.c:
* f-typeprint.c:
* f-lang.h:
* f-lang.c:
* expression.h:
* expprint.c:
* exec.h:
* exec.c:
* exceptions.h:
* exceptions.c:
* event-top.h:
* event-top.c:
* event-loop.h:
* event-loop.c:
* gdb.c:
* gdb-stabs.h:
* gdb-events.h:
* gdb-events.c:
* gcore.c:
* frv-tdep.h:
* frv-tdep.c:
* frv-linux-tdep.c:
* frame.h:
* frame.c:
* frame-unwind.h:
* frame-unwind.c:
* frame-base.h:
* frame-base.c:
* gdb_vfork.h:
* gdb_thread_db.h:
* gdb_string.h:
* gdb_stat.h:
* gdb_regex.h:
* gdb_ptrace.h:
* gdb_proc_service.h:
* gdb_obstack.h:
* gdb_locale.h:
* gdb_dirent.h:
* gdb_curses.h:
* gdb_assert.h:
* gdbarch.sh:
* gdb.h:
* hpux-thread.c:
* hppabsd-nat.c:
* hppa-tdep.h:
* hpacc-abi.c:
* h8300-tdep.c:
* gregset.h:
* go32-nat.c:
* gnu-v3-abi.c:
* gnu-v2-abi.h:
* gnu-v2-abi.c:
* gnu-nat.h:
* glibc-tdep.c:
* gdbtypes.h:
* gdbcore.h:
* gdbcmd.h:
* i386nbsd-tdep.c:
* i386nbsd-nat.c:
* i386gnu-tdep.c:
* i386gnu-nat.c:
* i386fbsd-tdep.c:
* i386fbsd-nat.c:
* i386bsd-tdep.c:
* i386bsd-nat.h:
* i386bsd-nat.c:
* i386-tdep.h:
* i386-sol2-nat.c:
* i386-nto-tdep.c:
* i386-nat.c:
* i386-linux-tdep.h:
* i386-linux-tdep.c:
* i386-linux-nat.c:
* i386-cygwin-tdep.c:
* inf-ttrace.c:
* inf-ptrace.h:
* inf-ptrace.c:
* inf-loop.h:
* inf-loop.c:
* inf-child.h:
* inf-child.c:
* ia64-tdep.h:
* ia64-linux-nat.c:
* i387-tdep.h:
* i387-tdep.c:
* i386v4-nat.c:
* i386v-nat.c:
* i386obsd-tdep.c:
* i386obsd-nat.c:
* kod.c:
* jv-valprint.c:
* jv-typeprint.c:
* jv-lang.h:
* jv-lang.c:
* irix5-nat.c:
* iq2000-tdep.c:
* interps.h:
* interps.c:
* inftarg.c:
* inflow.h:
* inflow.c:
* inferior.h:
* infcmd.c:
* infcall.h:
* infcall.c:
* inf-ttrace.h:
* m32r-tdep.h:
* m32r-tdep.c:
* m32r-rom.c:
* m32r-linux-tdep.c:
* m32r-linux-nat.c:
* m2-valprint.c:
* m2-typeprint.c:
* m2-lang.h:
* m2-lang.c:
* lynx-nat.c:
* linux-thread-db.c:
* linux-nat.h:
* linespec.c:
* libunwind-frame.h:
* libunwind-frame.c:
* language.h:
* language.c:
* macroexp.c:
* macrocmd.c:
* m88kbsd-nat.c:
* m88k-tdep.h:
* m88k-tdep.c:
* m68klinux-tdep.c:
* m68klinux-nat.c:
* m68kbsd-tdep.c:
* m68kbsd-nat.c:
* m68k-tdep.h:
* m68k-tdep.c:
* mips-linux-nat.c:
* mips-irix-tdep.c:
* minsyms.c:
* memattr.h:
* memattr.c:
* mem-break.c:
* mdebugread.h:
* main.h:
* main.c:
* macrotab.h:
* macrotab.c:
* macroscope.h:
* macroscope.c:
* macroexp.h:
* nbsd-tdep.c:
* mt-tdep.c:
* monitor.h:
* monitor.c:
* mn10300-tdep.h:
* mn10300-tdep.c:
* mn10300-linux-tdep.c:
* mipsv4-nat.c:
* mipsread.c:
* mipsnbsd-tdep.h:
* mipsnbsd-tdep.c:
* mipsnbsd-nat.c:
* mips64obsd-tdep.c:
* mips64obsd-nat.c:
* mips-tdep.h:
* mips-mdebug-tdep.c:
* mips-linux-tdep.c:
* osabi.h:
* osabi.c:
* ocd.h:
* ocd.c:
* observer.c:
* objfiles.h:
* objfiles.c:
* objc-lang.h:
* objc-lang.c:
* objc-exp.y:
* nto-tdep.h:
* nto-tdep.c:
* nto-procfs.c:
* nlmread.c:
* nbsd-tdep.h:
* ppcobsd-tdep.c:
* ppcobsd-nat.c:
* ppcnbsd-tdep.h:
* ppcnbsd-tdep.c:
* ppcnbsd-nat.c:
* ppcbug-rom.c:
* ppc-tdep.h:
* ppc-sysv-tdep.c:
* ppc-linux-tdep.c:
* ppc-linux-nat.c:
* ppc-bdm.c:
* parser-defs.h:
* parse.c:
* p-valprint.c:
* p-typeprint.c:
* p-lang.h:
* p-lang.c:
* remote-fileio.h:
* remote-fileio.c:
* remote-est.c:
* remote-e7000.c:
* regset.h:
* regset.c:
* reggroups.h:
* reggroups.c:
* regcache.h:
* regcache.c:
* proc-why.c:
* proc-service.c:
* proc-events.c:
* printcmd.c:
* ppcobsd-tdep.h:
* sentinel-frame.h:
* sentinel-frame.c:
* scm-valprint.c:
* scm-tags.h:
* scm-lang.h:
* scm-lang.c:
* scm-exp.c:
* s390-tdep.h:
* rom68k-rom.c:
* remote.h:
* remote-utils.c:
* remote-st.c:
* remote-sim.c:
* remote-sds.c:
* remote-rdp.c:
* remote-rdi.c:
* remote-hms.c:
* sim-regno.h:
* shnbsd-tdep.h:
* shnbsd-tdep.c:
* shnbsd-nat.c:
* sh-tdep.h:
* serial.h:
* serial.c:
* ser-unix.h:
* ser-unix.c:
* ser-tcp.c:
* ser-pipe.c:
* ser-go32.c:
* ser-e7kpc.c:
* ser-base.h:
* ser-base.c:
* solib.c:
* solib-svr4.h:
* solib-svr4.c:
* solib-sunos.c:
* solib-som.h:
* solib-som.c:
* solib-pa64.h:
* solib-pa64.c:
* solib-osf.c:
* solib-null.c:
* solib-legacy.c:
* solib-irix.c:
* solib-frv.c:
* solib-aix5.c:
* sol-thread.c:
* sparc64-linux-tdep.c:
* sparc64-linux-nat.c:
* sparc-tdep.h:
* sparc-tdep.c:
* sparc-sol2-tdep.c:
* sparc-sol2-nat.c:
* sparc-nat.h:
* sparc-nat.c:
* sparc-linux-tdep.c:
* sparc-linux-nat.c:
* source.h:
* source.c:
* somread.c:
* solist.h:
* solib.h:
* std-regs.c:
* stack.h:
* stack.c:
* stabsread.h:
* sparcobsd-tdep.c:
* sparcnbsd-tdep.c:
* sparcnbsd-nat.c:
* sparc64obsd-tdep.c:
* sparc64nbsd-tdep.c:
* sparc64nbsd-nat.c:
* sparc64fbsd-tdep.c:
* sparc64fbsd-nat.c:
* sparc64-tdep.h:
* sparc64-tdep.c:
* sparc64-sol2-tdep.c:
* sparc64-nat.c:
* ui-file.c:
* typeprint.h:
* typeprint.c:
* tramp-frame.h:
* tramp-frame.c:
* trad-frame.h:
* trad-frame.c:
* tracepoint.h:
* top.c:
* tobs.inc:
* thread.c:
* terminal.h:
* target.h:
* symfile.h:
* stop-gdb.c:
* vaxbsd-nat.c:
* vax-tdep.h:
* vax-tdep.c:
* vax-nat.c:
* varobj.h:
* varobj.c:
* value.h:
* value.c:
* valprint.h:
* valprint.c:
* v850-tdep.c:
* uw-thread.c:
* user-regs.c:
* ui-out.h:
* ui-out.c:
* ui-file.h:
* xcoffsolib.h:
* xcoffsolib.c:
* wrapper.c:
* wince.c:
* wince-stub.h:
* wince-stub.c:
* vaxobsd-tdep.c:
* vaxnbsd-tdep.c:
* gdb_gcore.sh:
* copying.c:
* configure.ac:
* aclocal.m4:
* acinclude.m4:
* reply_mig_hack.awk:
* observer.sh:
* gdb_mbuild.sh:
* arm-linux-tdep.c:
* blockframe.c:
* dbug-rom.c:
* environ.h:
* dwarf2loc.h:
* gdb-events.sh:
* glibc-tdep.h:
* gdb_wait.h:
* gdbthread.h:
* i386-sol2-tdep.c:
* hppabsd-tdep.c:
* hppa-linux-nat.c:
* hppa-hpux-nat.c:
* ia64-linux-tdep.c:
* infptrace.c:
* linespec.h:
* maint.c:
* mips-mdebug-tdep.h:
* remote-m32r-sdi.c:
* s390-nat.c:
* rs6000-nat.c:
* remote-utils.h:
* sh3-rom.c:
* sh-linux-tdep.c:
* top.h:
* symtab.h:
* symmisc.c:
* symfile-mem.c:
* srec.h:
* user-regs.h:
* version.h:
* valarith.c:
* xstormy16-tdep.c:
* wrapper.h:
* Makefile.in:
* f-exp.y:
* cris-tdep.c:
* cp-name-parser.y:
* procfs.c:
* proc-utils.h:
* proc-flags.c:
* proc-api.c:
* p-exp.y:
* m68hc11-tdep.c:
* m2-exp.y:
* kod.h:
* kod-cisco.c:
* jv-exp.y:
* hppa-linux-tdep.c: Add (c) after Copyright.  Update the FSF
address.

18 years agomerge from gcc
dj [Sat, 17 Dec 2005 20:51:56 +0000 (20:51 +0000)]
merge from gcc

18 years ago* winsup.h (child_copy): Change prototype to match new functionality.
cgf [Sat, 17 Dec 2005 04:36:38 +0000 (04:36 +0000)]
* winsup.h (child_copy): Change prototype to match new functionality.
* cygheap.cc (cygheap_fixup_in_child): Accommodate new child_copy arguments.
* dcrt0.cc (dll_data_start): Move definition here from fork.
(dll_data_end): Ditto.
(dll_bss_start): Ditto.
(dll_bss_end): Ditto.
(handle_fork): New function.  Called when forked to deal with fork issues and
copy data to this process from the parent.
(dll_crt0_0): Call handle_fork when _PROC_FORK condition.
(dll_crt0): Don't copy user_data when we've forked.  Don't zero first element
of main_environment ever.
(cygwin_dll_init): Ditto.
* fork.cc (child_copy): Rename from fork_copy and change arguments so that each
pair of things to copy gets its own descriptor.
(frok::child): Remove fixup_mmaps_after_fork call here.  Move to handle_fork in
dcrt0.cc.
(frok::parent): Use child_copy rather than fork_copy and accommodate changes in
parameters.
* exceptions.cc (setup_handler): Delay test of whether we're locked until after
GetThreadContext has been called since there are apparently cases where
SuspendThread does not cause an immediate thread suspension.

18 years ago*** empty log message ***
gdbadmin [Sat, 17 Dec 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 16 Dec 2005 23:00:09 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 16 Dec 2005 20:58:39 +0000 (20:58 +0000)]
2005-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update copyright year for default
        copyright.

18 years ago2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 16 Dec 2005 20:49:37 +0000 (20:49 +0000)]
2005-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.14.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.14.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/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.14.

18 years ago* init.cc (dll_entry): Call prime_threads after dll_crt0_0 to avoid conflicts
cgf [Fri, 16 Dec 2005 20:40:02 +0000 (20:40 +0000)]
* init.cc (dll_entry): Call prime_threads after dll_crt0_0 to avoid conflicts
between heap allocation and thread stack allocation.

18 years ago2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 16 Dec 2005 19:11:09 +0000 (19:11 +0000)]
2005-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
        take a pointer to struct stat64 rather than struct stat.

18 years ago2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Fri, 16 Dec 2005 19:03:12 +0000 (19:03 +0000)]
2005-12-16  Ralf Corsepius <ralf.corsepius@rtems.org>

* libc/include/stdint.h: Prefer long over int for int32_t.
Use __have_long32 to set up int32_t.
* libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
(Sync with stdint.h).

18 years ago* hookapi.cc (putmem): Remove query of previous memory protection since we get
cgf [Fri, 16 Dec 2005 18:10:09 +0000 (18:10 +0000)]
* hookapi.cc (putmem): Remove query of previous memory protection since we get
that for free the first time we call VirtualProtect.

18 years ago Second part of ms1 to mt renaming.
nathan [Fri, 16 Dec 2005 10:23:06 +0000 (10:23 +0000)]
Second part of ms1 to mt renaming.
* bfd/archures.c (bfd_arch_mt): Renamed.
(bfd_mt_arch): Renamed.
(bfd_archures_list): Adjusted.
* bfd/bfd-in2.h: Rebuilt.
* bfd/config.bfd (mt): Remove special case targ_archs.
(mt-*-elf): Rename bfd_elf32_mt_vec.
* bfd/configure: Rebuilt.
* bfd/configure.in (bfd_elf32_mt_vec): Renamed.
(selarchs) Remove mt special case.
* bfd/cpu-mt.c (arch_info_struct): Adjust.
(bfd_mt_arch): Renamed, adjust.
* bfd/elf32-mt.c (mt_reloc_type_lookup, mt_info_to_howto_rela,
mt_elf_relocate_hi16, mt_final_link_relocate, mt_relocate_section,
mt_elf_howto_table): Renamed, adjusted.
(mt_elf_gc_mark_hook, mt_elf_gc_sweep_hook, mt_elf_check_relocs,
elf32_mt_machine, mt_elf_object_p, mt_elf_set_private_flags,
mt_elf_copy_private_bfd_data, mt_elf_merge_private_bfd_data,
mt_elf_print_private_bfd_data): Renamed, adjusted.
(TARGET_BIG_SYM, TARGET_BIG_NAME, ELF_ARCH, ELF_MACHINE_CODE,
ELF_MAXPAGESIZE, elf_info_to_howto, elf_backend_relocate_section,
bfd_elf32_bfd_reloc_type_lookup, elf_backend_gc_mark_hook,
elf_backend_gc_sweep_hook, elf_backend_check_relocs,
eld_backend_object_p, bfd_elf32_bfd_set_private_flags,
bfd_elf32_bfd_copy_private_bfd_data,
bfd_elf32_bfd_merge_private_bfd_data,
bfd_elf32_bfd_print_private_bfd_data): Adjusted.
* bfd/libbfd.h: Regenerated.
* bfd/reloc.c (BFD_RELOC_MT_PC16, BFD_RELOC_MT_HI16,
BFD_RELOC_MT_LO16, BFD_RELOC_MT_GNU_VTINHERIT,
BFD_RELOC_MT_GNU_VTENTRY, BFD_RELOC_MT_PCINSN8): Renamed.
* bfd/targets.c (bfd_elf32_mt_vec): Renamed.
(_bfd_target_vector): Adjusted.
* binutils/readelf.c (guess_is_rela): Use EM_MT.
(dump_relocations, get_machine_name): Adjust.

* cpu/mt.cpu (define-arch, define-isa): Set name to mt.
(define-mach): Adjust.
* cpu/mt.opc (CGEN_ASM_HASH): Update.
(mt_asm_hash, mt_cgen_insn_supported): Renamed.
(parse_loopsize, parse_imm16): Adjust.

* gas/configure: Rebuilt.
* gas/configure.in (mt): Remove special case.
* gas/config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change
#includes.
(mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures):
Rename, adjust.
(md_parse_option, md_show_usage, md_begin, md_assemble,
md_cgen_lookup_reloc, md_atof): Adjust.
(mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust.
* gas/config/tc-mt.h (TC_MT): Rename.
(LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust.
(md_apply_fix): Adjust.
(mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename.
(TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust.

* gdb/mt-tdep.c (mt_arch_constants, mt_gdb_regnums): Rename, adjust.
(mt_register_name, mt_register_type, mt_register_reggroup_p,
mt_return_value, mt_skip_prologue, mt_breapoint_from_pc,
mt_pseudo_register_read, mt_pseudo_register_write, mt_frame_align,
mt_registers_info, mt_push_dummy_call, mt_unwind_cache,
mt_frame_unwind_cache, mt_unwind_pc, mt_unwind_dummy_id,
mt_frame_this_id, mt_frame_prev_register, mt_frame_base_address,
mt_frame_unwind, mt_frame_sniffer, mt_frame_base, mt_gdbarch_init,
_initialize_mt_tdep): Rename & adjust.

* include/dis-asm.h (print_insn_mt): Renamed.

* include/elf/common.h (EM_MT): Renamed.
* include/elf/mt.h: Rename relocs, cpu & other defines.

* ld/emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust.

* opcodes/Makefile.am (HFILES, CFILES, ALL_MACHINES): Adjust.
(stamp-mt): Adjust rule.
(mt-asm.lo, mt-desc.lo, mt-dis.lo, mt-ibld.lo, mt-opc.lo): Rename &
adjust.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure: Rebuilt.
* opcodes/configure.in (bfd_mt_arch): Rename & adjust.
* opcodes/disassemble.c (ARCH_mt): Renamed.
(disassembler): Adjust.
* opcodes/mt-asm.c: Renamed, rebuilt.
* opcodes/mt-desc.c: Renamed, rebuilt.
* opcodes/mt-desc.h: Renamed, rebuilt.
* opcodes/mt-dis.c: Renamed, rebuilt.
* opcodes/mt-ibld.c: Renamed, rebuilt.
* opcodes/mt-opc.c: Renamed, rebuilt.
* opcodes/mt-opc.h: Renamed, rebuilt.

* sid/Makefile.in: Rebuilt.
* sid/aclocal.m4: Rebuilt.
* sid/configure: Rebuilt.
* sid/sid.spec: Adjust.
* sid/bsp/Makefile.am: Adjust.
* sid/bsp/Makefile.in: Rebuilt.
* sid/bsp/aclocal.m4: Rebuilt.
* sid/bsp/configrun-sid.in: Adjust.
* sid/bsp/pregen/Makefile.in: Rebuilt.
* sid/bsp/pregen/mt-gdb.conf: Renamed & rebuilt.
* sid/bsp/pregen/mt-gloss.conf: Renamed & rebuilt.
* sid/bsp/pregen/pregen-configs.in: Adjust.
* sid/component/aclocal.m4: Rebuilt.
* sid/component/configure: Rebuilt.
* sid/component/tconfig.in: Adjust.
* sid/component/bochs/aclocal.m4: Rebuilt.
* sid/component/cache/Makefile.in: Rebuilt.
* sid/component/cgen-cpu/Makefile.in: Rebuilt.
* sid/component/cgen-cpu/aclocal.m4: Rebuilt.
* sid/component/cgen-cpu/compCGEN.cxx: Adjust.
* sid/component/cgen-cpu/configure: Rebuilt.
* sid/component/cgen-cpu/configure.in: Rebult.
* sid/component/cgen-cpu/mt/Makefile.am: Adjust.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
* sid/component/cgen-cpu/mt/hw-cpu-mt.txt: Adjust.
* sid/component/cgen-cpu/mt/mt-cpu.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-decode.cxx: Rebuilt.
* sid/component/cgen-cpu/mt/mt-decode.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-defs.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-desc.h: Rebuilt.
* sid/component/cgen-cpu/mt/mt-sem.cxx: Rebuilt.
* sid/component/cgen-cpu/mt/mt-write.cxx: Rebuilt.
* sid/component/cgen-cpu/mt/mt.cxx: Adjust.
* sid/component/cgen-cpu/mt/mt.h: Adjust.
* sid/component/consoles/Makefile.in: Rebuilt.
* sid/component/families/aclocal.m4: Rebuilt.
* sid/component/families/configure: Rebuilt.
* sid/component/gdb/Makefile.in: Rebuilt.
* sid/component/gloss/Makefile.in: Rebuilt.
* sid/component/glue/Makefile.in: Rebuilt.
* sid/component/ide/Makefile.in: Rebuilt.
* sid/component/interrupt/Makefile.in: Rebuilt.
* sid/component/lcd/Makefile.in: Rebuilt.
* sid/component/lcd/testsuite/Makefile.in: Rebuilt.
* sid/component/loader/Makefile.am: Rebuilt.
* sid/component/loader/Makefile.in: Rebuilt.
* sid/component/mapper/Makefile.in: Rebuilt.
* sid/component/mapper/testsuite/Makefile.in: Rebuilt.
* sid/component/memory/Makefile.in: Rebuilt.
* sid/component/mmu/Makefile.in: Rebuilt.
* sid/component/parport/Makefile.in: Rebuilt.
* sid/component/profiling/Makefile.in: Rebuilt.
* sid/component/rtc/Makefile.in: Rebuilt.
* sid/component/sched/Makefile.in: Rebuilt.
* sid/component/testsuite/Makefile.in: Rebuilt.
* sid/component/timers/aclocal.m4: Rebuilt.
* sid/component/timers/configure: Rebuilt.
* sid/component/uart/Makefile.in: Rebuilt.
* sid/component/uart/testsuite/Makefile.in: Rebuilt.
* sid/config/config.sub: Adjust.
* sid/config/info.tcl.in: Adjust.
* sid/config/sidtargets.m4: Adjust.
* sid/doc/Makefile.in: Rebuilt.
* sid/main/dynamic/Makefile.am: Rebuilt.
* sid/main/dynamic/Makefile.in: Rebuilt.
* sid/main/dynamic/aclocal.m4: Rebuilt.
* sid/main/dynamic/configure: Rebuilt.

18 years ago*** empty log message ***
gdbadmin [Fri, 16 Dec 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 15 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-15 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 15 Dec 2005 14:36:16 +0000 (14:36 +0000)]
2005-12-15  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all, do-[+make_target+], do-check, install,
install-host-nogcc): Don't invoke $(stage) at the end.
* Makefile.in: Regenerate.

18 years ago * mmap.cc (fhandler_dev_zero::fixup_mmap_after_fork): Use
corinna [Thu, 15 Dec 2005 09:04:27 +0000 (09:04 +0000)]
* mmap.cc (fhandler_dev_zero::fixup_mmap_after_fork): Use
system_printf like any other fixup_mmap_after_fork.

18 years ago* cygcheck.cc (common_apps): Add a few more binaries to look for.
cgf [Thu, 15 Dec 2005 03:36:14 +0000 (03:36 +0000)]
* cygcheck.cc (common_apps): Add a few more binaries to look for.

18 years ago*** empty log message ***
gdbadmin [Thu, 15 Dec 2005 00:00:48 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* basic.exp: Run the dsp test.
chaoyingfu [Wed, 14 Dec 2005 23:09:26 +0000 (23:09 +0000)]
* basic.exp: Run the dsp test.
* utils-dsp.inc: New file.
* mips32-dsp.s: New test.

18 years ago* Makefile.in (SIM_OBJS): Add dsp.o.
chaoyingfu [Wed, 14 Dec 2005 23:07:56 +0000 (23:07 +0000)]
* Makefile.in (SIM_OBJS): Add dsp.o.
(dsp.o): New dependency.
(IGEN_INCLUDE): Add dsp.igen.
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
mipsisa64*-*-*): Add dsp to sim_igen_machine.
* configure: Regenerate.
* mips.igen: Add dsp model and include dsp.igen.
(MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2,
because these instructions are extended in DSP ASE.
* sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
adding 6 DSP accumulator registers and 1 DSP control register.
(AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
DSPCR_CCOND_SMASK): New define.
(DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
* dsp.c, dsp.igen: New files for MIPS DSP ASE.

18 years agodaily update
amodra [Wed, 14 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago Fix unforgivable spelling error in ChangeLog.
corinna [Wed, 14 Dec 2005 20:04:16 +0000 (20:04 +0000)]
Fix unforgivable spelling error in ChangeLog.

18 years ago2005-12-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 14 Dec 2005 18:00:20 +0000 (18:00 +0000)]
2005-12-14  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Flip the top-level bootstrap switch.
* configure: Regenerate.

Merge from gcc:

2005-12-14  Daniel Jacobowitz  <dan@codesourcery.com>

        * Makefile.tpl: Throughout the file, use : $(MAKE) along with
        $(stage) and $(unstage).
        (EXTRA_TARGET_FLAGS): Correct double-quoting.
        (all): Remove stray semicolon.
        (local-distclean): Don't handle multilib.tmp and multilib.out.
        (install.all): Set $s for consistency.
        (configure-[+prefix+][+module+]): Instead of [+deps+], handle
        check_multilibs setting.  Always make the install directory.
        (configure-stage[+id+]-[+prefix+][+module+]): Likewise.
        Correct @if/@endif.
        (all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif.
        ($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove.
        (stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR).
        (multilib.out): Remove.
        * Makefile.in: Regenerated.

18 years ago * fhandler.cc (ACCFLAGS): Remove macro.
corinna [Wed, 14 Dec 2005 16:38:21 +0000 (16:38 +0000)]
* fhandler.cc (ACCFLAGS): Remove macro.
(fhandler_base::get_default_fmode): Use O_ACCMODE instead of ACCFLAGS
and or'ed read/write flags.
(fhandler_base::open_9x): Use O_ACCMODE instead of or'ed read/write
flags.
(fhandler_base::open): Ditto.
* fhandler_disk_file.cc (fhandler_base::open_fs): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::open): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::open): Ditto.

18 years ago * fhandler.cc (fhandler_base::open_9x): Handle O_SYNC and O_DIRECT
corinna [Wed, 14 Dec 2005 15:54:32 +0000 (15:54 +0000)]
* fhandler.cc (fhandler_base::open_9x): Handle O_SYNC and O_DIRECT
flags.
(fhandler_base::open): Ditto.
* fhandler_floppy.cc (fhandler_dev_floppy::open): Don't allocate devbuf
in O_DIRECT case.
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Don't allow buffer
changes in O_DIRECT case.  Allow returning a buffer size 0, which
indicates O_DIRECT.
* fhandler_tape.cc (fhandler_dev_tape::open): Use O_SYNC flag to
hand down the !buffer_writes case.  Don't allocate devbuf in O_DIRECT
case.
(fhandler_dev_tape::raw_read): Don't mess with devbuf if it's NULL.
* include/fcntl.h: Define _FDIRECT, O_DIRECT, O_DSYNC and O_RSYNC.
* include/cygwin/version.h: Bump API minor version.

18 years ago * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
jakub [Wed, 14 Dec 2005 15:15:55 +0000 (15:15 +0000)]
* scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
.data.rel.ro output section.  Fix a pasto for -z nocombreloc
.rela.data.rel.ro section content.

18 years ago * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
corinna [Wed, 14 Dec 2005 09:06:00 +0000 (09:06 +0000)]
* libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
typo in O_NDELAY comment.

18 years agogas/
jbeulich [Wed, 14 Dec 2005 08:57:05 +0000 (08:57 +0000)]
gas/
2005-12-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (add_prefix): More fine-grained handling of
REX prefixes. Or new prefix value into i.prefix instead of
assigning.

gas/testsuite/
2005-12-14  Jan Beulich  <jbeulich@novell.com>

* gas/i386/rex.[sd]: New.
* gas/i386/i386.exp: Run new test.

18 years ago* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
dj [Wed, 14 Dec 2005 03:38:27 +0000 (03:38 +0000)]
* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
.init and .fini processing.
* m32c/crtn.S: Likewise.
* m32c/exit.S: Likewise.

18 years ago* m32c.cpu (jsri): Fix order so register names aren't treated as
dj [Wed, 14 Dec 2005 03:30:06 +0000 (03:30 +0000)]
* m32c.cpu (jsri): Fix order so register names aren't treated as
symbols.
(indexb, indexbd, indexbs, indexl, indexld, indexls, indexw,
indexwd, indexws): Fix encodings.

* m32c-desc.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

18 years ago* config/tc-m32c.c (m32c_md_end): Only pad code sections.
dj [Wed, 14 Dec 2005 02:27:34 +0000 (02:27 +0000)]
* config/tc-m32c.c (m32c_md_end): Only pad code sections.

18 years ago*** empty log message ***
gdbadmin [Wed, 14 Dec 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 13 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
jjohnstn [Tue, 13 Dec 2005 22:59:26 +0000 (22:59 +0000)]
2005-12-13  Nathan Sidwell  <nathan@codesourcery.com>

        * mt/16-002.ld: Change architecture to 'mt'.  Remove
        SEARCH_DIR.
        * mt/16-003.ld: Likewise.
        * mt/64-001.ld: Likewise.
        * mt/Makefile.in: Change comment to reference 'mt' rather than 'ms1'.
        * mt/crt0.S: Likewise.

18 years ago2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
jjohnstn [Tue, 13 Dec 2005 22:57:31 +0000 (22:57 +0000)]
2005-12-13  Nathan Sidwell  <nathan@codesourcery.com>

        * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
        * libc/include/machine/setjmp.h (__mt__): Likewise.
        * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
        * libc/machine/configure.in: Ditto.

18 years ago* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
cgf [Tue, 13 Dec 2005 16:01:57 +0000 (16:01 +0000)]
* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
* sigproc.cc (_cygtls::remove_wq): Ditto.

18 years ago2005-12-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 13 Dec 2005 15:34:28 +0000 (15:34 +0000)]
2005-12-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2008
* elf.c (_bfd_elf_setup_sections): Return FALSE if
elf_linked_to_section will be set to NULL.

* format.c (bfd_check_format_matches): Don't check the default
target twice.

18 years ago* fhandler_tty.cc (fhandler_tty::open): Enhance comment.
cgf [Tue, 13 Dec 2005 14:47:18 +0000 (14:47 +0000)]
* fhandler_tty.cc (fhandler_tty::open): Enhance comment.

18 years ago* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Detect
kettenis [Tue, 13 Dec 2005 10:24:35 +0000 (10:24 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Detect
export stub for signal trampoline as a signal trampoline too.

18 years ago* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don't
kettenis [Tue, 13 Dec 2005 10:17:09 +0000 (10:17 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don't
set pcoqh to rp.

18 years ago * h8300-tdep.c (h8300_frame_prev_register): Change valuep type to
corinna [Tue, 13 Dec 2005 10:06:37 +0000 (10:06 +0000)]
* h8300-tdep.c (h8300_frame_prev_register): Change valuep type to
gdb_byte *.
(h8300_push_dummy_call): Change `padded' to gdb_byte.
(h8300_return_value): Change buffer types to gdb_byte.
(h8300h_return_value): Ditto.
(h8300_pseudo_register_read): Ditto.
(h8300_pseudo_register_write): Ditto.

18 years ago * v850-tdep.c (v850_frame_prev_register): Change valuep type to
corinna [Tue, 13 Dec 2005 09:59:04 +0000 (09:59 +0000)]
* v850-tdep.c (v850_frame_prev_register): Change valuep type to
gdb_byte *.

18 years ago * fhandler_tty.cc (fhandler_tty::open): Close newly created window
corinna [Tue, 13 Dec 2005 09:07:12 +0000 (09:07 +0000)]
* fhandler_tty.cc (fhandler_tty::open): Close newly created window
station after switching to original window station.

18 years ago* fhandler_tty.cc (fhandler_tty::open): Add a comment.
cgf [Tue, 13 Dec 2005 05:43:30 +0000 (05:43 +0000)]
* fhandler_tty.cc (fhandler_tty::open): Add a comment.

18 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
amodra [Tue, 13 Dec 2005 05:39:34 +0000 (05:39 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
shared libs to resolve locally.

18 years ago* faq-programming.xml: Add note about struct stat64.
joshuadfranklin [Tue, 13 Dec 2005 05:32:43 +0000 (05:32 +0000)]
* faq-programming.xml: Add note about struct stat64.

18 years ago* times.cc (hires_ms::usecs): Subtract from slop from system time or we'll
cgf [Tue, 13 Dec 2005 02:55:11 +0000 (02:55 +0000)]
* times.cc (hires_ms::usecs): Subtract from slop from system time or we'll
always end up priming the pump.

18 years ago* times.cc (systime): Correct precision referenced in comment.
cgf [Tue, 13 Dec 2005 02:02:51 +0000 (02:02 +0000)]
* times.cc (systime): Correct precision referenced in comment.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't free original windows
station since that will cause strange problems displaying fonts.  Reset windows
station to original station after creating console.
* times.cc (hires_ms::usecs): Only reprime when calculated time is less than
system time.

18 years ago* include/winuser.h (WINSTA_ALL_ACCESS): Define.
cgf [Tue, 13 Dec 2005 01:24:35 +0000 (01:24 +0000)]
* include/winuser.h (WINSTA_ALL_ACCESS): Define.

18 years ago* pinfo.cc (winpids::add): Don't copy procinfo when there is no cygwin process
cgf [Tue, 13 Dec 2005 00:54:32 +0000 (00:54 +0000)]
* pinfo.cc (winpids::add): Don't copy procinfo when there is no cygwin process
associated with the pid, i.e., procinfo == NULL.

18 years ago* times.cc (hires_ms::usecs): Correct order when checking if high precision
cgf [Tue, 13 Dec 2005 00:43:46 +0000 (00:43 +0000)]
* times.cc (hires_ms::usecs): Correct order when checking if high precision
time is <= current time.

18 years ago*** empty log message ***
gdbadmin [Tue, 13 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 12 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agocorrect ChangeLog
cgf [Mon, 12 Dec 2005 19:10:02 +0000 (19:10 +0000)]
correct ChangeLog

18 years ago* pinfo.cc (size_copied): New convenience macro.
cgf [Mon, 12 Dec 2005 18:43:28 +0000 (18:43 +0000)]
* pinfo.cc (size_copied): New convenience macro.
(winpids::add): Alias the element that we are working on for slightly better
clarity.  Honor the "make_copy" flag.
(winpids::release): Free and zero procinfo field if it was allocated via
malloc.
(winpids::~winpids): Free copied array.
* pinfo.h (class pinfo): Make winpids class a friend.
(winpids::make_copy): New field.
(winpids::copied): New array.
(winpids::reset): Reset npids after releasing pinfos or suffer a memory leak.
(winpids::winpids): Try harder to allocate all fields in the class.

18 years ago2005-12-12 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 12 Dec 2005 17:03:38 +0000 (17:03 +0000)]
2005-12-12  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(check_use_blx): New function.
(bfd_elf32_arm_process_before_allocation): Don't allocate glue if
using BLX.
(elf32_arm_final_link_relocate): Perform bl<->blx conversion for
R_ARM_CALL and R_ARM_THM.
(elf32_arm_get_eabi_attr_int): New function.
(elf32_arm_size_dynamic_sections): Call check_use_blx.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP.
gas/
* config/tc-arm.c (do_branch): Generate EABI branch relocations.
(do_bl): New function.
(do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
(do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
(insns): Use do_bl.
(md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
BFD_RELOC_ARM_PCREL_BLX cases.  Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
gas/testsuite/
* gas/arm/pic.d: Allow R_ARM_CALL relocations.
include/elf/
* arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
ld/testsuite/
* ld-arm/arm-call.d: New test.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5.
* ld-arm/arm.ld: Add .glue_7 and .ARM.attribues.
* ld-arm/mixed-app-v5.d: New file.
* ld-arm/mixed-app.r: Tweak expected output.

18 years ago * autoload.cc (GetSystemTimes): Remove.
corinna [Mon, 12 Dec 2005 14:27:13 +0000 (14:27 +0000)]
* autoload.cc (GetSystemTimes): Remove.

18 years ago * fhandler_proc.cc (format_proc_uptime): Drop usage of GetSystemTimes.
corinna [Mon, 12 Dec 2005 12:18:13 +0000 (12:18 +0000)]
* fhandler_proc.cc (format_proc_uptime): Drop usage of GetSystemTimes.
Use NtQuerySystemInformation to evaluate uptime and idle_time from
all CPU's processor times.  Fallback to GetTickCount.

18 years ago Rename ms1 to mt, part 1
nathan [Mon, 12 Dec 2005 11:24:57 +0000 (11:24 +0000)]
Rename ms1 to mt, part 1
* config.sub: Replace ms1 arch with mt.  Allow ms1 as alias.
* configure.in: Replace ms1 arch with mt.
* configure: Rebuilt.

* bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
(cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
* bfd/Makefile.in: Rebuilt.
* bfd/config.bfd: Replace ms1 arch with mt.
* bfd/configure.in: Replace ms1 files with mt files.
* bfd/configure: Rebuilt.
* bfd/elf32-mt.c: Renamed from elf32-ms1.c.  Update include files.
* bfd/cpu-mt.c: Renamed from cpu-ms1.c.

* cpu/mt.cpu: Rename from ms1.cpu.
* cpu/mt.opc: Rename from ms1.opc.

* binutils/Makefile.am: Replace ms1 files with mt files.
* binutils/Makefile.in: Rebuilt.
* binutils/readelf.c (elf/mt.h): Adjust #include.

* gas/configure.in: Replace ms1 arch with mt arch.
* gas/configure: Rebuilt.
* gas/configure.tgt: Replace ms1 arch with mt arch.
* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.

* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
* gas/doc/Makefile.in: Rebuilt.

* gas/testsuite/gas/mt: Renamed from ms1 dir.  Update file names as
needed.
* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.

* gdb/configure.tgt: Replace ms1 arch with mt arch.
* gdb/config/mt: Renamed from ms1 dir.  Update file names as needed.
* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.

* include/elf/mt.h: Renamed from ms1.h

* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
(eelf32mt.c): Update target name and dependencies.
* ld/Makefile.in: Rebuilt.
* ld/configure.tgt: Replace ms1 arch with mt arch.
* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
comment.

* libgloss/configure.in: Replace ms1 arch with mt arch.
* libgloss/configure: Rebuilt.
* libgloss/mt: Renamed from ms1 dir.

* newlib/configure.host: Replace ms1 arch with mt arch.
* newlib/libc/machine/mt: Renamed from ms1 dir.

* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
with mt.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure.in: Replace ms1 files with mt files.
* opcodes/configure: Rebuilt.

* sid/component/cgen-cpu/mt: Renamed from ms1 dir.  Update file
names as appropriate.
* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
files.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.

18 years agoRename ms1 files to mt files (part 1 -- renames only)
nathan [Mon, 12 Dec 2005 11:16:40 +0000 (11:16 +0000)]
Rename ms1 files to mt files (part 1 -- renames only)

18 years ago * mmap.cc (gen_create_protect): Always generate WRITECOPY protection
corinna [Mon, 12 Dec 2005 10:00:32 +0000 (10:00 +0000)]
* mmap.cc (gen_create_protect): Always generate WRITECOPY protection
for private maps.
(fixup_mmaps_after_fork): Fix calculation of WRITECOPY protection for
VirtualProtect.  Add some words to the comment.

18 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
amodra [Mon, 12 Dec 2005 03:59:52 +0000 (03:59 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.

18 years ago*** empty log message ***
gdbadmin [Mon, 12 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
tausq [Sun, 11 Dec 2005 23:59:33 +0000 (23:59 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 11 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error when
cgf [Sun, 11 Dec 2005 22:31:00 +0000 (22:31 +0000)]
* winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error when
setting array element to -1.

18 years agofix typo.
cgf [Sun, 11 Dec 2005 17:30:53 +0000 (17:30 +0000)]
fix typo.

18 years agomerge from gcc
dj [Sun, 11 Dec 2005 02:16:04 +0000 (02:16 +0000)]
merge from gcc

18 years ago * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
hp [Sun, 11 Dec 2005 00:49:19 +0000 (00:49 +0000)]
* scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
* scripttempl/elf.sc: Ditto.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elf_chaos.sc: Ditto.
* scripttempl/elfd10v.sc: Ditto.
* scripttempl/elfd30v.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
* scripttempl/iq2000.sc: Ditto.
* scripttempl/xstormy16.sc: Ditto.

18 years ago*** empty log message ***
gdbadmin [Sun, 11 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.
cgf [Sat, 10 Dec 2005 23:25:23 +0000 (23:25 +0000)]
* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.

18 years agodaily update
amodra [Sat, 10 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* malloc.cc: Update to version 2.8.3.
cgf [Sat, 10 Dec 2005 17:09:58 +0000 (17:09 +0000)]
* malloc.cc: Update to version 2.8.3.
* cygmalloc.h (MSPACE): Remove unneeded definition.

18 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
amodra [Sat, 10 Dec 2005 03:31:03 +0000 (03:31 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
to test for linking shared libs, not info->shared.

18 years ago*** empty log message ***
gdbadmin [Sat, 10 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 9 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:25:04 +0000 (11:25 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

PR corefiles/2026
* hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF
core files.
(_initialize_hppa_hpux_tdep): Install sniffer for ELF core files.
* config/pa/hpux.mh: Compile corelow.o.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:13:34 +0000 (11:13 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function.
(hppa64_push_dummy_call): If passing a function pointer, ensure
it is a function descriptor address instead of the function entry
point.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:10:24 +0000 (11:10 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion.
(hppa_gdbarch_init): Set dwarf_reg_to_regnum and
dwarf2_reg_to_regnum methods.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:05:26 +0000 (11:05 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:02:08 +0000 (11:02 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 10:57:40 +0000 (10:57 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 10:55:09 +0000 (10:55 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.

18 years ago * lib/kernel32.def (CreateFiberEx): Correct suffix.
dannysmith [Fri, 9 Dec 2005 07:49:40 +0000 (07:49 +0000)]
* lib/kernel32.def (CreateFiberEx): Correct suffix.

18 years ago2005-12-09 Huw Davies <hdavies@users.sourceforge.net>
dannysmith [Fri, 9 Dec 2005 04:59:24 +0000 (04:59 +0000)]
2005-12-09  Huw Davies <hdavies@users.sourceforge.net>
    Danny Smith <dannysmith@users.sourceforge.net>

* lib/msxml-uuid.c: New file to generate UUIDs for
MSXML interfaces.
* lib/Makefile.in (UUID_OBJS): Add msxml-uuid.o.

Add missing ChangeLog entries for 2005-12-07 commits.

18 years ago*** empty log message ***
gdbadmin [Fri, 9 Dec 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 8 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-08 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Thu, 8 Dec 2005 19:45:42 +0000 (19:45 +0000)]
2005-12-08  Shaun Jackman  <sjackman@gmail.com>

* libc/include/sys/types.h: Remove the ifdef armour around
standard POSIX types.