]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years agoFix faq-faq0 snafu.
Joshua Daniel Franklin [Tue, 15 Jun 2004 03:23:23 +0000 (03:23 +0000)]
Fix faq-faq0 snafu.

20 years ago * how-programming.texinfo: Add section about Visual Studio linking.
Joshua Daniel Franklin [Tue, 15 Jun 2004 03:19:23 +0000 (03:19 +0000)]
* how-programming.texinfo: Add section about Visual Studio linking.

20 years ago * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
Alan Modra [Tue, 15 Jun 2004 02:18:51 +0000 (02:18 +0000)]
* dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
instead of _raw_size.
(dumper::write_core_dump): Likewise.
* parse_pe.cc (select_data_section): Likewise.

20 years ago2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 14 Jun 2004 20:57:07 +0000 (20:57 +0000)]
2004-06-14  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/syscall.h: For now, set up
        __syscall_return macro for systems with vsyscall.

20 years ago[ bfd/ChangeLog ]
Chris Demetriou [Mon, 14 Jun 2004 18:25:10 +0000 (18:25 +0000)]
[ bfd/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
        removal) with updated comment.
        (bfd_elf32_bfd_reloc_type_lookup): Add back case for
        BFD_RELOC_32_PCREL.
        (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
        * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

[ include/elf/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
        with an updated comment.

20 years ago2004-06-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Mon, 14 Jun 2004 02:42:05 +0000 (02:42 +0000)]
2004-06-13  Joshua Daniel Franklin  <joshuadfranklin@yahoo.com>

* faq.texinfo: Move outdated calls.texinfo to readme.texinfo.
* how-api.texinfo: Fix typos.
* how-programming.texinfo: Fix typos.
* how-resources.texinfo: Fix typos.
* how-using.texinfo: Fix typos.
* install.texinfo: Fix typos.
* readme.texinfo: Move outdated calls.texinfo to readme.texinfo.

20 years ago2004-06-11 Antony King <antony.king@st.com>
Jeff Johnston [Fri, 11 Jun 2004 20:37:10 +0000 (20:37 +0000)]
2004-06-11  Antony King  <antony.king@st.com>

        * libc/include/sys/_types.h: Include <sys/lock.h> and change
        _flock_t to be of type _LOCK_RECURSIVE_T.
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
        (_global_impure_ptr): New declaration.
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
        * libc/include/sys/stdio.h: Include <sys/lock.h> and
        <sys/reent.h>.
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
        * libc/stdio/fclose.c: Remove casting of fp lock to
        _LOCK_RECURSIVE_T.
        * libc/stdio/findfp.c: Ditto.
        * libc/stdio/fopen.c: Ditto.
        * libc/stdio/freopen.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio64/fopen64.c: Ditto.
        * libc/stdlib/envlock.c: Add default stubs that use generic
        locking code.
        * libc/stdlib/mlock.c: Ditto.

        Jeff Johnston  <jjohnstn@redhat.com>
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
        (_flock_t): Change to be a struct containing a single member
        named mutex which is of type __flock_mutex_t.

20 years agoDefine ps status flags
Joshua Daniel Franklin [Fri, 11 Jun 2004 18:25:06 +0000 (18:25 +0000)]
Define ps status flags

20 years agoInclude Makefile.*, not just Makefile.in, in the top-level policy.
Ben Elliston [Wed, 9 Jun 2004 22:48:28 +0000 (22:48 +0000)]
Include Makefile.*, not just Makefile.in, in the top-level policy.

20 years agoUpdate with respect to DejaGnu and Expect.
Ben Elliston [Wed, 9 Jun 2004 22:14:10 +0000 (22:14 +0000)]
Update with respect to DejaGnu and Expect.

20 years ago2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 9 Jun 2004 20:43:43 +0000 (20:43 +0000)]
2004-06-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
        from /usr/include/asm/signal.h instead of kernel sources.  Also
        default max to 32 if not found in header file.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
        systems where __syscall_return is not defined.
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
        systems to use syscall() function instead of assembler interrupt.

20 years ago2004-06-09 Toralf Lund <toralf@procaptura.com>
Jeff Johnston [Wed, 9 Jun 2004 19:06:50 +0000 (19:06 +0000)]
2004-06-09  Toralf Lund  <toralf@procaptura.com>

        * arm/crt0.S: Copied from newlib and it now also sets up stacks for
        FIQ and IRQ mode, plus calls hardware_init_hook() and
        software_init_hook() if present.
        * arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
        from newlib.
        * arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
        librdpmon.a, librdimon.a - support file for "bare" setup, as well
        as "RDP" and "RDI" monitors.
        * arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
        arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
        with above mentioned support libs and startfiles.

20 years ago2004-06-09 Toralf Lund <toralf@procaptura.com>
Jeff Johnston [Wed, 9 Jun 2004 19:05:09 +0000 (19:05 +0000)]
2004-06-09  Toralf Lund  <toralf@procaptura.com>

        * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
        files from libc/sys/arm to libc/machine/arm.
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
        library build support for files moved from libc/sys/arm.
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
        references to access and setjmp.
        * configure.host: Add checks for newlib_may_supply_syscalls to
        determine whether or not to use sys/arm directory and use
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.

