diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2014-04-16 20:03:15 +0100 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2017-10-02 15:55:19 -0400 |
| commit | 3e76f9d6851ef6c63217178eb67278ec2809b944 (patch) | |
| tree | 8c8e1172a6bdbce8420f12d2af84d19f658bbae1 /usr/src/lib/libc/i386/threads/machdep.c | |
| parent | 2aca6c63d5cd09b4015887c19fcacf9df90967b0 (diff) | |
| download | illumos-joyent-3e76f9d6851ef6c63217178eb67278ec2809b944.tar.gz | |
8609 want a position independent CRT
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Albert Lee <trisk@forkgnu.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libc/i386/threads/machdep.c')
| -rw-r--r-- | usr/src/lib/libc/i386/threads/machdep.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/src/lib/libc/i386/threads/machdep.c b/usr/src/lib/libc/i386/threads/machdep.c index a39a4a0908..06bfa94813 100644 --- a/usr/src/lib/libc/i386/threads/machdep.c +++ b/usr/src/lib/libc/i386/threads/machdep.c @@ -36,8 +36,8 @@ * well: * * - lib/libc/i386/gen/makectxt.c - * - lib/common/i386/crti.s - * - lib/common/i386/crt1.s + * - lib/crt/i386/crti.s + * - lib/crt/i386/crt1.s */ #undef STACK_ALIGN #define STACK_ALIGN 16 @@ -86,7 +86,7 @@ setup_top_frame(void *stk, size_t stksize, ulwp_t *ulwp) int setup_context(ucontext_t *ucp, void *(*func)(ulwp_t *), - ulwp_t *ulwp, caddr_t stk, size_t stksize) + ulwp_t *ulwp, caddr_t stk, size_t stksize) { static int initialized; static greg_t fs, es, ds, cs, ss; @@ -210,10 +210,10 @@ setgregs(ulwp_t *ulwp, gregset_t rs) int __csigsetjmp(greg_t cs, greg_t ss, greg_t gs, - greg_t fs, greg_t es, greg_t ds, - greg_t edi, greg_t esi, greg_t ebp, greg_t esp, - greg_t ebx, greg_t edx, greg_t ecx, greg_t eax, greg_t eip, - sigjmp_buf env, int savemask) + greg_t fs, greg_t es, greg_t ds, + greg_t edi, greg_t esi, greg_t ebp, greg_t esp, + greg_t ebx, greg_t edx, greg_t ecx, greg_t eax, greg_t eip, + sigjmp_buf env, int savemask) { ucontext_t *ucp = (ucontext_t *)env; ulwp_t *self = curthread; |
