]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 14:01:25 +0000 (14:01 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.texi: Fix botched commit.

17 years agobfd/
Kazu Hirata [Tue, 19 Dec 2006 13:24:56 +0000 (13:24 +0000)]
bfd/
* elf32-m68k.c (elf32_m68k_object_p,
elf32_m68k_print_private_bfd_data): Use EF_M68K_ARCH_MASK to
extract architecture mask.

include/elf/
* m68k.h (EF_M68K_ARCH_MASK): New.

17 years ago2006-12-19 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 19 Dec 2006 12:52:58 +0000 (12:52 +0000)]
2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove "$build" case for powerpc-*-darwin* since
it only affects bootstrap and could be tested on "$host" as well.
* configure: Regenerate.
* config/mh-ppc-darwin: Add to the stage1 cflags here.

2006-12-19  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/29544
* Makefile.def (flags_to_pass): Add STAGE1_CHECKING.
(bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags,
move here comment from Makefile.tpl.
* Makefile.tpl: Move some definitions higher in the file.
(STAGE1_CHECKING): New.
* configure.in: Add --enable-stage1-checking.
* configure: Regenerate.
* Makefile.in: Regenerate.

2006-12-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update error message for missing GMP/MPFR.

* configure: Regenerate.

2006-12-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in: Update MPFR version in error message.

* configure: Regenerate.

2006-11-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.in (--with-mpfr-dir, --with-gmp-dir): Remove flags.
(--with-mpfr-include, --with-mpfr-lib, --with-gmp-include,
--with-gmp-lib): New flags.

* configure: Regenerate.

config:
2006-12-04  Eric Botcazou  <ebotcazou@libertysurf.fr>

* tls.m4 (GCC_CHECK_TLS): Do not test TLS with static linking
if static linking doesn't even work.

17 years ago bfd/
Nathan Sidwell [Tue, 19 Dec 2006 08:49:38 +0000 (08:49 +0000)]
bfd/
* elf.c (assign_file_positions_for_load_sections): Adjust p_vaddr
by p_vaddr_offset.  Copy alignment & use if it is valid.
(rewrite_elf_program_headers): Cope with leading padding in a
segment that does not contain file or program headers.
(copy_elf_program_header): Likewise.

include/elf/
* internal.h (struct elf_segment_map): Add p_vaddr_offset field.

17 years ago2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Dec 2006 22:21:56 +0000 (22:21 +0000)]
2005-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.15.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.15.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.15.

17 years ago2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 18 Dec 2006 21:49:14 +0000 (21:49 +0000)]
2006-12-18  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
                    Kazu Hirata  <kazu@codesourcery.com>

        * configure.host: Recognize fido.

17 years ago2006-12-18 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 18 Dec 2006 21:48:18 +0000 (21:48 +0000)]
2006-12-18  Kazu Hirata  <kazu@codesourcery.com>

        Merge from newlib-csl-20060320-branch:
        2006-12-15  Daniel Jacobowitz  <dan@codesourcery.com>

        * m68k/fido-crt0.S (_vector_table): Reference
        _PrivilegeViolationHandler.

        2006-12-15  Daniel Jacobowitz  <dan@codesourcery.com>

        * m68k/fido-crt0.S (_start): Set %vbr for context 0 in
        RAM configs.
        * m68k/fido.sc: Clean up formatting.  Add comments.  Move
        stack and heap end to SDRAM for SRAM and SDRAM configurations.
        Put RedBoot application text in SRAM.

        2006-12-13  Nathan Sidwell  <nathan@codesourcery.com>

        * m68k/Makefile (install_cf): Don't loop over files here.  Only
        install sources for the default multilib.
        (install_fido): Likewise.
        (install_io): Install bsps in one go.

        2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
                    Kazu Hirata  <kazu@codesourcery.com>

        * configure.in: Recognize fido-*-*.
        * configure: Regenerate.
        * m68k/Makefile.in (CF_ISRS): Use addprefix.
        (FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
        FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
        FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
        fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
        fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
        install_fido): New.
        * m68k/asm.h (mbb): New.
        * m68k/configure.in (DO): Check for __mfido__.
        * m68k/configure: Regenerate.
        * m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
        m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
        m68k/fido.sc, m68k/fido_profiling.h: New.

17 years ago* pinfo.cc (set_myself): Use a more foolproof method for determining if the
Christopher Faylor [Mon, 18 Dec 2006 21:28:31 +0000 (21:28 +0000)]
* pinfo.cc (set_myself): Use a more foolproof method for determining if the
current process was started from another cygiwn process.

17 years ago2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Mon, 18 Dec 2006 20:39:02 +0000 (20:39 +0000)]
2006-12-18  Joel Schopp <jschopp@austin.ibm.com>

        * libc/machine/spu/c99ppe.h: New file
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
        * libc/machine/spu/printf.c: New file
        * libc/machine/spu/putchar.c: New file
        * libc/machine/spu/puts.c: New file
        * libc/machine/spu/vprintf.c: New file
        * libc/machine/spu/vsnprintf.c: New file
        * libc/machine/spu/vsprintf.c: New file
        * libc/machine/spu/Makefile.am: Add new targets.
        * libc/machine/spu/Makefile.in: Regenerated.

17 years ago2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Dec 2006 20:32:52 +0000 (20:32 +0000)]
2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
        * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.

17 years agoRemove entry for next patch that hasn't happened yet.
Jeff Johnston [Mon, 18 Dec 2006 20:24:48 +0000 (20:24 +0000)]
Remove entry for next patch that hasn't happened yet.

17 years ago2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 18 Dec 2006 20:21:48 +0000 (20:21 +0000)]
2006-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
        2.6.5 version of Doug Lea's malloc which is the basis of
        this code.

