OSDN Git Service

pf3gnuchains/sourceware.git
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.

22 years ago* fhandler.h (fhandler_pipe::hit_eof): New method.
cgf [Mon, 24 Sep 2001 21:50:43 +0000 (21:50 +0000)]
* fhandler.h (fhandler_pipe::hit_eof): New method.
(writepipe_exists): New class element.
(orig_pid): Ditto.
(id): Ditto.
(is_slow): Eliminate.
* pipe.cc (fhandler_pipe::set_close_on_exec): Set inheritance on
writepipe_exists, if it exists.
(fhandler_pipe::hit_eof): New method, modelled after tty.
(fhandler_pipe::dup): Duplicate writepipe_exists, if it exists.
(make_pipe): Set up a dummy event for pipes on windows 9x.  The nonexistence
of this event means that the write side of the pipe has closed.
(_dup): Move to syscalls.cc
(_dup2): Ditto.

* dtable.cc (dtable::build_fhandler): Fill out set_names here, if appropriate.
* syscalls.cc (_open): Call set_names in build_fhandler.

22 years agoFix thinko
nickc [Mon, 24 Sep 2001 21:16:47 +0000 (21:16 +0000)]
Fix thinko

22 years agoRemove spurious prototype.
nickc [Mon, 24 Sep 2001 21:13:48 +0000 (21:13 +0000)]
Remove spurious prototype.

22 years ago* build fix: cygwin -lcurses is sometimes bad
fche [Mon, 24 Sep 2001 21:03:11 +0000 (21:03 +0000)]
* build fix: cygwin -lcurses is sometimes bad

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

* configure.in (lcd_libs): Set HAVE_CURSES_LIBRARY if found some
usable curses library.
* config.in, configure: Regenerated.

[lcd]
2001-09-24  Frank Ch. Eigler  <fche@redhat.com>

* lcd-char-display.cxx: Be sensitive to ! HAVE_CURSES_LIBRARY.

22 years ago* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
cagney [Mon, 24 Sep 2001 19:46:14 +0000 (19:46 +0000)]
* findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
convert the pointer into a CORE_ADDRs.

22 years agooops - frag omitted from previous patch application
nickc [Mon, 24 Sep 2001 18:35:08 +0000 (18:35 +0000)]
oops - frag omitted from previous patch application

22 years agooops - omitted from previous delta
nickc [Mon, 24 Sep 2001 18:21:24 +0000 (18:21 +0000)]
oops - omitted from previous delta

22 years ago* doublest.h (store_floating, extract_floating): Add comment
cagney [Mon, 24 Sep 2001 17:16:52 +0000 (17:16 +0000)]
* doublest.h (store_floating, extract_floating): Add comment
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.

* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.

22 years agoimprove documenation about auto-import
nickc [Mon, 24 Sep 2001 16:17:46 +0000 (16:17 +0000)]
improve documenation about auto-import

22 years agoDefine and use pe_get_data_import_dll_name().
nickc [Mon, 24 Sep 2001 15:03:00 +0000 (15:03 +0000)]
Define and use pe_get_data_import_dll_name().

22 years agofix compile time warning messages
nickc [Mon, 24 Sep 2001 14:47:10 +0000 (14:47 +0000)]
fix compile time warning messages

22 years ago2001-09-24 Orjan Friberg <orjanf@axis.com>
orjanf [Mon, 24 Sep 2001 08:04:09 +0000 (08:04 +0000)]
2001-09-24  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
from correct register.

22 years ago2001-09-24 Ben Elliston <bje@redhat.com>
bje [Mon, 24 Sep 2001 06:54:48 +0000 (06:54 +0000)]
2001-09-24  Ben Elliston  <bje@redhat.com>

* gloss.cxx (do_sys_fstat): Clear error result on success.

