OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago* cli/cli-decode.c (add_set_boolean_cmd): Define.
cagney [Sun, 30 Sep 2001 16:16:16 +0000 (16:16 +0000)]
* cli/cli-decode.c (add_set_boolean_cmd): Define.
* cli/cli-decode.h (add_set_boolean_cmd): Declare.
* command.h (add_set_boolean_cmd): Ditto.
* remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
remotebreak"

22 years ago * Makefile.am: Update dependencies with "make dep-am".
hp [Sun, 30 Sep 2001 15:55:46 +0000 (15:55 +0000)]
* Makefile.am: Update dependencies with "make dep-am".
* Makefile.in: Regenerate.

22 years agoMon Oct 1 00:34:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sun, 30 Sep 2001 14:39:55 +0000 (14:39 +0000)]
Mon Oct  1 00:34:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_cond_dowait): Hopefully eliminate a race on multiple thread
        wakeups.

22 years ago * config/tc-m68hc11.c (cmp_opcode): Define prototype.
ciceron [Sun, 30 Sep 2001 09:20:54 +0000 (09:20 +0000)]
* config/tc-m68hc11.c (cmp_opcode): Define prototype.
(print_opcode_format, skip_whites): Likewise.
(convert_branch, m68hc11_new_insn): Likewise.
(build_dbranch_insn, build_indexed_byte): Likewise.
(build_reg_mode, find, find_opcode): Likewise.
(print_insn_format): Fix call to print_opcode_format.
(md_assemble): Fix call to build_dbranch_insn.

22 years ago2001-09-29 H.J. Lu <hjl@gnu.org>
hjl [Sun, 30 Sep 2001 04:09:34 +0000 (04:09 +0000)]
2001-09-29  H.J. Lu  <hjl@gnu.org>

* gas/i386/i386.exp: Run 64bit tests only for "i*86-*-* and
x86_64-*-*.

