newlib/winsup/cygwin/include/sys
Christopher Faylor 27f564e9a3 * Makefile.in (DLL_OFILES): Add pseudo-reloc.o.
* dcrt0.cc (child_info_fork::handle_fork): Call _pei386_runtime_relocator here.
(dll_crt0_1): Ditto for non-fork case.
* dll_init.cc (dll::init): Complain more in comment.  Clean up slightly.
(dll_dllcrt0_1): Call _pei386_runtime_relocator when we know we have a
filled-in per_process structure.
* globals.cc (__cygwin_user_data): Accommodate new fields for
_pei386_runtime_relocator.
* pseudo-reloc.cc: New file adapted from old lib/pseudo-reloc.c.  Include
winsup.h directly.  Collapse #ifdef __CYGWIN__ into one block.  Perform minor
whitespace code reformatting.
(__report_error): Use small_printf to output error.
(_pei386_runtime_relocator): Conditionalize for cygwin to take per_process
pointer parameter.
* winsup.h (_pei386_runtime_relocator): Declare.
* include/cygwin/version.h
(CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED): New macro.
(CYGWIN_VERSION_USER_API_VERSION_COMBINED): Use above macro.
(CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL): New macro.
(CYGWIN_VERSION_API_MINOR): Bump to 227.
* include/sys/cygwin.h: Remove obsolete comment.
(per_process::unused2): Shorten.
(per_process::pseudo_reloc_start): New field.
(per_process::pseudo_reloc_end): Ditto.
(per_process::image_base): Ditto.
* lib/_cygwin_crt0_common.cc: Declare pseudo runtime externs needed for
per_process structure.
(_cygwin_crt0_common): Fill in pseudo_reloc runtime constants.
* lib/pseudo-reloc-dummy.c: New file.  Dummy function to satisify ld.
* lib/pseudo-reloc.c: Delete.
2010-05-07 21:25:19 +00:00
..
acl.h
copying.dj
cygwin.h * Makefile.in (DLL_OFILES): Add pseudo-reloc.o. 2010-05-07 21:25:19 +00:00
dirent.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
elf32.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
elf64.h * include/sys/elf64.h: Fix types to reflect linux usage. 2005-11-14 20:34:33 +00:00
elf_common.h white space 2005-08-12 02:39:13 +00:00
elf_generic.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
file.h
ioctl.h * include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ. 2006-12-06 14:08:08 +00:00
ipc.h
kd.h * fhandler.h (class dev_console): Add `metabit' indicating the 2006-07-03 15:29:10 +00:00
lock.h
mman.h * cygwin.din (shm_open): Export. 2007-02-08 13:36:53 +00:00
mount.h * mount.cc (struct opt): Add "dos" and "ihash" options. 2010-04-29 10:38:05 +00:00
msg.h
mtio.h
param.h * include/limits.h (NGROUPS_MAX): Set to a more sane value. 2009-08-11 07:28:22 +00:00
poll.h * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem 2006-07-31 14:27:56 +00:00
procfs.h
queue.h * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
resource.h
select.h * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as 2009-05-08 10:54:58 +00:00
sem.h
shm.h
smallprint.h
socket.h * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
strace.h * sigproc.cc (wait_sig): Make sure that strace is activated on __SIGSTRACE by 2010-03-31 18:06:02 +00:00
sysinfo.h * sysconf.cc (get_nprocs): New function. 2009-11-12 14:40:48 +00:00
syslimits.h * fhandler.cc (check_posix_perm): Moved here from syscalls.cc. 2006-11-07 17:59:54 +00:00
syslog.h
sysmacros.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
sysproto.h
termio.h
termios.h * cygwin/include/sys/termios.h: Make default erase character "^?". 2009-05-30 17:21:22 +00:00
ttychars.h
uio.h
un.h * include/sys/un.h: #include <string.h> for strlen. 2009-03-23 08:45:18 +00:00
utime.h
utmp.h * cygwin.din (_getutline): Remove. 2008-07-30 04:58:24 +00:00
utsname.h
vfs.h
wait.h * include/sys/wait.h: Move definition of wait constants from here... 2006-06-12 14:25:05 +00:00