17 years ago2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Mon, 18 Dec 2006 16:48:03 +0000 (16:48 +0000)]
2006-12-18  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/include/machine/setjmp.h: Replace vector with __vector.

17 years ago2006-12-18 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Mon, 18 Dec 2006 16:43:31 +0000 (16:43 +0000)]
2006-12-18  Ben Elliston  <bje@au.ibm.com>

       * spu/stat.c (stat): Cast new sys.pathname value to unsigned int.

17 years agoUndo accidental checkin to HEAD.
Daniel Jacobowitz [Fri, 15 Dec 2006 19:54:05 +0000 (19:54 +0000)]
Undo accidental checkin to HEAD.

17 years ago libgloss/
Daniel Jacobowitz [Fri, 15 Dec 2006 18:09:06 +0000 (18:09 +0000)]
libgloss/
* m68k/Makefile.in (FIDO_OBJS): Build fido-priv.o.
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
* m68k/fido-priv.S: New file.

17 years ago * libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
Corinna Vinschen [Fri, 15 Dec 2006 09:50:32 +0000 (09:50 +0000)]
* libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
(get_dns_info): Verify DnsQuery exists. Use autoloaded GetNetworkParams.

17 years ago2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 14 Dec 2006 22:47:12 +0000 (22:47 +0000)]
2006-12-14  Jeff Johnston  <jjohnstn@redhat.com>
            Eric Blake  <ebb9@byu.net>

        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
        read but unused data.
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
        even read streams may have side effects that must happen.

17 years ago2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 23:06:02 +0000 (23:06 +0000)]
2006-12-13  Joel Schopp <jschopp@austin.ibm.com>

        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
        correctly.

17 years ago2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 23:01:21 +0000 (23:01 +0000)]
2006-12-13  Joel Schopp <jschopp@austin.ibm.com>

        * newlib/include/alloca.h: add undef alloca to work with xlc

17 years ago2006-12-13 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 22:57:10 +0000 (22:57 +0000)]
2006-12-13  Ben Elliston  <bje@au.ibm.com>

        * libnosys/_exit.c (_exit): Finish with an infinite loop to
        eliminate a warning about this noreturn function returning.

17 years ago2006-12-13 Sa Liu <saliu@de.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 19:42:56 +0000 (19:42 +0000)]
2006-12-13  Sa Liu  <saliu@de.ibm.com>

        * spu/access.c: New file
        * spu/dup.c: New file
        * spu/ftruncate.c: New file
        * spu/jsre.h: add structures for new functions
        * spu/time.c: New file
        * spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.

17 years ago2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
Jeff Johnston [Wed, 13 Dec 2006 19:36:17 +0000 (19:36 +0000)]
2006-12-12  Joel Schopp <jschopp@austin.ibm.com>

        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
        cell spu

17 years ago * winsup.h (clear_procimptoken): Close hProcImpToken in a safer way.
Corinna Vinschen [Wed, 13 Dec 2006 11:18:39 +0000 (11:18 +0000)]
* winsup.h (clear_procimptoken): Close hProcImpToken in a safer way.

17 years ago * security.cc (lsaauth): Initialize lsa to INVALID_HANDLE_VALUE to
Corinna Vinschen [Wed, 13 Dec 2006 09:53:42 +0000 (09:53 +0000)]
* security.cc (lsaauth): Initialize lsa to INVALID_HANDLE_VALUE to
avoid potential access violation.

17 years ago * Makefile.in (subauth): Drop rule.
Corinna Vinschen [Tue, 12 Dec 2006 20:26:27 +0000 (20:26 +0000)]
* Makefile.in (subauth): Drop rule.
* configure.in: Remove subauth related check.
* configure: Regenerate.

17 years ago Remove subauth directory.
Corinna Vinschen [Tue, 12 Dec 2006 19:22:07 +0000 (19:22 +0000)]
Remove subauth directory.

17 years ago * environ.cc (subauth_id_init): Remove.
Corinna Vinschen [Tue, 12 Dec 2006 19:18:56 +0000 (19:18 +0000)]
* environ.cc (subauth_id_init): Remove.
(parse_thing): Drop "subauth_id" option.
* security.cc (get_token_group_sidlist): Drop comments concerning
subauthentication.
(create_token): Back out subauthentication related changes.
(subauth): Remove.
* security.h (create_token): Remove declaration.
(subauth): Ditto.
* syscalls.cc (seteuid32): Drop subauthentication handling entirely.

17 years ago * cygwinenv.sgml: Drop description of "traverse" option.
Corinna Vinschen [Tue, 12 Dec 2006 18:48:35 +0000 (18:48 +0000)]
* cygwinenv.sgml: Drop description of "traverse" option.

17 years ago * environ.cc (set_traverse): Remove.
Corinna Vinschen [Tue, 12 Dec 2006 18:47:25 +0000 (18:47 +0000)]
* environ.cc (set_traverse): Remove.
(parse_thing): Drop "traverse" option.
* path.cc (fs_info::update): Don't request SE_CHANGE_NOTIFY_PRIV
privilege.
* sec_helper.cc (set_cygwin_privileges): Ditto.
* security.cc (allow_traverse): Remove.
(alloc_sd): Drop special allow_traverse code.
* security.h (allow_traverse): Drop declaration.
* syscalls.cc (statvfs): Don't request SE_CHANGE_NOTIFY_PRIV privilege.