22 years ago * nlmconv.c: Fix warnings about unused attributes and function
aj [Mon, 24 Sep 2001 06:07:52 +0000 (06:07 +0000)]
* nlmconv.c: Fix warnings about unused attributes and function
prototypes.

* strings.c: Add prototype for get_char.

22 years ago * elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
amodra [Mon, 24 Sep 2001 01:38:31 +0000 (01:38 +0000)]
* elf-bfd.h (elf_backend_reloc_type_class): Pass in the entire
reloc rather than just the type.
(_bfd_elf_reloc_type_class): Likewise.
* elf.c (_bfd_elf_reloc_type_class): Likewise.
* elf32-arm.h (elf32_arm_reloc_type_class): Likewise.
* elf32-cris.c (elf_cris_reloc_type_class): Likewise.
* elf32-i386.c (elf_i386_reloc_type_class): Likewise.
* elf32-m68k.c (elf32_m68k_reloc_type_class): Likewise.
* elf32-ppc.c (ppc_elf_reloc_type_class): Likewise.
* elf32-s390.c (elf_s390_reloc_type_class): Likewise.
* elf32-sh.c (sh_elf_reloc_type_class): Likewise.
* elf32-sparc.c (elf32_sparc_reloc_type_class): Likewise.
* elf64-alpha.c (elf64_alpha_reloc_type_class): Likewise.
* elf64-s390.c (elf_s390_reloc_type_class): Likewise.
* elf64-sparc.c (sparc64_elf_reloc_type_class): Likewise.
* elf64-x86-64.c (elf64_x86_64_reloc_type_class): Likewise.
* elfxx-ia64.c (elfNN_ia64_reloc_type_class): Likewise.
* elflink.h: Formatting fixes.
(elf_link_sort_relocs): Make "count" and "size" bfd_size_type.
Call bfd_zmalloc rather than calloc.  Remove unnecessary cast of
o->contents to PTR.  Update call to elf_backend_reloc_type_class.

22 years ago* build fix
fche [Mon, 24 Sep 2001 01:08:45 +0000 (01:08 +0000)]
* build fix

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

* libstdc++.m4: Reject shared libstdc++ possibility if g++ replies with
no path to "--print-file-name=libstdc++.a".

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

22 years ago * syscalls.cc (_open): Set name in fhandler object after successful
corinna [Sun, 23 Sep 2001 15:35:01 +0000 (15:35 +0000)]
    * syscalls.cc (_open): Set name in fhandler object after successful
        creation.
        (stat_dev): Set device type to block device in FH_FLOPPY case.

22 years ago * dtable.cc (dtable::build_fhandler): Initialize unit when using
corinna [Sun, 23 Sep 2001 14:39:16 +0000 (14:39 +0000)]
    * dtable.cc (dtable::build_fhandler): Initialize unit when using
        optional path_conv argument.

22 years agoexpand entry "How can I get bash filename completion to be case insensitive?"
davidsb [Sun, 23 Sep 2001 11:19:13 +0000 (11:19 +0000)]
expand entry "How can I get bash filename completion to be case insensitive?"

22 years agonew entry "What versions of Windows are supported?"
davidsb [Sun, 23 Sep 2001 11:13:08 +0000 (11:13 +0000)]
new entry "What versions of Windows are supported?"

22 years ago1.1.x -> 1.3.x in "recent history"
davidsb [Sun, 23 Sep 2001 10:06:32 +0000 (10:06 +0000)]
1.1.x -> 1.3.x in "recent history"

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

22 years ago* dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument.
cgf [Sat, 22 Sep 2001 21:44:07 +0000 (21:44 +0000)]
* dtable.cc (dtable::build_fhandler): Accept an optional path_conv argument.
If available, use this to calculate path name and device number.
* dtable.h (dtable): Reflect above change.
* fhandler.h (fhandler_base): Declare virtual method which accepts path_conv
rather than path string as first argument.
* fhandler.cc (fhandler_base::open): Define above new method.
* syscalls.cc (_open): Set aside a path_conv variable for use in build_fhandler
and subsequent call to open.

