Jeff Johnston
aa677662af
2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* configure.host: RTEMS now uses posix subdirectory.
2008-11-17 22:08:05 +00:00
Jeff Johnston
0ea8752342
2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
* sys/rtems/sys/param.h: sys/rtprio.h not needed.
2008-11-17 22:05:12 +00:00
Jeff Johnston
28a65fe538
2008-11-17 Jeff Johnston <jjohnstn@redhat.com>
...
* m32r/Makefile.in: Add building m32r-stub.o from local copy instead
of up and over in gdb.
* m32r/m32r-stub.c: New file copied from gdb.
2008-11-17 21:58:28 +00:00
Daniel Jacobowitz
d19b11bb29
Revert:
...
2008-10-24 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.
2008-10-22 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.
2008-11-14 15:10:50 +00:00
Nick Clifton
5025372c28
bfd/
...
* elf.c (assign_file_positions_for_load_sections): Use header_size
to avoid moving the load address of file headers.
(assign_file_positions_for_load_sections): Set header_size for
segments containing the file header.
include/elf/
* internal.h (struct elf_segment_map): Add header_size field.
2008-11-14 14:44:09 +00:00
Tristan Gingold
c34ce41114
bfd/
...
2008-11-14 Tristan Gingold <gingold@adacore.com>
* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG,
BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr.
Generate bfdver.h.
* vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca.
* hosts/alphavms.h: Defines macros to bypass i18n.
* makefile.vms (OBJS): Update file list.
(DEFS): Remove VMS_DEBUG, const, add DEBUGDIR.
(CFLAGS): Update flags.
* bfdio.c (real_fopen): Add code specific to VMS: extract attributes
from modes.
binutils/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* configure.com: Get version from configure.in of bfd.
* makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
(CFLAGS): Update flags.
include/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* fopen-vms.h (FOPEN_RB): Use a single string to match the
standard prototype.
(FOPEN_WB): Ditto.
(FOPEN_AB): Ditto.
(FOPEN_RUB): Ditto.
(FOPEN_WUB): Ditto.
(FOPEN_AUB): Ditto.
libiberty/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.
opcodes/
2008-11-14 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Update list of objects.
(DEFS): Update
(CFLAGS): Update.
2008-11-14 09:57:33 +00:00
Ulrich Weigand
2c58170b7e
gdb/ChangeLog:
...
* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
AT_EXECFN. Re-sort AT_SECURE.
include/elf/ChangeLog:
* common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.
2008-11-13 15:07:54 +00:00
Corinna Vinschen
babd4a9c62
* autoload.cc (GetSystemDEPPolicy): Define.
...
(GetProcessDEPPolicy): Ditto.
(SetProcessDEPPolicy): Ditto.
* dcrt0.cc (disable_dep): New static function.
(dll_crt0_0): Call disable_dep on platforms requiring it. Add longish
comment to explain the circumstances.
* wincap.h (wincaps::ts_has_dep_problem): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Set ts_has_dep_problem to true on 2008 Terminal
Servers.
* winsup.h (WINVER): Set to 0x0601.
2008-11-12 11:04:27 +00:00
Corinna Vinschen
bef8896587
* include/winbase.h (PROCESS_DEP_ENABLE,
...
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION): Define for >= Vista SP1.
(enum _DEP_SYSTEM_POLICY_TYPE): Ditto.
(GetProcessDEPPolicy, GetSystemDEPPolicy, SetProcessDEPPolicy): Ditto.
2008-11-11 14:44:54 +00:00
Corinna Vinschen
2348e4f3c6
* mount.cc (mount_info::cygdrive_win32_path): Always upper case
...
DOS drive letter to accommodate case sensitivity.
(cygdrive_getmntent): Ditto.
* path.cc (path_conv::check): Invalidate wide_path after making path
relative.
2008-11-11 11:45:05 +00:00
Corinna Vinschen
9df1dbeac6
* cygwinenv.sgml: Add description for upcaseenv option.
2008-11-11 10:51:45 +00:00
Corinna Vinschen
188fb31537
* environ.cc (create_upcaseenv): New static variable.
...
(renv_arr): New static array to keep track of environment variables
which have to be always uppercased.
(idx_arr): Ditto.
(start_at): Ditto.
(ucreqenv): New function to uppercase only the environment variables
from renv_arr.
(parse_thing): Add "upcaseenv" setting.
(environ_init): Parse $CYGWIN before doing anything else. Call
ucreqenv instead of ucenv if CYGWIN=noupcaseenv is set.
2008-11-11 10:51:03 +00:00
Christopher Faylor
6865f89087
* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
...
path with a trailing '\'.
2008-11-11 03:51:55 +00:00
Christopher Faylor
dc74da050c
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
...
recursion_counter is already 0.
(pthread_mutex::_destroy): Don't consider a mutex busy if its recursion_counter
== 0.
(pthread_mutex::_fixup_after_fork): Set recursion_counter to 0 to flag that
we've just forked. Don't reset the owner of this mutex since the forkee may
think it still owns the mutex. Reinstate initialization of win32_obj_id.
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Initialize a variable to
bypass a C++ warning.
2008-11-07 18:32:41 +00:00
Chao-ying Fu
5dd0d5828f
2008-11-06 Chao-ying Fu <fu@mips.com>
...
* mips.h: Doucument '1' for 5-bit sync type.
2008-11-06 19:32:42 +00:00
Corinna Vinschen
c6b7418c89
* environ.cc (environ_init): Avoid evaluating $CYGWIN twice.
2008-11-05 11:57:44 +00:00
Jeff Johnston
1dc1ccd4ae
2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/diprintf.c: Modify documentation so eclipse newlib
libhover docs generate properly.
* libc/stdio/dprintf.c: Ditto.
* libc/stdio/fflush.c: Ditto.
* libc/stdio/fopencookie.c: Ditto.
* libc/stdio/fread.c: Ditto.
* libc/stdio/fsetpos.c: Ditto.
* libc/stdio/getc_u.c: Ditto.
* libc/stdio/getchar_u.c: Ditto.
* libc/stdio/putc_u.c: Ditto.
* libc/stdio/putchar_u.c: Ditto.
* libc/stdio/remove.c: Ditto.
* libc/stdio/siprintf.c: Ditto.
* libc/stdio/siscanf.c: Ditto.
* libc/stdio/sprintf.c: Ditto.
* libc/stdio/sscanf.c: Ditto.
* libc/stdio/vfprintf.c: Ditto.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdio/viprintf.c: Ditto.
* libc/stdio/viscanf.c: Ditto.
* libc/stdlib/calloc.c: Ditto.
* libc/stdlib/efgcvt.c: Ditto.
* libc/stdlib/envlock.c: Ditto.
* libc/time/asctime.c: Ditto.
* libc/time/ctime.c: Ditto.
* libc/time/gmtime.c: Ditto.
* libc/time/lcltime.c: Ditto.
* libc/time/tzset.c: Ditto.
* libc/stdlib/envlock.h: Moved to libc/include.
2008-10-31 21:08:03 +00:00
Jeff Johnston
d456d606e3
2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
* libc/include/envlock.h: New file.
* libc/include/fnmatch.h: Ditto.
* libc/include/glob.h: Ditto.
* libc/include/regex.h: Ditto.
* libc/include/wordexp.h: Ditto.
* libc/posix/Makefile.am: Add new files moved from
libc/sys/linux/stdlib.
* libc/posix/Makefile.in: Regenerated.
* libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
* libc/posix/cclass.h: Ditto.
* libc/posix/cname.h: Ditto.
* libc/posix/collate.c: Ditto.
* libc/posix/collate.h: Ditto.
* libc/posix/collcmp.c: Ditto.
* libc/posix/engine.c: Ditto.
* libc/posix/fnmatch.3: Ditto.
* libc/posix/glob.3: Ditto.
* libc/posix/fnmatch.c: Ditto.
* libc/posix/glob.c: Ditto.
* libc/posix/namespace.h: Ditto.
* libc/posix/reallocf.c: Ditto.
* libc/posix/regcomp.c: Ditto.
* libc/posix/regerror.c: Ditto.
* libc/posix/regex.3: Ditto.
* libc/posix/regex2.h: Ditto.
* libc/posix/regexec.c: Ditto.
* libc/posix/regfree.c: Ditto.
* libc/posix/rune.h: Ditto.
* libc/posix/runetype.h: Ditto.
* libc/posix/scandir.c: Remove advertising clause which is not in
effect.
* libc/posix/sysexits.h: Ditto.
* libc/posix/un-namespace.h: Ditto.
* libc/posix/utils.h: Ditto.
* libc/posix/wordexp.c: Ditto.
* libc/posix/wordfree.c: Ditto.
* libc/posix/execl.c: Add !_NO_EXECVE flag check.
* libc/posix/execle.c: Ditto.
* libc/posix/execlp.c: Ditto.
* libc/posix/execv.c: Ditto.
* libc/posix/execve.c: Ditto.
* libc/posix/execvp.c: Ditto.
* libc/posix/popen.c: Add !_NO_POPEN flag check.
* libc/sys/linux/configure: Regenerated.
* libc/sys/linux/configure.in: Remove stdlib.
* libc/sys/linux/include/limits.h: Add include of linux/limits.h.
* libc/sys/linux/stdlib/Makefile.am: Removed.
* libc/sys/linux/stdlib/Makefile.in: Ditto.
* libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
* libc/sys/linux/stdlib/cclass.h: Ditto.
* libc/sys/linux/stdlib/cname.h: Ditto.
* libc/sys/linux/stdlib/collate.c: Ditto.
* libc/sys/linux/stdlib/collate.h: Ditto.
* libc/sys/linux/stdlib/collcmp.c: Ditto.
* libc/sys/linux/stdlib/engine.c: Ditto.
* libc/sys/linux/stdlib/fnmatch.3: Ditto.
* libc/sys/linux/stdlib/fnmatch.c: Ditto.
* libc/sys/linux/stdlib/glob.3: Ditto.
* libc/sys/linux/stdlib/glob.c: Ditto.
* libc/sys/linux/stdlib/reallocf.c: Ditto.
* libc/sys/linux/stdlib/regcomp.c: Ditto.
* libc/sys/linux/stdlib/regerror.c: Ditto.
* libc/sys/linux/stdlib/regex.3: Ditto.
* libc/sys/linux/stdlib/regex2.h: Ditto.
* libc/sys/linux/stdlib/regexec.c: Ditto.
* libc/sys/linux/stdlib/regfree.c: Ditto.
* libc/sys/linux/stdlib/utils.h: Ditto.
* libc/sys/linux/stdlib/wordexp.c: Ditto.
* libc/sys/linux/stdlib/wordfree.c: Ditto.
2008-10-31 21:03:42 +00:00
Christopher Faylor
029d147e94
* Makefile.in: Use -static-libgcc when creating cygserver.exe.
2008-10-30 13:17:42 +00:00
Ulrich Weigand
0cc8da6c26
2008-10-29 Stefan Schulze Frielinghaus <xxschulz@de.ibm.com>
...
* configure.ac [spu-*-*]: Do not set skipdirs.
* configure: Re-generate.
2008-10-29 19:39:13 +00:00
Christopher Faylor
b2e5367846
* Makefile.in (ALL_LDFLAGS): Link libgcc statically for everything here.
2008-10-29 13:13:26 +00:00
Keith Marshall
2004f7603f
Correct some binary distribution packaging defects.
2008-10-28 23:55:39 +00:00
Daniel Jacobowitz
871d7a45e7
* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
...
* Makefile.in: Regenerated.
2008-10-24 21:58:34 +00:00
Corinna Vinschen
8937c103ed
* wincap.cc (all wincaps): Store in .cygwin_dll_common section same as
...
wincap. Add comment to explain why.
2008-10-23 21:00:45 +00:00
Daniel Jacobowitz
c1102cc788
PR gdb/921
...
PR gdb/1646
PR gdb/2175
PR gdb/2176
* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo. Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.
libiberty/
* Makefile.in (CPPFLAGS): Define.
(FLAGS_TO_PASS, COMPILE.c): Add CPPFLAGS.
2008-10-22 13:35:30 +00:00
Corinna Vinschen
3e97726f98
* autoload.cc (GetSystemWindowsDirectoryW): Define.
...
* kernel32.cc (GetWindowsDirectoryW): Implement to abstract from
running under Terminal Services or not.
(GetWindowsDirectoryA): Ditto.
2008-10-22 13:30:42 +00:00
Corinna Vinschen
df54adb746
* passwd.cc (pwdgrp::read_passwd): Check if we're called within
...
user_shared initialization and ignore myself, if so. Reformat
conditional expression.
2008-10-21 16:47:28 +00:00
Alan Modra
054dcc734c
* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
2008-10-20 23:03:31 +00:00
Corinna Vinschen
669bdeb822
* ntdll.h (NtSetAttributesFile): New inline function.
...
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Use
NtSetAttributesFile.
* path.cc (symlink_worker): Ditto.
* syscalls.cc (unlink_nt): Ditto.
(rename): Omit FILE_SHARE_DELETE when opening files on Samba. Add
comment to explain why.
2008-10-20 19:30:06 +00:00
Keith Marshall
87ab6bfb62
Fix MinGW-Bug [2136252]: Remove extraneous radix point in printf( "%.0f", v ) for v < 0.5
2008-10-18 14:33:48 +00:00
Corinna Vinschen
edf5a5bd15
* dtable.cc (dtable::get_debugger_info): Call SetStdHandle
...
for the newly opened handle. Explain why.
(dtable::stdio_init): Don't duplicate standard error handle
when stderr has already been created under debugger control.
2008-10-17 16:24:20 +00:00
Jeff Johnston
5d2b3a0a5a
2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/include/sys/unistd.h: RTEMS follows standard for sync().
2008-10-16 23:03:40 +00:00
Jeff Johnston
01bf0593df
2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/include/time.h: Add CLOCK_MONOTONIC.
* libc/include/sys/features.h: Define
_POSIX_MONOTONIC_CLOCK for RTEMS.
2008-10-16 21:53:58 +00:00
Jeff Johnston
f7b03c3c5b
2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
...
* newlib.hin: Restore to previous 1.14 version which has no
PACKAGE_ macros.
2008-10-16 19:38:15 +00:00
Jeff Johnston
baa9e037cc
2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
2008-10-15 21:37:54 +00:00
Jeff Johnston
6b35caa257
Fix typo and make C99 check the same as is used in math.h
2008-10-15 20:49:56 +00:00
Jeff Johnston
bc5585e6e5
2008-10-15 Craig Howland <howland@LGSInnovations.com>
...
* libc/include/ctype.h (isblank): isblank is C99.
* libc/ctype/isblank.c (isblank comments): ditto. isblank does not
have a macro version (as was claimed in the description).
2008-10-15 20:36:26 +00:00
Jeff Johnston
236e5c4017
2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
%S conversions when the EL/IX level is 1.
2008-10-15 19:33:10 +00:00
Keith Marshall
206473437f
Fix MinGW-Bug [2160227]: Eliminate conflicting declarations and implementations of scalb().
2008-10-13 22:47:58 +00:00
Corinna Vinschen
5f9ca0d25a
* sec_acl.cc (setacl): Align standard owner and group permissions
...
with alloc_sd. Strip FILE_READ_ATTRIBUTES fromn setting
FILE_GENERIC_EXECUTE permissions same as in alloc_sd.
* security.cc (alloc_sd): Reformat expression. Strip EA permission
bits from owner_deny and group_deny computation.
2008-10-13 16:01:50 +00:00
Christopher Faylor
423fd4f2f4
fix typo
2008-10-13 00:57:47 +00:00
Christopher Faylor
6e9b938063
* mingw: Set sawcfile when -xc* is detected. Extend list of detected source
...
filew.
2008-10-13 00:56:09 +00:00
Christopher Faylor
a7844a1841
* Makefile.in: Use a different method to invoke gcc in a cygwin-hosted
...
environment.
* mingwex/Makefile.in: Ditto.
* profile/Makefile.in: Ditto.
* configure.in: Record mingw front-end for building under Cygwin.
* mingwex/configure.in: Ditto.
* profile/configure.in: Ditto.
* configure: Regenerate.
* mingwex/configure: Ditto.
* profile/configure: Ditto.
2008-10-12 23:58:17 +00:00
Christopher Faylor
391f2a8eed
* mingw: Add more checks to allow more varied use.
2008-10-12 23:54:03 +00:00
Christopher Faylor
4941ce49c5
* Makefile.in: Rearrange to avoid -mno-cygwin.
...
* configure.in: Use mingw front-end from utils directory as compiler front-end.
* configure: Regenerate.
* cyglsa.c (cyglsa_printf): Rename from 'printf' to avoid a compiler error.
(print_sid, print_groups, print_privs, print_dacl, print_tokinf,
LsaApLogonUserEx): Ditto.
2008-10-12 23:53:26 +00:00
Christopher Faylor
12c819e204
* mingw: Use a better method to find where mingw directory lives.
2008-10-12 03:20:37 +00:00
Christopher Faylor
9401a0f805
Dummy check-in to get right revision log:
...
* mingw: New front-end script to control building of MinGW files without using
the deprecated -mno-cygwin option.
* Makefile.in: Use mingw front-end.
2008-10-12 03:08:33 +00:00
Christopher Faylor
fd49ac277f
* Makefile.in: Tweak to work better with new utils/mingw front-end.
...
In utils:
2008-10-12 03:06:12 +00:00
Keith Marshall
374349395e
Use de-facto standard Makefile goals to invoke test suite.
2008-10-11 21:59:04 +00:00
Keith Marshall
3c68dd9313
Make strtod() inline definition C89 compliant.
2008-10-11 21:47:56 +00:00