]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
10 years ago * ntdll.h (RtlGetVersion): Declare.
Corinna Vinschen [Tue, 19 Nov 2013 22:21:11 +0000 (22:21 +0000)]
* ntdll.h (RtlGetVersion): Declare.
* wincap.cc (wincapc::init): Rather than GetVersionEx, call
RtlGetVersion which is not crippled by missing Windows 8.1 manifest.
* wincap.h (wincapc): Change type of version to RTL_OSVERSIONINFOEXW.
Align formatting of all class members.

10 years ago * cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack. It's not
Corinna Vinschen [Tue, 19 Nov 2013 20:43:04 +0000 (20:43 +0000)]
* cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack.  It's not
working.  Add a (hopefully temporary) comment.

10 years ago * wincap.cc (wincapc::init): Revert previous change. It's not working.
Corinna Vinschen [Tue, 19 Nov 2013 20:37:27 +0000 (20:37 +0000)]
* wincap.cc (wincapc::init): Revert previous change.  It's not working.

10 years ago3013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com>
Joel Sherrill [Tue, 19 Nov 2013 19:11:24 +0000 (19:11 +0000)]
3013-11-19  Jennifer Averett <jennifer.averett@oarcorp.com>

        * libc/sys/rtems/sys/cpuset.h: New file.

10 years ago*** empty log message ***
Corinna Vinschen [Tue, 19 Nov 2013 18:10:47 +0000 (18:10 +0000)]
*** empty log message ***

10 years ago * net.cc (cygwin_getaddrinfo): Fix a comment. Only memset whints if
Corinna Vinschen [Tue, 19 Nov 2013 18:07:46 +0000 (18:07 +0000)]
* net.cc (cygwin_getaddrinfo): Fix a comment.  Only memset whints if
hints is NULL.  Add a comment and set whints.ai_family explicitely to
AF_UNSPEC to follow glibc man page closely.  Check flags against whints
for locality.

10 years ago * wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 and
Corinna Vinschen [Tue, 19 Nov 2013 18:01:04 +0000 (18:01 +0000)]
* wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 and
Server 2012.  Explain why this is necessary.

10 years agoAdd missing entry
Corinna Vinschen [Tue, 19 Nov 2013 17:49:35 +0000 (17:49 +0000)]
Add missing entry

10 years ago * cygcheck.cc (dump_sysinfo): Drop code trying to fetch OSVERSIONINFO
Corinna Vinschen [Tue, 19 Nov 2013 17:44:33 +0000 (17:44 +0000)]
* cygcheck.cc (dump_sysinfo): Drop code trying to fetch OSVERSIONINFO
if fetching OSVERSIONINFOEX failed.  Drop code handling unsupported
platform IDs.  Add code to tweak dwMinorVersion on Windows 8.1 if no
manifest is present.

10 years agoFix date
Joel Sherrill [Tue, 19 Nov 2013 17:39:43 +0000 (17:39 +0000)]
Fix date

10 years ago2013-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 19 Nov 2013 17:32:24 +0000 (17:32 +0000)]
2013-11-18  Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/stdlib.h: Add prototype of realpath().
* libc/sys/linux/realpath.c: Add restrict keyword.

10 years ago2013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 19 Nov 2013 17:28:04 +0000 (17:28 +0000)]
2013-11-19  Joel Sherrill <joel.sherrill@oarcorp.com>

* libm/common/modfl.c: Add cast to remove compiler warning.

10 years ago * autoload.cc (IdnToAscii): Define.
Corinna Vinschen [Tue, 19 Nov 2013 13:29:37 +0000 (13:29 +0000)]
* autoload.cc (IdnToAscii): Define.
(IdnToUnicode): Define.
(FreeAddrInfoW): Define.
(GetAddrInfoW): Define.
(GetNameInfoW): Define.
* net.cc: Drop W. Richard STEVENS libgai implementation.
(cygwin_freeaddrinfo): Move code from ipv4_freeaddrinfo here.  Move
definition up in file to avoid forward declaration in ga_duplist.
(ga_dup): Take addrinfoW as input.  Add parameters to get IDN flags
and to set error value.  Handle IDN flags and especially AI_CANONIDN.
Convert input wchar_t ai_canonname string to multibyte for output.
(ga_duplist): Add parameters to get IDN flags and to set error value
and propagate to ga_dup.  Call cygwin_freeaddrinfo.
(gai_errmap): Add comments.  Align error strings to GLibc.  Add
EAI_IDN_ENCODE entry.
(get_ipv6_funcs): Remove.
(load_ipv6_guard): Remove.
(ipv6_inited): Remove.
(load_ipv6): Remove.
(load_ipv6_funcs): Remove.
(cygwin_getaddrinfo): Drop calling load_ipv6.  Handle AI_IDN* flags.
Convert input strings to wchar_t and call GetAddrInfoW/FreeAddrInfoW.
In case hints is NULL, set default ai_flags explicitely to
AI_V4MAPPED | AI_ADDRCONFIG, as documented for Glibc.  Only add AI_ALL
if AI_ADDRCONFIG is not given.  Unconditionally add Windows-specific
AI_DISABLE_IDN_ENCODING to ai_flags to make IDN behaviour compatible
to Glibc even on Windows 8 and later.
(cygwin_getnameinfo): Drop calling load_ipv6.  Handle NI_IDN* flags.
Call GetNameInfoW and convert returned strings from wchar_t to
multibyte.
* include/netdb.h: Add comments to describe flags and error values.
(AI_*): Define all flags using hex values for clearness.
(AI_IDN): Define.
(AI_CANONIDN): Define.
(AI_IDN_ALLOW_UNASSIGNED): Define.
(AI_IDN_USE_STD3_ASCII_RULES): Define.
(NI_*): Define all flags using hex values for clearness.
(NI_IDN): Define.
(NI_IDN_ALLOW_UNASSIGNED): Define.
(NI_IDN_USE_STD3_ASCII_RULES): Define.
(EAI_IDN_ENCODE): Define.

