newlib/winsup/cygwin
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
..
config/i386
include
lib
libc
regex
acconfig.h
aclocal.m4
analyze_sigfe
assert.cc
autoload.cc
automode.c
binmode.c
ChangeLog
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
child_info.h
config.h.in
configure
configure.in
cpuid.h
crt0.c
ctype.cc
cxx.cc
cygerrno.h
cygheap_malloc.h
cygheap.cc
cygheap.h
cyglsa.h
cygmagic
cygmalloc.h
cygprops.h
cygserver_ipc.h
cygserver_msg.h
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygserver.h
cygthread.cc
cygthread.h
cygtls.cc
cygtls.h
cygwin_version.h
cygwin-cxx.h
cygwin-shilka
cygwin.din
cygwin.sc
cygxdr.cc
cygxdr.h
dcrt0.cc
debug.cc
debug.h
devices.cc
devices.h
devices.in
dir.cc
dlfcn.cc
dll_init.cc
dll_init.h
dll_init.sgml
dllfixdbg
dlmalloc.c
dlmalloc.h
dtable.cc
dtable.h
dtable.sgml
environ.cc
environ.h
errno.cc
exception.h
exceptions.cc
exec.cc
external.cc
external.sgml
fcntl.cc
fhandler_clipboard.cc
fhandler_console.cc
fhandler_disk_file.cc
fhandler_dsp.cc
fhandler_fifo.cc
fhandler_floppy.cc
fhandler_mailslot.cc
fhandler_mem.cc
fhandler_netdrive.cc
fhandler_nodevice.cc
fhandler_proc.cc
fhandler_process.cc
fhandler_procnet.cc
fhandler_random.cc
fhandler_raw.cc
fhandler_registry.cc
fhandler_serial.cc
fhandler_socket.cc
fhandler_tape.cc
fhandler_termios.cc
fhandler_tty.cc
fhandler_virtual.cc
fhandler_virtual.h
fhandler_windows.cc
fhandler_zero.cc
fhandler.cc
fhandler.h
flock.cc
fork.cc
gcrt0.c
gendef
gendevices
gentls_offsets
glob_pattern_p.cc
glob.cc
globals.cc
gmon.c
gmon.h
grp.cc
heap.cc
heap.h
hires.h
hookapi.cc
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-startup-shutdown-works.txt
how-to-debug-cygwin.txt
how-vfork-works.txt
init.cc
ioctl.cc
ipc.cc
kernel32.cc
lc_era.h
lc_msg.h
libstdcxx_wrapper.cc
localtime.cc
lsearch.cc
Makefile.in
malloc_wrapper.cc
malloc.cc
mcount.c
miscfuncs.cc
miscfuncs.h
mkglobals_h
mkimport
mkstatic
mktemp.cc
mkvers.sh
mmap_helper.h
mmap.cc
mount.cc
mount.h
msg.cc
mtinfo.h
net.cc
netdb.cc
nfs.cc
nfs.h
nlsfuncs.cc
ntdll.h
ntea.cc
passwd.cc
path.cc
path.h
path.sgml
perprocess.h
pinfo.cc
pinfo.h
pipe.cc
poll.cc
posix_ipc.cc
posix.sgml
profil.c
profil.h
pseudo-reloc.cc * Makefile.in (DLL_OFILES): Add pseudo-reloc.o. 2010-05-07 21:25:19 +00:00
pthread.cc
pwdgrp.h
random.cc
registry.cc
registry.h
resource.cc
ROADMAP
scandir.cc
sched.cc
sec_acl.cc
sec_auth.cc
sec_helper.cc
security.cc
security.h
security.sgml
select.cc
select.h
sem.cc
setlsapwd.cc
shared_info.h
shared.cc
shm.cc
signal.cc
sigproc.cc
sigproc.h
smallprint.cc
sortdin
spawn.cc
speclib
spinlock.h
stackdump.sgml
strace.cc
strfuncs.cc
string.h
strsep.cc
strsig.cc
sync.cc
sync.h
syscalls.cc
sysconf.cc
syslog.cc
termios.cc
textmode.c
textreadmode.c
thread.cc
thread.h
timer.cc
times.cc
tls_pbuf.cc
tls_pbuf.h
tlsoffsets.h
tty.cc
tty.h
tz_posixrules.h
uinfo.cc
uname.cc
wait.cc
wchar.h
winbase.h
wincap.cc
wincap.h
window.cc
winf.cc
winf.h
wininfo.h
winsup.h
winver.rc