20 years ago* include/cygwin/version.h: REALLY bump dll minor version to 11.
Christopher Faylor [Wed, 9 Jun 2004 16:03:51 +0000 (16:03 +0000)]
* include/cygwin/version.h: REALLY bump dll minor version to 11.

20 years ago2004-06-09 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 9 Jun 2004 08:32:35 +0000 (08:32 +0000)]
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (touch-stage[+id+]): New.
(restage[+prev+]): Depend on touch-stage[+id+].

* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
Use it throughout.

* Makefile.def: Add profile and feedback bootstrap stages.
Remove next field from bootstrap stages.
* Makefile.tpl (LN, LN_S): Substitute.
(stageN-start, stageN-end): Use double-colon rules, to
provide a hook for additional setup commands.
(distclean-stageN-gcc, restageN): Create dependencies from
[+prev+], not from [+next+].
(stageN-bubble): Add commands for successive stages from
[+prev+], using double-colon rules.
(all-stageN-gcc): Fix typo.
(stagefeedback-start, profiledbootstrap): New.
* Makefile.in: Regenerate.
* configure.in: Call ACX_PROG_LN.
* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_PROG_LN): From gcc, modified to
accept a parameter.

20 years ago * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
Corinna Vinschen [Tue, 8 Jun 2004 10:53:40 +0000 (10:53 +0000)]
* include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.

20 years ago * path.cc (fchdir): Pass the Posix path to chdir.
Corinna Vinschen [Tue, 8 Jun 2004 07:20:04 +0000 (07:20 +0000)]
* path.cc (fchdir): Pass the Posix path to chdir.

20 years ago* dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
Christopher Faylor [Mon, 7 Jun 2004 04:26:32 +0000 (04:26 +0000)]
* dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
* fhandler.h (fhandler_fifo::get_io_handle): New fifo-specific method.
* fhandler_fifo.cc (fhandler_fifo::close): Close output_handle only if it is
open.
(fhandler_fifo::open_not_mine): Reorganize slightly.  Don't call _pinfo methods
when the fifo is owned by me or suffer dtable lock_cs deadlock.
(fhandler_fifo::open): Call open_not_mine first, otherwise open myself
(racy).
* pinfo.cc (_pinfo::commune_recv): Duplicate fifo handles here in requesting
processes arena to avoid one potential race (of many).
(_pinfo::commune_send): Move all PICOM_FIFO code under one case statement.
* thread.cc (pthread::init_mainthread) Use existing hMainProc handle rather
than calling GetCurrentProcess.

20 years ago2004-06-05 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Sat, 5 Jun 2004 13:39:35 +0000 (13:39 +0000)]
2004-06-05  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winbase.h (GetWriteWatch): Correct prototype.
(WRITE_WATCH_FLAG_RESET): Define.
Thanks to Sergey Philippov <phis@users.sourceforge.net>.

20 years ago2004-06-02 Rocher Laurent <lrocher@users.sourceforge.net>
Luke Dunstan [Sat, 5 Jun 2004 13:01:07 +0000 (13:01 +0000)]
2004-06-02  Rocher Laurent  <lrocher@users.sourceforge.net>

* include/commctrl.h (Animate_OpenEx): Define.
(DateTime_GetSystemTime, DateTime_SetSystemTime): Correct names.
(ListView_GetNumberOfWorkAreas): Correct macro.
(ListView_SetUnicodeFormat, ListView_GetUnicodeFormat,
ListView_SetItemCountEx, ListView_GetISearchString,
TreeView_GetLastVisible, Header_CreateDragImage,
Header_SetImageList, Header_GetImageList): Define.
(LVM_SETUNICODEFORMAT, LVM_GETUNICODEFORMAT,
MCM_GETUNICODEFORMAT, MCM_SETUNICODEFORMAT,
TBSTATE_ELLIPSES): Define.
(MonthCal_SetRange): Correct macro.
(ImageList_Duplicate): Declare.

20 years ago* winbase.h (ilockincr): Add more neverending changes from the inexplicable
Christopher Faylor [Fri, 4 Jun 2004 23:55:44 +0000 (23:55 +0000)]
* winbase.h (ilockincr): Add more neverending changes from the inexplicable
world of gcc asm constraint magic.  Should stop random crashes.
(ilockdecr): Ditto.

20 years ago* autoload.cc (IsDosDeviceName_U): Define.
Christopher Faylor [Thu, 3 Jun 2004 22:27:25 +0000 (22:27 +0000)]
* autoload.cc (IsDosDeviceName_U): Define.
* ntdll.h (IsDosDeviceName_U): Declare.
* fhandler.cc (fhandler_base::open): Check to see if win32_name is a dos device
and just call the 9x open if so.

20 years ago2004-06-03 Alexandre Oliva <aoliva@redhat.com>
Jeff Johnston [Thu, 3 Jun 2004 22:23:10 +0000 (22:23 +0000)]
2004-06-03  Alexandre Oliva  <aoliva@redhat.com>

        * mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
        pointers.

20 years agorevert accidental checkin
Christopher Faylor [Thu, 3 Jun 2004 21:33:29 +0000 (21:33 +0000)]
revert accidental checkin

20 years ago* winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
Christopher Faylor [Thu, 3 Jun 2004 21:29:43 +0000 (21:29 +0000)]
* winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
magic.
(ilockdecr): Ditto.