17 years ago Partially revert change from 2005-04-03, always running under an
Corinna Vinschen [Tue, 12 Dec 2006 16:27:32 +0000 (16:27 +0000)]
Partially revert change from 2005-04-03, always running under an
impersonation token, which collides with Vista UAC.
* cygheap.h (deimpersonate): revert to self instead of impersonating
hProcImpToken.
(reimpersonate): Only impersonate if setuid.
* dcrt0.cc (dll_crt0_0): Don't initialize hProcImpToken here.
(dll_crt0_1): Set privileges on hProcToken.
* fork.cc (frok::child): Set privileges on hProcToken.  Close handle to
hProcImpToken.
* grp.cc (internal_getgroups): Use hProcToken instead of hProcImpToken.
* security.cc (check_access): Create hProcImpToken on demand here.
* security.h (set_process_privilege): Set privileges on hProcToken.
(_push_thread_privilege): Use hProcToken instead of hProcImpToken.
(pop_thread_privilege): If not setuid'ed, revert to self.
* syscalls.cc (setegid32): Drop setting primary group on hProcImpToken.
Close handle to hProcImpToken.
* uinfo.cc (internal_getlogin): Ditto.
* winsup.h (clear_procimptoken): New inline function.

17 years agoAdd missing ChangeLog.
Christopher Faylor [Tue, 12 Dec 2006 15:59:26 +0000 (15:59 +0000)]
Add missing ChangeLog.

17 years ago* sigproc.cc (child_info::child_info): Initialize msv_count.
Christopher Faylor [Tue, 12 Dec 2006 15:58:08 +0000 (15:58 +0000)]
* sigproc.cc (child_info::child_info): Initialize msv_count.

17 years ago Revert erroneous checkin.
Corinna Vinschen [Tue, 12 Dec 2006 15:10:56 +0000 (15:10 +0000)]
Revert erroneous checkin.

17 years ago * libc/minires.c (res_ninit): Drop handling for LOCALDOMAIN environment
Corinna Vinschen [Tue, 12 Dec 2006 08:29:37 +0000 (08:29 +0000)]
* libc/minires.c (res_ninit): Drop handling for LOCALDOMAIN environment
variable.

17 years agosync a change from gcc
Alan Modra [Tue, 12 Dec 2006 01:38:04 +0000 (01:38 +0000)]
sync a change from gcc

17 years ago * configure.in: Remove superfluous semicolons.
Ben Elliston [Mon, 11 Dec 2006 22:19:03 +0000 (22:19 +0000)]
* configure.in: Remove superfluous semicolons.
* configure: Regenerate.

17 years ago * Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o.
Corinna Vinschen [Mon, 11 Dec 2006 19:59:06 +0000 (19:59 +0000)]
* Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o.
(SUBLIBS): Add libresolv.a.
Add rule for libresolv.a.
* autoload.cc: Fix return code handling for IP Helper API in case
of being unable to load iphlpapi.dll.
(DnsQuery_A): Define.
(DnsRecordListFree): Define.
* cygwin.din: Export resolver functions.
* include/resolv.h: New header.
* include/arpa/nameser.h: New header.
* include/arpa/nameser_compat.h: New header.
* include/cygwin/version.h: Bump API minor number.
* libc/minires-os-if.c: New file.
* libc/minires.c: New file.
* libc/minires.h: New file.

17 years ago2006-12-11 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 11 Dec 2006 19:58:01 +0000 (19:58 +0000)]
2006-12-11 Kazu Hirata <kazu@codesourcery.com>

Merge from newlib-csl-20060320-branch:
2006-12-01  Nathan Sidwell  <nathan@codesourcery.com>
    Kazu Hirata  <kazu@codesourcery.com>

* m68k/Makefile.in (CF_ISRS): Use addprefix.

2006-11-01 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CFLAGS): Do not clear.  Add to all compilations.
(ARFLAGS): Remove commented out definition.

* m68k/configure.in (DO) Set to list of target cpu families.
* m68k/configure: Rebuilt.
* m68k/Makefile.in (DO): New.
(UNHOSTED_BSP, UNHOSTED_OBJS, HOSTED_BSP, HOSTED_OBJS): Move
later.
(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5275evb,
m5282evb, m5329evb, m5485evb): Move earlier.
(all): Add all_$DO dependencies.
(all_cf, all_m68k): New targets, depend on cf & m68k bsps as
appropriate.
(m%-ram.ld, m%-rom.ld, m%-ram-hosted.ld, m%-rom-hosted.ld): Add
'm' prefix.
(install): Add install_$DO dependencies.
(install_cf, install_m68k): New targets.  Perform cf and m68k
installs as appropriate.
(install_io): New, install the io libraries.

2006-10-23 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CF_CRT0): Rename to CF_CRT0S, separate hosted
& unhosted versions.
(CF_OBJS): Add cf-isv.o.
(CF_SOURCES): Add cf-isv.S.
(cf-hosted-crt0.o, cf-unhosted-crt0.o): New targets.
* m68k/cf-isv.S: New, broken out of ...
* m68k/cf-crt0.S: ... here.  Add HOSTED & UNHOSTED differences.
* m68k/cf-crt1.c (__start1): Add heap_limit argument.
(__heap_limit): Define.
* m68k/cf-sbrk.c (__heap_limit): Declare.
(sbrk): Adjust for __heap_limit.
* m68k/cf.sc: Use different crt0's for hosted & unhosted.
Install a separate isv.o file.
* m68k/io.h (HOSTED_PUTCHAR): Replace with ...
(HOSTED_INIT_SIM): ... this.

2006-10-20 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CF_BOARDS): Add m5275evb.
(m5275evb): New board.

2006-10-20 Vladimir Prus <vladimir@codesourcery.com>

* m68k/cf.sc: Add linkonce sections and
DWARF sections.