10 years ago * libc/posix/closedir.c: Fix use after free.
Corinna Vinschen [Tue, 19 Nov 2013 11:48:02 +0000 (11:48 +0000)]
* libc/posix/closedir.c: Fix use after free.
Remove useless test dd_fd != -1
* libc/posix/readdir.c: Remove useless test dd_fd == -1
* libc/posix/readdir_r.c: Ditto.

10 years ago * Makefile.in (cygcheck.exe): Link against wininet.dll.
Corinna Vinschen [Tue, 19 Nov 2013 11:14:36 +0000 (11:14 +0000)]
* Makefile.in (cygcheck.exe): Link against wininet.dll.
(dumper.exe): Link against psapi.dll.
* cygcheck.cc (_WIN32_WINNT): Define as 0x0602.
(pInternetCloseHandle): Drop pointer.
(PRODUCT_UNLICENSED): Drop definition.
(PRODUCT_PROFESSIONAL_WMC): Ditto.
(package_grep): Delete code loading wininet functions dynamically, just
call functions directly.

10 years ago*** empty log message ***
Corinna Vinschen [Tue, 19 Nov 2013 10:47:09 +0000 (10:47 +0000)]
*** empty log message ***

10 years ago * cygcheck.cc (dump_sysinfo): Distinguish Windows 8 and 8.1, as well
Corinna Vinschen [Tue, 19 Nov 2013 10:43:10 +0000 (10:43 +0000)]
* cygcheck.cc (dump_sysinfo): Distinguish Windows 8 and 8.1, as well
as Windows Server 2012 and 2012 R2.  Add missing commas in products
array to avoid crashes.  Drop Windows NT4 and 2000 printouts.  Just
call IsWow64Process, GetNativeSystemInfo, and GetDiskFreeSpaceEx
directly, rather than loading them dynamically, since they are exported
by all supported OS versions.  Fix questionable type usage in call to
GetDiskFreeSpaceEx.

10 years ago2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>
Joel Sherrill [Mon, 18 Nov 2013 17:28:06 +0000 (17:28 +0000)]
2013-11-18  Sahil Patnayakuni  <sahilp@oarcorp.com>

* libc/include/stdio.h, libc/machine/powerpc/vfscanf.c,
libc/machine/spu/fgetpos.c, libc/machine/spu/fgets.c,
libc/machine/spu/fopen.c, libc/machine/spu/fputs.c,
libc/machine/spu/fread.c, libc/machine/spu/freopen.c,
libc/machine/spu/fwrite.c, libc/machine/spu/setbuf.c,
libc/machine/spu/vfprintf.c, libc/machine/spu/vfscanf.c,
libc/machine/spu/vsnprintf.c, libc/machine/spu/vsprintf.c,
libc/machine/spu/vsscanf.c, libc/stdio/asnprintf.c,
libc/stdio/asprintf.c, libc/stdio/dprintf.c,
libc/stdio/fgetpos.c, libc/stdio/fgets.c,
libc/stdio/fmemopen.c, libc/stdio/fopen.c,
libc/stdio/fprintf.c, libc/stdio/fputs.c,
libc/stdio/fread.c, libc/stdio/freopen.c,
libc/stdio/fscanf.c, libc/stdio/fwrite.c,
libc/stdio/printf.c, libc/stdio/scanf.c,
libc/stdio/setbuf.c, libc/stdio/snprintf.c,
libc/stdio/sprintf.c, libc/stdio/sscanf.c,
libc/stdio/vdprintf.c, libc/stdio/vprintf.c,
libc/stdio/vscanf.c, libc/stdio/vsnprintf.c,
libc/stdio/vsprintf.c, libc/stdio/vsscanf.c: Add restrict keyword.

10 years ago2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>
Joel Sherrill [Mon, 18 Nov 2013 17:26:52 +0000 (17:26 +0000)]
2013-11-18  Sahil Patnayakuni  <sahilp@oarcorp.com>

* libc/include/stdlib.h, libc/stdlib/mbstowcs.c,
libc/stdlib/mbstowcs_r.c, libc/stdlib/mbtowc.c,
libc/stdlib/mbtowc_r.c, libc/stdlib/strtod.c,
libc/stdlib/strtol.c, libc/stdlib/strtold.c,
libc/stdlib/strtoll.c, libc/stdlib/strtoll_r.c,
libc/stdlib/strtoul.c, libc/stdlib/strtoull.c,
libc/stdlib/strtoull_r.c, libc/stdlib/wcstombs.c,
libc/stdlib/wcstombs_r.c: Add restrict keyword.

10 years ago[AArch64] Provide ftruncate() and truncate() stubs.
Marcus Shawcroft [Mon, 18 Nov 2013 10:04:56 +0000 (10:04 +0000)]
[AArch64] Provide ftruncate() and truncate() stubs.

10 years ago[ARM] Provide ftruncate() and truncate() stubs.
Marcus Shawcroft [Mon, 18 Nov 2013 09:53:46 +0000 (09:53 +0000)]
[ARM] Provide ftruncate() and truncate() stubs.

10 years ago * newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces.
Corinna Vinschen [Wed, 13 Nov 2013 20:04:18 +0000 (20:04 +0000)]
* newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces.