22 years ago * elf.c (_bfd_elf_link_hash_copy_indirect): Set ind refcounts to
amodra [Sun, 30 Sep 2001 03:03:10 +0000 (03:03 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Set ind refcounts to
the old dir refcount, so we indirectly set them to init_refcount.
Short-circuit asserts when we've just verified they are true.

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

22 years ago* gdbarch.sh (gdbarch_dump): Sort output.
cagney [Sat, 29 Sep 2001 22:35:52 +0000 (22:35 +0000)]
* gdbarch.sh (gdbarch_dump): Sort output.
* gdbarch.c: Regenerate.

22 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
cagney [Sat, 29 Sep 2001 21:32:00 +0000 (21:32 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
architecture to infer the wordsize.  Previous architecture may not
be a PowerPC.

22 years ago* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).
aoliva [Sat, 29 Sep 2001 19:38:32 +0000 (19:38 +0000)]
* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).

22 years agomerge from gcc
dj [Sat, 29 Sep 2001 16:55:59 +0000 (16:55 +0000)]
merge from gcc

22 years agoOops - forgot to remove xfail
hp [Sat, 29 Sep 2001 13:02:24 +0000 (13:02 +0000)]
Oops - forgot to remove xfail

22 years ago * ld-linkonce/linkonce.exp: New file.
hp [Sat, 29 Sep 2001 13:01:15 +0000 (13:01 +0000)]
* ld-linkonce/linkonce.exp: New file.
* ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld,
ld-linkonce/zeroehl32.d: New test.

22 years agoFrom John Reiser <jreiser@BitWagon.com>
amodra [Sat, 29 Sep 2001 12:57:53 +0000 (12:57 +0000)]
From John Reiser <jreiser@BitWagon.com>
* ldlang.c (lang_common): Conditionally inhibit Common allocation.
* lexsup.c: Add --no-define-common commandline option.
* ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
* ldlex.l: Likewise.
* ld.h: Add command_line.inhibit_common_definition.
* ldmain.c (main): Initialize.
* ld.texinfo: Document.

22 years ago * section.c (struct sec): Remove kept_section.
amodra [Sat, 29 Sep 2001 12:06:59 +0000 (12:06 +0000)]
* section.c (struct sec): Remove kept_section.
(STD_SECTION): Remove kept_section initialisation.
(bfd_make_section_anyway): Here too.
* ecoff.c (bfd_debug_section): Remove kept_section initialisation.
* cofflink.c (_bfd_coff_link_input_bfd): Don't test kept_section.
* elflink.h (elf_link_input_bfd): Set discarded link-once section
symbols to zero, and remove all code involved with kept_section
and tracking section symbol values.
* bfd-in2.h: Regenerate.
* configure.in: Bump version number.
* configure: Regenerate.

* ldlang.c (section_already_linked): Remove assignment to kept_section.

22 years agoSat Sep 29 18:26:00 2001 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Sat, 29 Sep 2001 09:00:59 +0000 (09:00 +0000)]
Sat Sep 29 18:26:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * pthread.cc (pthread_cond_timedwait): Deleted - exported from thread.cc.
        (pthread_cond_wait): Deleted - exported from thread.cc.
        * thread.cc (pthread_cond::BroadCast): Update to use the new syntax for
        verifyable_object_isvalid ().
        (pthread_cond::Signal): Ditto. Also attempt to fix the lost signal race
        with pthread_cond::TimedWait().
        (check_valid_pointer): Change definiton to void const *.
        (verifyable_object_isvalid): Add new parameter to allow identification of
        static initializers, and return a enum rather than magic numbers.
        (__pthread_create): Ditto.
        (__pthread_cleanup): Ditto.
        (__pthread_attr_init): Ditto.
        (__pthread_attr_getinheritsched): Ditto.
        (__pthread_attr_getschedparam): Ditto.
        (__pthread_attr_getschedpolicy): Ditto.
        (__pthread_attr_getscope): Ditto.
        (__pthread_attr_setdetachstate): Ditto.
        (__pthread_attr_getdetachstate): Ditto.
        (__pthread_attr_setinheritsched): Ditto.
        (__pthread_attr_setschedparam): Ditto.
        (__pthread_attr_setschedpolicy): Ditto.
        (__pthread_attr_setscope): Ditto.
        (__pthread_attr_setstacksize): Ditto.
        (__pthread_attr_getstacksize): Ditto.
        (__pthread_attr_destroy): Ditto.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_suspend): Ditto.
        (__pthread_continue): Ditto.
        (__pthread_getschedparam): Ditto.
        (__pthread_getsequence_np): Ditto.
        (__pthread_key_create): Ditto.
        (__pthread_key_delete): Ditto.
        (__pthread_setschedparam): Ditto.
        (__pthread_setspecific): Ditto.
        (__pthread_getspecific): Ditto.
        (__pthread_cond_destroy): Ditto.
        (__pthread_cond_init): Ditto.
        (__pthread_cond_broadcast): Ditto.
        (__pthread_cond_signal): Ditto.
        (__pthread_condattr_init): Ditto.
        (__pthread_condattr_getpshared): Ditto.
        (__pthread_condattr_setpshared): Ditto.
        (__pthread_condattr_destroy): Ditto.
        (__pthread_kill): 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_getprotocol): Ditto.
        (__pthread_mutexattr_getpshared): Ditto.
        (__pthread_mutexattr_gettype): Ditto.
        (__pthread_mutexattr_init): Ditto.
        (__pthread_mutexattr_destroy): Ditto.
        (__pthread_mutexattr_setprotocol): Ditto.
        (__pthread_mutexattr_setprioceiling): Ditto.
        (__pthread_mutexattr_getprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Ditto.
        (__pthread_mutexattr_settype): Ditto.
        (__sem_init): Ditto.
        (__sem_destroy): Ditto.
        (__sem_wait): Ditto.
        (__sem_trywait): Ditto.
        (__sem_post): Ditto.
        (__pthread_cond_dowait): New function, contains core logic from
        __pthread_cond_wait and __pthread_cond_timedwait. Decrement (*cond)->waiting
        before reentering the cond access mutex to allow detection of lost signals.
        (__pthread_cond_timedwait): Rename to pthread_cond_timedwait, and call
        __pthread_cond_dowait after calculating the wait length.
        (__pthread_cond_wait): Rename to pthread_cond_wait, and call
        __pthread_cond_dowait.
        * thread.h: New enum for use with verifyable_object_isvalid.
        Remove the extern exporting of __pthread_cond_timedwait and __pthread_cond_wait.

22 years ago * elf64-ppc.c (struct ppc_dyn_relocs): New.
amodra [Sat, 29 Sep 2001 06:49:16 +0000 (06:49 +0000)]
* elf64-ppc.c (struct ppc_dyn_relocs): New.
(IS_ABSOLUTE_RELOC): Define.
(struct ppc_link_hash_entry): New.
(struct ppc_link_hash_table): New.
(ppc_hash_table): Define.
(link_hash_newfunc): New function.
(ppc64_elf_link_hash_table_create): New function.
(create_got_section): New function.
(ppc64_elf_create_dynamic_sections): Call create_got_section.  Stash
pointers to our dynamic sections in hash table.
(ppc64_elf_copy_indirect_symbol): New function.
(ppc64_elf_check_relocs): Remove DEBUG code.  Use short-cuts to
dynamic sections.  Localise vars.  Modify code for refcounts
starting from zero.  Don't allocate here, or force symbols dynamic.
Don't copy all relocs if shared, select ones we need.  Add code
to track possible copy relocs for non-shared link.
(ppc64_elf_gc_mark_hook): Update comment.
(ppc64_elf_gc_sweep_hook): Sweep dynrelocs too.
(ppc64_elf_adjust_dynamic_symbol): Remove DEBUG code.  Rewrite .plt
code for reference counting garbage collection.  Don't create .plt
entries for functions that don't comply with ABI naming convention,
and don't allocate .plt space here.  Use short-cuts to dynamic
sections.  If possible, keep dynamic relocations instead of using
copy relocs.  Remove confused comments.
(ppc_adjust_dynindx): Delete.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(allocate_dynrelocs): New function.
(readonly_dynrelocs): New function.
(ppc64_elf_size_dynamic_sections): Rewrite.  Allocate local .got
space here, and call allocate_dynrelocs to allocate space for
global .plt, .got and reloc sections.  Use short-cuts to dynamic
sections.  Call readonly_dynrelocs to determine whether we need
DT_TEXTREL.  Don't generate section symbols here, the generic
ELF linker code does it for us.
(ppc64_elf_final_link): Call regular ELF backend linker rather than
gc variety, since we do our own .got handling.
(ppc64_elf_relocate_section): Remove DEBUG code.  Make use of
dynamic section short-cuts.  Localise vars, and delay setting.
Handle unknown relocs in main switch statement.  Replace ugly
complicated tests for unresolvable relocs with a simple direct
scheme using "unresolved_reloc" var.  Test ELF_ST_VISIBILITY
before allowing an undefined sym in a shared lib.  Do R_*_DS tests
after main switch, when we've set addend.  Do non-addend insn
tweaks before main swithc.  Ignore input_section->vma when
calculating reloc offsets as it's always zero.  Rewrite dynamic
reloc handling.  Consolidate R_*_HA handling.  Handle more relocs.
(ppc64_elf_finish_dynamic_symbol): Remove DEBUG code.  Make use
of dynamic section short-cuts.  Reorganise .plt handling code.
Remove confused comments.  Take note of ELF_LINK_FORCED_LOCAL.
Move expressions out of swap_reloca_out function calls.
(ppc64_elf_reloc_type_class): New function.
(ppc64_elf_info_to_howto): Move common expression to local var.
(ppc64_elf_finish_dynamic_sections): Remove DEBUG code.  Make use
of dynamic section short-cuts.  Don't fiddle with section syms
here as the ELF linker does it for us.
(elf_backend_can_refcount): Define.
(bfd_elf64_bfd_link_hash_table_create): Define.
(elf_backend_copy_indirect_symbol): Define.
(elf_backend_reloc_type_class): Define.
(elf_backend_*, bfd_elf64_bfd_* defines): Sort.

22 years ago * elf-bfd.h (struct elf_link_local_dynamic_entry): Add init_refcount.
amodra [Sat, 29 Sep 2001 06:21:58 +0000 (06:21 +0000)]
* elf-bfd.h (struct elf_link_local_dynamic_entry): Add init_refcount.
(struct elf_backend_data): Add can_refcount.
* elf.c (_bfd_elf_link_hash_newfunc): Get rid of a few casts.  Set
got.refcount and plt.refcount from init_refcount.
(_bfd_elf_link_hash_table_init): Set up init_refcount.
(_bfd_elf_link_hash_copy_indirect): Reference got/plt.refcount
rather than got/plt.offset, and test for <= 0 rather than -1.
* elflink.h (size_dynamic_sections): Set init_refcount to -1.
* elfxx-target.h (elf_backend_can_refcount): Define.
(elfNN_bed): Init can_refcount.
* linker.c (_bfd_link_hash_newfunc): Get rid of a few casts.
(_bfd_generic_link_hash_newfunc): Likewise.
* elf32-cris.c (cris_elf_check_relocs): Modify for refcounts
starting from zero.
(elf_backend_can_refcount): Define.
* elf32-hppa.c (elf32_hppa_check_relocs): Modify for refcounts
starting from zero.
(elf32_hppa_copy_indirect_symbol): Make static to agree with
prototype.
(elf_backend_can_refcount): Define.
* elf32-i386.c (elf_i386_check_relocs): Modify for refcounts
starting from zero.
(allocate_dynrelocs): Set plt/got.offset rather than *.refcount.
(elf_i386_finish_dynamic_symbol): Expand SHN_UNDEF comment.
(elf_i386_finish_dynamic_sections): Use local var so line < 80 chars.
(elf_backend_can_refcount): Define.
(elf_i386_copy_indirect_symbol): Make static to agree with
prototype.  Formatting fix.
* elf32-m68k.c (elf_m68k_check_relocs): Modify for refcounts
starting from zero.
(elf_backend_can_refcount): Define.
* elf32-ppc.c (ppc_elf_check_relocs): Modify for refcounts
starting from zero.
(elf_backend_can_refcount): Define.
* elf32-s390.c (elf_s390_check_relocs): Modify for refcounts
starting from zero.
(elf_backend_can_refcount): Define.
* elf64-s390.c (elf_s390_check_relocs): Modify for refcounts
starting from zero.
(elf_backend_can_refcount): Define.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Modify for refcounts
starting from zero.
(elf_backend_can_refcount): Define.

22 years ago * som.c (som_write_symbol_strings): Cast current_offset in
amodra [Sat, 29 Sep 2001 06:13:52 +0000 (06:13 +0000)]
* som.c (som_write_symbol_strings): Cast current_offset in
bfd_seek call to match param type.

22 years agomerge from gcc
dj [Sat, 29 Sep 2001 03:19:56 +0000 (03:19 +0000)]
merge from gcc

22 years ago* pipe.cc (fhandler_pipe::fixup_after_fork): New method.
cgf [Sat, 29 Sep 2001 01:23:05 +0000 (01:23 +0000)]
* pipe.cc (fhandler_pipe::fixup_after_fork): New method.
* fhandler.h (fhandler_pipe::fixup_after_fork): Declare new method.

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

22 years ago * configure.in (_XOPEN_SOURCE): Permit definition of _NSIG to
kevinb [Fri, 28 Sep 2001 23:42:07 +0000 (23:42 +0000)]
* configure.in (_XOPEN_SOURCE): Permit definition of _NSIG to
define _XOPEN_SOURCE too.
* configure: Regenerated.

22 years ago * elfxx-target.h [section_flags]: Add SEC_ARCH_BIT_0, SEC_SMALL_DATA,
rth [Fri, 28 Sep 2001 21:47:24 +0000 (21:47 +0000)]
    * elfxx-target.h [section_flags]: Add SEC_ARCH_BIT_0, SEC_SMALL_DATA,
        SEC_MERGE, SEC_STRINGS.

22 years agoDocument changes to som.c revision 1.22.
brobecke [Fri, 28 Sep 2001 21:36:18 +0000 (21:36 +0000)]
Document changes to som.c revision 1.22.

22 years agosom_write_symbol_strings: Fix incorrect type of current_offset to match
brobecke [Fri, 28 Sep 2001 21:35:45 +0000 (21:35 +0000)]
som_write_symbol_strings: Fix incorrect type of current_offset to match
the function definition. Fixes a build failure on HPUX-11.00.

22 years ago * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.
rth [Fri, 28 Sep 2001 21:10:40 +0000 (21:10 +0000)]
    * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.

22 years ago * config.sub, config.guess: Import latest from subversions.
hp [Fri, 28 Sep 2001 21:04:51 +0000 (21:04 +0000)]
* config.sub, config.guess: Import latest from subversions.

22 years ago * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
rth [Fri, 28 Sep 2001 20:51:14 +0000 (20:51 +0000)]
    * section.c (SEC_ARCH_BIT_0): New; replace unused SEC_BALIGN.
        * bfd-in2.h: Rebuild.

22 years ago * tuiLayout.h (tui_set_layout): Don't declare.
tromey [Fri, 28 Sep 2001 17:39:08 +0000 (17:39 +0000)]
* tuiLayout.h (tui_set_layout): Don't declare.
* tui.h (tui_vAddWinToLayout): Don't declare.
(tui_vSetLayoutTo): Likewise.
(tui_set_layout): Declare.

22 years ago * library/console.itb (Console::_operate_and_get_next): New method.
tromey [Fri, 28 Sep 2001 16:36:48 +0000 (16:36 +0000)]
* library/console.itb (Console::_operate_and_get_next): New method.
(Console::_setprompt): Insert next history element if requested.
(Console::_build_win): Bind C-o to _operate_and_get_next.
* library/console.ith (_operate_and_get_next): Declare.
(_pendingHistElement): New variable.

22 years ago * elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
amodra [Fri, 28 Sep 2001 12:54:53 +0000 (12:54 +0000)]
* elf64-x86-64.c (elf64_x86_64_reloc_type_lookup): Don't map bfd
reloc code using x86_64_reloc_map.

22 years ago * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
corinna [Fri, 28 Sep 2001 11:41:30 +0000 (11:41 +0000)]
* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.

22 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
amodra [Fri, 28 Sep 2001 08:56:51 +0000 (08:56 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Update comment since we
no longer allocate here.  Localise some vars to blocks where they
are used.
(elf32_hppa_adjust_dynamic_symbol): Correct a comment.  Delay
setting of vars until needed.
(allocate_dynrelocs): Don't create a .plt entry without a reloc
when symbol visibilty makes a function local.
(elf32_hppa_finish_dynamic_symbol): Move expressions out of
swap_reloca_out function calls.
(elf32_hppa_relocate_section): Likewies.  Comment typo fix.
(elf32_hppa_finish_dynamic_sections): Migrate common code out of
switch statement.

22 years ago* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin
cgf [Fri, 28 Sep 2001 07:23:18 +0000 (07:23 +0000)]
* passwd.cc (read_etc_passwd): Bother with unlocking when not in cygwin
initialization.
* grp.cc (read_etc_group): Ditto.

22 years ago* passwd.cc (read_etc_passwd): Don't bother with locking when
cgf [Fri, 28 Sep 2001 07:01:22 +0000 (07:01 +0000)]
* passwd.cc (read_etc_passwd): Don't bother with locking when
in cygwin initialization since there is only one thread.
* grp.cc (read_etc_group): Ditto.

22 years ago* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF
cgf [Fri, 28 Sep 2001 06:06:44 +0000 (06:06 +0000)]
* pipe.cc (fhandler_pipe::hit_eof): Return correct value when there is no EOF
event available.

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * mmap.cc (mmap): Move setting the access after evaluating fd.
corinna [Thu, 27 Sep 2001 22:39:50 +0000 (22:39 +0000)]
    * mmap.cc (mmap): Move setting the access after evaluating fd.
        Remove useless comment.  Explain copy-on-write problem of 9x
        more detailed.  Don't set access to FILE_MAP_COPY on 9x only
        when anonymous mapping is requested.
        (fhandler_disk_file::mmap): Remove useless device check.
        Add debug output.

22 years ago2001-09-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 22:39:05 +0000 (22:39 +0000)]
2001-09-20  Michael Snyder  <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
type stack: call make_cv_type to create new const/volatile type.

22 years ago * gdb.base/completion.exp: Remove incorrect 'p "a' test.
drow [Thu, 27 Sep 2001 22:21:21 +0000 (22:21 +0000)]
    * gdb.base/completion.exp: Remove incorrect 'p "a' test.
        Add tests for 'p "break' (pass) and 'p "break.' (xfail).

22 years ago2001-09-27 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 21:35:54 +0000 (21:35 +0000)]
2001-09-27  Michael Snyder  <msnyder@redhat.com>

        * lib/gdb.exp (test_debug_format): New proc.
(setup_xfail_format): Use new proc test_debug_format.
* gdb.base/constvars.exp (local_compiler_xfail_check): New
proc; use new service proc test_debug_format.
Replace all other "gcc_compiled" tests with this test.
* gdb.base/volatile.exp (local_compiler_xfail_check): New
proc; use new service proc test_debug_format.
Replace all other "gcc_compiled" tests with this test.

22 years agoThu Sep 27 22:00:00 2001 Robert Collins rbtcollins@itdomain.com.au
rbcollins [Thu, 27 Sep 2001 21:35:16 +0000 (21:35 +0000)]
Thu Sep 27 22:00:00 2001 Robert Collins rbtcollins@itdomain.com.au

* Makefile.in: Only stamp winver_stamp on success.

22 years ago* bsp support for caches
fche [Thu, 27 Sep 2001 21:21:37 +0000 (21:21 +0000)]
* bsp support for caches

2001-09-27  Frank Ch. Eigler  <fche@redhat.com>

        * configrun-sid.in (icache, dcache): New options.

22 years ago2001-09-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 21:16:42 +0000 (21:16 +0000)]
2001-09-20  Michael Snyder  <msnyder@redhat.com>
Changes by Daniel Berlin  <dan@cgsoftware.com>, to support
better parsing of const and volatile type expressions.
* c-exp.y (const_and_volatile, const_or_volatile_noopt,
const_or_volatile): New non-terminals.
(ptype): Use new rule for const_or_volatile.
(typebase): Use new rule for const_or_volatile_noopt.
* parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
* parse.c (follow_types): Handle tp_const and tp_volatile on the
        type stack: call make_cv_type to create new const/volatile type.