2006-10-07 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in: Adjust Coldfire rules.
(BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename to ...
(CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here.  Adjust.
(BDM_OTHER_OBJS): Remove.
(BDM_SYSOBJS): Rename to ...
(UNHOSTED_OBJS): ... here.  Adjust.
(UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
(CF_HOSTED_SCRIPTS): New.
(CF_SCRIPTS, CF_SOURCES): Adjust.
* m68k/cf.sc: Add IO library variable.
* m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
* m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
m68k/cf-hosted.S: ... here.
* m68k/cf-exit.c: New.
* m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
* m68k/io.h: ... here.  Add unhosted support.  Adjust conversion
function names.
* m68k/bdm-gdb.c: Rename to ...
* m68k/io-gdb.c: ... here.  Adjust names of conversion functions.
* m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
* m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
m68k/io-write.c: ... here.  Include io.h. Adjust for hosted &
unhosted libraries.  Adjust names of gdb conversion functions.

2006-09-29 Nathan Sidwell <nathan@codesourcery.com>

* m68k/bdm-semihost.S: Add more comments. Make instruction weirder.

2006-09-22 Nathan Sidwell <nathan@codesourcery.com>

* m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.

2006-09-18 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in: Don't force a frame pointer on the ISRs.
* m68k/bdm-crt1.c (__start1): Don't set the VBR here.
(hardeare_init_hook): Define weakly.  Set VBR here, enable caching
if supported.

* m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
* m68k/bdm-semihost.c: Remove.
* m68k/bdm-semihost.S: New.
* m68k/bdm-crt0.S: Don't install semihosting trap handler.
* m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
* m68k/bdm-isrs.c: Update comment.
* m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
BDM_TRAP): Remove.
(__bdm_semihost): Declare.

2006-09-15 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
(BDM_SYSOBJS): Add bdm-sbrk.o.
* m68k/bdm-sbrk.c: New.

2006-09-06 Nathan Sidwell <nathan@codesourcery.com>

* m68k/Makefile.in (CF_SOURCES): New.
(install): Install them.

2006-09-01 Nathan Sidwell <nathan@codesourcery.com>

* m68k/cf.sc: Add .jcr section to .text.

17 years ago* sigproc.cc (child_info::child_info): Move old comment about msv_count here.
Christopher Faylor [Mon, 11 Dec 2006 19:17:20 +0000 (19:17 +0000)]
* sigproc.cc (child_info::child_info): Move old comment about msv_count here.
Edit it slightly to reflect new sensibilities.

17 years ago* dumper.cc: Add an include to accommodate new include/elf usage.
Christopher Faylor [Mon, 11 Dec 2006 19:17:17 +0000 (19:17 +0000)]
* dumper.cc: Add an include to accommodate new include/elf usage.

17 years ago2006-12-11 Ben Elliston <bje@au.ibm.com>
Jeff Johnston [Mon, 11 Dec 2006 19:04:14 +0000 (19:04 +0000)]
2006-12-11  Ben Elliston  <bje@au.ibm.com>

        * configure.in: Remove extra whitespace from config_testsuite =
        VALUE statements to eliminate shell errors. Remove superfluous
        semicolons.
        * configure: Regenerate.

17 years agocorrect email address
Christopher Faylor [Mon, 11 Dec 2006 18:58:40 +0000 (18:58 +0000)]
correct email address

17 years ago* child_info.h (child_info_spawn::__stdin): New element.
Christopher Faylor [Mon, 11 Dec 2006 18:55:29 +0000 (18:55 +0000)]
* child_info.h (child_info_spawn::__stdin): New element.
(child_info_spawn::__stdin): Ditto.
(CURR_CHILD_INFO_MAGIC): Regenerate.
* dcrt0.cc (check_sanity_and_sync): Minor cleanup.
(child_info_spawn::handle_spawn): Handle new __std* elements by calling
move_fd.
* dtable.cc (dtable::move_fd): Define new function.
* dtable.h (dtable::move_fd): Declare new function.
* fhandler.h (fhandler_pipe::popen_pid): Declare new element.
* fhandler.h (fhandler_pipe::get_popen_pid): Define new function.
* fhandler.h (fhandler_pipe::set_popen_pid): Ditto.
* pipe.cc (fhandler_pipe::fhandler_pipe): Zero popen_pid.
(fhandler_pipe::dup): Ditto.
* spawn.cc (handle): Change second argument to bool.
(spawn_guts): Accept __stdin/__stdout arguments and set them appropriately in
child_info structure and in STARTUPINFO structure.
* syscalls.cc (popen): New cygwin-specific implementation using spawn.
(pclose): Ditto.
* winsup.h (spawn_guts): Accommodate new arguments for spawn_guts.
* fhandler.cc (fhandler_base::set_no_inheritance): Make second arg a bool.
* fhandler.h (fhandler_base::set_no_inheritance): Ditto for declaration.
* child_info.h (child_info::msv_count): Rename from the now-inappropriate
"zero".
(child_info_spawn::filler): Add filler to work around Vista bug.
(child_info_fork::filler): Ditto.
* dcrt0.cc (get_cygwin_startup_info): Remove "zero" check since it is now
always filled out.
* fork.cc (frok::parent): Move ch.zero manipulation to constructor.
* spawn.cc (spawn_guts): Ditto.  Remove _ch wrapper.
* sigproc.cc (child_info::child_info): Initialize starter[].
* shared.cc (shared_info::heap_slop_size): Remove noisy system_printfs.
* shared_info.h (CURR_SHARED_MAGIC): Regenerate.

17 years ago * fhandler.cc (rootdir): Fix typo in comment.
Corinna Vinschen [Mon, 11 Dec 2006 09:07:22 +0000 (09:07 +0000)]
* fhandler.cc (rootdir): Fix typo in comment.
* syscalls.cc (try_to_bin): Ditto.

17 years ago * configure.in: Handle spu makefile frag.
Alan Modra [Mon, 11 Dec 2006 06:47:57 +0000 (06:47 +0000)]
* configure.in:  Handle spu makefile frag.
* config/mt-spu: New file.
* Makefile.tpl (MAINT): Define
(MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define.
* configure: Regenerate.
* Makefile.in: Regenerate.

17 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 11 Dec 2006 04:12:46 +0000 (04:12 +0000)]
  * config.sub, config.guess: Update from upstream sources.

17 years ago * configure.in: Sync with GCC (spu-*-*).
Ben Elliston [Mon, 11 Dec 2006 00:25:59 +0000 (00:25 +0000)]
* configure.in: Sync with GCC (spu-*-*).
* configure: Sync with GCC.

17 years ago * spu/exit.c (libgloss_exit): Rename from this ..
Ben Elliston [Mon, 11 Dec 2006 00:04:00 +0000 (00:04 +0000)]
    * spu/exit.c (libgloss_exit): Rename from this ..
        (_exit): .. to this. Overhaul.
        (exit): Remove.

17 years agoResurrect.
Ben Elliston [Sun, 10 Dec 2006 23:53:07 +0000 (23:53 +0000)]
Resurrect.

17 years agoRemove (missed in previous commit).
Ben Elliston [Sun, 10 Dec 2006 23:14:32 +0000 (23:14 +0000)]
Remove (missed in previous commit).

17 years agoTypo fix.
Ben Elliston [Sun, 10 Dec 2006 22:49:53 +0000 (22:49 +0000)]
Typo fix.

17 years ago* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass
Christopher Faylor [Sun, 10 Dec 2006 21:50:06 +0000 (21:50 +0000)]
* mount.cc (do_mount): Avoid unnecessary cygwin_conv_to_win32_path and pass
POSIX path directly - this avoids a cygwin DLL warning.

17 years ago * autoload.cc (SHFileOperationA): Drop definition.
Corinna Vinschen [Sun, 10 Dec 2006 16:43:30 +0000 (16:43 +0000)]
* autoload.cc (SHFileOperationA): Drop definition.
* ntdll.h (struct _FILE_RENAME_INFORMATION): Define.
* path.cc (fs_info::update): Note length of rootdir prefix in
root_len.
(get_nt_native_path): New function, taking over functionality of
path_conv::get_nt_native_path.
(path_conv::get_nt_native_path): Just call get_nt_native_path.
* path.h (get_nt_native_path): Declare.
(struct fs_info): New member root_len.
(fs_info::length): New inline method returning root_len.
(path_conv::rootdir): New inline method returning rootdir prefix.
* syscalls.cc (try_to_bin): Rewrite using only system calls.
(unlink_nt): Call try_to_bin with additional handle to open file
parameter.
(statvfs): Use path_conv::rootdir method.
* wincap.h: Define has_recycle_dot_bin throughout.
* wincap.cc: Ditto.

17 years ago * fhandler.cc (rootdir): Clarify comment.
Corinna Vinschen [Sun, 10 Dec 2006 16:20:43 +0000 (16:20 +0000)]
* fhandler.cc (rootdir): Clarify comment.

17 years ago * fhandler.cc (rootdir): Don't look for volume mount points on remote
Corinna Vinschen [Sun, 10 Dec 2006 16:18:51 +0000 (16:18 +0000)]
* fhandler.cc (rootdir): Don't look for volume mount points on remote
shares.

17 years ago * fhandler.cc (rootdir): Drop useless post-increment. Take volume
Corinna Vinschen [Sun, 10 Dec 2006 12:56:50 +0000 (12:56 +0000)]
* fhandler.cc (rootdir): Drop useless post-increment.  Take volume
mount points into account.
(check_posix_perm): Allocate space for root directory big enough.

17 years ago * syscalls.cc (try_to_bin): Add comment that this is not possibly
Corinna Vinschen [Sat, 9 Dec 2006 09:29:47 +0000 (09:29 +0000)]
* syscalls.cc (try_to_bin): Add comment that this is not possibly
the final version.

17 years ago2006-12-08 Sa Liu <saliu@de.ibm.com>
Jeff Johnston [Fri, 8 Dec 2006 21:50:56 +0000 (21:50 +0000)]
2006-12-08  Sa Liu  <saliu@de.ibm.com>

        * spu/exit.c (libgloss_exit): Rename from this ..
        (_exit): .. to this. Overhaul.
        (exit): Remove.
        * spu/crt0.S, spu/crti.S, spu/crtn.S: New files.
        * spu/crt0.C, spu/init.c: Remove.
        * spu/configure.in (AC_INIT): Check for crt0.S, not crt0.C.
        * spu/configure: Regenerate.
        * spu/Makefile.in (crti.o, crtn.o, crt1.o, crt2.o): New targets.
        (OBJS): Remove init.o.
        (CRTOBJS): New.
        (OUTPUTS): Add $(CRTOBJS).

17 years ago * Makefile.def (dependencies): Add dependency for
Mike Stump [Fri, 8 Dec 2006 21:05:25 +0000 (21:05 +0000)]
    * Makefile.def (dependencies): Add dependency for
        install-target-libssp and install-target-libgomp on
        install-gcc.
        * Makefile.in: Regenerate.

17 years ago * syscalls.cc (unlink_nt): Open native symlinks with
Corinna Vinschen [Thu, 7 Dec 2006 17:53:05 +0000 (17:53 +0000)]
* syscalls.cc (unlink_nt): Open native symlinks with
FILE_OPEN_REPARSE_POINT flag.

17 years ago * ntdll.h (STATUS_DELETE_PENDING): Define.
Corinna Vinschen [Thu, 7 Dec 2006 17:40:24 +0000 (17:40 +0000)]
* ntdll.h (STATUS_DELETE_PENDING): Define.
(struct _FILE_DISPOSITION_INFORMATION): Define.
* syscalls.cc (unlink_9x): new function to delete file on 9x.
* syscalls.cc (unlink_nt): new function to delete file on NT.
(unlink): Simplify.  Move OS dependent stuff into aforementioned
functions.  Also handle FILE_ATTRIBUTE_HIDDEN as R/O-like flag.

17 years agobfd/
Kazu Hirata [Thu, 7 Dec 2006 15:39:02 +0000 (15:39 +0000)]
bfd/
* elf32-m68k.c: Update uses of EF_M68K_*.

binutils/
* readelf.c: Update uses of EF_M68K_*.

gas/
* config/tc-m68k.c: Update uses of EF_M68K_*.

include/elf
* m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV,
EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP,
EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC,
EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to
EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A,
EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP,
EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK,
EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B,
EF_M68K_CF_FLOAT, respectively.

17 years ago * autoload.cc (SHFileOperationA): Define.
Corinna Vinschen [Thu, 7 Dec 2006 11:53:46 +0000 (11:53 +0000)]
* autoload.cc (SHFileOperationA): Define.
* syscalls.cc (try_to_bin): New function trying to move a file to
the recycle bin.
(unlink): Fix arguments used in CreateFile for delete on close.
Before closing the handle, try to move the file to the recycle bin.

17 years ago * cygheap.h (struct cwdstuff): Add "sync" member and accompanying
Corinna Vinschen [Thu, 7 Dec 2006 10:04:52 +0000 (10:04 +0000)]
* cygheap.h (struct cwdstuff): Add "sync" member and accompanying
"keep_in_sync" methods.
* external.cc (cygwin_internal): Call above keep_in_sync method when
CW_SYNC_WINENV is requested.
* path.cc (cwdstuff::init): Don't change to windows_system_directory
if keep_in_sync is requested.
(cwdstuff::keep_in_sync): New method.
(cwdstuff::set): Take sync flag into account.

17 years ago * termios.cc: Change include order to accomodate change to sys/ioctl.h.
Corinna Vinschen [Wed, 6 Dec 2006 19:44:07 +0000 (19:44 +0000)]
* termios.cc: Change include order to accomodate change to sys/ioctl.h.

17 years agomerge from gcc
DJ Delorie [Wed, 6 Dec 2006 19:28:41 +0000 (19:28 +0000)]
merge from gcc

17 years ago * fhandler_mem.cc (fhandler_dev_mem::open): Fix comment.
Corinna Vinschen [Wed, 6 Dec 2006 16:33:03 +0000 (16:33 +0000)]
* fhandler_mem.cc (fhandler_dev_mem::open): Fix comment.
* wincap.cc (has_physical_mem_access): Reflect the fact that physical
memory access has been made a protected operation beginning with
2003 Server.

17 years agoDefine ATTRIBUTE_PACKED and use as necessary.
Nick Clifton [Wed, 6 Dec 2006 14:36:41 +0000 (14:36 +0000)]
Define ATTRIBUTE_PACKED and use as necessary.

17 years ago * include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.
Corinna Vinschen [Wed, 6 Dec 2006 14:08:08 +0000 (14:08 +0000)]
* include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ.

17 years ago * winsup.h (WINVER): Set to 0x0600 to cover Vista.
Corinna Vinschen [Wed, 6 Dec 2006 14:06:38 +0000 (14:06 +0000)]
* winsup.h (WINVER): Set to 0x0600 to cover Vista.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::rmdir): Fix typo.
Corinna Vinschen [Wed, 6 Dec 2006 14:05:59 +0000 (14:05 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Fix typo.

17 years ago * path.cc (cwdstuff::init): Don't change to windows_system_directory
Corinna Vinschen [Tue, 5 Dec 2006 21:46:26 +0000 (21:46 +0000)]
* path.cc (cwdstuff::init): Don't change to windows_system_directory
if Cygwin DLL has been loaded dynamically.

17 years ago * path.cc (cwdstuff::set): Don't try to open directory on systems not
Corinna Vinschen [Tue, 5 Dec 2006 13:20:38 +0000 (13:20 +0000)]
* path.cc (cwdstuff::set): Don't try to open directory on systems not
supporting that.

17 years ago * dcrt0.cc (get_cygwin_startup_info): Fix comment.
Corinna Vinschen [Tue, 5 Dec 2006 13:16:24 +0000 (13:16 +0000)]
* dcrt0.cc (get_cygwin_startup_info): Fix comment.
* wincap.cc (wincapc::init): Always reset needs_count_in_si_lpres2 to
false on non 64-bit systems.

17 years ago Fix date.
Corinna Vinschen [Tue, 5 Dec 2006 11:07:12 +0000 (11:07 +0000)]
Fix date.

17 years ago * dcrt0.cc (get_cygwin_startup_info): Change zeros to DWORD array.
Corinna Vinschen [Tue, 5 Dec 2006 10:59:21 +0000 (10:59 +0000)]
* dcrt0.cc (get_cygwin_startup_info): Change zeros to DWORD array.
Expect first DWORD in child_info struct being set to non-zero if
wincap.needs_count_in_si_lpres2 is set.  Add comment to explain why.
* fork.cc (frok::parent): Set ch.zero[0] to a sensible count value
if wincap.needs_count_in_si_lpres2 is set.
* spawn.cc (spawn_guts): Ditto.  Add filler bytes after ch on stack
to accomodate needs_count_in_si_lpres2.
* wincap.h: Define needs_count_in_si_lpres2 throughout.
* wincap.cc: Ditto.

17 years ago2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Mon, 4 Dec 2006 17:29:10 +0000 (17:29 +0000)]
2006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * libc/machine/spu/strncpy.c: Add padding.

17 years ago2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Mon, 4 Dec 2006 17:25:13 +0000 (17:25 +0000)]
2006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * testsuite/newlib.string/tstring.c:

17 years ago2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Fri, 1 Dec 2006 17:18:36 +0000 (17:18 +0000)]
2006-12-01  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * libc/machine/spu/strchr.c: Fix mask for misaligned string.
        * libc/machine/spu/strrchr.c: Ditto.