10 years ago * newlib/libc/include/getopt.h (struct option): name field should be
Corinna Vinschen [Wed, 13 Nov 2013 09:09:45 +0000 (09:09 +0000)]
* newlib/libc/include/getopt.h (struct option): name field should be
"const char *".
* newlib/libc/stdlib/getopt.c (getopt_internal): Use fputs()/fputc()
instead of fprintf() to save code space.  Fix signed/unsigned
comparison.

10 years ago * faq-setup.xml (faq.setup.uninstall-service): Describe how to unhook
Corinna Vinschen [Tue, 12 Nov 2013 22:21:32 +0000 (22:21 +0000)]
* faq-setup.xml (faq.setup.uninstall-service): Describe how to unhook
cyglsa DLL from OS before uninstalling.

10 years ago * libc/libc/stdlib/getopt.c (getopt_internal): Fix NULL pointer access.
Corinna Vinschen [Tue, 12 Nov 2013 11:30:32 +0000 (11:30 +0000)]
* libc/libc/stdlib/getopt.c (getopt_internal): Fix NULL pointer access.

10 years ago * faq-setup.xml: Throughout remove setup.exe, use setup or setup-x86...
Corinna Vinschen [Mon, 11 Nov 2013 12:48:31 +0000 (12:48 +0000)]
* faq-setup.xml: Throughout remove setup.exe, use setup or setup-x86...
instead.
(faq.setup.cli): Reproduce latest --help output.
(faq.setup.noroot): New section.
(faq.setup.setup-fails-on-ts): Remove section.
* setup-net.xml (internet-setup): Mention setup-x86{_64} in first
paragraph.  Add note to allow using setup.exe in subsequent paragraphs.
Add paragraph to introduce --no-admin option.

11 years ago * libm/libm.texinfo: Rename node Index to Document Index.
Corinna Vinschen [Fri, 8 Nov 2013 12:48:29 +0000 (12:48 +0000)]
* libm/libm.texinfo: Rename node Index to Document Index.
* libc/libc.texinfo: Rename node Library Index to Document Index.

11 years ago* Makefile.in: Properly cd to directory sans install_ prefix. Report on errors
Christopher Faylor [Thu, 7 Nov 2013 00:29:46 +0000 (00:29 +0000)]
* Makefile.in: Properly cd to directory sans install_ prefix.  Report on errors
on doc install.  Only 'all' is special.

11 years agowinsup/ChangeLog:
Christopher Faylor [Thu, 7 Nov 2013 00:19:52 +0000 (00:19 +0000)]
winsup/ChangeLog:
2013-11-06  Christopher Faylor  <me.cygwin2013@cgf.cx>

* configure.ac: Detect windows headers/libs after we've figured out the
C compiler.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* configure.cygwin: Default to '.' if can't find a winsup directory.

winsup/cygserver/ChangeLog:
2013-11-06  Christopher Faylor  <me.cygwin2013@cgf.cx>

* configure.ac: Detect windows headers/libs after we've figured out the
C compiler.
* configure: Regenerate.
* aclocal.m4: Regenerate.

winsup/cygwin/ChangeLog:
2013-11-06  Christopher Faylor  <me.cygwin2013@cgf.cx>

* configure.ac: Detect windows headers/libs after we've figured out the
C compiler.
* configure: Regenerate.
* aclocal.m4: Regenerate.

winsup/utils/ChangeLog:
2013-11-06  Christopher Faylor  <me.cygwin2013@cgf.cx>

* configure.ac: Detect windows headers/libs after we've figured out the
C compiler.
* configure: Regenerate.
* aclocal.m4: Regenerate.

11 years ago* Makefile.in: Reinstate ignoring of errors for doc target.
Christopher Faylor [Wed, 6 Nov 2013 23:26:23 +0000 (23:26 +0000)]
* Makefile.in: Reinstate ignoring of errors for doc target.

11 years ago * libc/stdio/fvwrite.c: Allow writing in larger chunks for fully
Corinna Vinschen [Mon, 4 Nov 2013 14:18:44 +0000 (14:18 +0000)]
* libc/stdio/fvwrite.c: Allow writing in larger chunks for fully
buffered and unbuffered files, to improve write performance.

11 years ago * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null.
Corinna Vinschen [Thu, 31 Oct 2013 14:26:42 +0000 (14:26 +0000)]
* devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null.
(dev_storage): Ditto for /dev.
* devices.cc: Regenerate.
* fhandler.cc (fhandler_base::open_null): New method to open a fake
\Device\Null handler.
(fhandler_base::open): Fix formatting.  Change O_ACCMODE test to a
switch statement.  Simplify a test which still tested for a now unused
create_disposition.
* fhandler.h (fhandler_base::open_null): Declare.
(fhandler_netdrive::close): Declare.
* fhandler_dev.cc (fhandler_dev::open): Open fake \Device\Null handle
by just calling new open_null method.
* fhandler_disk_file.cc (fhandler_cygdrive::open): Ditto.
* fhandler_netdrive.cc (fhandler_netdrive::open): Call open_null
rather than setting nohandle.
(fhandler_netdrive::close): New method.
* fhandler_registry.cc (fetch_hkey): Fix token in RegOpenUserClassesRoot
call.  Create valid key for HKEY_CURRENT_CONFIG by mapping to real key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current.
(fhandler_registry::open): Set nohandle only when using pseudo registry
handle.
* fhandler_virtual.cc (fhandler_virtual::opendir): Call open rather
than just setting nohandle here.
* fhandler_virtual::fstatvfs): Set ST_RDONLY fs flag.
* globals.cc (ro_u_null): New readonly UNICODE_STRING for \Device\Null.
* path.h (path_conv::set_path): Revert previous change caring for
wide_path.

11 years ago * libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
Corinna Vinschen [Thu, 31 Oct 2013 10:35:54 +0000 (10:35 +0000)]
* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
fix fwrite() of > 2GByte buffers.