22 years agonew entry "How much disk space does Cygwin require?"
davidsb [Sat, 22 Sep 2001 19:47:17 +0000 (19:47 +0000)]
new entry "How much disk space does Cygwin require?"

22 years agoagain revise license terms
davidsb [Sat, 22 Sep 2001 19:32:47 +0000 (19:32 +0000)]
again revise license terms

22 years ago* exceptions.cc (setup_handler): Always relinquish lock after we've
cgf [Sat, 22 Sep 2001 16:55:02 +0000 (16:55 +0000)]
* exceptions.cc (setup_handler): Always relinquish lock after we've
interrupted.
* fhandler.cc: Move pipe methods to pipe.cc.
* fhandler.h (fhandler_pipe): Add new methods.
* fork.cc (sync_with_parent): Make error messages more informative.
* pipe.cc (fhandler_pipe::fhandler_pipe): Move here from fhandler.cc.
(fhandler_pipe::lseek): Ditto.
(fhandler_pipe::set_close_on_exec): New method.
(fhandler_pipe::read): Ditto.
(fhandler_pipe::close): Ditto.
(fhandler_pipe::dup): Ditto.
(make_pipe): Create the guard mutex on the read side of the pipe.
* select.cc (peek_pipe): Use guard_mutex to discover if we have the right to
read on this pipe.
(fhandler_pipe::readh_for_read): Pass the read pipe guard mutex to peek_pipe.
* syscalls.cc (_read): Always detect signal catchers, for now.
* debug.cc (makethread): Eliminate hack to make thread inheritable.
* sigproc.cc (subproc_init): Don't use hack to make thread inheritable.

22 years agoThu Sep 20 16:00:44 2001 Andrew Cagney <cagney@b1.cygnus.com>
cagney [Sat, 22 Sep 2001 16:42:19 +0000 (16:42 +0000)]
Thu Sep 20 16:00:44 2001  Andrew Cagney  <cagney@b1.cygnus.com>
* Makefile.in (shared/tcl_regexp.o, tcl_regexp.o): Add explict
build rules that include @TCL_DEFS@ in the list of compiler flags.

22 years agoFix compile time warnings
nickc [Sat, 22 Sep 2001 09:23:29 +0000 (09:23 +0000)]
Fix compile time warnings

22 years agorevise license explanation
davidsb [Sat, 22 Sep 2001 08:45:27 +0000 (08:45 +0000)]
revise license explanation

22 years ago * elfcode.h (elf_object_p): Allow for no section header at all in
amodra [Sat, 22 Sep 2001 03:16:00 +0000 (03:16 +0000)]
* elfcode.h (elf_object_p): Allow for no section header at all in
non-ET_REL files.  Honor 0 for e_shnum, e_shstrndx, e_shoff.

22 years agoAdd recent developments.
cgf [Sat, 22 Sep 2001 01:37:47 +0000 (01:37 +0000)]
Add recent developments.

22 years agotypo, words.
cgf [Sat, 22 Sep 2001 01:29:07 +0000 (01:29 +0000)]
typo, words.

22 years ago* Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not
cgf [Sat, 22 Sep 2001 00:40:37 +0000 (00:40 +0000)]
* Makefile.in (mingw_getopt.o): Ensure that newlib include directories are not
searched.

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

22 years ago* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
kettenis [Fri, 21 Sep 2001 22:57:29 +0000 (22:57 +0000)]
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.

22 years agofix error
davidsb [Fri, 21 Sep 2001 20:42:47 +0000 (20:42 +0000)]
fix error

22 years agoUpdate contents.
davidsb [Fri, 21 Sep 2001 20:40:50 +0000 (20:40 +0000)]
Update contents.
Expanded anti-virus information.
How to uninstall a package.