20 years ago* winbase.h (ilockincr): YA correction to ensure correct operation with no
Christopher Faylor [Thu, 3 Jun 2004 20:48:02 +0000 (20:48 +0000)]
* winbase.h (ilockincr): YA correction to ensure correct operation with no
optimization.
(ilockdecr): Ditto.

20 years ago * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
Corinna Vinschen [Thu, 3 Jun 2004 19:52:12 +0000 (19:52 +0000)]
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.

20 years ago * include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
Corinna Vinschen [Thu, 3 Jun 2004 19:51:10 +0000 (19:51 +0000)]
* include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
value.

20 years ago * shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.
Corinna Vinschen [Thu, 3 Jun 2004 19:49:54 +0000 (19:49 +0000)]
* shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.

20 years agoremove erroneous ChangeLog entry
Christopher Faylor [Thu, 3 Jun 2004 18:56:49 +0000 (18:56 +0000)]
remove erroneous ChangeLog entry

20 years ago* winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.
Christopher Faylor [Thu, 3 Jun 2004 18:55:56 +0000 (18:55 +0000)]
* winbase.h: Fix all ilock defs as per cygwin 1.5.10 release.

20 years ago* configure.in: Fix --enable-bootstrap breakage introduced in trees without
Christopher Faylor [Thu, 3 Jun 2004 04:57:38 +0000 (04:57 +0000)]
* configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.

20 years agoadd missing changelog entry
Christopher Faylor [Wed, 2 Jun 2004 21:25:57 +0000 (21:25 +0000)]
add missing changelog entry

20 years ago* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
Christopher Faylor [Wed, 2 Jun 2004 21:20:54 +0000 (21:20 +0000)]
* spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
than calculating this twice.

20 years ago2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 2 Jun 2004 19:22:14 +0000 (19:22 +0000)]
2004-06-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
        reset digit flags appropriately after we have discovered "0x".
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.

20 years ago2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
Luke Dunstan [Tue, 1 Jun 2004 14:09:20 +0000 (14:09 +0000)]
2004-04-24  Luke Dunstan  <infidel@users.sourceforge.net>

* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 08:11:41 +0000 (08:11 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Fix typo.
* Makefile.in: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:54:42 +0000 (07:54 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Remove new- prefix from toplevel
bootstrap targets.
* configure: Regenerate.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:46:01 +0000 (07:46 +0000)]
2004-06-01  Paolo Bonzini <bonzini@gnu.org>

Merge this patch from the gcc tree:

2004-05-30  Andreas Jaeger  <aj@suse.de>
    Jim Wilson <wilson@specifixinc.com>

* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77
like CC.

20 years ago2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 1 Jun 2004 07:42:22 +0000 (07:42 +0000)]
2004-06-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (all.normal): Rename to all.
(all): Replace with a rule to pick the default
target from configure.
(all-gcc, configure-gcc): Use conditionals to
do nothing when toplevel bootstrap is going on.
(GCC directory bootstrap) [gcc-bootstrap]: Disable.
(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
* configure.in: Support --enable-bootstrap.

* Makefile.def: Remove new- prefix from toplevel
bootstrap targets.
* Makefile.tpl: Likewise.

* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
target.

* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
$(RECURSE_FLAGS) to recursive invocation of make.

* Makefile.in: Regenerate.
* configure: Regenerate.

20 years ago2004-05-29 Filip Navara <xnavara@volny.cz>
Luke Dunstan [Mon, 31 May 2004 14:10:20 +0000 (14:10 +0000)]
2004-05-29  Filip Navara  <xnavara@volny.cz>

* include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.

20 years ago2004-05-25 Al Slater <al.slater@scluk.com>
Luke Dunstan [Mon, 31 May 2004 13:57:30 +0000 (13:57 +0000)]
2004-05-25  Al Slater  <al.slater@scluk.com>

 * include/httpext.h (HSE_SEND_HEADER_EX_INFO,
 HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.

20 years ago2004-05-30 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Mon, 31 May 2004 02:20:39 +0000 (02:20 +0000)]
2004-05-30  Pierre Humblet <pierre.humblet@ieee.org>

* path.cc (mount_info::add_item): Make sure native path has drive
or UNC form. Call normalize_xxx_path instead of [back]slashify.
Remove test for double slashes. Reorganize to always debug_print.

20 years ago * pathnames.sgml: Remove /dev/kmem from the supported POSIX
Joshua Daniel Franklin [Sun, 30 May 2004 06:47:09 +0000 (06:47 +0000)]
* pathnames.sgml: Remove /dev/kmem from the supported POSIX
device list.

* cygwinenv.sgml: Fix typo in check_case description.

20 years ago2004-05-29 John Paul Wallington <jpw@gnu.org>
Joshua Daniel Franklin [Sun, 30 May 2004 06:33:02 +0000 (06:33 +0000)]
2004-05-29  John Paul Wallington  <jpw@gnu.org>

* ssp.c (usage): Add missing linefeed.

20 years ago* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
Christopher Faylor [Sat, 29 May 2004 00:51:16 +0000 (00:51 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the file
if it uses an acl.

20 years ago* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
Christopher Faylor [Fri, 28 May 2004 19:50:07 +0000 (19:50 +0000)]
* path.cc (chdir): Always use the normalized_path as posix_cwd, except if it
starts with a drive.

Also perform whitespace cleanup.

20 years ago2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Fri, 28 May 2004 12:32:08 +0000 (12:32 +0000)]
2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>

bfd:
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh3_nommu .
* bfd-in2.h: Regenerate.
* cpu-sh.c: Add sh3-nommu architecture.
(bfd_to_arch_table): Create new table.
(sh_get_arch_from_bfd_mach): Create new function.
(sh_get_arch_up_from_bfd_mach): Create new function.
(sh_merge_bfd_arch): Create new function.
* elf32-sh.c (sh_ef_bfd_table): Add table.
(sh_elf_check_relocs): Replace switch statement with
use of sh_ef_bfd_table .
(sh_elf_get_flags_from_mach): Add new function.
(sh_find_elf_flags): Likewise.
(sh_elf_copy_private_data): Replace most of non-elf contents
with a call to sh_merge_bfd_arch() .

gas:
* Makefile.am: Regenerate dependecies.
* Makefile.in: Regenerate.
* config/tc-sh.c (valid_arch): Make unsigned.
(preset_target_arch): Likewise.
(md_begin): Use new architecture flags system.
(get_specific): Likewise.
(assemble_ppi): Likewise.
(md_assemble): Likewise. Also fix error check for bad opcodes.
(md_parse_option): Likewise. Also generate -isa values according
to the table in bfd/cpu-sh.c instead of just constants. Also
allow <arch>-up ISA variants.
(sh_elf_final_processing): Replace if-else chain with a call to
sh_find_elf_flags().
* testsuite/gas/sh/arch: New directory.
* testsuite/gas/sh/arch/arch.exp: New test script.
* testsuite/gas/sh/arch/arch_expected.txt: New file.
* testsuite/gas/sh/arch/sh.s: New file.
* testsuite/gas/sh/arch/sh2.s: New file.
* testsuite/gas/sh/arch/sh-dsp.s: New file.
* testsuite/gas/sh/arch/sh2e.s: New file.
* testsuite/gas/sh/arch/sh3-nommu.s: New file.
* testsuite/gas/sh/arch/sh3.s: New file.
* testsuite/gas/sh/arch/sh3-dsp.s: New file.
* testsuite/gas/sh/arch/sh3e.s: New file.
* testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4.s: New file.
* testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
* testsuite/gas/sh/arch/sh4al-dsp.s: New file.
* testsuite/gas/sh/arch/sh4a.s: New file.

include/elf:
* sh.h (EF_SH_HAS_DSP): Remove.
(EF_SH_HAS_FP): Remove.
(EF_SH_MERGE_MACH): Remove.
(EF_SH4_NOFPU): Convert to decimal.
(EF_SH4A_NOFPU): Likewise.
(EF_SH4_NOMMU_NOFPU): Likewise.
(EF_SH3_NOMMU): Add new macro.
(EF_SH_BFD_TABLE): Likewise.
(sh_find_elf_flags): Add prototype.
(sh_elf_get_flags_from_mach): Likewise.

opcodes:
* sh-dis.c (target_arch): Make unsigned.
(print_insn_sh): Replace (most of) switch with a call to
sh_get_arch_from_bfd_mach(). Also use new architecture flags system.
* sh-opc.h: Redefine architecture flags values.
Add sh3-nommu architecture.
Reorganise <arch>_up macros so they make more visual sense.
(SH_MERGE_ARCH_SET): Define new macro.
(SH_VALID_BASE_ARCH_SET): Likewise.
(SH_VALID_MMU_ARCH_SET): Likewise.
(SH_VALID_CO_ARCH_SET): Likewise.
(SH_VALID_ARCH_SET): Likewise.
(SH_MERGE_ARCH_SET_VALID): Likewise.
(SH_ARCH_SET_HAS_FPU): Likewise.
(SH_ARCH_SET_HAS_DSP): Likewise.
(SH_ARCH_UNKNOWN_ARCH): Likewise.
(sh_get_arch_from_bfd_mach): Add prototype.
(sh_get_arch_up_from_bfd_mach): Likewise.
(sh_get_bfd_mach_from_arch_set): Likewise.
(sh_merge_bfd_arc): Likewise.

ld:
* testsuite/ld-sh/arch/arch.exp: New test script.
* testsuite/ld-sh/arch/arch_expected.txt: New file.
* testsuite/ld-sh/arch/sh.s: New file.
* testsuite/ld-sh/arch/sh2.s: New file.
* testsuite/ld-sh/arch/sh-dsp.s: New file.
* testsuite/ld-sh/arch/sh2e.s: New file.
* testsuite/ld-sh/arch/sh3-nommu.s: New file.
* testsuite/ld-sh/arch/sh3.s: New file.
* testsuite/ld-sh/arch/sh3-dsp.s: New file.
* testsuite/ld-sh/arch/sh3e.s: New file.
* testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4.s: New file.
* testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
* testsuite/ld-sh/arch/sh4al-dsp.s: New file.
* testsuite/ld-sh/arch/sh4a.s: New file.

20 years ago * configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
Daniel Jacobowitz [Thu, 27 May 2004 18:22:27 +0000 (18:22 +0000)]
* configure.in: Fix sed invocation for GFORTRAN_FOR_TARGET.
* configure: Regenerate.

20 years agoclarify last entry slightly.
Christopher Faylor [Thu, 27 May 2004 15:58:29 +0000 (15:58 +0000)]
clarify last entry slightly.

20 years ago* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
Christopher Faylor [Thu, 27 May 2004 15:15:51 +0000 (15:15 +0000)]
* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid calling
strtosigno with NSIG - 1.

20 years ago2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 27 May 2004 14:56:54 +0000 (14:56 +0000)]
2004-05-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
        from here ...
        (_VFPRINTF_R): ... to here so all I/O printf routines
        are covered.

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 May 2004 20:38:51 +0000 (20:38 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libnosys/sbrk.c: Add include of <_syslist.h> and "config.h".

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 May 2004 20:32:58 +0000 (20:32 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libnosys/sbrk.c: Add include of <_syslist.h>.

20 years ago2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 May 2004 17:57:10 +0000 (17:57 +0000)]
2004-05-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/search/hash_buf.c: Protect MAX and MIN macros from
        redefinition.
        * libc/search/hash.c: Ditto.

20 years ago2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Wed, 26 May 2004 00:19:14 +0000 (00:19 +0000)]
2004-05-25  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
        (_WANT_IO_LONG_LONG): Ditto.
        (_WANT_IO_LONG_DOUBLE): Ditto.
        * configure.in: Add new configuration options
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
        which tie to new defines in newlib.hin.
        * configure: Regenerated.
        * configure.host: Add checks for new configuration options.  Also
        fix up check for --enable-newlib-io-pos-args so configuration
        option will override any default for a given platform.
        Remove defining compiler flags for the _WANT_IO* options.
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
        instead of looking for old compiler flags.
        * libc/stdio/vfscanf.c: Ditto.
        * libc/stdio/vfieeefp.h: Ditto.
        * libc/machine/powerpc/vfprintf.c: Ditto.
        * libc/machine/powerpc/vfscanf.c: Ditto.

20 years ago2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 25 May 2004 20:52:21 +0000 (20:52 +0000)]
2004-05-25  Jeff Johnston  <jjohnstn@redhat.com>

        * testsuite/include/check.h: Add include of <stdio.h>.

