Lines 74-80
Link Here
|
74 |
/* This macro may be overridden in i386/k*bsd-gnu.h. */ |
74 |
/* This macro may be overridden in i386/k*bsd-gnu.h. */ |
75 |
#define REG_NAME(reg) reg |
75 |
#define REG_NAME(reg) reg |
76 |
|
76 |
|
77 |
#ifdef TARGET_LIBC_PROVIDES_SSP |
77 |
#if defined TARGET_LIBC_PROVIDES_SSP && !defined __UCLIBC__ |
78 |
/* i386 glibc provides __stack_chk_guard in %gs:0x14, |
78 |
/* i386 glibc provides __stack_chk_guard in %gs:0x14, |
79 |
x86_64 glibc provides it in %fs:0x28. */ |
79 |
x86_64 glibc provides it in %fs:0x28. */ |
80 |
#define TARGET_THREAD_SSP_OFFSET (TARGET_64BIT ? 0x28 : 0x14) |
80 |
#define TARGET_THREAD_SSP_OFFSET (TARGET_64BIT ? 0x28 : 0x14) |