22 years agonew entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"
davidsb [Fri, 21 Sep 2001 18:20:21 +0000 (18:20 +0000)]
new entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"

22 years agoFix compile time warnings
nickc [Fri, 21 Sep 2001 14:25:08 +0000 (14:25 +0000)]
Fix compile time warnings

22 years ago * arc-dis.c: Don't include <ctype.h>.
amodra [Fri, 21 Sep 2001 12:36:56 +0000 (12:36 +0000)]
* arc-dis.c: Don't include <ctype.h>.
* openrisc-desc.c: Likewise.
* openrisc-ibld.c: Likewise.

22 years ago * config/tc-openrisc.c: Don't include <ctype.h>.
amodra [Fri, 21 Sep 2001 12:34:40 +0000 (12:34 +0000)]
* config/tc-openrisc.c: Don't include <ctype.h>.

22 years ago* config/i386/x86-64linux.mh: New file.
smid [Fri, 21 Sep 2001 12:24:55 +0000 (12:24 +0000)]
* config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.

22 years ago* config/i386/x86-64linux.mh: New file.
smid [Fri, 21 Sep 2001 12:19:15 +0000 (12:19 +0000)]
* config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.

22 years ago* i386-tdep.h: New file.
smid [Fri, 21 Sep 2001 12:15:15 +0000 (12:15 +0000)]
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.

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

* lib/monkey.exp (monkey_test_state_restore): Undo this change.

