| author | |
| committer | |
| log | 89aa63bec7102189a7449afaabff55f032eb3258 |
| tree | 406e020e038a347122b2a7722fb65b7b32da1c45 |
| parent | b7e5a31d79098d38ab111ca318e52698f154d5d6 |
I could have just included the file from upstream glibc, but it was too
silly so I just inlined it. This patch could be dropped in a future
glibc update if desired. If omitted it will cause easily solvable
C compilation failures building glibc nonshared.2 files changed, 10 insertions(+), 2 deletions(-)
lib/libc/glibc/sysdeps/x86_64/sysdep.h+5-1| ... | @@ -20,7 +20,11 @@ | ... | @@ -20,7 +20,11 @@ |
| 20 | #define _X86_64_SYSDEP_H 1 | 20 | #define _X86_64_SYSDEP_H 1 |
| 21 | 21 | ||
| 22 | #include <sysdeps/x86/sysdep.h> | 22 | #include <sysdeps/x86/sysdep.h> |
| 23 | #include <x86-lp_size.h> | 23 | #ifdef __ASSEMBLER__ |
| 24 | # define LP_SIZE 8 | ||
| 25 | #else | ||
| 26 | # define LP_SIZE "8" | ||
| 27 | #endif | ||
| 24 | 28 | ||
| 25 | #ifdef	__ASSEMBLER__ | 29 | #ifdef	__ASSEMBLER__ |
| 26 | 30 |
lib/libc/glibc/sysdeps/x86_64/x32/sysdep.h+5-1| ... | @@ -17,7 +17,11 @@ | ... | @@ -17,7 +17,11 @@ |
| 17 | <https://www.gnu.org/licenses/>. */ | 17 | <https://www.gnu.org/licenses/>. */ |
| 18 | 18 | ||
| 19 | #include <sysdeps/x86_64/sysdep.h> | 19 | #include <sysdeps/x86_64/sysdep.h> |
| 20 | #include <x86-lp_size.h> | 20 | #ifdef __ASSEMBLER__ |
| 21 | # define LP_SIZE 4 | ||
| 22 | #else | ||
| 23 | # define LP_SIZE "4" | ||
| 24 | #endif | ||
| 21 | 25 | ||
| 22 | #undef LP_OP | 26 | #undef LP_OP |
| 23 | #undef ASM_ADDR | 27 | #undef ASM_ADDR |