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
Nathan Froyd
c7fadd4142
include/elf/
...
* ppc.h: Add Tag_GNU_Power_ABI_Struct_Return.
bfd/
* elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge
Tag_GNU_Power_ABI_Struct_Return.
binutils/
* readelf.c (display_power_gnu_attribute): Decode
Tag_GNU_Power_ABI_Struct_Return.
ld/testsuite/
* ld-powerpc/gnu-attr-12-1.s: New file.
* ld-powerpc/gnu-attr-12-2.s: New file.
* ld-powerpc/gnu-attr-12-11.d: New file.
* ld-powerpc/gnu-attr-12-21.d: New file.
* ld-powerpc/powerpc.exp: Run new dump tests.
2008-10-10 20:55:36 +00:00
Chris Sutcliffe
90ba302a29
2008-10-09 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/mmsystem.h (sndAlias): Correct GCC4 warning.
2008-10-10 02:04:37 +00:00
Corinna Vinschen
079db16bf7
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Check
...
for executable suffixes here in case we're on a file system
not supporting permission.
* path.cc (path_conv::check): Drop check for executable suffixes.
2008-10-09 14:23:09 +00:00
Corinna Vinschen
3059d18288
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Keep track of
...
current position in non-buffered case, too.
2008-10-09 12:41:52 +00:00
Corinna Vinschen
2768ae50dd
* grp.cc (pwdgrp::read_group): Generate more speaking group name
...
if passwd gid exists under different gid in /etc/group.
2008-10-09 11:52:54 +00:00
Corinna Vinschen
c7a8139540
Fix ChangeLog entry
2008-10-09 10:01:49 +00:00
Corinna Vinschen
c32849c5bc
* path.cc (path_conv::is_binary): Always check for GetBinaryType.
...
* syscalls.cc (rename): Fix test for just changing case of name on
case insensitive filesystems.
2008-10-09 09:43:02 +00:00
Corinna Vinschen
4e88323ba0
* path.cc (symlink_info::check_shortcut): Don't check for executability
...
here.
(symlink_info::check_sysfile): Ditto.
2008-10-09 08:56:09 +00:00
Corinna Vinschen
3ae5cb32c5
* path.cc (path_conv::path_conv): Only assume executability by suffix
...
on file systems not supporting permissions.
2008-10-08 14:58:26 +00:00
Christopher Faylor
c4cb50b3a8
* pthread.cc (pthread_create): Very minor formatting change.
...
* timer.cc (timer_thread): Ensure that any created thread defaults to detached
state.
2008-10-07 23:28:30 +00:00
Christopher Faylor
f241db6f60
* cygtls.h (_cygtls::initialized): Remove bogus stack check which would when
...
checking the current thread from the current thread.
2008-10-07 02:38:15 +00:00
DJ Delorie
7dfaa59e82
merge from gcc
2008-10-07 01:27:53 +00:00
Jeff Johnston
455e95b5bd
2008-10-06 Bill Tompkins <bill+newlib@key-square.com>
...
* arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook()
under thumb and thumb2.
2008-10-06 20:55:19 +00:00
Jeff Johnston
0d2597f5a0
2008-10-06 Eric Blake <ebb9@byu.net>
...
* libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
is 0.5 or 0.75.
2008-10-06 19:47:06 +00:00
Jeff Johnston
75fb38a5fb
2008-10-06 Craig Howland <howland@LGSInnovations.com>
...
* libc/time/tzset_r.c (_tzset_r): Change US default start/end dates to
2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
2008-10-06 19:21:29 +00:00
Christopher Faylor
585697536f
* dcrt0.cc (dll_crt0_0): Don't initialize signals early when dynamically
...
loaded.
(dll_crt0_1): Wait until this phase to initialize signals when dynamically
loaded.
2008-10-05 16:48:30 +00:00
Chris Sutcliffe
665ca5231d
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.1 and introduce
__MINGW32_PATCHLEVEL variable.
2008-10-04 22:27:15 +00:00
Chris Sutcliffe
32c4e2bca7
Fix incorrect guard added in last commit
2008-10-04 19:56:26 +00:00
Chris Sutcliffe
b36289958c
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/shellapi.h (NOTIFYICON_VERSION_4): Define.
2008-10-04 18:11:48 +00:00
Hans-Peter Nilsson
59b56f957a
* cris.h (R_CRIS_32_GOT_GD, R_CRIS_16_GOT_GD, R_CRIS_32_GD)
...
(R_CRIS_DTP, R_CRIS_32_DTPREL, R_CRIS_16_DTPREL, R_CRIS_DTPMOD)
(R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL, R_CRIS_32_TPREL)
(R_CRIS_16_TPREL): New relocations.
2008-10-04 17:16:30 +00:00
Keith Marshall
e77c4e6672
Fix MinGW-Bug [2144266]: getopt() sets `optind' incorrectly.
2008-10-03 22:56:18 +00:00
Keith Marshall
13ff1518ee
Improve package identification in configure script.
2008-10-03 22:48:22 +00:00
Jeff Johnston
015b86d725
2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/string/str-two-way.h (critical_factorization): Cast the index
operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
2008-10-02 20:12:34 +00:00