22 years ago* MAINTAINERS: Add myself to the write-after-approval list.
smid [Fri, 21 Sep 2001 07:17:52 +0000 (07:17 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list.
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.

22 years ago* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
smid [Fri, 21 Sep 2001 07:16:03 +0000 (07:16 +0000)]
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.

22 years ago* MAINTAINERS: Add myself to the write-after-approval list.
smid [Fri, 21 Sep 2001 07:14:31 +0000 (07:14 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list.

22 years agofix compile time warning messages
nickc [Fri, 21 Sep 2001 06:52:20 +0000 (06:52 +0000)]
fix compile time warning messages

22 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
aoliva [Fri, 21 Sep 2001 05:14:32 +0000 (05:14 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to
avoid quotes nesting problems.
(NATIVE_CHECK_MODULES): Ditto, just for consistency.
(DO_X): Export only variables that are set.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Fri, 21 Sep 2001 02:12:28 +0000 (02:12 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

* aoutx.h: Formatting fixes.
* merge.c (_bfd_merged_section_offset): Break line at 80 chars.

* linker.c: Replace bfd_get_filename with bfd_archive_filename
in error message.

22 years ago* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
cgf [Fri, 21 Sep 2001 01:01:27 +0000 (01:01 +0000)]
* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.

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

22 years ago * bfd.c (bfd_archive_filename): New function.
amodra [Thu, 20 Sep 2001 23:30:33 +0000 (23:30 +0000)]
* bfd.c (bfd_archive_filename): New function.
* bfd-in2.h: Regenerate.
* aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename
in error messages where the bfd is an input bfd.
* aout-cris.c: Likewise.
* coff-arm.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-sh.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* ecofflink.c: Likewise.
* elf-hppa.h: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-gen.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-gen.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* libbfd.c: Likewise.
* pdp11.c: Likewise.
* pe-mips.c: Likewise.
* peicode.h: Likewise.
* srec.c: Likewise.
* xcofflink.c: Likewise.

* elf32-arm.h: Make _bfd_error_handler calls K&R compatible.

* elflink.c (_bfd_elf_create_linker_section): Better grammar for
error message.

* coff-mcore.c (coff_mcore_relocate_section): Internalionalise
error message.

* elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types.
Consolidate error messages, and split long messages to two lines.

22 years agoNew entry "Why doesn't //c (for C:) work anymore?"
davidsb [Thu, 20 Sep 2001 21:23:17 +0000 (21:23 +0000)]
New entry "Why doesn't //c (for C:) work anymore?"

22 years ago* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
cgf [Thu, 20 Sep 2001 20:58:29 +0000 (20:58 +0000)]
* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
to change inheritance.  Eliminate all other logic dealing with closed handles.
* fhandler.h (fhandler_base::set_inheritance): Reflect above change.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.

22 years agoMake set_solib_svr4_fetch_link_map_offsets() work as intended.
kevinb [Thu, 20 Sep 2001 20:07:55 +0000 (20:07 +0000)]
Make set_solib_svr4_fetch_link_map_offsets() work as intended.

22 years ago* resilience tweak
fche [Thu, 20 Sep 2001 17:17:52 +0000 (17:17 +0000)]
* resilience tweak

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

        * lib/monkey.exp (monkey_test_attribute): Add another paranoid
        level of tcl quoting for garbage strings.
        (monkey_test_state_restore): Ditto.

22 years ago* resilience fix
fche [Thu, 20 Sep 2001 17:15:41 +0000 (17:15 +0000)]
* resilience fix

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

        * sidbusutil.h (mux_passthrough_bus): Rework to clean up and
        avoid NULL pointer dereference.

22 years ago* libltp/lib/get_high_address.c (get_high_address): Get inaccessible
duda [Thu, 20 Sep 2001 15:44:41 +0000 (15:44 +0000)]
* libltp/lib/get_high_address.c (get_high_address): Get inaccessible
address more robustly.
* winsup.api/ltp/stat06.c (high_address_setup): Use generic function
from ltp library to obtain inaccessible address.

22 years agooops - forgot to check for clean 64 bit build - fix compile time warning
nickc [Thu, 20 Sep 2001 15:33:41 +0000 (15:33 +0000)]
oops - forgot to check for clean 64 bit build - fix compile time warning

22 years agoFix compile time warnings
nickc [Thu, 20 Sep 2001 15:28:24 +0000 (15:28 +0000)]
Fix compile time warnings

22 years ago * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close
corinna [Thu, 20 Sep 2001 11:35:49 +0000 (11:35 +0000)]
    * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close
        socket only when not using Winsock2.

22 years ago * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline
corinna [Thu, 20 Sep 2001 11:29:48 +0000 (11:29 +0000)]
    * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline
        implementation.
        (fhandler_dev_raw::fixup_after_exec): Ditto.
        * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Don't
        duplicate buffer on fork to avoid memory leak.
        (fhandler_dev_raw::fixup_after_exec): New implementation equal to
        former fixup_after_fork() implementation.
        * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Do
        nothing when not using Winsock2.
        (fhandler_socket::fixup_after_exec): New implementation.
        (fhandler_socket::set_close_on_exec): Never call set_inheritance().

22 years agoAdd option -mwarn-areg-zero.
nickc [Thu, 20 Sep 2001 10:59:41 +0000 (10:59 +0000)]
Add option -mwarn-areg-zero.

22 years agocoordinate info->symbolic and info->allow_shlib_undefined
nickc [Thu, 20 Sep 2001 10:37:33 +0000 (10:37 +0000)]
coordinate info->symbolic and info->allow_shlib_undefined

22 years ago * fhandler.cc (fhandler_base::set_inheritance): If available,
corinna [Thu, 20 Sep 2001 08:02:00 +0000 (08:02 +0000)]
    * fhandler.cc (fhandler_base::set_inheritance): If available,
        use SetHandleInformation() to set inheritance.
        * wincap.cc: Set flag has_set_handle_information_on_console_handles
        appropriately.
        * wincap.h: Add flag has_set_handle_information_on_console_handles.

22 years ago * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
amodra [Thu, 20 Sep 2001 03:03:39 +0000 (03:03 +0000)]
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise.
* dwarf2read.c: Likewise.
* dwarfread.c: Likewise.
* somread.c: Likewise.
* ultra3-nat.c: Likewise.
* xcoffread.c: Likewise.

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