22 years ago2001-09-21 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 27 Sep 2001 21:14:48 +0000 (21:14 +0000)]
2001-09-21  Michael Snyder  <msnyder@redhat.com>

* c-exp.y (typebase): Accept (signed long long) as a type expr.

22 years agomerge from gcc
dj [Thu, 27 Sep 2001 20:27:58 +0000 (20:27 +0000)]
merge from gcc

22 years ago* bug fix
fche [Thu, 27 Sep 2001 20:23:50 +0000 (20:23 +0000)]
* bug fix

2001-09-27  Frank Ch. Eigler  <fche@redhat.com>

* cache.cxx (emit_report): Remove extra blank line.
(set_hash_mask, set_hash_shift): Exchange names to match functionality.
* cacheutil.cxx (cache ctor): Compute good default hash_params.

22 years ago2001-09-27 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 27 Sep 2001 16:22:46 +0000 (16:22 +0000)]
2001-09-27  Elena Zannoni  <ezannoni@redhat.com>

* library/targetselection.itb (build_win, default_port): Handle
        hpux 11.00.

22 years ago2001-09-27 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 27 Sep 2001 16:22:21 +0000 (16:22 +0000)]
2001-09-27  Elena Zannoni  <ezannoni@redhat.com>

* library/targetselection.itb (build_win, default_port): Handle
        hpux 11.00.

