]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years agoClean up formatting of xcoff.h
Tom Rix [Mon, 17 Dec 2001 13:13:33 +0000 (13:13 +0000)]
Clean up formatting of xcoff.h

22 years ago* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.
Christopher Faylor [Mon, 17 Dec 2001 01:41:07 +0000 (01:41 +0000)]
* include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX.

22 years ago Support for more than 64k ELF sections.
Alan Modra [Mon, 17 Dec 2001 00:52:34 +0000 (00:52 +0000)]
Support for more than 64k ELF sections.
include/elf/ChangeLog
* external.h (Elf_External_Sym_Shndx): Declare.
* internal.h (struct elf_internal_sym <st_shndx>): Make it an
unsigned int.
* common.h (SHN_BAD): Define.

bfd/ChangeLog
* configure.in: Bump bfd version.
* configure: Regenerate.
* elf-bfd.h (elf_size_info <swap_symbol_out>): Add shndx param.
(bfd_elf32_swap_symbol_in): Likewise.
(bfd_elf32_swap_symbol_out): Likewise.
(bfd_elf64_swap_symbol_in): Likewise.
(bfd_elf64_swap_symbol_out): Likewise.
(elf_reloc_cookie): Add locsym_shndx field.  Make locsyms a PTR.
(elf_obj_tdata): Add num_elf_sections, symtab_shndx_hdr and
symtab_shndx_section.
(elf_numsections): Define.
(elf_symtab_shndx): Define.
* elf.c (setup_group): Use elf_numsections rather than header e_shnum.
(bfd_elf_find_section): Likewise.
(bfd_section_from_elf_index): Likewise.
(bfd_section_from_shdr): Likewise.  Handle SHT_SYMTAB_SHNDX.
(bfd_section_from_r_symndx): Read symbol shndx extension, and
translate st_shndx for > SHN_HIRESERVE.
(assign_section_numbers): Skip reserved sections.  Assign
symtab_shndx_section and elf_numsections.  Exclude reserved
sections from e_shnum.  Set up symtab_shndx_hdr.
(_bfd_elf_compute_section_file_positions): Handle symtab_shndx_hdr.
(map_sections_to_segments): Don't map eh_frame_hdr unless required.
(assign_file_positions_except_relocs): Use elf_numsections rather
than header e_shnum.  Skip reserved sections and symtab_shndx_section.
(prep_headers): Set name for symtab_shndx_hdr.
(_bfd_elf_assign_file_positions_for_relocs): Use elf_numsections.
(_bfd_elf_write_object_contents): Likewise.  Skip reserved sections.
(_bfd_elf_section_from_bfd_section): Check bfd_{abs,com,und}_section
first.  Use elf_section_data if available.  Use elf_numsections.
Start scan at index 1.
(copy_private_bfd_data ): Comment fixes.
(MAP_ONESYMTAB): Define above SHN_HIOS.
(MAP_DYNSYMTAB): Likewise.
(MAP_STRTAB): Likewise.
(MAP_SHSTRTAB): Likewise.
(MAP_SYM_SHNDX): New define.
(_bfd_elf_copy_private_symbol_data): Handle symtab_shndx_section.
(swap_out_syms): Swap out SHT_SYMTAB_SHNDX section too.
* elfcode.h (elf_swap_symbol_in): Add shndx param, and handle shndx
extension.
(elf_swap_symbol_out): Likewise.
(elf_object_p): Set elf_numsections, and use instead of e_shnum.
Initialialise reserved elf_elfsections to point at shdr[0].  Remove
redundant bfd_release calls.
(elf_slurp_symbol_table): Read symbol shndx extension, and use with
elf_swap_symbol_in.  Translate st_shndx for > SHN_HIRESERVE too.
* elflink.h (elf_link_is_defined_archive_symbol): Read symbol shndx
extension, and use with elf_swap_symbol_in.
(elf_link_record_local_dynamic_symbol): Likewise.
(elf_link_add_object_symbols): Likewise.  Also translate st_shndx
for elf sections > SHN_HIRESERVE.
(NAME(bfd_elf,size_dynamic_sections)): Adjust elf_swap_symbol_out
call.
(struct elf_final_link_info): Add locsym_shndx and symshndxbuf.
(elf_bfd_final_link): Allocate the above, and tidy code allocating
other buffers.  Use elf_numsections instead of e_shnum.  Adjust
elf_swap_symbol_out calls.
(elf_link_output_sym): Swap out symbol shndx extension too.
(elf_link_flush_output_syms): And flush them to disk.
(elf_link_output_extsym): Use SHN_BAD.  Adjust elf_swap_symbol_out
calls.
(elf_gc_mark): Read symbol shndx extension, and use with
elf_swap_symbol_in.
(elf_link_input_bfd): Likewise,  Translate st_shndx for elf sections
> SHN_HIRESERVE too.  Use SHN_BAD.
(elf_reloc_symbol_deleted_p): Use symbol shndx extensions with
elf_swap_symbol_in.  Translate st_shndx > SHN_HIRESERVE too.
(elf_bfd_discard_info): Read symbol shndx extension.  Don't attempt
to continue after a bfd error.
* elf-m10200.c (mn10200_elf_relax_section): Only read local syms.
Stash them immediately to symtab_hdr->contents rather than later
in multiple places.  Clean up afterwards.  Read symbol shndx
extension, and use with swap_symbol_in.  Translate SHN_UNDEF,
SHN_ABS, SHN_COMMON and elf sections > SHN_HIRESERVE to bfd
sections too.  Remove dead code.
(mn10200_elf_relax_delete_bytes): Use symbol shndx extension
when swapping in symbols.  Tidy code adjusting global syms.
Don't swap in global syms.
(mn10200_elf_symbol_address_p): Likewise.  Remove extsyms param.
(mn10200_elf_get_relocated_section_contents): Read symbol shndx
extension, and use with swap_symbol_in.  Rename "size" -> "amt"
to maximize code in common with other files.  Translate st_shndx
for > SHN_HIRESERVE too.  Remove dead code.
* elf-m10300.c (mn10300_elf_relax_section): Only read local syms.
Stash them immediately to symtab_hdr->contents rather than later
in multiple places.  Clean up afterwards.  Read symbol shndx
extension, and use with swap_symbol_in.  Remove dead code.
(mn10300_elf_relax_delete_bytes): As for elf-m10200.c.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As for elf-m10300.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-hppa.c (elf32_hppa_size_stubs): Read symbol shndx
extension, and use with swap_symbol_in.
* elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
* elf32-i370.c (i370_elf_finish_dynamic_sections): Adjust call to
bfd_elf32_swap_symbol_out.
* elf32-m32r.c (m32r_elf_get_relocated_section_contents): Translate
elf sections > SHN_HIRESERVE too.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Only read
local syms.  Read symbol shndx extension, and use with swap_symbol_in.
* elf32-mips.c (_bfd_mips_elf_final_write_processing): Use
elf_numsections rather than header e_shnum.
* elf32-sh.c (sh_elf_relax_section): As for elf-m10300.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.  Only read local
symbols.
* elf32-v850.c (v850_elf_symbol_processing): Use an unsigned int to
hold section index.  Use elf_numsections rather than e_shnum.
Rename "index" -> "indx" to avoid shadowing warning.
(v850_elf_add_symbol_hook): Likewise.
* elf64-alpha.c (elf64_alpha_relax_section): Only read local syms.
Read symbol shndx extension, and use with swap_symbol_in.
* elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise.
Translate SHN_COMMON and elf sections > SHN_HIRESERVE too.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
(elfNN_ia64_aix_add_symbol_hook): Use elf_numsections.