17 years ago2006-11-30 Lev Bishop <lev.bishop@gmail.com>
Jeff Johnston [Thu, 30 Nov 2006 23:40:12 +0000 (23:40 +0000)]
2006-11-30  Lev Bishop  <lev.bishop@gmail.com>

        * libc/include/math.h: Allow C99 functions/macros to be
        defined for C++ even when __STRICT_ANSI__.

17 years agoinclude:
Joern Rennecke [Thu, 30 Nov 2006 17:36:10 +0000 (17:36 +0000)]
include:
2006-05-03  Andrew Stubbs  <andrew.stubbs@st.com>
            J"orn Rennecke <joern.rennecke@st.com>

PR driver/29931
* libiberty.h (make_relative_prefix_ignore_links): Declare.

libiberty:
2006-05-03  Andrew Stubbs  <andrew.stubbs@st.com>
            J"orn Rennecke <joern.rennecke@st.com>

PR driver/29931
* make-relative-prefix.c (make_relative_prefix_1): New function,
broken out of make_relative_prefix.  Make link resolution dependent
on new parameter.
(make_relative_prefix): Use make_relative_prefix_1.
(make_relative_prefix_ignore_links): New function.

17 years ago * dir.cc (mkdir): Check last path component for "..".
Corinna Vinschen [Thu, 30 Nov 2006 10:17:24 +0000 (10:17 +0000)]
* dir.cc (mkdir): Check last path component for "..".
(rmdir): Don't check last path component for "..".
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop kludge
which tries to allow deleting the current working directory.
* path.cc (has_dot_last_component): Add parameter to indicate testing
for "..".  Take trailing slash into account.
(symlink_info::posixify): Rely on cygheap->cwd.win32 having a
useful value.
(cwdstuff::init): Initialize cygheap->cwd with current working
directory.  Change to windows_system_directory afterwards.
(cwdstuff::set): Never call SetCurrentDirectory here.  Just check
if changing into target directory would be allowed.  Add comment to
explain why.
* path.h (has_dot_last_component): Declare with second parameter.
* pinfo.cc (pinfo::zap_cwd): Remove.
(pinfo::exit): Drop call to zap_cwd.
* pinfo.h (class pinfo): Remove declaration of zap_cwd.
* spawn.cc (spawn_guts): Set current working directory for non-Cygwin
child applications.  Drop call to zap_cwd.

