diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-07 05:23:24 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-07-07 05:23:40 -0700 |
commit | ddd85a65b6e3d6ec1e756c1f78559f99a2c943ca (patch) | |
tree | af018587b3304c33b8aeb1016f3faa7737cb2396 /sysdeps/i386/Makefile | |
parent | fa9fef1f9b683582892fe39c4d8cd7b164b3388d (diff) | |
download | glibc-ddd85a65b6e3d6ec1e756c1f78559f99a2c943ca.zip glibc-ddd85a65b6e3d6ec1e756c1f78559f99a2c943ca.tar.gz glibc-ddd85a65b6e3d6ec1e756c1f78559f99a2c943ca.tar.bz2 |
Add and use sysdeps/i386/link-defines.sym
Define macros for fields in La_i86_regs and La_i86_retval and use them
in dl-trampoline.S, instead of hardcoded values.
* sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
link-defines.sym.
* sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
(_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
and LR_SIZE.
* sysdeps/i386/link-defines.sym: New file.
Diffstat (limited to 'sysdeps/i386/Makefile')
-rw-r--r-- | sysdeps/i386/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile index 910edff..11f425d 100644 --- a/sysdeps/i386/Makefile +++ b/sysdeps/i386/Makefile @@ -33,6 +33,7 @@ sysdep-CFLAGS += -mpreferred-stack-boundary=4 else ifeq ($(subdir),csu) sysdep-CFLAGS += -mpreferred-stack-boundary=4 +gen-as-const-headers += link-defines.sym else # Likewise, any function which calls user callbacks uses-callbacks += -mpreferred-stack-boundary=4 |