* elf-m10300.c (mn10300_elf_gc_mark_hook): Remove unnecessary checks
before calling bfd_section_from_elf_index on local syms.
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
* elf64-mips.c (mips_elf64_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.

binutils/ChangeLog
* readelf.c (symtab_shndx_hdr): New global.
(SECTION_HEADER_INDEX): Define.
(SECTION_HEADER_NUM): Define.
(SECTION_HEADER): Define.
(GET_ELF_SYMBOLS): Pass two params rather than three.
(get_32bit_elf_symbols): Take file and section args.  Read and
use SHT_SYMTAB_SHNDX.
(get_64bit_elf_symbols): Likewise.
(dump_relocations): Use SECTION_HEADER to index "section_headers".
(process_section_headers): Likewise.  Use SECTION_HEADER_NUM too.
Remember symtab_shdx_hdr.
(process_program_headers): Scan from index 1 for segment map.
(slurp_ia64_unwind_table): Use SECTION_HEADER to index
"section_headers".
(process_relocs): Likewise.  Also adjust call to GET_ELF_SYMBOLS.
(process_unwind): Likewise.
(process_version_sections): Likewise.
(process_symbol_table): Likewise.
(display_debug_info): Likewise.
(process_dynamic_segment): Fake up a symtab section for changed
GET_ELF_SYMBOLS.
(get_symbol_index_type): Check SHN_LOOS before SHN_LORESERVE.
(process_program_headers): Kill signed/unsigned warning.
(load_debug_str): Likewise.
(display_debug_info): Likewise.

22 years ago2001-12-17 Guido Serassio <serassio@libero.it>
Robert Collins [Sun, 16 Dec 2001 21:57:36 +0000 (21:57 +0000)]
2001-12-17  Guido Serassio <serassio@libero.it>

        * include/winsvc.h: Add ChangeServiceConfig2() &
        QueryServiceConfig2() definition

22 years ago2001-12-17 Robret Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 16 Dec 2001 21:55:40 +0000 (21:55 +0000)]
2001-12-17  Robret Collins  <rbtcollins@hotmail.com>

        * include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based
on MSDN documentation for XP.

22 years agoInitialise the disassembler_options field (to NULL).
Nick Clifton [Fri, 14 Dec 2001 21:32:04 +0000 (21:32 +0000)]
Initialise the disassembler_options field (to NULL).

22 years ago * mkpasswd.c (enum_users): Change to unconditionally use
Corinna Vinschen [Fri, 14 Dec 2001 20:01:53 +0000 (20:01 +0000)]
* mkpasswd.c (enum_users): Change to unconditionally use
the --path-to-home option, if supplied by the user.  Use default
--path-to-home option value, if appropriate.
(usage): Change usage statement to reflect new semantics.
(main): Remove defaulting of the --path-to-home option.

22 years ago (vfiprintf.$(oext)): Likewise.
Thomas Fitzsimmons [Fri, 14 Dec 2001 19:27:46 +0000 (19:27 +0000)]
(vfiprintf.$(oext)): Likewise.

22 years ago * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
Thomas Fitzsimmons [Fri, 14 Dec 2001 19:14:27 +0000 (19:14 +0000)]
* libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
compile line.

22 years agoAdd missing ChangeLog.
Christopher Faylor [Fri, 14 Dec 2001 18:26:43 +0000 (18:26 +0000)]
Add missing ChangeLog.
* configure.in: Detect zlib subdirectory.
* configure: Regenerate

22 years ago* Makefile.in: Exit immediately if a sub-make fails.
Christopher Faylor [Fri, 14 Dec 2001 18:23:19 +0000 (18:23 +0000)]
* Makefile.in: Exit immediately if a sub-make fails.

22 years ago* mkpasswd.c (opts): Add indication that '-p' option requires an argument.
Christopher Faylor [Fri, 14 Dec 2001 17:15:37 +0000 (17:15 +0000)]
* mkpasswd.c (opts): Add indication that '-p' option requires an argument.

22 years ago * configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
Thomas Fitzsimmons [Thu, 13 Dec 2001 23:57:00 +0000 (23:57 +0000)]
* configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
options for i[3456]86-pc-linux* native builds.