20 years ago* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
DJ Delorie [Tue, 25 May 2004 20:36:50 +0000 (20:36 +0000)]
* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS)
(NORMAL_TARGET_EXPORTS): New macros.  Use them in all the recursive
targets.
* Makefile.in: Regenerate.

20 years ago* winbase.h: Semi-revert previous patch as it caused strange behavior. Use
Christopher Faylor [Tue, 25 May 2004 20:00:19 +0000 (20:00 +0000)]
* winbase.h: Semi-revert previous patch as it caused strange behavior.  Use
syntax similar to that recommended in mingw-dvlpr.

20 years ago* include/cygwin/version.h: Bump DLL minor number to 11.
Christopher Faylor [Tue, 25 May 2004 16:01:49 +0000 (16:01 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 11.

20 years ago* winbase.h: Add proper attributions for memory operands throughout.
Christopher Faylor [Tue, 25 May 2004 04:00:49 +0000 (04:00 +0000)]
* winbase.h: Add proper attributions for memory operands throughout.

20 years ago* include/cygwin/version.h: Bump api minor version number.
Christopher Faylor [Tue, 25 May 2004 03:21:34 +0000 (03:21 +0000)]
* include/cygwin/version.h: Bump api minor version number.
* cygwin.din: Export atoll.

20 years agoReorganise m68k instruction decoding and improve handling of MAC/EMAC
Nick Clifton [Mon, 24 May 2004 14:33:21 +0000 (14:33 +0000)]
Reorganise m68k instruction decoding and improve handling of MAC/EMAC

20 years ago2005-05-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 11:08:48 +0000 (11:08 +0000)]
2005-05-24  Paolo Bonzini <bonzini@gnu.org>

* configure.in: Test the ability to symlink directories.
* configure: Regenerate.

* Makefile.def (bootstrap-stage): New definitions.
* Makefile.tpl (configure-stage1-gcc,
configure-stage2-gcc, configure-stage3-gcc,
all-stage1-gcc, all-stage2-gcc, all-stage3-gcc,
new-bootstrap, new-cleanstrap, new-restage1, new-restage2,
new-restage3, compare): Autogenerate, see Makefile.in
entry for behavioral changes.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New autogenerated targets.
(objext, prebootstrap, BOOT_CFLAGS,
POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated
targets.

* Makefile.in: Regenerate.
(distclean-stage1, new-stage1-start, new-stage1-end,
new-stage1-bubble, distclean-stage2, new-stage2-start,
new-stage2-end, new-stage2-bubble, distclean-stage3,
new-stage3-start, new-stage3-end): New targets.
(all-stage1-gcc): Move prebootstrap dependency from here...
(configure-stage1-gcc): ...to here.
(new-bootstrap): Use bubble targets.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
Use per-stage distclean targets.
(configure-stage1-gcc, configure-stage2-gcc,
configure-stage3-gcc, all-stage1-gcc,
all-stage2-gcc, all-stage3-gcc, new-bootstrap):
Use new-stageN-start to prepare the tree.

20 years ago2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 24 May 2004 10:45:14 +0000 (10:45 +0000)]
2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (host_modules): add libcpp.
* Makefile.tpl: Add dependencies on and for libcpp.
* Makefile.in: Regenerate.
* configure.in: Add libcpp host module.
* configure: Regenerate.

config/ChangeLog:

2004-05-23  Paolo Bonzini  <bonzini@gnu.org>

* acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING):
From gcc.