17 years ago2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 30 Nov 2006 00:35:57 +0000 (00:35 +0000)]
2006-11-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/makebuf.c (__smakebuf): If dealing with
        an asprintf-family buffer, make the default initial size 64.

17 years ago2006-11-29 Eric Blake <ebb9@byu.net>
Jeff Johnston [Wed, 29 Nov 2006 21:36:54 +0000 (21:36 +0000)]
2006-11-29  Eric Blake  <ebb9@byu.net>

        * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
        asprintf, as well as quadratic realloc behavior.

17 years ago2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Wed, 29 Nov 2006 19:54:05 +0000 (19:54 +0000)]
2006-11-29  Kazunori Asayama  <asayama@sm.sony.co.jp>

        * libc/machine/spu/memset.c: Fix type of explicit cast.
        * libc/machine/spu/strncmp.c: Add explicit cast.
        * libc/machine/spu/strrchr.c: Ditto.
        * libc/machine/spu/strspn.c: Ditto.

17 years ago * security.cc (create_token): Revert erroneous change to test
Corinna Vinschen [Tue, 28 Nov 2006 23:15:01 +0000 (23:15 +0000)]
* security.cc (create_token): Revert erroneous change to test
subauth_token for INVAILD_HANDLE_VALUE.
* syscalls.cc (seteuid32): Set create_token's subauth_token parameter
back to NULL.