22 years ago * Makefile.shared: New file.
Thomas Fitzsimmons [Thu, 13 Dec 2001 23:50:11 +0000 (23:50 +0000)]
* Makefile.shared: New file.
* libc/sys/linux/shared.ld: New file.
* libm/machine/*: New files.
* libm/machine/i386/*: New files.
* Makefile.am: Add libtool support.  Change math and mathfp
references to variables.
* configure.host: Add variables for libtool support.  Add
libm_machine_dir variable.
* configure.in: Add objectlist variables, for libtool
support.  Add CC_FOR_BUILD tests.
* libc/Makefile.am: Add libtool support.  Change crt0.o
reference to be a variable reference.
* libc/configure.in: Add libtool support.  Change sublib
names to be lib${subdir}.la when using libtool.
* libc/ctype/Makefile.am: Add libtool support.
* libc/errno/Makefile.am: Likewise.
* libc/locale/Makefile.am: Likewise.
* libc/machine/Makefile.am: Likewise.
* libc/machine/configure.in: Likewise.
* libc/machine/i386/Makefile.am: Likewise.
* libc/machine/i386/configure.in: Likewise.
* libc/misc/Makefile.am: Likewise.
* libc/posix/Makefile.am: Likewise.
* libc/reent/Makefile.am: Likewise.
* libc/signal/Makefile.am: Likewise.
* libc/stdio/Makefile.am: Likewise.
* libc/stdlib/Makefile.am: Likewise.
* libc/string/Makefile.am: Likewise.
* libc/sys/Makefile.am: Likewise.
* libc/sys/configure.in: Likewise.
* libc/sys/linux/Makefile.am: Add libtool support.  Change
awk reference to a variable reference.  Change signal.h
reference to a variable reference.
* libc/sys/linux/configure.in: Add libtool support.
* libc/syscalls/Makefile.am: Likewise.
* libc/time/Makefile.am: Likewise.
* libc/unix/Makefile.am: Likewise.
* libm/Makefile.am: Add libtool support.  Change math and
mathfp references to variables.
* libm/configure.in: Add libtool support.  Add
LIBM_MACHINE_LIB variable.
* libm/common/Makefile.am: Add libtool support.
* libm/math/Makefile.am: Likewise.
* libm/mathfp/Makefile.am: Likewise.
Regenerate all Makefile.in, aclocal.m4, and configure.

22 years ago2001-12-13 Anita Kulkarni <anitak@kpit.com>
Jeff Johnston [Thu, 13 Dec 2001 20:10:16 +0000 (20:10 +0000)]
2001-12-13 Anita Kulkarni <anitak@kpit.com>

        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.

22 years ago * elf-bfd.h (enum elf_link_info_type): New.
Jakub Jelinek [Thu, 13 Dec 2001 11:09:33 +0000 (11:09 +0000)]
* elf-bfd.h (enum elf_link_info_type): New.
(struct bfd_elf_section_data): Remove stab_info and merge_info
fields, add sec_info and sec_info_type.
(struct elf_obj_tdata): Add eh_frame_hdr field.
(_bfd_elf_discard_section_eh_frame): New prototype.
(_bfd_elf_discard_section_eh_frame_hdr): Likewise.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_write_section_eh_frame_hdr): Likewise.
* Makefile.am (BFD32_BACKENDS): Add elf-eh-frame.lo.
(BFD32_BACKENDS_CFILES): Add elf-eh-frame.c.
(elf-eh-frame.lo): New.
* Makefile.in: Rebuilt.
* configure.in (elf): Add elf-eh-frame.lo.
* configure: Rebuilt.
* elf.c (_bfd_elf_print_private_bfd_data): Support PT_GNU_EH_FRAME.
(map_sections_to_segments): Create PT_GNU_EH_FRAME if requested.
(get_program_header_size): Take into account PT_GNU_EH_FRAME
segment.
(_bfd_elf_rela_local_sym): Use sec_info_type and sec_info.
(_bfd_elf_rel_local_sym): Likewise.
(_bfd_elf_section_offset): Likewise.  Call
_bfd_elf_eh_frame_section_offset too.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Use sec_info_type and
sec_info.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf-eh-frame.c: New file.
* elflink.h (elf_link_add_object_symbols): Don't optimize SHF_MERGE
.stab sections.  Set sec_info_type, use sec_info instead
of merge_info and stab_info.
(elf_link_create_dynamic_sections): Create .eh_frame_hdr section
if --eh-frame-hdr.
(elf_bfd_final_link): Write .eh_frame_hdr section.
(elf_link_sec_merge_syms): Use sec_info_type and sec_info.
(elf_link_input_bfd): Likewise.
Call _bfd_elf_write_section_eh_frame to write .eh_frame sections.
(elf_bfd_discard_info): Add output_bfd argument.
Call _bfd_elf_discard_section_eh_frame and
_bfd_elf_discard_section_eh_frame_hdr.
(elf_section_ignore_discarded_relocs): Use sec_info_type, not section
names.
* bfd-in.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Adjust
prototypes.
* bfd-in2.h (bfd_elf32_discard_info, bfd_elf64_discard_info): Likewise.

* elf/common.h (PT_GNU_EH_FRAME): Define.
* bfdlink.h (struct bfd_link_info): Add eh_frame_hdr field.

* emultempl/elf32.em (finish): Supply output_bfd
to bfd_elf*_discard_info.
(OPTION_EH_FRAME_HDR): Define.
(longopts): Add --eh-frame-hdr.
(parse_args): Handle it.
(list_options): Add --eh-frame-hdr to help.
* emultempl/hppaelf.em (finish): Supply output_bfd
to bfd_elf*_discard_info.
* scripttempl/elf.sc (.eh_frame_hdr): Add.

* readelf.c (get_segment_type): Support PT_GNU_EH_FRAME.

22 years ago* Makefile.in: Add define to CXXFLAGS.
Christopher Faylor [Tue, 11 Dec 2001 22:51:01 +0000 (22:51 +0000)]
* Makefile.in: Add define to CXXFLAGS.

22 years ago* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.
Christopher Faylor [Tue, 11 Dec 2001 22:22:43 +0000 (22:22 +0000)]
* include/getopt.h: Add HAVE_DECL_GETOPT to save pain elsewhere.

22 years ago* what.texinfo: Clarify XP.
Christopher Faylor [Tue, 11 Dec 2001 17:16:02 +0000 (17:16 +0000)]
* what.texinfo: Clarify XP.

22 years ago * common.h (SHN_XINDEX): Comment typo fix.
Alan Modra [Tue, 11 Dec 2001 05:37:33 +0000 (05:37 +0000)]
* common.h (SHN_XINDEX): Comment typo fix.
* internal.h (Elf_Internal_Ehdr): Change existing "unsigned short"
size, count and index fields to "unsigned int".

22 years ago* fhandler.h (fhandler_serial::ev): New class member.
Christopher Faylor [Tue, 11 Dec 2001 00:24:46 +0000 (00:24 +0000)]
* fhandler.h (fhandler_serial::ev): New class member.
* fhandler_serial.cc (fhandler_serial::raw_read): Use class member for event
status.
* select.cc (peek_serial): Ditto.

22 years agowhitespace cleanup
Christopher Faylor [Mon, 10 Dec 2001 03:35:54 +0000 (03:35 +0000)]
whitespace cleanup

22 years agoIndex: bfd/ChangeLog
Geoffrey Keating [Sat, 8 Dec 2001 03:46:03 +0000 (03:46 +0000)]
Index: bfd/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
    Richard Henderson  <rth@redhat.com>
    Corinna Vinschen  <vinschen@redhat.com>

* Makefile.am: Add support for xstormy16.
* archures.c: Add support for xstormy16.
* config.bfd: Add support for xstormy16.
* configure.in: Add support for xstormy16.
* reloc.c: Add support for xstormy16.
* targets.c: Add support for xstormy16.
* cpu-xstormy16.c: New file.
* elf32-xstormy16.c: New file.
* Makefile.in: Regenerated.
* bfd-in2.h: Regenerated.
* configure: Regenerated.
* libbfd.h: Regenerated.

Index: binutils/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>

* readelf.c (guess_is_rela): Add support for stormy16.
(dump_relocations): Likewise.
(get_machine_name): Likewise.

Index: gas/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
    Richard Henderson  <rth@redhat.com>

* configure.in: Add support for xstormy16.
* configure: Regenerated.
* Makefile.am: Add support for xstormy16.
* Makefile.in: Regenerated.
* config/tc-xstormy16.c: New file.
* config/tc-xstormy16.h: New file.

Index: gas/testsuite/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
    matthew green  <mrg@redhat.com>

* gas/xstormy16/allinsn.d: New file.
* gas/xstormy16/allinsn.exp: New file.
* gas/xstormy16/allinsn.s: New file.
* gas/xstormy16/allinsn.sh: New file.
* gas/xstormy16/gcc.d: New file.
* gas/xstormy16/gcc.s: New file.
* gas/xstormy16/gcc.sh: New file.
* gas/xstormy16/reloc-1.d: New file.
* gas/xstormy16/reloc-1.s: New file.
* gas/xstormy16/reloc-2.d: New file.
* gas/xstormy16/reloc-2.s: New file.

Index: ld/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
    Richard Henderson  <rth@redhat.com>

* Makefile.am: Add support for xstormy16.
* configure.tgt: Add support for xstormy16.
* Makefile.in: Regenerate.
* emulparams/elf32xstormy16.sh: New file.
* scripttempl/xstormy16.sc: New file.

Index: opcodes/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>

* Makefile.am: Add support for xstormy16.
* Makefile.in: Regenerate.
* configure.in: Add support for xstormy16.
* configure: Regenerate.
* disassemble.c: Add support for xstormy16.
* xstormy16-asm.c: New generated file.
* xstormy16-desc.c: New generated file.
* xstormy16-desc.h: New generated file.
* xstormy16-dis.c: New generated file.
* xstormy16-ibld.c: New generated file.
* xstormy16-opc.c: New generated file.
* xstormy16-opc.h: New generated file.

Index: include/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>

* dis-asm.h (print_insn_xstormy16): Declare.

Index: include/elf/ChangeLog
2001-12-07  Geoffrey Keating  <geoffk@redhat.com>
    Richard Henderson  <rth@redhat.com>

* common.h (EM_XSTORMY16): Define.
* xstormy16.h: New file.

22 years ago* path.cc (path_conv::check): Use full path name for determining attributes
Christopher Faylor [Sat, 8 Dec 2001 01:27:10 +0000 (01:27 +0000)]
* path.cc (path_conv::check): Use full path name for determining attributes
when /cygdrive/x/foo.

22 years ago * Makefile.in: Increment VERSION.
Earnie Boyd [Fri, 7 Dec 2001 21:38:03 +0000 (21:38 +0000)]
* Makefile.in: Increment VERSION.
* include/_mingw.h: Ditto.

22 years ago * Makefile.in: Increment VERSION.
Earnie Boyd [Fri, 7 Dec 2001 21:29:30 +0000 (21:29 +0000)]
* Makefile.in: Increment VERSION.
* include/w32api.h: Ditto.

22 years agomerge changes from MinGW
Earnie Boyd [Fri, 7 Dec 2001 14:15:24 +0000 (14:15 +0000)]
merge changes from MinGW

22 years ago* path.cc (path_conv::check): Reset FH_CYGDRIVE if iterating through path.
Christopher Faylor [Fri, 7 Dec 2001 05:03:32 +0000 (05:03 +0000)]
* path.cc (path_conv::check): Reset FH_CYGDRIVE if iterating through path.

22 years ago* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn't
Christopher Faylor [Thu, 6 Dec 2001 22:36:08 +0000 (22:36 +0000)]
* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn't
exist.
(mount_info::conv_to_win32_path): Keep translating when a /cygdrive is found.
Don't attempt to translate to a device name when devn == FH_CYGDRIVE.
(cygwin_conv_to_win32_path): Set buffer to empty on error.
(cygwin_conv_to_full_win32_path): Ditto.
* window.cc: Include unistd.h to verify definitions.

22 years ago * demangle.h (no_demangling): New.
Richard Henderson [Thu, 6 Dec 2001 21:57:28 +0000 (21:57 +0000)]
    * demangle.h (no_demangling): New.
        (NO_DEMANGLING_STYLE_STRING): New.

        * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
        (cplus_demangle): Support no_demangling.

22 years ago* libc/include/sys/unistd.h: Correct ualarm declaration.
Christopher Faylor [Thu, 6 Dec 2001 19:00:14 +0000 (19:00 +0000)]
* libc/include/sys/unistd.h: Correct ualarm declaration.

22 years ago* dir.cc (opendir): Detect error return from build_fhandler_from_name.
Christopher Faylor [Wed, 5 Dec 2001 23:05:15 +0000 (23:05 +0000)]
* dir.cc (opendir): Detect error return from build_fhandler_from_name.

22 years agoMerge MinGW CVS differences
Earnie Boyd [Wed, 5 Dec 2001 15:01:06 +0000 (15:01 +0000)]
Merge MinGW CVS differences

22 years ago * include/strings.h: New file.
Earnie Boyd [Wed, 5 Dec 2001 13:55:19 +0000 (13:55 +0000)]
* include/strings.h: New file.

22 years agoFor __USES_INITFINI__ preserve the argument vector before calling the
Nick Clifton [Wed, 5 Dec 2001 11:51:43 +0000 (11:51 +0000)]
For __USES_INITFINI__ preserve the argument vector before calling the
initialisation functions.

22 years agogcc adopts symlink-tree, refer more to libiberty.
Nick Clifton [Wed, 5 Dec 2001 10:07:09 +0000 (10:07 +0000)]
gcc adopts symlink-tree, refer more to libiberty.
symlink-tree: handle DOS-style absolute paths.

22 years agoAdd missing ChangeLog entries.
Christopher Faylor [Wed, 5 Dec 2001 04:48:15 +0000 (04:48 +0000)]
Add missing ChangeLog entries.

22 years ago* net.cc (cygwin_getsockopt): Dereference optlen pointer when passing to
Christopher Faylor [Tue, 4 Dec 2001 22:01:03 +0000 (22:01 +0000)]
* net.cc (cygwin_getsockopt): Dereference optlen pointer when passing to
__check_null_invalid_struct_errno.

22 years ago2001-12-04 Earnie Boyd <earnie@users.sf.net>
Earnie Boyd [Tue, 4 Dec 2001 14:36:40 +0000 (14:36 +0000)]
2001-12-04  Earnie Boyd  <earnie@users.sf.net>

* include/winuser.h (IDC_STATIC): Don't define.

22 years ago2001-12-04 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Tue, 4 Dec 2001 13:35:34 +0000 (13:35 +0000)]
2001-12-04  Danny Smith  <dannysmith@users.sourceforge.net>

        Cleanup merge between SourceForge and winsup CVS.
        * include/winbase.h (OSVERSIONINFO[AW], OSVERSIONINFOEX[AW]: Remove
definitions.
        * include/winnt.h (VER_NT*): Remove duplicate defines.
        (VER_SUITE*): Group with VER_PLATFORM*, VER_NT* defines.

22 years ago* d10v.h (OPERAND_NOSP): New macro.
Alexandre Oliva [Tue, 4 Dec 2001 10:06:40 +0000 (10:06 +0000)]
* d10v.h (OPERAND_NOSP): New macro.

22 years agoCleanup copyrights and Cygnus'isms throughout.
Christopher Faylor [Tue, 4 Dec 2001 04:20:31 +0000 (04:20 +0000)]
Cleanup copyrights and Cygnus'isms throughout.
* setup.sgml: Nuke ancient instructions.

22 years agoremove extra mask info
Christopher Faylor [Tue, 4 Dec 2001 04:15:15 +0000 (04:15 +0000)]
remove extra mask info

22 years agoremove extra mask info
Christopher Faylor [Tue, 4 Dec 2001 04:14:37 +0000 (04:14 +0000)]
remove extra mask info

22 years ago* cygcheck.cc (usage): Add -c description.
Christopher Faylor [Tue, 4 Dec 2001 04:12:39 +0000 (04:12 +0000)]
* cygcheck.cc (usage): Add -c description.
* cygpath.cc (usage): Alphabetize options.
* strace.cc (usage): Ditto.

22 years ago* net.cc (cygwin_getsockopt): Allow NULL optval.
Christopher Faylor [Mon, 3 Dec 2001 20:09:33 +0000 (20:09 +0000)]
* net.cc (cygwin_getsockopt): Allow NULL optval.
* path.cc (mount_info::read_cygdrive_info_from_registry): Don't write cygdrive
to registry if it doesn't exist.

22 years ago2001-12-03 Earnie Boyd <earnie@users.sf.net>
Earnie Boyd [Mon, 3 Dec 2001 19:59:34 +0000 (19:59 +0000)]
2001-12-03  Earnie Boyd  <earnie@users.sf.net>

* include/accctrl.h: Change \r\n to \n.

2001-11-30  Danny Smith  <dannysmith@users.sourceforge.net>

* include/ipexport.h (IP_UNIDIRECTIONAL_ADAPTER_ADDRESS):
Add structure definition.
* include/iptypes.h (IP_PER_ADAPTER_INFO): Ditto.
* include/iphlpapi.h (AddIPAddress,CreateProxyArpEntry,
DeleteIPAddress,DeleteProxyArpEntry,EnableRouter,
FlushIpNetTable,GetAdapterIndex,GetPerAdapterInfo,
GetUniDirectionalAdapterInfo,SendARP,SetAdapterIpAddress,
UnenableRouter) Declare functions.
* lib/iphlpapi.def: Add function names to import lib.

2001-11-24  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winnt.h (PACCESS_MASK): Add typedef.
* include/aclapi.h: New file.
* include/acctrl.h: New file.
* lib/advapi32.def: Add missing symbols.
* lib/test.c: Add #include <aclapi.h>.

2001-11-23  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winbase.h (OSVERSIONINFO[AW],VER_PLATFORM_WIN32s,
VER_PLATFORM_WIN32_WINDOWS,VER_PLATFORM_WIN32_NT): Move from
here ...
* include/winnt.h: ... to here.
* include/winbase.h (VerifyVersionInfo[AW]): Add declaration.
* include/winnt.h (OSVERSIONINFOEX[AW]): Add structure definitions
and typedefs.
(VER_NT_WORKSTATION,VER_NT_DOMAIN_CONTROLLER,VER_NT_SERVER):
Add defines.

2001-11-19  Pierre Muller  <muller@ics.u-strasbg.fr>

* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.

2001-11-16  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winuser.h (tagALTTABINFO, tagCOMBOBOXINFO,
tagCURSORINFO, tagMENUBARINFO, tagMENUINFO, tagMONITORINFO
tagSCROLLBARINFO, tagTITLEBARINFO. tagWINDOWINFO,
tagLASTINPUTINFO ): Define new structures.
(EndMenu, GetAltTabInfo[AW],GetComboBoxInfo,GetCursorInfo,
GetLastInputInfo, GetListBoxInfo, GetMenuBarInfo,
GetMonitorInfo[AW], GetScrollBarInfo, GetTitleBarInfo,
GetWindowInfo, GetWindowModuleFileName[AW],GetMenuInfo
SetMenuInfo): Add new prototypes.
* lib/user32.def: Add import stubs for above functions.

* include/winuser.h (IDC_STATIC): Protect against prior
definition.

2001-11-12  Corinna Vinschen  <corinna@vinschen.de>

* include/winbase.h (OSVERSIONINFOEX): Add definition.
* include/winnt.h: Add VER_NT_* and VER_SUITE_* defines.

2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

* include/winnt.h: Add Danny Smith's text comment about gcc compiler
warnings with _AUTHORITY #defines.

2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

* include/winnt.h (GetCurrentFiber): Create a prototype before the
implementation;
(GetFiberData): Ditto.

2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

* include/winnt.h: Backout last change.

22 years ago* path.cc (mount_info::conv_to_win32_path): Avoid returning error if cygdrive
Christopher Faylor [Mon, 3 Dec 2001 16:47:18 +0000 (16:47 +0000)]
* path.cc (mount_info::conv_to_win32_path): Avoid returning error if cygdrive
== '/'.
(mount_info::cygdrive_win32_path): Return 0 if invalid cygdrive path.

22 years ago.
Christopher Faylor [Sun, 2 Dec 2001 07:17:33 +0000 (07:17 +0000)]
.

22 years ago.
Christopher Faylor [Sun, 2 Dec 2001 07:07:53 +0000 (07:07 +0000)]
.

22 years ago.
Christopher Faylor [Sun, 2 Dec 2001 06:41:58 +0000 (06:41 +0000)]
.

22 years ago.
Christopher Faylor [Sun, 2 Dec 2001 06:21:17 +0000 (06:21 +0000)]
.

22 years ago.
Christopher Faylor [Sun, 2 Dec 2001 06:13:48 +0000 (06:13 +0000)]
.

22 years ago.
Christopher Faylor [Sun, 2 Dec 2001 06:01:16 +0000 (06:01 +0000)]
.

22 years agominor reformatting.
Christopher Faylor [Sun, 2 Dec 2001 05:48:24 +0000 (05:48 +0000)]
minor reformatting.

22 years agominor reformatting.
Christopher Faylor [Sun, 2 Dec 2001 05:23:26 +0000 (05:23 +0000)]
minor reformatting.

22 years ago* libc/include/dirent.h: Protect against multiple inclusion.
Christopher Faylor [Fri, 30 Nov 2001 17:26:47 +0000 (17:26 +0000)]
* libc/include/dirent.h: Protect against multiple inclusion.

22 years ago* debug.cc (makethread): Eliminate unneeded function call.
Christopher Faylor [Fri, 30 Nov 2001 06:19:58 +0000 (06:19 +0000)]
* debug.cc (makethread): Eliminate unneeded function call.
* miscfuncs.cc (tls_ix): Predefine.
* perthread.h (set_reent): Eliminate.
(get_reent): Ditto.
* winbase.h (my_tlsalloc): Use global stack base pointer.  Set newly allocated
location to NULL.
(my_tlssetvalue): Use global stack base pointer.
(my_tlsgetvalue): Ditto.

22 years agoCopyright 2001
Alexandre Oliva [Thu, 29 Nov 2001 18:08:12 +0000 (18:08 +0000)]
Copyright 2001

22 years ago* d10v.h (OPERAND_SP): New macro.
Alexandre Oliva [Thu, 29 Nov 2001 18:03:50 +0000 (18:03 +0000)]
* d10v.h (OPERAND_SP): New macro.

22 years agoWhen build != host, create libiberty for the build machine.
DJ Delorie [Wed, 28 Nov 2001 19:55:01 +0000 (19:55 +0000)]
When build != host, create libiberty for the build machine.

* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
CONFIG_ARGUMENTS.
(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
New variables.
(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
and rules.
(all.normal): Depend on ALL_BUILD_MODULES.
(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
(all-build-libiberty): Depend on configure-build-libiberty.

* configure: Calculate and substitute proper value for
ALL_BUILD_MODULES.
* configure.in: Create the build subdirectory.
Calculate and substitute TARGET_CONFIGARGS (formerly
CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).

22 years ago* winsup.h: Reorganize to avoid use of experimental stuff.
Christopher Faylor [Wed, 28 Nov 2001 02:36:32 +0000 (02:36 +0000)]
* winsup.h: Reorganize to avoid use of experimental stuff.
* shortcut.cc: Move winsup.h first in include order.

22 years agoAdd attribution.
Christopher Faylor [Wed, 28 Nov 2001 01:54:05 +0000 (01:54 +0000)]
Add attribution.

22 years ago* libc/include/sys/types.h: Define useconds_t.
Christopher Faylor [Wed, 28 Nov 2001 00:16:58 +0000 (00:16 +0000)]
* libc/include/sys/types.h: Define useconds_t.
* libc/include/sys/ulimit.h: Declare ualarm.

22 years ago* cygwin.din (ualarm): New export.
Christopher Faylor [Wed, 28 Nov 2001 00:06:35 +0000 (00:06 +0000)]
* cygwin.din (ualarm): New export.
* dcrt0.cc (_dll_crt0): Add experimental tls storage declaration.
(dll_crt0): Ditto.
* debug.cc (thread_stub): Ditto.
* thread.cc: Minor cleanup.
(__pthread_create): Add experimental tls storage declaration.
* miscfuncs.cc: Define tls index.
* winsup.h: Declare experimental tls storage.
* window.cc (alarm): Use old timer return from setitimer.
(ualarm): New function.

22 years ago * config.sub: Update to version 1.232 on subversion.
Geoffrey Keating [Mon, 26 Nov 2001 22:52:00 +0000 (22:52 +0000)]
* config.sub: Update to version 1.232 on subversion.

22 years agoRevert erroneous checkin.
Christopher Faylor [Mon, 26 Nov 2001 20:21:27 +0000 (20:21 +0000)]
Revert erroneous checkin.

22 years ago* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding
Christopher Faylor [Mon, 26 Nov 2001 20:20:42 +0000 (20:20 +0000)]
* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding
an archive doesn't work the way we want it to.

22 years agoAdd missing ChangeLog entries.
Corinna Vinschen [Sun, 25 Nov 2001 09:55:15 +0000 (09:55 +0000)]
Add missing ChangeLog entries.

22 years ago* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reporting
Christopher Faylor [Sun, 25 Nov 2001 03:28:16 +0000 (03:28 +0000)]
* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reporting
inaccessible drives.

22 years ago * net.cc (cygwin_hstrerror): Allow s == NULL.
Corinna Vinschen [Sat, 24 Nov 2001 21:52:28 +0000 (21:52 +0000)]
* net.cc (cygwin_hstrerror): Allow s == NULL.
(cygwin_rcmd): Add parameter checking.
(cygwin_rexec): Ditto.

22 years ago * net.cc (cygwin_inet_ntoa): Add parameter checking.
Corinna Vinschen [Sat, 24 Nov 2001 21:10:00 +0000 (21:10 +0000)]
* net.cc (cygwin_inet_ntoa): Add parameter checking.
(cygwin_inet_network): Return INADDR_NONE instead of 0 in case of
EFAULT.
(cygwin_hstrerror): Add parameter checking.
(cygwin_rresvport): Ditto.
(socketpair): Ditto.
* winsup.h (check_null_str): Add extern declaration.

22 years ago* path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matching
Christopher Faylor [Sat, 24 Nov 2001 21:05:00 +0000 (21:05 +0000)]
* path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matching
trailing component, like other devices.

22 years ago* autoload.cc (IsDebuggerPresent): Make conditional load since it is not
Christopher Faylor [Sat, 24 Nov 2001 20:57:19 +0000 (20:57 +0000)]
* autoload.cc (IsDebuggerPresent): Make conditional load since it is not
available everywhere.
* path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be
FH_CYGDRIVE, not /cygdrive/x.

22 years ago* net.cc (inet_makeaddr): Revert previous change.
Christopher Faylor [Sat, 24 Nov 2001 17:31:15 +0000 (17:31 +0000)]
* net.cc (inet_makeaddr): Revert previous change.

22 years ago* path.cc (chdir): Allow 'cd /cygdrive'.
Christopher Faylor [Sat, 24 Nov 2001 03:35:58 +0000 (03:35 +0000)]
* path.cc (chdir): Allow 'cd /cygdrive'.

22 years agoFix typo.
Christopher Faylor [Sat, 24 Nov 2001 03:25:07 +0000 (03:25 +0000)]
Fix typo.

22 years agofix typo.
Christopher Faylor [Sat, 24 Nov 2001 03:12:41 +0000 (03:12 +0000)]
fix typo.

22 years ago* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.
Christopher Faylor [Sat, 24 Nov 2001 03:11:39 +0000 (03:11 +0000)]
* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.
* exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger
attached.
* fhandler.h (fhandler_base::set_nohandle): New method.
(fhandler_base::get_nohandle): New method.
* fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no
handle.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on
dummy fd.
* Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a
* fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting
since it is no longer used.
* miscfuncs.cc (check_null_str): New function.
(+check_null_str_errno): Ditto.
* net.cc: Add defensive buffer checking throughout.
(cygwin_sendto): Protect against invalid fd.
(cygwin_recvfrom): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
* winsup.h: Declare a new function.
* select.cc (set_bits): Fix conditional for setting fd in exceptfds.
* dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device
type.
* path.cc (get_devn): Set correct pipe device type from device name.

22 years ago* path.cc (conv_path_list): Fix wild indexing into path due to conflicting
Christopher Faylor [Thu, 22 Nov 2001 05:59:07 +0000 (05:59 +0000)]
* path.cc (conv_path_list): Fix wild indexing into path due to conflicting
methods for setting src pointer.
* dir.cc (opendir): Only pass path_conv argument to opendir, since name is
already part of the fhandler.
* dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type.
* fhandler.cc (fhandler_base::opendir): Nuke name argument.
* fhandler.h: Add FH_CYGDRIVE to "device" enum.
(fhandler_base::opendir): Nuke name argument.
(fhandler_disk_file::opendir): Ditto.
(fhandler_disk_file::fhandler_disk_file): Declare new method which passes
devtype through.
(fhandler_cygdrive): Add elements for tracking drives.
(fhandler_cygdrive::set_drives): Declare new method.
(fhandler_cygdrive::iscygdrive_root): Declare new method.
(fhandler_cygdrive::opendir): Declare new method.
(fhandler_cygdrive::readdir): Declare new method.
(fhandler_cygdrive::telldir): Declare new method.
(fhandler_cygdrive::seekdir): Declare new method.
(fhandler_cygdrive::rewinddir): Declare new method.
(fhandler_cygdrive::closedir): Declare new method.
(fhandler_cygdrive::fstat): Declare new method.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new
method which passes devtype through.
(fhandler_disk_file::open): Tweak debug output.
(fhandler_disk_file::opendir): Nuke first argument.  Use info from path_conv
and class rather than calling fstat.
(fhandler_cygdrive::set_drives): New method.
(fhandler_cygdrive::iscygdrive_root): New method.
(fhandler_cygdrive::opendir): New method.
(fhandler_cygdrive::readdir): New method.
(fhandler_cygdrive::telldir): New method.
(fhandler_cygdrive::seekdir): New method.
(fhandler_cygdrive::rewinddir): New method.
(fhandler_cygdrive::closedir): New method.
(fhandler_cygdrive::fstat): New method.
* path.cc (iscygdrive_device): Assume cygdriveness is already verified.
(path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file
attributes as needed.
(mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the
directory which contains all of the drives on the system".
(fillout_mntent): Use cyg_tolower for conversions.
(mount_info::cygdrive_win32_path): Replace unused argument with unit number.
* shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.

22 years ago* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native
Christopher Faylor [Thu, 22 Nov 2001 00:29:04 +0000 (00:29 +0000)]
* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native
paths.

22 years ago Patch by Pierre Muller <muller@ics.u-strasbg.fr>:
Corinna Vinschen [Wed, 21 Nov 2001 23:13:59 +0000 (23:13 +0000)]
Patch by Pierre Muller  <muller@ics.u-strasbg.fr>:
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.

22 years ago Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:
Corinna Vinschen [Wed, 21 Nov 2001 10:39:43 +0000 (10:39 +0000)]
Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:
* mkpasswd.c: include lmerr.h
(main): New -u option to allow specifying a
specific user.  If specified, groups aren't displayed and
output is limited to only the specified user.
(enum_users): If specific user is specified, via -u option,
display only that user's record.  With -u use NetUserGetInfo
instead of NetUserEnum.
(load_netapi): Added netusergetinfo.

22 years ago* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
Christopher Faylor [Wed, 21 Nov 2001 06:57:44 +0000 (06:57 +0000)]
* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.

22 years ago* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.
Christopher Faylor [Wed, 21 Nov 2001 06:47:57 +0000 (06:47 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.
* cygheap.h (cygheap_fdnew::operator =): New operator.
* dir.cc: Add invalid struct checking throughout.  Use methods for all
directory manipulation throughout.
* fhandler.cc: Move fhandler_disk_file stuff to own file.
(fhandler_base::opendir): New method.
(fhandler_base::readdir): New method.
(fhandler_base::telldir): New method.
(fhandler_base::seekdir): New method.
(fhandler_base::rewinddir): New method.
(fhandler_base::closedir): New method.
* fhandler_disk_file.cc: New file.
* fhandler.h (fhandler_base): Declare new virtual methods.
(fhandler_disk_file): Ditto.
(fhandler_cygdrive): New class.
* path.cc (conv_path_list): Use strccpy to break apart path.

22 years agoChange copyright.
Christopher Faylor [Wed, 21 Nov 2001 04:21:36 +0000 (04:21 +0000)]
Change copyright.

22 years agoUse msgfmt to generate .gmo files from .po files for a distribution.
Nick Clifton [Tue, 20 Nov 2001 19:00:47 +0000 (19:00 +0000)]
Use msgfmt to generate .gmo files from .po files for a distribution.

22 years ago * libc/sys/mmixware/*: Tweak license header in all source files.
Hans-Peter Nilsson [Sun, 18 Nov 2001 23:47:59 +0000 (23:47 +0000)]
* libc/sys/mmixware/*: Tweak license header in all source files.

22 years ago * COPYING.NEWLIB: Mention preserved notice in specific parts.
Hans-Peter Nilsson [Sun, 18 Nov 2001 23:43:02 +0000 (23:43 +0000)]
* COPYING.NEWLIB: Mention preserved notice in specific parts.

22 years ago* winsup.api/pthread/condvar3_1.c: Fix debugging output.
Egor Duda [Sat, 17 Nov 2001 21:15:47 +0000 (21:15 +0000)]
* winsup.api/pthread/condvar3_1.c: Fix debugging output.

22 years ago* path.cc (conv_path_list): Copy source paths before modifying them.
Christopher Faylor [Sat, 17 Nov 2001 20:19:19 +0000 (20:19 +0000)]
* path.cc (conv_path_list): Copy source paths before modifying them.

22 years ago * strace.cc (main): Change getopt() to getopt_long().
Corinna Vinschen [Sat, 17 Nov 2001 09:48:09 +0000 (09:48 +0000)]
* strace.cc (main): Change getopt() to getopt_long().
Add support for help and version info.
Use new parse_mask() function for -m/--mask option.
(longopts): Add long options structure.
(opts): Move options string from getopts call to static var.
(usage): Print usage information.
(SCCSid): Version info.
(version): New function for displaying version info.
(parse_mask): New function supporting parsing of mnemonics,
hex, and basic expressions in masks.
(mnemonic2ul): New mnemonic parsing function.
(tag_mask_mnemonic): New type.
(mnemonic_table): New table of mnemonics for mnemonic2ul() to
search through.

22 years ago * fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.
Corinna Vinschen [Fri, 16 Nov 2001 23:28:56 +0000 (23:28 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.
* fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug
output.

22 years ago * common.h (NT_ARCH): Define. Remove incorrect comment.
Alan Modra [Thu, 15 Nov 2001 13:19:10 +0000 (13:19 +0000)]
* common.h (NT_ARCH): Define.  Remove incorrect comment.

22 years agoFix typo.
Egor Duda [Thu, 15 Nov 2001 11:27:15 +0000 (11:27 +0000)]
Fix typo.

22 years ago* winsup.api/pthread/: New directory. Ports of pthread functionality
Egor Duda [Thu, 15 Nov 2001 11:19:48 +0000 (11:19 +0000)]
* winsup.api/pthread/: New directory. Ports of pthread functionality
tests ported from pthreads-win32 project.
* winsup.api/pthread/test.h: Commmon declaraions for pthread tests.
* winsup.api/pthread/cleanup2.c: New test.
* winsup.api/pthread/cleanup3.c: Ditto.
* winsup.api/pthread/condvar1.c: Ditto.
* winsup.api/pthread/condvar2.c: Ditto.
* winsup.api/pthread/condvar2_1.c: Ditto.
* winsup.api/pthread/condvar3.c: Ditto.
* winsup.api/pthread/condvar3_1.c: Ditto.
* winsup.api/pthread/condvar3_2.c: Ditto.
* winsup.api/pthread/condvar3_3.c: Ditto.
* winsup.api/pthread/condvar4.c: Ditto.
* winsup.api/pthread/condvar5.c: Ditto.
* winsup.api/pthread/condvar6.c: Ditto.
* winsup.api/pthread/condvar8.c: Ditto.
* winsup.api/pthread/count1.c: Ditto.
* winsup.api/pthread/create1.c: Ditto.
* winsup.api/pthread/create2.c: Ditto.
* winsup.api/pthread/equal1.c: Ditto.
* winsup.api/pthread/exit1.c: Ditto.
* winsup.api/pthread/exit2.c: Ditto.
* winsup.api/pthread/exit3.c: Ditto.
* winsup.api/pthread/inherit1.c: Ditto.
* winsup.api/pthread/join0.c: Ditto.
* winsup.api/pthread/join1.c: Ditto.
* winsup.api/pthread/join2.c: Ditto.
* winsup.api/pthread/mutex1.c: Ditto.
* winsup.api/pthread/mutex1r.c: Ditto.
* winsup.api/pthread/mutex2.c: Ditto.
* winsup.api/pthread/mutex3.c: Ditto.
* winsup.api/pthread/mutex6r.c: Ditto.
* winsup.api/pthread/once1.c: Ditto.
* winsup.api/pthread/priority1.c: Ditto.
* winsup.api/pthread/priority2.c: Ditto.
* winsup.api/pthread/self1.c: Ditto.
* winsup.api/pthread/self2.c: Ditto.
* winsup.api/pthread/tsd1.c: Ditto.

22 years ago* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
Egor Duda [Thu, 15 Nov 2001 11:10:38 +0000 (11:10 +0000)]
* include/pthread.h (PTHREAD_COND_INITIALIZER): Define.
* thread.cc (__pthread_cond_destroy): Add support for
PTHREAD_COND_INITIALIZER.
(__pthread_cond_init): Ditto.
(__pthread_cond_broadcast): Ditto.
(__pthread_cond_signal): Ditto.
(__pthread_cond_dowait): Ditto.
(__pthread_mutex_init): Handle PTHREAD_MUTEX_INITIALIZER correctly,
don't return error when it's passed as parameter.
* winsup.h (check_null_invalid_struct): Call correct function.

22 years ago* exceptions.cc: Add stdlib.h include for alloca declaration.
Christopher Faylor [Thu, 15 Nov 2001 03:25:52 +0000 (03:25 +0000)]
* exceptions.cc: Add stdlib.h include for alloca declaration.
* poll.cc: Ditto.
* termios.cc: Ditto.
* syscalls.cc (_write): Only allow zero length when fd is valid.

22 years agobinutils/ChangeLog
Alan Modra [Thu, 15 Nov 2001 01:08:52 +0000 (01:08 +0000)]
binutils/ChangeLog
* doc/binutils.texi (objdump): Document ppc -M options.
gas/ChangeLog
* config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
to operand->insert.
(md_assemble): Likewise.
gas/testsuite/ChangeLog
* gas/ppc/booke.d: Modify reloc and target matches for powerpc64.
include/opcode/ChangeLog
* ppc.h (struct powerpc_operand <insert, extract>): Add dialect param.
opcodes/ChangeLog
* ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC.
(insert_bat, extract_bat, insert_bba, extract_bba,
insert_bd, extract_bd, insert_bdm, extract_bdm,
insert_bdp, extract_bdp, valid_bo,
insert_bo, extract_bo, insert_boe, extract_boe,
insert_ds, extract_ds, insert_de, extract_de,
insert_des, extract_des, insert_li, extract_li,
insert_mbe, extract_mbe, insert_mb6, extract_mb6,
insert_nb, extract_nb, insert_nsi, extract_nsi,
insert_ral, insert_ram, insert_ras,
insert_rbs, extract_rbs, insert_sh6, extract_sh6,
insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param.
(extract_bd, extract_bdm, extract_bdp,
extract_ds, extract_des,
extract_li, extract_nsi): Implement sign extension without conditional.
(insert_bdm, extract_bdm,
insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints.
(extract_bdm, extract_bdp): Correct 32 bit validation.
(AT1_MASK, AT2_MASK): Define.
(BBOAT_MASK): Define.
(BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define.
(BOFM64, BOFP64, BOTM64, BOTP64): Define.
(BODNZM64, BODNZP64, BODZM64, BODZP64): Define.
(PPCCOM32, PPCCOM64): Define.
(powerpc_opcodes): Modify existing 32 bit insns with branch hints
and add new patterns to implement 64 bit branches with hints.  Move
booke instructions so they match before ppc64.
* ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for
64 bit default targets, and parse "32" and "64" in options.
Formatting fixes.
(print_insn_powerpc): Pass dialect to operand->extract.

22 years ago * fhandler.cc (fhandler_disk_file::fstat): Add setting access time
Corinna Vinschen [Wed, 14 Nov 2001 21:47:41 +0000 (21:47 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Add setting access time
and creation time to last modification time for files on filesystems
not supporting multiple timestamps.
(fhandler_disk_file::fstat_helper): Set access time and creation
time in incoming Windows structure instead of in stat buf to avoid
incorrectly overwriting Epoch timestamp.

This page took 0.075807 seconds and 5 git commands to generate.