11 years ago Implement malloc_stats for nano.
Corinna Vinschen [Wed, 30 Oct 2013 15:53:05 +0000 (15:53 +0000)]
Implement malloc_stats for nano.
* libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro.
(sbrk_start): New variable.
(current_mallinfo, free_list): Forward declaration of data.
(chunk): Define size as long type.
(mallinfo): Synchronize with latest malloc.h.
(nano_*): Forward declaration of functions.
(get_chunk_from_ptr): Defined to static inline.
(nano_mallinfo): Implement this function.
(nano_malloc_stats): Implement this function.

11 years ago * libc/include/machine/_default_types.h: Revert change from 2013-10-10.
Corinna Vinschen [Wed, 30 Oct 2013 15:51:13 +0000 (15:51 +0000)]
* libc/include/machine/_default_types.h: Revert change from 2013-10-10.

11 years ago*** empty log message ***
Corinna Vinschen [Wed, 30 Oct 2013 10:00:32 +0000 (10:00 +0000)]
*** empty log message ***

11 years ago * devices.in (dev_cygdrive_storage): Map to \Device\Null.
Corinna Vinschen [Wed, 30 Oct 2013 09:44:47 +0000 (09:44 +0000)]
* devices.in (dev_cygdrive_storage): Map to \Device\Null.
(dev_storage): Map /dev and /dev/windows to \Device\Null.
* devices.cc: Regenerate.
* dir.cc (opendir): Create unique id.  Explain why.
* fhandler.h (fhandler_dev::get_dev): Implement inline.
(fhandler_cygdrive::close): Drop declaration.
(fhandler_cygdrive::get_dev): Implement inline.
(fhandler_windows::get_hwnd): Ditto.
(fhandler_windows::set_close_on_exec): Drop declaration.
(fhandler_windows::fixup_after_fork): Ditto.
* fhandler_dev.cc (fhandler_dev::open): Call fhandler_disk_file::open
without O_CREAT flag.  Explain why.  Create \Device\Null handle if
/dev/ doesn't actually exist.
(fhandler_dev::close): Drop nohandle case.
(fhandler_dev::fstatvfs): Drop nohandle check.  Test for fs_got_fs
instead.  Set ST_RDONLY fs flag for simulated /dev.
(fhandler_dev::opendir): If /dev doesn't exist, call open() to create
fake \Device\Null handle.  Don't set nohandle.  Set dir_exists
correctly.
(fhandler_dev::rewinddir): Call fhandler_disk_file::rewinddir only if
/dev is a real directory.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): If called for
the cygdrive dir, call open() to create fake \Device\Null handle.
Only attach __DIR_mounts buffer to dir if not called for cygdrive dir.
Don't set nohandle.
(fhandler_cygdrive::open): Create \Device\Null handle.
(fhandler_cygdrive::close): Remove.
(fhandler_cygdrive::fstatvfs): Set ST_RDONLY fs flag.
* fhandler_windows.cc (fhandler_windows::open): Create \Device\Null
handle.
(fhandler_windows::read): Don't add io_handle to WFMO handle array.
Change subsequent test for return value accordingly.  Fix test for
"message arrived".
(fhandler_windows::set_close_on_exec): Remove.
(fhandler_windows::fixup_after_fork): Remove.
* path.h (path_conv::set_path): Make sure wide_path is NULL when
setting a new path.
* select.cc (peek_windows): Use correct hWnd value, not io_handle.
(fhandler_windows::select_read): Don't use io_handle as wait object.
(fhandler_windows::select_write): Ditto.
(fhandler_windows::select_except): Ditto.

11 years agomerge from gcc
DJ Delorie [Tue, 29 Oct 2013 15:14:27 +0000 (15:14 +0000)]
merge from gcc

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 28 Oct 2013 10:57:33 +0000 (10:57 +0000)]
*** empty log message ***

11 years ago * exception.h: Fold in content of include/exceptions.h.
Corinna Vinschen [Sun, 27 Oct 2013 09:42:17 +0000 (09:42 +0000)]
* exception.h: Fold in content of include/exceptions.h.
* include/exceptions.h: Remove.

11 years ago * devices.in (dev_storage): Map /dev/dsp to \Device\Null.
Corinna Vinschen [Sat, 26 Oct 2013 13:23:54 +0000 (13:23 +0000)]
* devices.in (dev_storage): Map /dev/dsp to \Device\Null.
* devices.cc: Regenerate.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Call fhandler_base::open.
(fhandler_dev_dsp::close): Call fhandler_base::close.
(fhandler_dev_dsp::fixup_after_fork): Call
fhandler_base::fixup_after_fork.

* fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Call
fhandler_base::fixup_after_fork.

11 years ago * exception.h (_exception_list): Drop redefinition for x86_64.
Corinna Vinschen [Sat, 26 Oct 2013 09:37:34 +0000 (09:37 +0000)]
* exception.h (_exception_list): Drop redefinition for x86_64.
* include/exceptions.h: Disable content for x86_64 since it's not
using frame based exception handling anymore.

11 years ago * flock.cc (fhandler_base::lock): Only refuse to lock nohandle and
Corinna Vinschen [Fri, 25 Oct 2013 18:40:57 +0000 (18:40 +0000)]
* flock.cc (fhandler_base::lock): Only refuse to lock nohandle and
old-style console devices when called to perform BSD flock locking.
Add a FIXME to comment and align description.

* ntdll.h (THREADINFOCLASS): Following MSDN, rename throughout from
THREAD_INFORMATION_CLASS.

