OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago(monitor_load): Fix indentation.
jimb [Thu, 13 Sep 2001 18:43:03 +0000 (18:43 +0000)]
(monitor_load): Fix indentation.

22 years ago * generic/tclStubInit.tcl: Export tclAlloc functions
irox [Thu, 13 Sep 2001 18:27:52 +0000 (18:27 +0000)]
* generic/tclStubInit.tcl: Export tclAlloc functions
if __MINGW32__ is defined.
* generic/tclAlloc.c: Revert changes from 2001-09-12.
* generic/tcl.h: Use tclAlloc function if __WIN32__
is defined.
* win/tclWinPort.h: Fixed typer __MWIN32 should read
__WIN32__.

22 years ago2001-09-13 Earnie Boyd <earnie@SF.net>
earnie [Thu, 13 Sep 2001 17:45:54 +0000 (17:45 +0000)]
2001-09-13  Earnie Boyd  <earnie@SF.net>

* lib/Makefile.in (inst_includedir): Change to always use w32api
subdirectory for target == cygwin.
(inst_libdir): Ditto.

22 years ago* libltp/lib/tst_sig.c: Pass SIGSEGV to application to consider
duda [Thu, 13 Sep 2001 17:30:22 +0000 (17:30 +0000)]
* libltp/lib/tst_sig.c: Pass SIGSEGV to application to consider
whether it's expected or not.
* winsup.api/known_bugs.tcl: lseek10 is known to fail because mknod
is not implemented.
* winsup.api/ltp/rename02.c: Fix formatting.
* libltp/lib/libtestsuite.c: New file.
* winsup.api/signal-into-win32-api.c: New test.
* winsup.api/ltp/access04.c: Ditto.
* winsup.api/ltp/access05.c: Ditto.
* winsup.api/ltp/alarm07.c: Ditto.
* winsup.api/ltp/chdir04.c: Ditto.
* winsup.api/ltp/chmod01.c: Ditto.
* winsup.api/ltp/close01.c: Ditto.
* winsup.api/ltp/close02.c: Ditto.
* winsup.api/ltp/creat01.c: Ditto.
* winsup.api/ltp/creat03.c: Ditto.
* winsup.api/ltp/exit01.c: Ditto.
* winsup.api/ltp/exit02.c: Ditto.
* winsup.api/ltp/fchdir01.c: Ditto.
* winsup.api/ltp/fchdir02.c: Ditto.
* winsup.api/ltp/fork02.c: Ditto.
* winsup.api/ltp/fork03.c: Ditto.
* winsup.api/ltp/fork06.c: Ditto.
* winsup.api/ltp/fork07.c: Ditto.
* winsup.api/ltp/fork09.c: Ditto.
* winsup.api/ltp/fork10.c: Ditto.
* winsup.api/ltp/fork11.c: Ditto.
* winsup.api/ltp/fstat02.c: Ditto.
* winsup.api/ltp/fstat03.c: Ditto.
* winsup.api/ltp/fstat04.c: Ditto.
* winsup.api/ltp/ftruncate01.c: Ditto.
* winsup.api/ltp/ftruncate02.c: Ditto.
* winsup.api/ltp/ftruncate03.c: Ditto.
* winsup.api/ltp/getgid02.c: Ditto.
* winsup.api/ltp/getgid03.c: Ditto.
* winsup.api/ltp/getpgid01.c: Ditto.
* winsup.api/ltp/getpgid02.c: Ditto.
* winsup.api/ltp/getpid02.c: Ditto.
* winsup.api/ltp/getppid02.c: Ditto.
* winsup.api/ltp/getuid02.c: Ditto.
* winsup.api/ltp/getuid03.c: Ditto.
* winsup.api/ltp/kill01.c: Ditto.
* winsup.api/ltp/kill02.c: Ditto.
* winsup.api/ltp/kill03.c: Ditto.
* winsup.api/ltp/kill04.c: Ditto.
* winsup.api/ltp/lseek06.c: Ditto.
* winsup.api/ltp/lseek07.c: Ditto.
* winsup.api/ltp/lseek08.c: Ditto.
* winsup.api/ltp/lseek09.c: Ditto.
* winsup.api/ltp/lseek10.c: Ditto.
* winsup.api/ltp/mmap02.c: Ditto.
* winsup.api/ltp/mmap03.c: Ditto.
* winsup.api/ltp/mmap04.c: Ditto.
* winsup.api/ltp/mmap05.c: Ditto.
* winsup.api/ltp/mmap06.c: Ditto.
* winsup.api/ltp/mmap07.c: Ditto.
* winsup.api/ltp/mmap08.c: Ditto.
* winsup.api/ltp/munmap01.c: Ditto.
* winsup.api/ltp/munmap02.c: Ditto.
* winsup.api/ltp/open02.c: Ditto.
* winsup.api/ltp/pipe01.c: Ditto.
* winsup.api/ltp/pipe08.c: Ditto.
* winsup.api/ltp/pipe09.c: Ditto.
* winsup.api/ltp/pipe10.c: Ditto.
* winsup.api/ltp/pipe11.c: Ditto.
* winsup.api/ltp/poll01.c: Ditto.
* winsup.api/ltp/read04.c: Ditto.
* winsup.api/ltp/readlink01.c: Ditto.
* winsup.api/ltp/readlink03.c: Ditto.
* winsup.api/ltp/rename01.c: Ditto.
* winsup.api/ltp/rename08.c: Ditto.
* winsup.api/ltp/rename10.c: Ditto.
* winsup.api/ltp/rmdir01.c: Ditto.
* winsup.api/ltp/stat01.c: Ditto.
* winsup.api/ltp/stat02.c: Ditto.
* winsup.api/ltp/stat03.c: Ditto.
* winsup.api/ltp/symlink03.c: Ditto.
* winsup.api/ltp/symlink04.c: Ditto.
* winsup.api/ltp/symlink05.c: Ditto.
* winsup.api/ltp/sync02.c: Ditto.
* winsup.api/ltp/time02.c: Ditto.
* winsup.api/ltp/times02.c: Ditto.
* winsup.api/ltp/times03.c: Ditto.
* winsup.api/ltp/truncate01.c: Ditto.
* winsup.api/ltp/truncate02.c: Ditto.
* winsup.api/ltp/umask02.c: Ditto.
* winsup.api/ltp/umask03.c: Ditto.
* winsup.api/ltp/wait401.c: Ditto.
* winsup.api/ltp/wait402.c: Ditto.
* winsup.api/ltp/write02.c: Ditto.
* winsup.api/ltp/write03.c: Ditto.