20 years ago2004-05-21 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 21 May 2004 19:08:54 +0000 (19:08 +0000)]
2004-05-21  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl: Whenever a recursive target is defined, wrap
it in a special @if/@endif block, and prepare its maybe
dependency in the @if/@endif block
* configure.in: Instead of writing maybe dependencies, remove
the @if/@endif statements, and remove the @if/@endif blocks
that remain.
* configure: Regenerate.
* Makefile.in: Regenerate.

20 years ago* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
Christopher Faylor [Thu, 20 May 2004 17:32:12 +0000 (17:32 +0000)]
* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful return
from !with_console
* fhandler_tty.cc (fhandler_pty_master::open): Release tty_mutex here after all
initialization is done.

20 years ago * Makefile.def, Makefile.tpl, configure.in: Remove all mention
Zack Weinberg [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.

20 years ago * grp.cc (getgrgid_r): Replace struct group by struct __group32 in
Corinna Vinschen [Mon, 17 May 2004 16:14:01 +0000 (16:14 +0000)]
* grp.cc (getgrgid_r): Replace struct group by struct __group32 in
argument definition.
(getgrnam_r): Ditto.

20 years ago * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
Corinna Vinschen [Mon, 17 May 2004 16:06:14 +0000 (16:06 +0000)]
* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.

20 years ago * cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
Corinna Vinschen [Mon, 17 May 2004 16:06:02 +0000 (16:06 +0000)]
* cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
getgrgid_r, getgrnam_r and getlogin_r.
* grp.cc (getgrgid_r): New function.
(getgrnam_r): Ditto.
* syscalls.cc (flockfile): Ditto.
(ftrylockfile): Ditto.
(funlockfile): Ditto.
* sysconf.cc (sysconf): Return LOGIN_NAME_MAX in case of
_SC_LOGIN_NAME_MAX.
* thread.cc (__cygwin_lock_trylock): Define int.  Return value from
call to pthread_mutex_trylock.
* uinfo.cc (getlogin_r): New function.
* include/limits.h: Define LOGIN_NAME_MAX.
* include/cygwin/version.h: Bump API minor number.
* include/sys/lock.h: Add declarations for __cygwin_lock_xxx functions.
* include/sys/stdio.h: Add define for _ftrylockfile.

20 years ago* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
Christopher Faylor [Mon, 17 May 2004 15:55:42 +0000 (15:55 +0000)]
* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
compilation error.

20 years agoChange the name "title_mutex" to "tty_mutex" throughout.
Christopher Faylor [Mon, 17 May 2004 15:27:56 +0000 (15:27 +0000)]
Change the name "title_mutex" to "tty_mutex" throughout.
* tty.h (tty_list::allocate_tty): Turn argument into a boolean.
* tty.cc (tty_list::init): Protect entire allocation operation with tty_mutex
(formerly title_mutex) to protect against allocation races.

20 years agoadd missing file
Christopher Faylor [Sun, 16 May 2004 16:38:27 +0000 (16:38 +0000)]
add missing file

20 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
Corinna Vinschen [Sun, 16 May 2004 15:38:03 +0000 (15:38 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
value in each WSARecvFrom call.
(fhandler_socket::recvmsg): Ditto.  Reformat slightly.

20 years ago* cygthread.cc (cygthread::is): Eliminate.
Christopher Faylor [Sun, 16 May 2004 04:18:50 +0000 (04:18 +0000)]
* cygthread.cc (cygthread::is): Eliminate.
* cygthread.h (cygthread::is): Eliminate declaratin.
* fhandler_console.cc (fhandler_console::read): Only wait for signal_arrived in
the main thread.
* fhandler_socket.cc: Include new "wininfo.h".
(fhandler_socket::ioctl): Use 'winmsg' rather than 'gethwnd()'.
* sync.cc (muto::grab): Define new function.
(muto::acquire): Use tls pointer rather than tid.
(muto::acquired): Ditto.
(muto::reset): Delete.
(muto::release): Ditto.  Also implement "close on last release".
* sync.h (muto::tid): Delete.
(muto::tls): New field.
(muto::ismine): Delete.
(muto::owner): Delete.
(muto::unstable): Delete.
(muto::reset): Delete.
(muto::upforgrabs): New method.
(muto::grab): Ditto.
(new_muto_name): New define.
* wininfo.h: New file.
(wininfo): New class.
* window.cc: Rework throughout to use winfo class for controlling invisible
window operation.
(gethwnd): Delete definition.
* winsup.h (gethwnd): Delete declaration.

20 years agorevert previous not-ready-for-primetime checkin.
Christopher Faylor [Sat, 15 May 2004 16:10:41 +0000 (16:10 +0000)]
revert previous not-ready-for-primetime checkin.

20 years ago* cygheap.h: Remove some parameter names from declarations throughout.
Christopher Faylor [Sat, 15 May 2004 16:09:04 +0000 (16:09 +0000)]
* cygheap.h: Remove some parameter names from declarations throughout.
(cygheap::set): Reflect changes in declaration for arguments and return value
from previous checkin.

20 years ago* cygheap.h (cwdstuff::set): Modify return value and arguments.
Christopher Faylor [Sat, 15 May 2004 15:55:43 +0000 (15:55 +0000)]
* cygheap.h (cwdstuff::set): Modify return value and arguments.
* path.cc (chdir): Specify PC_POSIX.  Do not call SetCurrentDirectory.  Set
posix_cwd in a way that does not break find.exe.  Change call to cwd.set.
(cwdstuff::get_initial): Do not call GetCurrentDirectory here.
(cwdstuff::set): Call SetCurrentDirectory and GetCurrentDirectory as needed.

20 years ago2004-05-15 Filip Navara <xnavara@volny.cz>
Danny Smith [Sat, 15 May 2004 10:08:06 +0000 (10:08 +0000)]
2004-05-15  Filip Navara  <xnavara@volny.cz>

* include/ddk/kbdmou.h: New file.
* lib/ddk/videoprt.def (VideoPortMapBankedMemory,
VideoPortMapDmaMemory, VideoPortMapMemory): Correct suffix.
* lib/ddk/ntoskrnl.def (_snprintf, _snwprintf, _vsnprintf,
_vsnwprintf, sprintf, swprintf): Export.

20 years ago2004-05-15 Filip Navara <xnavara@volny.cz>
Danny Smith [Sat, 15 May 2004 09:47:02 +0000 (09:47 +0000)]
2004-05-15  Filip Navara  <xnavara@volny.cz>

* include/ddk/ntddk.h: Don't set 4-byte alignment on included
headers.

20 years agomerge from gcc
DJ Delorie [Thu, 13 May 2004 18:14:28 +0000 (18:14 +0000)]
merge from gcc

20 years agoremove keyword stuff
Christopher Faylor [Wed, 12 May 2004 16:21:18 +0000 (16:21 +0000)]
remove keyword stuff

20 years ago * path.cc (path_conv::check): Don't bail out with error if path is "//".
Corinna Vinschen [Wed, 12 May 2004 14:04:23 +0000 (14:04 +0000)]
* path.cc (path_conv::check): Don't bail out with error if path is "//".

20 years ago * cygheap.h (struct init_cygheap): Add mt_h member.
Corinna Vinschen [Wed, 12 May 2004 12:28:59 +0000 (12:28 +0000)]
* cygheap.h (struct init_cygheap): Add mt_h member.
* fhandler_tape.cc (mt_h): Drop in favor of cygheap based handle.
(mtinfo_init): Use cygheap->mt_h handle.  Protect it.

20 years ago2004-05-12 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Wed, 12 May 2004 01:44:11 +0000 (01:44 +0000)]
2004-05-12  Pierre Humblet <pierre.humblet@ieee.org>

* tty.h: Remove the %d or %x from all cygtty strings.
(tty::open_output_mutex): Only declare.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): New definition.
* fhandlet_tty.cc (fhandler_tty_slave::open): Declare buf with
size CYG_MAX_PATH and replace __small_printf calls by shared_name.
* tty.cc (tty::create_inuse): Ditto.
(tty::get_event): Ditto.
(tty::common_init): Ditto.
(tty::open_output_mutex): New method definition.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): New method.