11 years ago * devices.in (dev_storage): Map /dev/clipboard to \Device\Null.
Corinna Vinschen [Fri, 25 Oct 2013 16:16:50 +0000 (16:16 +0000)]
* devices.in (dev_storage): Map /dev/clipboard to \Device\Null.
* devices.cc: Regenerate.
* fhandler.h (fhandler_dev_clipboard::open): Drop declaration.
* fhandler_clipboard.cc (fhandler_dev_clipboard::dup): Drop call to
open.  Set private members to 0 and call fhandler_base::dup.
(fhandler_dev_clipboard::open): Remove so that default
fhandler_base::open is used to open \Device\Null.
(set_clipboard): Drop gratuitios call to RegisterClipboardFormatW.
(fhandler_dev_clipboard::close): Call fhandler_base::close from here.

11 years ago * fhandler_disk_file.cc (fhandler_base::fstat_fs): Fix comment.
Corinna Vinschen [Fri, 25 Oct 2013 15:33:51 +0000 (15:33 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Fix comment.

11 years ago * fhandler_clipboard.cc (fhandler_dev_clipboard::open): Drop gratuitios
Corinna Vinschen [Fri, 25 Oct 2013 15:04:24 +0000 (15:04 +0000)]
* fhandler_clipboard.cc (fhandler_dev_clipboard::open): Drop gratuitios
handling of membuffer.  It's NULL anyway.
(fhandler_dev_clipboard::lseek): Set membuffer to NULL after freeing
it to avoid subsequent crashes when accessing invalid pointer.

11 years ago * devices.in (dev_storage): Map /dev/random and /dev/urandom to
Corinna Vinschen [Fri, 25 Oct 2013 12:21:59 +0000 (12:21 +0000)]
* devices.in (dev_storage): Map /dev/random and /dev/urandom to
\Device\Null.
* devices.cc: Regenerate.
* fhandler.h (fhandler_dev_random::open): Drop declaration.
(fhandler_dev_random::close): Ditto.
(fhandler_dev_random::crypt_gen_random): Convert to static method.
* fhandler_random.cc (fhandler_dev_random::open): Remove so that default
fhandler_base::open is used to open \Device\Null.
(fhandler_dev_random::close): Ditto.
* fhandler_socket.cc (entropy_source): Delete.
(fhandler_socket::af_local_set_secret): Remove entropy_source code and
call fhandler_dev_random::crypt_gen_random directly instead.

11 years ago * fhandler.h (fhandler_dev_zero::lseek): Convert to inline method.
Corinna Vinschen [Thu, 24 Oct 2013 17:51:41 +0000 (17:51 +0000)]
* fhandler.h (fhandler_dev_zero::lseek): Convert to inline method.
(class fhandler_dev_random): Drop dummy_offset.
(fhandler_dev_random::lseek): Convert to inline method.
(fhandler_dev_dsp::lseek): Ditto.
* fhandler_dsp.cc (fhandler_dev_dsp::lseek): Drop here.
* fhandler_random.cc (fhandler_dev_random::open): Drop setting
dummy_offset.
(fhandler_dev_random::lseek): Drop here.
* fhandler_tape.cc (fhandler_dev_tape::lseek): Make no-op, but keep
old code for reference.
* fhandler_zero.cc (fhandler_dev_zero::lseek): Drop here.

11 years ago* external.cc (fillout_pinfo): If start_time is 0, wait a while before
Christopher Faylor [Thu, 24 Oct 2013 15:26:21 +0000 (15:26 +0000)]
* external.cc (fillout_pinfo): If start_time is 0, wait a while before
returning the pinfo structure.
* fhandler.cc (fhandler_base::open_setup): Convert from inline.
* fhandler.h (fhandler_base::open_setup): Declare.
* fhandler_console.cc (fhandler_console::open_setup): Always call
fhandler_base::open_setup.
* fhandler_tty.cc (fhandler_pty_slave::open_setup): Ditto.
(fhandler_pty_master::open_setup): Ditto.

11 years agoFix typo.
Corinna Vinschen [Thu, 24 Oct 2013 11:27:21 +0000 (11:27 +0000)]
Fix typo.

11 years ago * devices.in (dev_storage): Map /dev/zero and /dev/full to \Device\Null.
Corinna Vinschen [Thu, 24 Oct 2013 09:41:17 +0000 (09:41 +0000)]
* devices.in (dev_storage): Map /dev/zero and /dev/full to \Device\Null.
* devices.cc: Regenerate.
* dtable.h (struct dtable): Make fhandler_base friend, rather
than fhandler_disk_file.
* fhandler.cc (fhandler_base::open_with_arch): Create unique id.
(fhandler_base::cleanup): Call del_my_locks.
(fhandler_base::fcntl): Handle F_GETLK, F_SETLK and F_SETLKW.
* fhandler.h (fhandler_base::get_dev): Return real device number.
(fhandler_base::set_unique_id): New inline method.
(fhandler_disk_file::lock): Drop declaration.
(fhandler_disk_file::get_dev): New method, return pc.fs_serial_number.
(fhandler_dev_zero::open): Drop declaration.
* fhandler_disk_file.cc (fhandler_disk_file::close): Move
del_my_locks call to fhandler_base::open_with_arch.
(fhandler_disk_file::fcntl): Move handling of locking commands to
fhandler_base::fcntl.
(fhandler_base::open_fs): Drop call to NtAllocateLocallyUniqueId.
* fhandler_zero.cc (fhandler_dev_zero::open): Remove so that default
fhandler_base::open is used to open \Device\Null.
* flock.cc (fixup_lockf_after_exec): Finding a single fhandler is
enough here.
(fhandler_base::lock): Replace fhandler_disk_file::lock.  Refuse to lock
nohandle devices.  Handle read/write test using POSIX flags.  Explain
why.  Never fail on SEEK_CUR or SEEK_END, rather assume position 0,
just as Linux.
* net.cc (fdsock): Create unique id.

11 years ago * libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
Hans-Peter Nilsson [Thu, 24 Oct 2013 01:21:33 +0000 (01:21 +0000)]
* libc/include/stdio.h [!__LARGE64_FILES] (funopen): Fix typo
in last change.

11 years agomerge from gcc
DJ Delorie [Wed, 23 Oct 2013 22:37:24 +0000 (22:37 +0000)]
merge from gcc

11 years ago * include /cygwin/config.h (_READ_WRITE_BUFSIZE_TYPE): Define.
Corinna Vinschen [Wed, 23 Oct 2013 10:06:17 +0000 (10:06 +0000)]
* include /cygwin/config.h (_READ_WRITE_BUFSIZE_TYPE): Define.

11 years ago * libc/include/stdio.h (funopen): Change prototype of
Corinna Vinschen [Wed, 23 Oct 2013 10:04:43 +0000 (10:04 +0000)]
* libc/include/stdio.h (funopen): Change prototype of
__readfn and __writefn parameter to match new definition of
FILE's _read and _write methods.
(_funopen_r): Ditto.
(funopen): Ditto.
(_funopen_r): Ditto.
* libc/include/sys/config.h (_READ_WRITE_BUFSIZE_TYPE) Define
as type int if not already defined.  Add comment to explain.
* libc/include/sys/reent.h: Include stddef.h.
(struct __sFILE): Change type of last parameter in declaration
of _read and _write methods to _READ_WRITE_BUFSIZE_TYPE.
(struct __sFILE64): Ditto.
* libc/stdio/local.h (__sread): Declare with last parameter set
to _READ_WRITE_BUFSIZE_TYPE.
(__seofread): Ditto.
(__swrite): Ditto.
(__swrite64): Ditto.
* libc/stdio/fvwrite.c (__sfvwrite_r): Change type of local
variables w and s to _READ_WRITE_RETURN_TYPE.
* libc/stdio/fflush.c (__sflush_r): Change type of local variables
n and t to _READ_WRITE_BUFSIZE_TYPE and _READ_WRITE_RETURN_TYPE.
Add local variables flags to keep _flags value.
* libc/stdio/fmemopen.c (fmemreader): Align to above change.
(fmemwriter): Ditto.
* libc/stdio/fopencookie.c (fcreader): Ditto.
(fcwriter): Ditto.
* libc/stdio/funopen.c (funread): Ditto.
(funwrite): Ditto.
(funreader): Ditto.
(funwriter): Ditto.
* libc/stdio/open_memstream.c (memwriter): Ditto.
* libc/stdio/stdio.c (__sread): Ditto.
(__seofread): Ditto.
(__swrite): Ditto.
* libc/stdio64/stdio64.c (__swrite64): Ditto.

11 years ago * fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
Corinna Vinschen [Wed, 23 Oct 2013 09:58:12 +0000 (09:58 +0000)]
* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
/dev/full permissions to Linux.

11 years ago* fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.
Christopher Faylor [Tue, 22 Oct 2013 20:41:09 +0000 (20:41 +0000)]
* fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.
* fhandler_base.cc (fhandler_base::cleanup): Define.
* fhandler_tty.cc (fhandler_pty_slave::cleanup): Call fhandler_base::cleanup.
(fhandler_pty_master::cleanup): Ditto.

11 years ago.
Christopher Faylor [Sat, 19 Oct 2013 14:37:29 +0000 (14:37 +0000)]
.

11 years ago* fhandler_termios.cc (tty_min::kill_pgrp): Don't send a signal to myself if
Christopher Faylor [Fri, 18 Oct 2013 20:56:19 +0000 (20:56 +0000)]
* fhandler_termios.cc (tty_min::kill_pgrp): Don't send a signal to myself if
this process is exiting.

11 years ago* tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an error
Christopher Faylor [Fri, 18 Oct 2013 20:07:35 +0000 (20:07 +0000)]
* tty.cc (tty_list::allocate): Set sid to 0 rather than -1 since -1 is an error
condition.

11 years agoFix formatting
Corinna Vinschen [Fri, 18 Oct 2013 08:44:12 +0000 (08:44 +0000)]
Fix formatting

11 years ago * configure.in (enable-newlib-global-atexit): New option.
Corinna Vinschen [Fri, 18 Oct 2013 08:43:05 +0000 (08:43 +0000)]
* configure.in (enable-newlib-global-atexit): New option.
* configure: Regenerated.
* newlib.hin (_REENT_GLOBAL_ATEXIT): Place-holder.
* README (enable-newlib-global-atexit): Description for
new option.

11 years ago * libc/include/sys/unistd.h (MAXPATHLEN): Delete.
Corinna Vinschen [Fri, 18 Oct 2013 08:30:29 +0000 (08:30 +0000)]
* libc/include/sys/unistd.h (MAXPATHLEN): Delete.
* libc/include/sys/param.h (MAXPATHLEN): Define.
* libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise.
* libc/unix/getcwd.c: Include <sys/param.h> for MAXPATHLEN.

11 years ago2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Wed, 16 Oct 2013 20:45:20 +0000 (20:45 +0000)]
2013-10-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* ChangeLog: Sync from GCC.
* mh-darwin: Ditto.
* bootstrap-ubsan.mk: Ditto.

11 years ago2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Wed, 16 Oct 2013 20:36:39 +0000 (20:36 +0000)]
2013-10-16  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Update from GCC.
* configure: Regenerate.