22 years ago * elf32-i386.c (elf_i386_check_relocs): Update comment since we
amodra [Thu, 27 Sep 2001 16:18:41 +0000 (16:18 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Update comment since we
no longer allocate here.  Localise some vars to blocks where they
are used.  Remove separate switch stmt for creating .got sec.
(elf_i386_adjust_dynamic_symbol): Correct a comment.  Remove
redundant casts and aborts.  Delay setting of vars until needed.
(allocate_dynrelocs): Remove redundant casts and aborts.
(elf_i386_size_dynamic_sections): Move comment.
(elf_i386_finish_dynamic_symbol): Move expressions out of function
calls.
(elf_i386_relocate_section): Likewise.  Comment typo fix.
(elf_i386_finish_dynamic_sections): Migrate common code out of
switch statement.
(elf_backend_* defines): Sort.

22 years ago * elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
amodra [Thu, 27 Sep 2001 16:10:28 +0000 (16:10 +0000)]
* elf32-i386.c (allocate_dynrelocs): Don't create a .plt entry
without a reloc when symbol visibilty makes a function local.

22 years ago * library/prefs.tcl (escape_value): Update to work
kseitz [Thu, 27 Sep 2001 14:47:44 +0000 (14:47 +0000)]
    * library/prefs.tcl (escape_value): Update to work
        with Tcl's new and old syntax.

22 years agoRevert most of previous delta. Do not call bfd_archive_filename on output
nickc [Thu, 27 Sep 2001 13:49:27 +0000 (13:49 +0000)]
Revert most of previous delta.  Do not call bfd_archive_filename on output
bfd, nor twice in one expression.

22 years agoDocument changes in infttrace.c (for HPUX 11.00).
brobecke [Thu, 27 Sep 2001 13:32:17 +0000 (13:32 +0000)]
Document changes in infttrace.c (for HPUX 11.00).

22 years agokill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
brobecke [Thu, 27 Sep 2001 13:31:45 +0000 (13:31 +0000)]
kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
request to kill the inferior and its child processes. Otherwise, the
inferior is not killed on HPUX 11.0.  Removed the code that detaches the
child processes since we just killed them.

22 years agoAdd missing function protoypes.
nickc [Thu, 27 Sep 2001 09:58:00 +0000 (09:58 +0000)]
Add missing function protoypes.

22 years agoReplace bfd_get_filename with bfd_archive_filename in error message.
nickc [Thu, 27 Sep 2001 07:49:26 +0000 (07:49 +0000)]
Replace bfd_get_filename with bfd_archive_filename in error message.
Fix detection of conflicting float flags.

22 years agoRemove spurious comment
nickc [Thu, 27 Sep 2001 07:45:32 +0000 (07:45 +0000)]
Remove spurious comment

22 years ago2001-09-27 Ben Elliston <bje@redhat.com>
bje [Thu, 27 Sep 2001 02:36:47 +0000 (02:36 +0000)]
2001-09-27  Ben Elliston  <bje@redhat.com>

* sidcomp.cache/cachemonkey.exp: Avoid the dump! attribute.

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

22 years agoAdd framework for ``set/show serial ...''.
cagney [Wed, 26 Sep 2001 23:27:39 +0000 (23:27 +0000)]
Add framework for ``set/show serial ...''.

22 years ago* select.cc (peek_pipe): REALLY only grab mutex when we actually got something
cgf [Wed, 26 Sep 2001 22:24:09 +0000 (22:24 +0000)]
* select.cc (peek_pipe): REALLY only grab mutex when we actually got something
from the pipe.

22 years ago2001-09-26 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 26 Sep 2001 21:12:17 +0000 (21:12 +0000)]
2001-09-26  Frank Ch. Eigler  <fche@redhat.com>

* sidcomp.cache/cachemonkey.exp: Test more cache types.

22 years ago2001-09-26 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 26 Sep 2001 21:12:02 +0000 (21:12 +0000)]
2001-09-26  Frank Ch. Eigler  <fche@redhat.com>