20 years ago2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Tue, 11 May 2004 20:59:20 +0000 (20:59 +0000)]
2004-05-11  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
        of free.

20 years agobfd/
Jakub Jelinek [Tue, 11 May 2004 17:08:38 +0000 (17:08 +0000)]
bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
into .dynsym if elf_section_data (sec)->dynindx <= 0.
Adjust counting of last_local.
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
created by the linker nor !SHF_ALLOC.

* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.  Set sh_entsize for .got section in addition
to .got.plt.
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.  Set sh_entsize for .got section
in addition to .got.plt.
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Likewise.
(assign_file_positions_for_segments): Likewise.
(get_program_header_size): Likewise.
* elflink.c (bfd_elf_size_dynamic_sections): Set
elf_tdata (output_bfd)->relro from info->relro.
* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
relro_end fields.
* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
(PT_GNU_RELRO): Define.
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
* genscripts.sh: Generate -z combreloc -z now -z relro scripts
for binaries, -shared and -pie.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
(OTHER_RELRO_SECTIONS): ... this.
* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z relro and -z norelro.
(gld${EMULATION_NAME}_list_options): Add it to usage.
(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
-z relro scripts when appropriate.
* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
Create separate .got.plt section if SEPARATE_GOTPLT.
Move sections which are only written during relocation handling
to the beginning of RW segment.  If NO_SMALL_DATA, move .got
before .data.  Add DATA_SEGMENT_RELRO_END directive.
Include OTHER_RELRO_SECTIONS.
* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
(fold_unary): Likewise.
(fold_binary): Handle -z relro.
* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
exp_dataseg_relro_adjust phases.  Add relro_end field.
* ldmain.c (main): Initialize link_info.relro to FALSE.
* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
* ld-i386/tlspic.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbinpic.s: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic1.s: Likewise.
* ld-i386/combreloc.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-s390/tlspic1.s: Likewise.
* ld-s390/tlsbinpic.s: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin.sd: Likewise.
* ld-s390/tlsbin.td: Likewise.
* ld-s390/tlspic.sd: Likewise.
* ld-s390/tlspic.td: Likewise.
* ld-s390/tlspic1_64.s: Likewise.
* ld-s390/tlsbinpic_64.s: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic_64.sd: Likewise.
* ld-s390/tlspic_64.td: Likewise.
* ld-s390/tlsbin_64.td: Likewise.
* ld-s390/tlsbin_64.sd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
* ld-shared/shared.exp: Likewise.

20 years ago * fhandler.cc (fhandler_base::open): Set file attributes to correct
Corinna Vinschen [Tue, 11 May 2004 15:39:50 +0000 (15:39 +0000)]
* fhandler.cc (fhandler_base::open): Set file attributes to correct
value when creating files.
* path.h (class path_conv): Add write accessor for file_attributes.

20 years ago * fhandler.h (class fhandler_socket): Add "owner" status flag.
Corinna Vinschen [Mon, 10 May 2004 15:21:01 +0000 (15:21 +0000)]
* fhandler.h (class fhandler_socket): Add "owner" status flag.
* fhandler_socket.cc (wait): Take flag parameter to take FD_OOB into
account.  Don't wait infinitely.
(fhandler_socket::recvfrom): Also wait for FD_OOB if socket owner.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::fcntl): Set owner status flag if F_SETOWN with own
pid is called.