11 years ago * fhandler_process.cc (format_process_ctty): Fix random content of
Corinna Vinschen [Wed, 16 Oct 2013 15:14:22 +0000 (15:14 +0000)]
* fhandler_process.cc (format_process_ctty): Fix random content of
/proc/$PID/ctty if the process has no controlling tty.  Set to just
"\n" instead.

11 years agoFix ChangeLog entries
Corinna Vinschen [Wed, 16 Oct 2013 10:41:06 +0000 (10:41 +0000)]
Fix ChangeLog entries

11 years ago * src-release (do-proto-toplevel): Support subdir-path-prefixed
Hans-Peter Nilsson [Tue, 15 Oct 2013 20:45:52 +0000 (20:45 +0000)]
* src-release (do-proto-toplevel): Support subdir-path-prefixed
files in SUPPORT_FILES.
(SIM_SUPPORT_DIRS): New variable.
(sim.tar.bz2): New rule.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:40:02 +0000 (17:40 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/libc/sys/rtems/sys/param.h: Update some parameters to
the latest FreeBSD values.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:39:19 +0000 (17:39 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:38:32 +0000 (17:38 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (__dev_t): Define.
(__dev_t_defined) Likewise.
* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
definition.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:37:37 +0000 (17:37 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (__dev_t): Define.
(__dev_t_defined) Likewise.
* libc/include/sys/_types.h (__dev_t): Delete RTEMS specific
definition.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:36:16 +0000 (17:36 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
(__ssize_t_defined) Likewise.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:35:38 +0000 (17:35 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/include/machine/_default_types.h (__int8_t): Define via
<stdint.h> provided type.
(__uint8_t): Likewise.
(__int8_least_t): Likewise.
(__uint8_least_t): Likewise.
(__int16_t): Likewise.
(__uint16_t): Likewise.
(__int16_least_t): Likewise.
(__uint16_least_t): Likewise.
(__int32_t): Likewise.
(__uint32_t): Likewise.
(__int32_least_t): Likewise.
(__uint32_least_t): Likewise.
(__int64_t): Likewise.
(__uint64_t): Likewise.

11 years ago2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrill [Tue, 15 Oct 2013 17:34:23 +0000 (17:34 +0000)]
2013-10-10  Sebastian Huber <sebastian.huber@embedded-brains.de>

* libc/include/paths.h (_PATH_DEVNULL): Define.
(_PATH_DEVZERO): Likewise.

11 years agoFormatting.
Joel Sherrill [Tue, 15 Oct 2013 17:33:47 +0000 (17:33 +0000)]
Formatting.

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 15 Oct 2013 16:53:46 +0000 (16:53 +0000)]
*** empty log message ***

11 years ago * autoload.cc (CryptAcquireContextW): Remove.
Corinna Vinschen [Tue, 15 Oct 2013 14:00:37 +0000 (14:00 +0000)]
* autoload.cc (CryptAcquireContextW): Remove.
(CryptGenRandom): Remove.
(CryptReleaseContext): Remove.
(SystemFunction036): Define.  Add comment to explain that this is
actually the RtlGenRandom function.
* fhandler.h (class fhandler_dev_random): Drop crypt_prov member.
(fhandler_dev_random::fhandler_dev_random): Define inline.
(fhandler_dev_random::dup): Drop declaration.
* fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Remove
here.
(fhandler_dev_random::crypt_gen_random): Use RtlGenRandom to drop
dependency to old Crypto API.
(fhandler_dev_random::read): Implement an enhanced version of reading
random bytes from RtlGenRandom for the sake of a better /dev/random
emulation.
(fhandler_dev_random::close): Just return 0 since crypt_prov doesn't
exisyt anymore.
(fhandler_dev_random::dup): Drop entirely for the same reason.

11 years ago * mmap.cc (mmap64): Convert pagesize from DWORD to size_t to avoid
Corinna Vinschen [Tue, 15 Oct 2013 08:13:42 +0000 (08:13 +0000)]
* mmap.cc (mmap64): Convert pagesize from DWORD to size_t to avoid
a rounding error for allocations beyond 4 Gigs.

11 years ago2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
Chao-ying Fu [Mon, 14 Oct 2013 18:41:17 +0000 (18:41 +0000)]
2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>

* mips.h (mips_operand_type): Add OP_IMM_INDEX and OP_REG_INDEX.
(mips_reg_operand_type): Add OP_REG_MSA and OP_REG_MSA_CTRL.
For MIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w,
+T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|.
For MIPS, update extension character sequences after +.
(ASE_MSA): New define.
(ASE_MSA64): New define.
For microMIPS, add comments for +d, +e, +h, +k, +l, +n, +o, +u, +v, +w,
+x, +T, +U, +V, +W, +~, +!, +@, +#, +$, +%, +^, +&, +*, +|.
For microMIPS, update extension character sequences after +.

11 years ago2013-10-14 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
Chao-ying Fu [Mon, 14 Oct 2013 18:37:05 +0000 (18:37 +0000)]
2013-10-14  Chao-ying Fu  <Chao-ying.Fu@imgtec.com>

* mips.h (enum): Add Tag_GNU_MIPS_ABI_MSA.
(enum): Add Val_GNU_MIPS_ABI_MSA_ANY and Val_GNU_MIPS_ABI_MSA_128.

11 years ago2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Richard Earnshaw [Mon, 14 Oct 2013 15:15:12 +0000 (15:15 +0000)]
2013-10-14  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* arm/cpu-init/rdimon-aem.S: Disable for M class cores.
* arm/crt0.S: Don't call _rdimon_hw_init_hook for non-A class cores.
* arm/cpu-init/Makefile.in (CPU_INIT_OBJS): Use CFLAGS.

11 years ago * Removed short_hand field from opcode table and
Sean Keys [Fri, 11 Oct 2013 04:55:42 +0000 (04:55 +0000)]
 * Removed short_hand field from opcode table and
     refactored assembler/disassember accordingly.
     Testsuite checkout OK.

11 years ago2013-10-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
Jeff Johnston [Wed, 9 Oct 2013 18:56:52 +0000 (18:56 +0000)]
2013-10-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * testsuite/newlib.wctype/twctype.c (main): Update
        iswprint(0xce2) test case.

11 years ago2013-10-08 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Tue, 8 Oct 2013 14:14:12 +0000 (14:14 +0000)]
2013-10-08  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Update from GCC.
* configure: Regenerate.

11 years ago* ntdll.h: Guard against new header files.
Christopher Faylor [Sat, 5 Oct 2013 14:34:41 +0000 (14:34 +0000)]
* ntdll.h: Guard against new header files.

11 years ago2013-10-03 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Thu, 3 Oct 2013 21:51:52 +0000 (21:51 +0000)]
2013-10-03  Steve Ellcey  <sellcey@mips.com>

* libc/machine/mips/memset.c: Remove.
* libc/machine/mips/memset.S: New.
* libc/machine/mips/Makefile.am: Change memset.c to memset.S
* libc/machine/mips/Makefile.in: Regenerate.

11 years ago2013-10-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 1 Oct 2013 18:14:04 +0000 (18:14 +0000)]
2013-10-01  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update with new copyright.

11 years ago2013-10-01 Petr Hosek <phosek@chromium.org>
Jeff Johnston [Tue, 1 Oct 2013 18:08:46 +0000 (18:08 +0000)]
2013-10-01  Petr Hosek  <phosek@chromium.org>

        * configure.host: Disable new posix_spawn function for all
        users of posix dir except Cygwin.
        * libc/posix/Makefile.am: Add support for new posix_spawn function.
        * libc/posix/Makefile.in: Regenerate.
        * libc/posix/posix_spawn.c: New file.
        * libc/include/spawn.h: Ditto.

11 years ago2013-09-30 Steve Ellcey <sellcey@mips.com>
Jeff Johnston [Mon, 30 Sep 2013 18:44:25 +0000 (18:44 +0000)]
2013-09-30  Steve Ellcey  <sellcey@mips.com>

* mips/Makefile.in (install): Add mkdir, fix install command.

11 years ago[ARM] Add SPECS file for ARM validation model.
Marcus Shawcroft [Fri, 27 Sep 2013 15:40:39 +0000 (15:40 +0000)]
[ARM] Add SPECS file for ARM validation model.

11 years ago* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 26.
Christopher Faylor [Wed, 25 Sep 2013 16:17:59 +0000 (16:17 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 26.

11 years ago* sigproc.h (hold_everything::ischild): Declare as reference.
Christopher Faylor [Wed, 25 Sep 2013 15:58:45 +0000 (15:58 +0000)]
* sigproc.h (hold_everything::ischild): Declare as reference.
(hold_everything::hold_everything): Store address of caller's notion of
"ischild".

11 years ago* thread.cc (semaphore::_getvalue): Set *sval as appropriate. Set errno and
Christopher Faylor [Wed, 25 Sep 2013 14:44:45 +0000 (14:44 +0000)]
* thread.cc (semaphore::_getvalue): Set *sval as appropriate.  Set errno and
return -1 on error.

11 years ago2013-09-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Sat, 21 Sep 2013 00:05:18 +0000 (00:05 +0000)]
2013-09-21  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Update from GCC.
* configure: Regenerate.

11 years ago2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Richard Earnshaw [Fri, 20 Sep 2013 14:23:41 +0000 (14:23 +0000)]
2013-09-20  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
    Greta Yorsh  <greta.yorsh@arm.com>

* arm/Makefile.in: Add support for cpu-init directory and add
elf-aprofile-ve.specs.
* arm/configure.in: Likewise.
* arm/configure: Regenerate.
* arm/cpu-init: New directory.
* arm/cpu-init/Makefile.in: New file.
* arm/cpu-init/rdimon-aem.S: Likewise.
* arm/crt0.S: Call _rdimon_init_hook
* arm/elf-aprofile-ve.specs: New file.

11 years ago * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
Alan Modra [Fri, 20 Sep 2013 09:51:24 +0000 (09:51 +0000)]
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
ppc host match.  Support little-endian powerpc linux hosts.
Regenerate binutils configure files.

11 years ago * msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
Nick Clifton [Wed, 18 Sep 2013 07:38:13 +0000 (07:38 +0000)]
* msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
(LIB_CRT): New.
(CRT_OBJS): New.
(all): Add dependency upon LIB_CRT.
(install): Likewise.
* msp430/msp430-sim.ld: Include intr_vectors.ld.
KEEP crt code, lowtext code and tm_clone_table.
Separate the noinit section from the .bss section.
Allow for extended .debug_line sections.
* msp430/msp430.ld: Likewise.
* msp430/msp430F5438A-l.ld: Likewise.
* msp430/msp430F5438A-s.ld: Likewise.
* msp430/msp430xl-sim.ld: Likewise
. * msp430/crt_movedata.S: New.
* msp430/crt_bss.S: New.
* msp430/intr_vectors.ld: New.

11 years ago2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
Steve Ellcey [Tue, 17 Sep 2013 21:05:49 +0000 (21:05 +0000)]
2013-09-17  Doug Gilmore  <Doug.Gilmore@imgtec.com>

* mips.h (EF_MIPS_FP64): New e_flags bit.

11 years ago2013-09-17 Joey Ye <joey.ye@arm.com>
Jeff Johnston [Tue, 17 Sep 2013 20:36:08 +0000 (20:36 +0000)]
2013-09-17  Joey Ye  <joey.ye@arm.com>

        * libnosys/Makefile.in: Install nosys.specs.
        * libnosys/nosys.specs: New specs.

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