22 years ago* dumper.cc (main): Properly recognize negative pids (used by w9x).
duda [Thu, 13 Sep 2001 15:06:25 +0000 (15:06 +0000)]
* dumper.cc (main): Properly recognize negative pids (used by w9x).

22 years ago2001-09-13 Earnie Boyd <earnie@SF.net>
earnie [Thu, 13 Sep 2001 12:06:26 +0000 (12:06 +0000)]
2001-09-13  Earnie Boyd  <earnie@SF.net>

* lib/Makefile.in (config_prefix): New variable.
(inst_includedir): Manipulate special value only if target == cygwin
and build == target and prefix != config_prefix.
(inst_libdir): Ditto.

22 years ago* sync.cc (muto::acquire): Fix while/if typo.
cgf [Thu, 13 Sep 2001 01:07:25 +0000 (01:07 +0000)]
* sync.cc (muto::acquire): Fix while/if typo.

22 years ago * win/Makefile.in: Remove hardcoded
irox [Thu, 13 Sep 2001 00:43:23 +0000 (00:43 +0000)]
* win/Makefile.in: Remove hardcoded
version postfix from directory paths.
* configure: Regenerated.
* win/configure: Regenerated.

22 years ago * configure: Regenerated.
irox [Thu, 13 Sep 2001 00:42:07 +0000 (00:42 +0000)]
* configure: Regenerated.
* win/configure: Regenerated.
* win/configure.in: Set XINCLUDES using absolute path
rather than relative path.
* win/tkWinDialog.c (ChooseDirectoryHookProc): Use
__TEXT instead of _T (this might be bad practice).

22 years ago * Makefile.in: Add 'cygwin' subdirectory to 'make all'
irox [Thu, 13 Sep 2001 00:38:49 +0000 (00:38 +0000)]
* Makefile.in: Add 'cygwin' subdirectory to 'make all'
target.
* configure.in: Configure 'cygwin' and 'win' directory
for a cygwin host.
* configure: Regenerated.
* cygwin/configure.in: Change version number to 8.3.
* cygwin/configure: Regenerated.
* cygwin/Makefile.am: Added/removed files to be build
for Tcl8.3.
* cygwin/Makefile.in: Regenerated.
* generic/tcl.h: Don't define __WIN32__ for cygwin or
mwing32 builds.  Don't define USE_TCLALLOC when building
for cygwin.  Don't use __declspec unless building Tcl or
tk or build with USE_TCL_STUBS.
* generic/tclAlloc.c: For cygwin hosts, don't using
anything in this file unless build with __TCL_UNIX_VARIANT.
* generic/tclClock.c: Declare 'timezone' as an int, if it
hasn't been #defined.
* generic/tclStubInit.c: Don't export any tclAlloc function
when build for a cygwin host.
* win/configure.in: Set DL_LIBS and MATH_LIBS.  Create
unix/tclConfig.sh.
* win/configure: Regenerated.
* win/tclWinPort.h: Added missing #endif.
* win/tclWinFile.c (TclpChdir): Don't invert change
directory results on cygwin.

22 years ago* elf.c (prep_headers): Get the machine code from the elf
aoliva [Thu, 13 Sep 2001 00:15:54 +0000 (00:15 +0000)]
* elf.c (prep_headers): Get the machine code from the elf
backend data.
* elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200.
* elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
* elf-arc.c (arc_elf_final_write_processing): Don't override
e_machine, it's now properly set in prep_headers.
* elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and
EM_AVR_OLD.
(ELF_MACHINE_ALT1): Define to EM_AVR_OLD.
* elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V.
* elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V.
* elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30.
* elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R.
* elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD.
* elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.