* compMapper.cxx (tlb1/tlb2): Add support for a second tlb entry.

22 years ago2001-09-26 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 26 Sep 2001 21:11:48 +0000 (21:11 +0000)]
2001-09-26  Frank Ch. Eigler  <fche@redhat.com>

* cacheutil.cxx (hash_fn): Detect index overflow.  Complain loudly.
* cacheutil.h: Include some more headers.

22 years ago* CONTRIBUTE: Update.
cagney [Wed, 26 Sep 2001 20:52:56 +0000 (20:52 +0000)]
* CONTRIBUTE: Update.

22 years ago2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 26 Sep 2001 20:32:16 +0000 (20:32 +0000)]
2001-09-26  Jeff Johnston  <jjohnstn@redhat.com>

        * input-file.c (input_file_open): When reading the
        first line looking for #NO_APP, prepare for the possibility
        of finding #APP instead.  Also fix algorithm to allow
        white-space to follow either #NO_APP or #APP directives.

22 years agomerge from gcc
dj [Wed, 26 Sep 2001 18:45:49 +0000 (18:45 +0000)]
merge from gcc

22 years ago * gdb.base/constvars.exp: Check for different orders of keywords
corinna [Wed, 26 Sep 2001 16:06:27 +0000 (16:06 +0000)]
    * gdb.base/constvars.exp: Check for different orders of keywords
        and additional "int" strings in output.