20 years ago2004-05-09 Pierre Humblet <pierre.humblet@ieee.org>
Pierre Humblet [Sun, 9 May 2004 15:17:15 +0000 (15:17 +0000)]
2004-05-09  Pierre Humblet <pierre.humblet@ieee.org>

        * environ.cc (build_env): Only try to construct required-but-missing
        variables while issetuid.

20 years ago * libc/include/machine/endian.h: Add missing endif.
Aldy Hernandez [Sat, 8 May 2004 17:13:38 +0000 (17:13 +0000)]
* libc/include/machine/endian.h: Add missing endif.

20 years ago* syscalls.cc: Include environ.h.
Christopher Faylor [Sat, 8 May 2004 02:55:38 +0000 (02:55 +0000)]
* syscalls.cc: Include environ.h.
(chroot): Set errno in case of path error.  Call getwinenv.
* environ.cc: Remove the NO_COPY attribute of conv_envvars.

20 years ago * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
Corinna Vinschen [Fri, 7 May 2004 21:28:53 +0000 (21:28 +0000)]
* fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Move
initialization of "mem_size" from here...
(fhandler_dev_mem::open): ...to here.  Fix typo in FH_PORT case.

20 years ago2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 7 May 2004 21:00:41 +0000 (21:00 +0000)]
2004-05-07  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
        list for reentrant pointer.  Call _vfiprintf_r.
        * libc/stdio/siprintf.c (_siprintf_r): New function.
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
        prototypes.

20 years ago2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 May 2004 20:39:57 +0000 (20:39 +0000)]
2004-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/param.h: Remove endian info and include
        <machine/endian.h> instead.
        * libc/include/machine/endian.h: New file.
        * libc/include/machine/param.h: Ditto.
        * libc/machine/arm/machine/endian.h: Ditto.
        * libc/machine/arm/machine/param.h: Ditto.
        * libc/sys/arm/sys/param.h: Removed.
        * libc/sys/sysvi386/sys/param.h: Ditto.
        * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.

20 years ago2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 May 2004 20:29:24 +0000 (20:29 +0000)]
2004-05-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/param.h: Remove endian info and include
        <machine/endian.h> instead.
        * libc/include/machine/endian.h: New file.
        * libc/machine/arm/machine/endian.h: Ditto.
        * libc/machine/arm/machine/param.h: Ditto.
        * libc/sys/arm/sys/param.h: Removed.
        * libc/sys/sysvi386/sys/param.h: Ditto.
        * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.

20 years ago * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
Corinna Vinschen [Fri, 7 May 2004 07:54:28 +0000 (07:54 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Move delete of
bigwavebuffer_ so that it is always cleaned, also in child processes.
(fhandler_dev_dsp::Audio_in::stop): Ditto.
(fhandler_dev_dsp::close): Stop audio play immediately in case of
abnormal exit.

20 years ago Revert code reversion from 2004-04-03. So, revert to async I/O again.
Corinna Vinschen [Fri, 7 May 2004 07:51:31 +0000 (07:51 +0000)]
Revert code reversion from 2004-04-03.  So, revert to async I/O again.
* fhandler.h (status): Add "closed" flag.
(prepare): New method declaration.
(wait): Ditto.
(release): Ditto.
* fhandler_socket.cc: Don't include wsock_event.h.
(fhandler_socket::prepare): New method, moved from wsock_event.
(fhandler_socket::wait): Ditto.
(fhandler_socket::release): New method.
(fhandler_socket::recvfrom): Simplify loop.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
* net.cc: Don't include wsock_event.h.
(wsock_event::prepare): Remove.
(wsock_event::wait): Ditto.
* wsock_event.h: Remove.

20 years agofix entry
Christopher Faylor [Fri, 7 May 2004 03:51:22 +0000 (03:51 +0000)]
fix entry

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