22 years ago*** empty log message ***
gdbadmin [Thu, 13 Sep 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-09-12 H.J. Lu <hjl@gnu.org>
hjl [Wed, 12 Sep 2001 23:57:21 +0000 (23:57 +0000)]
2001-09-12  H.J. Lu  <hjl@gnu.org>

* Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
eelf64lppc.o to ...
(ALL_64_EMULATIONS): Here.
* Makefile.in: Regenerated.

22 years ago* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
aoliva [Wed, 12 Sep 2001 23:53:45 +0000 (23:53 +0000)]
* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V,
EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD.
Removed EM_CYGNUS_ARC.

22 years ago* elf.c (prep_headers): Get the machine code from the elf
aoliva [Wed, 12 Sep 2001 23:53:31 +0000 (23:53 +0000)]
* elf.c (prep_headers): Get the machine code from the elf
backend data.
* elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200.
* elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
* elf-arc.c (arc_elf_final_write_processing): Don't override
e_machine, it's now properly set in prep_headers.
* elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and
EM_AVR_OLD.
(ELF_MACHINE_ALT1): Define to EM_AVR_OLD.
* elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V.
* elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V.
* elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30.
* elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R.
* elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD.
* elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850.
(ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.

22 years ago* common.h (EM_AVR_OLD): Renamed from...
aoliva [Wed, 12 Sep 2001 23:53:09 +0000 (23:53 +0000)]
* common.h (EM_AVR_OLD): Renamed from...
(EM_AVR): this, redefined as in the current ELF standard.
(EM_PJ_OLD): Renamed from...
(EM_PJ): this, redefined as in the current ELF standard.
(EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300,
EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in
the current ELF standard.
(EM_CYGNUS_ARC): Removed, unused for a long time.

22 years ago * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
ths [Wed, 12 Sep 2001 21:19:36 +0000 (21:19 +0000)]
* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.

22 years ago * wincap.cc (wincapc::init): Simplify W2K/XP case.
corinna [Wed, 12 Sep 2001 21:07:13 +0000 (21:07 +0000)]
    * wincap.cc (wincapc::init): Simplify W2K/XP case.

22 years ago * wincap.cc (wincapc::init): Set os name to "NT" on XP, too.
corinna [Wed, 12 Sep 2001 21:03:52 +0000 (21:03 +0000)]
    * wincap.cc (wincapc::init): Set os name to "NT" on XP, too.

22 years ago2001-09-12 Earnie Boyd <earnie@SF.net>
earnie [Wed, 12 Sep 2001 20:24:06 +0000 (20:24 +0000)]
2001-09-12  Earnie Boyd  <earnie@SF.net>

* Makefile.in (TARFLAGS): New variable.
(TARFILEEXT): Ditto.

22 years agoRemove incomplete section on overlays, committed by accident.
jimb [Wed, 12 Sep 2001 19:49:52 +0000 (19:49 +0000)]
Remove incomplete section on overlays, committed by accident.

22 years ago * Makefile.in: Build wincap.o.
corinna [Wed, 12 Sep 2001 17:46:35 +0000 (17:46 +0000)]
    * Makefile.in: Build wincap.o.
        * wincap.cc: New file.
        * wincap.h: Ditto.
        * autoload.cc: Add dynamic load statement for `CreateHardLinkA'.
        * dcrt0.cc (os_being_run): Eliminated.
        (osname): Ditto.
        (iswinnt): Ditto.
        (set_os_type): Ditto.
        (dll_crt0_1): Call wincap.init() instead of set_os_type().
        (_dll_crt0): Ditto.
        * environ.cc (set_chunksize): New function.
        (parse_thing): `forkchunk' setting now invokes function `set_chunksize'.
        * fork.cc (chunksize): Eliminated. Moved to be member of wincap.
        * host_dependent.h: Removed.
        * syscalls.cc (_link): Try using `CreateHardLinkA' first, if available.
        * cygheap.cc, dcrt0.cc, delqueue.cc, dir.cc,
        environ.cc, fhandler.cc, fhandler.h, fhandler_console.cc,
        fhandler_mem.cc, fork.cc, mmap.cc, net.cc, pinfo.cc, pinfo.h,
        security.cc, syscalls.cc, sysconf.cc, syslog.cc, thread.cc,
        times.cc, tty.cc, uinfo.cc, uname.cc, winsup.h: Use new wincap
        capability check throughout.
        * winsup.h: Include wincap.h. Eliminate extern declarations of
        `os_being_run' and `iswinnt'. Eliminate `os_type" definition.
        * include/cygwin/version.h: Bump version to 1.3.4.

22 years ago * win/configure: Regenerated. Appears to have some stray
kseitz [Wed, 12 Sep 2001 17:09:52 +0000 (17:09 +0000)]
* win/configure: Regenerated. Appears to have some stray
conflict markers in it.

22 years ago2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
cwilson [Wed, 12 Sep 2001 15:58:09 +0000 (15:58 +0000)]
2001-09-12  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
        * emultempl/pe.em(make_import_fixup): change signature to
        take asection as well as arelec; we need this for proper
        error reporting.  Only call pe_create_import_fixup() if
        there is no attempt to add a constant addend to the reloc;
        otherwise, report error condition.
        * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
        since final argument is a pointer to make_import_fixup().
        Change call to cb() to match make_import_fixup() signature.
        (make_import_fixup_mark): make buffer_len unsigned.
        * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2001-09-12  Charles Wilson  <cwilson@ece.gatech.edu>
        * ld.texinfo: add verbose documentation for auto-import
        direct-addressing workaround, to compliment the terse
        error message.

22 years ago2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
cwilson [Wed, 12 Sep 2001 15:54:37 +0000 (15:54 +0000)]
2001-09-12  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
        * emultempl/pe.em(make_import_fixup): change signature to
        take asection as well as arelec; we need this for proper
        error reporting.  Only call pe_create_import_fixup() if
        there is no attempt to add a constant addend to the reloc;
        otherwise, report error condition.
        * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
        since final argument is a pointer to make_import_fixup().
        Change call to cb() to match make_import_fixup() signature.
        (make_import_fixup_mark): make buffer_len unsigned.
        * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2001-09-12  Charles Wilson  <cwilson@ece.gatech.edu>
        * ld.texinfo: add verbose documentation for auto-import
        direct-addressing workaround, to compliment the terse
        error message.

22 years ago2001-09-12 Earnie Boyd <earnie@SF.net>
earnie [Wed, 12 Sep 2001 14:48:06 +0000 (14:48 +0000)]
2001-09-12  Earnie Boyd  <earnie@SF.net>

* Makefile.in: Increment version.
* include/w32api.h: Ditto.
* lib/Makefile.in: Add usr/ to install directory special for cygwin.

22 years ago * scripttempl/v850.sc: Add gcc_except_table sections.
clm [Wed, 12 Sep 2001 14:09:18 +0000 (14:09 +0000)]
   * scripttempl/v850.sc: Add gcc_except_table sections.

22 years ago2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>
earnie [Wed, 12 Sep 2001 14:08:53 +0000 (14:08 +0000)]
2001-09-11  Danny Smith  <dannysmith@users.sourceforge.net>

  * include/winnt.h (_[U]LARGE_INTEGER): Protect nameless struct with
!defined(NONAMELESSUNION), rather than defined(_ANONYMOUS_STRUCT).
(_REPARSE_DATA_BUFFER): Name union field DUMMYUNIONNAME.

22 years ago* exceptions.cc (call_signal_handler_now): Add additional guard against
cgf [Wed, 12 Sep 2001 05:09:23 +0000 (05:09 +0000)]
* exceptions.cc (call_signal_handler_now): Add additional guard against
inappropriately calling signal handler.
* syscalls.cc (_read): Reset errno if not exiting due to signal.

22 years agominor cleanups
cgf [Wed, 12 Sep 2001 04:47:47 +0000 (04:47 +0000)]
minor cleanups

22 years ago* printcmd.c (print_scalar_formatted): Fix indentation.
jimb [Wed, 12 Sep 2001 04:18:08 +0000 (04:18 +0000)]
* printcmd.c (print_scalar_formatted): Fix indentation.

22 years agoWed Sep 12 13:03:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Wed, 12 Sep 2001 03:18:04 +0000 (03:18 +0000)]
Wed Sep 12 13:03:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * autoload.cc (LoadDLLfuncEx): Auto load TryEnterCriticalSection - its a
n NT only call.
        * thread.cc (pthread_cond::TimedWait): Use critical sections for NT.
        (pthread_cond::fixup_after_fork): Don't detect bad apps.
        (pthread_mutex::pthread_mutex): Use critical sections for NT.
        (pthread_mutex::~pthread_mutex): Ditto.
        (pthread_mutex::Lock): Ditto.
        (pthread_mutex::TryLock): Ditto.
        (pthread_mutex::UnLock): Ditto.
        (pthread_mutex::fixup_after_fork): Ditto. Also do not detect bad apps.
        (__pthread_mutex_trylock): Move WIN32 specific test into the class metho
d.
        (__pthread_mutex_destroy): Prevent dereferencing passed pointer without
valid address.
        * thread.h (pthread_mutex): Use critical sections for NT.

22 years ago* sigproc.h (sigframe::unregister): Return true/false whether this frame is
cgf [Wed, 12 Sep 2001 01:56:32 +0000 (01:56 +0000)]
* sigproc.h (sigframe::unregister): Return true/false whether this frame is
capable of responding to signals.
* exceptions.cc (sigframe::call_signal_handler): Don't call signal handler if
it is not armed for this thread.

22 years ago*** empty log message ***
gdbadmin [Wed, 12 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoUpdate copyrights.
cgf [Tue, 11 Sep 2001 20:01:00 +0000 (20:01 +0000)]
Update copyrights.

22 years agofix some typos.
cgf [Tue, 11 Sep 2001 19:40:14 +0000 (19:40 +0000)]
fix some typos.

22 years agoRemove unneeded CYGWIN code throughout. Change CYGWIN32 to CYGWIN throughout.
cgf [Tue, 11 Sep 2001 19:24:02 +0000 (19:24 +0000)]
Remove unneeded CYGWIN code throughout.  Change CYGWIN32 to CYGWIN throughout.
* configure.in: Use gcc -mno-win32 option under Cygwin.
* configure: Regenerate.

22 years ago * elf64-alpha.c (elf64_alpha_section_flags): New.
rth [Tue, 11 Sep 2001 18:26:27 +0000 (18:26 +0000)]
    * elf64-alpha.c (elf64_alpha_section_flags): New.
        (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.

22 years ago * config/tc-alpha.c (alpha_elf_section_letter): New.
rth [Tue, 11 Sep 2001 18:26:03 +0000 (18:26 +0000)]
    * config/tc-alpha.c (alpha_elf_section_letter): New.
        (alpha_elf_section_flags): New.
        * config/tc-alpha.h (md_elf_section_letter): New.
        (md_elf_section_flags): New.
        * config/tc-ia64.c (ia64_elf_section_letter): New.
        * config/tc-ia64.h (md_elf_section_letter): New.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Do not
rth [Tue, 11 Sep 2001 18:21:11 +0000 (18:21 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Do not
        apply HINT relocations against dynamic symbols.

22 years ago2001-09-11 H.J. Lu <hjl@gnu.org>
hjl [Tue, 11 Sep 2001 18:10:20 +0000 (18:10 +0000)]
2001-09-11  H.J. Lu  <hjl@gnu.org>

* inker.c (link_action): Change COMMON_ROW\defw from CREF to
COM.

22 years agochange copyright.
cgf [Tue, 11 Sep 2001 17:02:23 +0000 (17:02 +0000)]
change copyright.

22 years ago * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
jakub [Tue, 11 Sep 2001 16:46:38 +0000 (16:46 +0000)]
* config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
of 'm', 'S' instead of 's'.  Update bad_msg.
* config/tc-ppc.c (ppc_section_letter): Update bad_msg.
* config/tc-i370.c (i370_sectioN_letter): Update bad_msg.

22 years ago* cygwin.din: Remove cygwin_getshared.
cgf [Tue, 11 Sep 2001 15:25:08 +0000 (15:25 +0000)]
* cygwin.din: Remove cygwin_getshared.
* shared.cc: Ditto.
* include/cygwin/version.h: Bump API minor number.
* dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.

22 years ago2001-09-11 H.J. Lu <hjl@gnu.org>
hjl [Tue, 11 Sep 2001 14:25:16 +0000 (14:25 +0000)]
2001-09-11  H.J. Lu  <hjl@gnu.org>

* ld-elfweak/elfweak.exp (build_lib): Take a list of object
files.
(build_exec): Likewise.
Add more tests and make some xfail.

* ld-elfweak/dso.dsym: Support symbol versioning.
* ld-elfweak/dsow.dsym: Likewise.

* ld-elfweak/main1.c: New.
* ld-elfweak/bar1a.c: Likewise.
* ld-elfweak/bar1b.c: Likewise.
* ld-elfweak/bar1c.c: Likewise.
* ld-elfweak/foo1a.c: Likewise.
* ld-elfweak/foo1b.c: Likewise.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/dsowdata.dsym: Likewise.
* ld-elfweak/weakdata.dsym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.
* ld-elfweak/weakdata.dat: Likewise.
* ld-elfweak/strongdata.dat: Likewise.

22 years agoIf -mfp32, do not enable 64-bit FPR registers on mips3
meissner [Tue, 11 Sep 2001 14:24:35 +0000 (14:24 +0000)]
If -mfp32, do not enable 64-bit FPR registers on mips3

22 years agoTue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Tue, 11 Sep 2001 11:23:41 +0000 (11:23 +0000)]
Tue Sep 11 21:22:00 2001  Robert Collins <rbtcollins@hotmail.com>

* thread.cc (pthread_cond::~pthread_cond): Bugfix: Incorrect use of InterlockExchangePointer.
(pthread_mutex::~pthread_mutex): Ditto.
(semaphore::~semaphore): Ditto.

22 years agoTue Sep 11 18:15:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Tue, 11 Sep 2001 08:15:39 +0000 (08:15 +0000)]
Tue Sep 11 18:15:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * dcrt0.cc (cygwin_finished_initializing): Copy _mtinterf on fork;
        * fork.cc (fork_child): fixup thread-related structures after fork;
        * thread.cc (MTinterface::Init): Initialise the new mutex, condition and semaphore lists.
        (MTinterface::fixup_after_fork): Iterate through each list and fixup the objects.
        (pthread_cond::pthread_cond): Add this to the condition list.
        (pthread_cond::~pthread_cond): Remove this from the condition list.
        (pthread_cond::fixup_after_fork): Recreate as best we can the pre-fork state.
        (pthread_mutex::pthread_mutex): Add this to the mutex list.
        (pthread_mutex::~pthread_mutex): Remove this from the mutex list.
        (pthread_mutex::fixup_after_fork): Recreate as best we can the pre-fork state.
        (semaphore::semaphore): Store the initial value, and add this to the semaphore list.
        (semaphore::~semaphore): Remove this from the semaphore list.
        (semaphore::Post): Increment the current semaphore value.
        (semaphore::TryWait): Decrement the current semaphore value.
        (semaphore::Wait): Ditto.
        (semaphote::fixup_after_fork): Recreate the pre-fork state as best we can.
        * thread.h (pthread_mutex): New members to allow fixup_after_fork.
        (pthread_cond): Ditto.
        (semaphore): Ditto.
        (MTinterface): New list heads for tracking conds and semaphores.

22 years ago*** empty log message ***
gdbadmin [Tue, 11 Sep 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
jimb [Mon, 10 Sep 2001 23:59:53 +0000 (23:59 +0000)]
* baseboards/rom68k-idp.exp: Use -Tidpgdb.ld as the linker script,
so we get the version of the `outbyte' function that does console
output in a way that GDB's rom68k target recognizes.  Note that
the board can now do output.

22 years ago* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
jimb [Mon, 10 Sep 2001 23:54:14 +0000 (23:54 +0000)]
* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
programs running on the board can produce output.

22 years agoAdd support for GDB monitor-style I/O.
jimb [Mon, 10 Sep 2001 23:47:40 +0000 (23:47 +0000)]
Add support for GDB monitor-style I/O.
* m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made
static.
(outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined,
precede the byte with a ^O character.
* m68k/idpgdb.ld: New linker script.
* m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New
variables.
(all): Add ${IDPGDB_BSP} to the list of things to build.
(${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x,
idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules.
(install): Install the IDPGDB stuff, too.

22 years ago * generic/gdbtk.c (gdbtk_init): Set IWIDGETS_LIBRARY if
irox [Mon, 10 Sep 2001 19:21:47 +0000 (19:21 +0000)]
* generic/gdbtk.c (gdbtk_init): Set IWIDGETS_LIBRARY if
Insight is launched from within the build directory.
* library/util.tcl (find_iwidgets_library): Removed.
* library/main.tcl: Don't call find_iwidgets_library, do a
package require instead.

22 years ago2001-09-10 Jason Molenda (jmolenda@apple.com)
jsm [Mon, 10 Sep 2001 18:13:17 +0000 (18:13 +0000)]
2001-09-10  Jason Molenda  (jmolenda@apple.com)

        * NEWS: "ANS/ISO C" -> "ISO C".
        * MAINTAINERS (write-after-approval):  Update my entry.

22 years ago2001-09-10 H.J. Lu <hjl@gnu.org>
hjl [Mon, 10 Sep 2001 17:11:33 +0000 (17:11 +0000)]
2001-09-10  H.J. Lu  <hjl@gnu.org>

* ld-elfweak/elfweak.exp: New.
* ld-elfweak/bar.c: Likewise.
* ld-elfweak/foo.c: Likewise.
* ld-elfweak/main.c: Likewise.
* ld-elfweak/dso.dsym: Likewise.
* ld-elfweak/dsow.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strong.dat: Likewise.
* ld-elfweak/weak.dat: Likewise.

22 years ago2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
earnie [Mon, 10 Sep 2001 16:50:06 +0000 (16:50 +0000)]
2001-09-05  Danny Smith  <dannysmith@users.sourceforge.net>

* include/wininet.h (InternetAutodial): Add prototype.
(InternetAutodialHangup): Ditto.
(InternetDial): Ditto.
(InternetGetConnectedState): Ditto.
(InternetGoOnline): Ditto.
(InternetHangUp): Ditto.
(InternetSetDialState): Ditto.
Add associated INTERNET_* auto dial flags.
Guard typedefs and prototypes with #ifndef RC_INVOKED.

22 years ago2001-09-10 Earnie Boyd <earnie@SF.net>
earnie [Mon, 10 Sep 2001 15:41:46 +0000 (15:41 +0000)]
2001-09-10  Earnie Boyd  <earnie@SF.net>

* dossh: Remove inadvertantly imported file.

2001-09-10  Danny Smith  <dannysmith@users.sourceforge.net>

* dirent.c (opendir): Use GetFileAttributes rather than stat
to determine if input arg is dir.

22 years ago* dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately on
cgf [Mon, 10 Sep 2001 02:11:59 +0000 (02:11 +0000)]
* dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately on
inherited fds.

22 years ago * win/configure: regenerated.
irox [Mon, 10 Sep 2001 02:09:15 +0000 (02:09 +0000)]
* win/configure: regenerated.

22 years agotouched all tk files to ease next import
irox [Mon, 10 Sep 2001 01:16:49 +0000 (01:16 +0000)]
touched all tk files to ease next import

22 years agoTk8.3 upgrade merge.
irox [Mon, 10 Sep 2001 01:01:01 +0000 (01:01 +0000)]
Tk8.3 upgrade merge.

22 years agoInitial revision
irox [Mon, 10 Sep 2001 00:22:29 +0000 (00:22 +0000)]
Initial revision

22 years ago* sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.
cgf [Mon, 10 Sep 2001 00:19:06 +0000 (00:19 +0000)]
* sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.

22 years ago*** empty log message ***
gdbadmin [Mon, 10 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agotouched all Tcl files to ease next import.
irox [Sun, 9 Sep 2001 23:56:03 +0000 (23:56 +0000)]
touched all Tcl files to ease next import.

22 years agoTcl8.3 upgrade merge.
irox [Sun, 9 Sep 2001 23:26:06 +0000 (23:26 +0000)]
Tcl8.3 upgrade merge.

22 years agoInitial revision
irox [Sun, 9 Sep 2001 22:40:53 +0000 (22:40 +0000)]
Initial revision

22 years agoMon Sep 10 08:28:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 9 Sep 2001 22:39:35 +0000 (22:39 +0000)]
Mon Sep 10 08:28:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * thread.h (MT_Interface): Remove pshared mutex array.
        Add a threadsafe list for mutex tracking (for fixupafter fork).
        * thread.cc (MTInterface::Init): Remove pshared mutex array.
        (pthread_mutex::pthread_mutex): Remove pshared mutex functionality.
        Fail with EINVAL on attempts to use pshared functionality.
        (__pthread_mutex_getpshared): Remove.
        (__pthread_cond_timedwait): Remove pshared mutex functionality.
        (__pthread_cond_wait): Ditto.
        (__pthread_mutex_init): Ditto.
        (__pthread_mutex_getprioceiling): Ditto.
        (__pthread_mutex_lock): Ditto.
        (__pthread_mutex_trylock): Ditto.
        (__pthread_mutex_unlock): Ditto.
        (__pthread_mutex_destroy): Ditto.
        (__pthread_mutex_setprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Ditto.

22 years ago * pwdgrp.h (pwdgrp_check::set_last_modified): Call GetFileTime()
corinna [Sun, 9 Sep 2001 21:57:44 +0000 (21:57 +0000)]
* pwdgrp.h (pwdgrp_check::set_last_modified): Call GetFileTime()
instead of GetFileInformationByHandle().

22 years ago * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
rth [Sun, 9 Sep 2001 20:49:59 +0000 (20:49 +0000)]
    * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.

22 years agoItcl merge for Tcl/Tk8.3 upgrade.
irox [Sun, 9 Sep 2001 20:47:59 +0000 (20:47 +0000)]
Itcl merge for Tcl/Tk8.3 upgrade.

22 years ago * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
rth [Sun, 9 Sep 2001 20:42:10 +0000 (20:42 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
        following a call to a near function.

22 years ago* heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.
cgf [Sun, 9 Sep 2001 20:00:29 +0000 (20:00 +0000)]
* heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.

22 years agoInitial revision
irox [Sun, 9 Sep 2001 19:49:03 +0000 (19:49 +0000)]
Initial revision

22 years ago* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not
cgf [Sun, 9 Sep 2001 19:06:50 +0000 (19:06 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not
forced to start at the same place in execed process.
* heap.cc: Remove brk* macros for clarity throughout.
* heap.h: Ditto.
* shared.cc (shared_info::initialize): Move heap_chunk test into
heap_chunk_size().
(heap_chunk_size): Check for chunk size here.  Don't go to registry if
heap_chunk_in_mb is already set.
* smallprint.c (console_printf): Add Windows 95 concessions.

22 years ago* child_info.h (PROC_MAGIC): Bump magic number.
cgf [Sun, 9 Sep 2001 17:01:47 +0000 (17:01 +0000)]
* child_info.h (PROC_MAGIC): Bump magic number.

22 years ago * cygheap.cc (init_cygheap::etc_changed): New method to signal
corinna [Sun, 9 Sep 2001 16:52:37 +0000 (16:52 +0000)]
* cygheap.cc (init_cygheap::etc_changed): New method to signal
a change in /etc.
* cygheap.h (struct init_cygheap): Add member `etc_changed_h'
and method `etc_changed'.
* grp.cc (enum grp_state): Eliminate.
(class grp_check): Ditto.
(group_state): Define as `class pwdgrp_check'.
(parse_grp): Remeber path and modification time of /etc/group file.
* passwd.cc (enum_pwd_state): Eliminate.
(class pwd_check): Ditto.
(passwd_state): Define as `class pwdgrp_check'.
(read_etc_passwd): Remember path and modification time of /etc/passwd
file.
* pwdgrp.h: New file.
(enum pwdgrp_state): Substitutes `pwd_state' and `grp_state'.
(class pwdgrp_check): Substitutes `pwd_check' and `grp_check'.

22 years agoOops, one "likewise" had an intervening entry.
amodra [Sun, 9 Sep 2001 14:08:41 +0000 (14:08 +0000)]
Oops, one "likewise" had an intervening entry.

22 years ago * expr.c (expr): Move code setting "retval" to the end of the loop,
amodra [Sun, 9 Sep 2001 14:01:16 +0000 (14:01 +0000)]
* expr.c (expr): Move code setting "retval" to the end of the loop,
and rearrange for efficiency.  For "PIC code" subtraction, use
"rightseg" rather than recalculating.  For "symbol OP symbol"
subtract, set "retval" to absolute_section if symbols in same
section.
* symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
O_symbol.  Simplify a +/- b code.  Allow equality and non-equality
comparisons on symbols from any section.  Allow other comparison
operators as for subtraction.
(symbol_equated_reloc_p): New predicate function.
* symbols.h (symbol_equated_reloc_p): Declare.
* write.c (adjust_reloc_syms): Use symbol_equated_reloc_p.
(write_relocs): Likewise.
(write_object_file): Likewise.
(relax_segment <rs_machine_dependent>): Ensure segment for
expression syms is set correctly.
* config/tc-mips.c (md_estimate_size_before_relax): Likewise.
* config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
of a complex expression when setting up frag_var.

22 years ago* winsup.api/ltp/dup03.c: New test.
duda [Sun, 9 Sep 2001 13:38:16 +0000 (13:38 +0000)]
* winsup.api/ltp/dup03.c: New test.
* winsup.api/ltp/lseek03.c: Ditto.
* winsup.api/ltp/mmap001.c: Ditto.
* winsup.api/ltp/read01.c: Ditto.
* winsup.api/ltp/readdir01.c: Ditto.
* winsup.api/ltp/rmdir05.c: Ditto.
* winsup.api/ltp/sbrk01.c: Ditto.
* winsup.api/ltp/select02.c: Ditto.
* winsup.api/ltp/select03.c: Ditto.
* winsup.api/ltp/signal03.c: Ditto.
* winsup.api/ltp/stat06.c: Ditto.
* winsup.api/ltp/unlink08.c: Ditto.
* winsup.api/known_bugs.tcl: Update to reflect new test's known
failures.
* winsup.api/winsup.exp: Don't delete executable in case of
unexpected pass, as well as in case of unexpected failure.
* README: Update paragraph about expected failures.

22 years ago* dumper.cc (main): Change command-line arguments format to be
duda [Sun, 9 Sep 2001 13:18:51 +0000 (13:18 +0000)]
* dumper.cc (main): Change command-line arguments format to be
similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to
CYGWIN environment variable to perform core dumping in case of
program crash.
(usage): Ditto.

22 years ago * include/cygwin/version.h: Bump API minor version to 45 according
corinna [Sun, 9 Sep 2001 12:32:54 +0000 (12:32 +0000)]
    * include/cygwin/version.h: Bump API minor version to 45 according
        to adding the gamm*_r functions.

22 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
rth [Sun, 9 Sep 2001 06:58:06 +0000 (06:58 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
        relocation errors.  Fail gp-relative relocations against
        dynamic symbols.

22 years ago* fork.cc (fork_parent): Stop malloc activity while fork is in control of the
cgf [Sun, 9 Sep 2001 03:34:36 +0000 (03:34 +0000)]
* fork.cc (fork_parent): Stop malloc activity while fork is in control of the
heap.
* sigproc.cc (NZOMBIES): Rename from ZOMBIEMAX for clarity.
(zombies): Revert to original behavior.  Allocating zombie array resulted in
performance hit.
* winsup.h: Declare malloc lock routines.

22 years ago*** empty log message ***
gdbadmin [Sun, 9 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoFix truncated 2001-08-23 entry.
kettenis [Sat, 8 Sep 2001 23:34:53 +0000 (23:34 +0000)]
Fix truncated 2001-08-23 entry.

22 years agoTouched all tix files to ease next import.
irox [Sat, 8 Sep 2001 23:25:50 +0000 (23:25 +0000)]
Touched all tix files to ease next import.

22 years agoTix for Tcl/Tk8.3 upgrade merged.
irox [Sat, 8 Sep 2001 23:19:57 +0000 (23:19 +0000)]
Tix for Tcl/Tk8.3 upgrade merged.

22 years agoInitial revision
irox [Sat, 8 Sep 2001 23:02:00 +0000 (23:02 +0000)]
Initial revision

22 years agoInitial revision
irox [Sat, 8 Sep 2001 23:01:40 +0000 (23:01 +0000)]
Initial revision

22 years agotouched all files to ease next import
irox [Sat, 8 Sep 2001 22:34:45 +0000 (22:34 +0000)]
touched all files to ease next import

22 years agoLibgui Tcl/tk upgrade merge
irox [Sat, 8 Sep 2001 22:32:04 +0000 (22:32 +0000)]
Libgui Tcl/tk upgrade merge

22 years agoInitial revision
irox [Sat, 8 Sep 2001 21:55:17 +0000 (21:55 +0000)]
Initial revision

22 years ago* gdbint.texinfo (Host Definition): Remove description of
kettenis [Sat, 8 Sep 2001 10:53:45 +0000 (10:53 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.

22 years ago* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
kettenis [Sat, 8 Sep 2001 10:50:07 +0000 (10:50 +0000)]
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.

22 years ago* gdbint.texinfo (Host Definition): Remove description of R_OK.
kettenis [Sat, 8 Sep 2001 10:43:27 +0000 (10:43 +0000)]
* gdbint.texinfo (Host Definition): Remove description of R_OK.

22 years ago* config/arm/xm-linux.h, config/ia64/xm-linux.h,
kettenis [Sat, 8 Sep 2001 10:39:51 +0000 (10:39 +0000)]
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.

22 years ago* gdbint.texinfo (Host Definition): Remove description of
kettenis [Sat, 8 Sep 2001 10:28:20 +0000 (10:28 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.

22 years ago* gdbtypes.h (struct block): Add forward declaration.
kettenis [Sat, 8 Sep 2001 10:16:56 +0000 (10:16 +0000)]
* gdbtypes.h (struct block): Add forward declaration.

22 years ago * tclParse-compat.c: New file.
irox [Sat, 8 Sep 2001 06:26:30 +0000 (06:26 +0000)]
* tclParse-compat.c: New file.
* tcl_regexp.c:
* tcl_regexp.h: New file.  Contains Tcl8.0's regexp.
* Makefile.in: Added new files to be compiled and linked.
* exp_clib.c (exp_expectl, exp_fexpectl):
* exp_inter.c (in_keymap, Exp_InteractCmd ):
* exp_regexp.c (regtry, regdump, regprop):
* expect.c (parse_expect_args, eval_case_string,
  exp_background_filehandler, Exp_ExpectCmd):
* expect.h:
* expect_comm.h:
* Dbg.c (breakpoint_test, cmdBreak): Use newly built in
  regexp, not external Tcl regexp.
* exp_tty.c (exec_stty):
* exp_command.c (Exp_CloseCmd, Tcl_CloseCmd): Handle Tcl API
  changes in Tcl8.3.