22 years ago * elf32-i386 (elf_i386_copy_indirect_symbol): New function.
amodra [Wed, 26 Sep 2001 09:25:04 +0000 (09:25 +0000)]
* elf32-i386 (elf_i386_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf_i386_link_hash_entry): Rename "root" to "elf".
(struct elf_i386_link_hash_table): Likewise.
(link_hash_newfunc): Get rid of unnecessary casts.
(elf_i386_link_hash_table_create): Likewise.
(elf_i386_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

* elf32-hppa (elf32_hppa_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf32_hppa_link_hash_table): Rename "root" to "elf".
(stub_hash_newfunc): Get rid of unnecessary casts.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

22 years agoUse gdbarch data mechanism instead of gdbarch swap mechanism to manage
kevinb [Wed, 26 Sep 2001 07:03:13 +0000 (07:03 +0000)]
Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
the fetching of architecture specific link map offsets.

22 years ago2001-09-26 Ben Elliston <bje@redhat.com>
bje [Wed, 26 Sep 2001 03:56:05 +0000 (03:56 +0000)]
2001-09-26  Ben Elliston  <bje@redhat.com>

* gloss.h (gloss32::get_string): Give length parameter a default
of 0, in which case memory is read until a NUL is reached.
* gloss.cxx (gloss32::get_string): Handle both fixed length and
NUL-terminated strings.
(gloss32::write): Improve verbose message.
(gloss32::do_sys_open): Improve failure mode for get_string().

22 years ago * ldmisc.c (USE_STDARG): Remove.
amodra [Wed, 26 Sep 2001 01:55:44 +0000 (01:55 +0000)]
* ldmisc.c (USE_STDARG): Remove.
(info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
(einfo): Likewise.
(minfo): Likewise.
(lfinfo): Likewise.

* ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
declarations.  Update copyright.

22 years ago * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
amodra [Wed, 26 Sep 2001 01:55:18 +0000 (01:55 +0000)]
* bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,
VA_CLOSE.
(non_fatal): Likewise.
* objdump.c (objdump_sprintf): Likewise.
* readelf.c (error): Likewise.
(warn): Likewise.

22 years ago * arc-dis.c: Formatting fixes.
amodra [Wed, 26 Sep 2001 01:54:06 +0000 (01:54 +0000)]
* arc-dis.c: Formatting fixes.
(my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.

22 years ago * bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
amodra [Wed, 26 Sep 2001 01:53:25 +0000 (01:53 +0000)]
* bfd.c (_bfd_default_error_handlerl): Define using VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE.
(bfd_archive_filename): Cast bfd_malloc arg to the correct size.

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

22 years agomerge from gcc
dj [Tue, 25 Sep 2001 23:02:03 +0000 (23:02 +0000)]
merge from gcc

22 years ago * elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
jakub [Tue, 25 Sep 2001 22:12:28 +0000 (22:12 +0000)]
* elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
computation.

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

* ld-elfweak/dso.dsym: Updated for alpha.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.

22 years ago* mild test cleanup
fche [Tue, 25 Sep 2001 18:25:58 +0000 (18:25 +0000)]
* mild test cleanup

2001-09-25  Frank Ch. Eigler  <fche@redhat.com>

        * lib/monkey.exp (do_one_test): Set a short timeout.
        (monkey_start): Don't use sid_find_file to look for victim's
        component library.
        * config/default.exp (sid_cmd): Use "\r" (not "\n") as send EOL.
        * sidcomp.mapper/busif.exp (sid_read_write): Ditto.

22 years ago * readelf.c (do_wide): New.
jakub [Tue, 25 Sep 2001 16:44:18 +0000 (16:44 +0000)]
* readelf.c (do_wide): New.
(options): Add --wide.
(usage, parse_args): Likewise.
(process_program_headers): Put each segment on a single line if
--wide is given.
(process_section_headers): Put each section on a single line if
--wide is given.
* doc/binutils.texi: Document it.
* NEWS: Likewise.

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

* bfd-in2.h: Regenerated.

22 years ago * readelf.c (print_vma): Print 8 digits of low hex value.
amodra [Tue, 25 Sep 2001 12:49:38 +0000 (12:49 +0000)]
* readelf.c (print_vma): Print 8 digits of low hex value.

22 years ago * listing.c (buffer_line): Don't write past the end of `line' when
amodra [Tue, 25 Sep 2001 12:09:44 +0000 (12:09 +0000)]
* listing.c (buffer_line): Don't write past the end of `line' when
EOF is reached.

22 years agofix of my email address
smid [Tue, 25 Sep 2001 11:52:54 +0000 (11:52 +0000)]
fix of my email address

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

        * thread.cc (pthread_cond::BroadCast): Use address with verifyable_object_isvalid().
        (pthread_cond::Signal): Ditto.
        (__pthread_create): Ditto.
        (__pthread_cleanup): Ditto.
        (__pthread_attr_init): Ditto.
        (__pthread_attr_getinheritsched): Ditto.
        (__pthread_attr_getschedparam): Ditto.
        (__pthread_attr_getschedpolicy): Ditto.
        (__pthread_attr_getscope): Ditto.
        (__pthread_attr_setdetachstate): Ditto.
        (__pthread_attr_getdetachstate): Ditto.
        (__pthread_attr_setinheritsched): Ditto.
        (__pthread_attr_setschedparam): Ditto.
        (__pthread_attr_setschedpolicy): Ditto.
        (__pthread_attr_setscope): Ditto.
        (__pthread_attr_setstacksize): Ditto.
        (__pthread_attr_getstacksize): Ditto.
        (__pthread_attr_destroy): Ditto.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_suspend): Ditto.
        (__pthread_continue): Ditto.
        (__pthread_getschedparam): Ditto.
        (__pthread_getsequence_np): Ditto.
        (__pthread_key_create): Ditto.
        (__pthread_key_delete): Ditto.
        (__pthread_setschedparam): Ditto.
        (__pthread_setspecific): Ditto.
        (__pthread_getspecific): Ditto.
        (__pthread_cond_destroy): Ditto.
        (__pthread_cond_init): Ditto.
        (__pthread_cond_broadcast): Ditto.
        (__pthread_cond_signal): Ditto.
        (__pthread_cond_timedwait): Ditto.
        (__pthread_cond_wait): Ditto.
        (__pthread_condattr_init): Ditto.
        (__pthread_condattr_getpshared): Ditto.
        (__pthread_condattr_setpshared): Ditto.
        (__pthread_condattr_destroy): Ditto.
        (__pthread_kill): 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_getprotocol): Ditto.
        (__pthread_mutexattr_getpshared): Ditto.
        (__pthread_mutexattr_gettype): Ditto.
        (__pthread_mutexattr_init): Ditto.
        (__pthread_mutexattr_destroy): Ditto.
        (__pthread_mutexattr_setprotocol): Ditto.
        (__pthread_mutexattr_setprioceiling): Ditto.
        (__pthread_mutexattr_getprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Ditto.
        (__pthread_mutexattr_settype): Ditto.
        (__sem_init): Ditto.
        (__sem_destroy): Ditto.
        (__sem_wait): Ditto.
        (__sem_trywait): Ditto.
        (__sem_post): Ditto.
        (verifyable_object_isvalid): Recieve a pointer to a pointer for verification.
        (__pthread_mutexattr_getprotocol): Fix typo in magic number.
        (__pthread_mutexattr_getpshared): Ditto.
        (__pthread_mutexattr_gettype): Ditto.
        * thread.h (verifyable_object_isvalid): Change prototype to recieve a pointer to a
        pointer for verification.
        * include/pthread.h: Fix typo for __cleanup_routine_type typedef. (Contrib from Net).

22 years ago* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
smid [Tue, 25 Sep 2001 10:37:17 +0000 (10:37 +0000)]
* x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
by LINUX_SIGINFO_SIZE.

22 years ago * elf32-i386.c: Add comment re linker function names and ordering.
amodra [Tue, 25 Sep 2001 10:11:45 +0000 (10:11 +0000)]
* elf32-i386.c: Add comment re linker function names and ordering.
(elf_i386_link_hash_newfunc): Rename to link_hash_newfunc.
(elf_i386_grok_prstatus): Move before linker functions.
(elf_i386_grok_psinfo): Likewise.
(elf_i386_fake_sections): Move so that functions are ordered.
(elf_i386_reloc_type_class): Likewise.  Comment function purpose.

22 years ago* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
aoliva [Tue, 25 Sep 2001 08:51:51 +0000 (08:51 +0000)]
* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
relocation for differences between symbols in a section other
than the one in which the difference is to be placed; apply
the relocation instead.

22 years ago * elf32-hppa.c: Rename all occurrences of "hplink" to "htab"
amodra [Tue, 25 Sep 2001 07:28:13 +0000 (07:28 +0000)]
* elf32-hppa.c: Rename all occurrences of "hplink" to "htab"
throughout file.

22 years ago * elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all
amodra [Tue, 25 Sep 2001 07:10:59 +0000 (07:10 +0000)]
* elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete.  Remove all
code handling this option.
(LONG_BRANCH_VIA_PLT): Likewise.
(RELATIVE_DYNRELOCS): Define as zero.
(struct elf32_hppa_dyn_reloc_entry): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs.
(elf32_hppa_check_relocs): Don't allocate space for dynamic
relocs here.  Instead, record all needed dynamic relocs via
dyn_relocs and local_dynrel.  Cache pointer to "sreloc" section
in elf_section_data.
(elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf32_hppa_size_dynamic_sections): Mark output_bfd unused.
Call readonly_dynrelocs to determine need for DT_TEXTREL.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf32_hppa_relocate_section): Make use of cached sreloc.
(elf32_hppa_reloc_type_class): New function.
(elf_backend_reloc_type_class): Define.

22 years ago* select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctly
cgf [Tue, 25 Sep 2001 06:19:10 +0000 (06:19 +0000)]
* select.cc (fhandler_tty_common::ready_for_read): Rewrite to correctly
call peek_pipe.

22 years ago * elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
amodra [Tue, 25 Sep 2001 04:34:49 +0000 (04:34 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Add "local_dynrel"
and "sreloc" fields.
* elf32-i386.c (struct elf_i386_dyn_relocs): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf_i386_check_relocs): Don't set DF_TEXTREL here.  Don't
allocate space for dynamic relocs here.  Instead, record all
needed dynamic relocs via dyn_relocs and local_dynrel.  Cache
pointer to "sreloc" section in elf_section_data.
(elf_i386_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf_i386_size_dynamic_sections): Call readonly_dynrelocs.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf_i386_relocate_section): Make use of cached sreloc.

22 years ago* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
cagney [Tue, 25 Sep 2001 02:31:50 +0000 (02:31 +0000)]
* maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.

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

22 years agomerge from gcc
dj [Mon, 24 Sep 2001 23:37:52 +0000 (23:37 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Mon, 24 Sep 2001 23:37:30 +0000 (23:37 +0000)]
merge from gcc

22 years ago* select.cc (peek_pipe): Only grab mutex when we actually got something from
cgf [Mon, 24 Sep 2001 22:49:12 +0000 (22:49 +0000)]
* select.cc (peek_pipe): Only grab mutex when we actually got something from
the pipe.