17 years ago * fhandler.cc (fhandler_base::open): Fix previous patch to handle the
Corinna Vinschen [Tue, 28 Nov 2006 09:57:01 +0000 (09:57 +0000)]
* fhandler.cc (fhandler_base::open): Fix previous patch to handle the
SYSTEM attribute as well.

17 years agoRemove entries checked in by accident.
H.J. Lu [Mon, 27 Nov 2006 22:05:26 +0000 (22:05 +0000)]
Remove entries checked in by accident.

17 years agobfd/
Bob Wilson [Mon, 27 Nov 2006 20:14:52 +0000 (20:14 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info.
gas/
* config/tc-xtensa.c (XSHAL_ABI): Add default definition.
(directive_state): Disable scheduling by default.
(xtensa_add_config_info): New.
(xtensa_end): Call xtensa_add_config_info.
gas/testsuite/
* gas/elf/section2.e-xtensa: New file.
* gas/elf/elf.exp: Use it.
include/
* xtensa-config.h (XSHAL_ABI): New.
(XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
ld/
* emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
(replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
Delete redundant code to set sections flags and alignment.
(xt_config_info_unpack_and_check, check_xtensa_info): New.
(elf_xtensa_after_open): Iterate over input statements instead of
link_info.input_bfds.
(elf_xtensa_before_allocation): Likewise.  Call check_xtensa_info for
each input, and write a new .xtensa.info section in the output.

17 years ago * xtensa-isa.h (STATIC_LIBISA): Delete.
Bob Wilson [Mon, 27 Nov 2006 19:23:21 +0000 (19:23 +0000)]
* xtensa-isa.h (STATIC_LIBISA): Delete.

17 years ago * fhandler.cc (fhandler_base::open): Fix handling of files with
Corinna Vinschen [Mon, 27 Nov 2006 19:14:24 +0000 (19:14 +0000)]
* fhandler.cc (fhandler_base::open): Fix handling of files with
HIDDEN attribute set.

17 years ago* include/cygwin/signal.h: Add __extension__ to various anonymous unions and
Christopher Faylor [Mon, 27 Nov 2006 16:43:34 +0000 (16:43 +0000)]
* include/cygwin/signal.h: Add __extension__ to various anonymous unions and
structs.  (thanks to V.Haisman)

17 years ago2006-11-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 27 Nov 2006 16:12:51 +0000 (16:12 +0000)]
2006-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * mips/crt0.S: Fix preprocessor statements from previous patch
        to be ANSI.

17 years ago Initial release of the Cygwin LSA authentication package.
Corinna Vinschen [Mon, 27 Nov 2006 13:05:54 +0000 (13:05 +0000)]
Initial release of the Cygwin LSA authentication package.
* ChangeLog: New file.
* Makefile.in: Ditto.
* aclocal.m4: Ditto.
* configure.in: Ditto.
* configure: Ditto. Generated from configure.in.
* cyglsa-config: Ditto.
* cyglsa.c: Ditto.
* cyglsa.din: Ditto.
* cyglsa64.dll: Ditto.
* make-64bit-version-with-visual-c.bat: Ditto.
* mslsa.def: Ditto.

17 years ago * Makefile.in: Add dependencies for lsaauth.
Corinna Vinschen [Mon, 27 Nov 2006 13:01:36 +0000 (13:01 +0000)]
* Makefile.in: Add dependencies for lsaauth.
* configure.in: Disable building subauth.  Add building lsaauth.
* configure: Regenerate.

17 years ago * cyglsa.h: New header file.
Corinna Vinschen [Mon, 27 Nov 2006 12:59:59 +0000 (12:59 +0000)]
* cyglsa.h: New header file.
* environ.cc: Disable subauth settings.
* grp.cc: Accomodate cygsidlist's count now being a method.
* sec_helper.cc (SECURITY_MANDATORY_INTEGRITY_AUTHORITY): Remove.
(mandatory_medium_integrity_sid): Remove.
(mandatory_high_integrity_sid): Remove.
(mandatory_system_integrity_sid): Remove.
(fake_logon_sid): Add.
(cygsid::get_sid): Add well_known parameter.  Set well_known_sid
accordingly.
(cygsid::getfromstr): Ditto.
(cygsidlist::alloc_sids): Move here from security.cc.
(cygsidlist::free_sids): Ditto.
(cygsidlist::add): Move here from security.h.  Add well_known parameter.
Set well_known_sid accordingly.  Don't allow duplicate SIDs.
* security.cc: Include cyglsa.h and cygwin/version.h.  Throughout
accomodate cygsidlist's count now being a method.  Throughout drop
redundant "contains" tests.
(get_user_local_groups): Add local groups as well known SIDs.
(get_token_group_sidlist): Add well known groups as well known SIDs.
(get_server_groups): Ditto.  Only call get_unix_group_sidlist after
get_user_local_groups to maintain "well_known_sid" attribute.
(get_initgroups_sidlist): Add well known groups as well known SIDs.
(get_setgroups_sidlist): Add usersid and struct passwd parameter to
allow calling get_server_groups from here.
(get_system_priv_list): Make static.  Return size of TOKEN_PRIVILEGES
structure.
(get_priv_list): Ditto.
(create_token): Accomodate above changes.  Drop misguided attempt to
add MIC SIDs to created user token.  Print returned token as hex value.
(subauth): Disable.
(lsaauth): New function implementing client side of LSA authentication.
* security.h (class cygsid): Add well_known_sid attribute.  Accomodate
throughout.  Add *= operator to create a well known SID.
(class cygsidlist): Rename count to cnt.  Make count a method.
(cygsidlist::add): Move to sec_helper.cc.
(cygsidlist::operator *=): New method to add well known SID.
(cygsidlist::non_well_known_count): New method returning number of
non well known SIDs in list.
(cygsidlist::next_non_well_known_sid): New method returning next non
well known SID by index.
(mandatory_medium_integrity_sid): Drop declaration.
(mandatory_high_integrity_sid): Drop declaration.
(mandatory_system_integrity_sid): Drop declaration.
(fake_logon_sid): Add declaration.
(subauth): Disable declaration.
(lsaauth): Add declaration.
* syscalls.cc (seteuid32): Disable subauthentication.  Add LSA
authentication.
* wincap.h: Define needs_logon_sid_in_sid_list throughout.
* wincap.cc: Ditto.

17 years agoconfigure.in: Update to autoconf 2.5x syntax; fix macro argument quoting;
Keith Marshall [Sat, 25 Nov 2006 15:55:05 +0000 (15:55 +0000)]
configure.in: Update to autoconf 2.5x syntax; fix macro argument quoting;
remove invalid use of AC_ALLOCA; remove redundant use of AC_SUBST.

17 years ago2006-11-24 Thiemo Seufer <ths@mips.com>
Jeff Johnston [Fri, 24 Nov 2006 18:19:18 +0000 (18:19 +0000)]
2006-11-24  Thiemo Seufer  <ths@mips.com>
            Nigel Stephens  <nigel@mips.com>

        * mips/crt0.S (_start): Use all available float registers. Don't touch
        SR_PE on post-mips2 CPUs, it means soft reset there.

17 years ago * security.h (DBGSID): Define for debugging purposes.
Corinna Vinschen [Thu, 23 Nov 2006 16:44:55 +0000 (16:44 +0000)]
* security.h (DBGSID): Define for debugging purposes.
(MKSID): Rename from SID so as to not hide SID definition from winnt.h.
* sec_helper.cc: Change SID to MKSID throughout.

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