[PATCH] Add and use sysdeps/i386/link-defines.sym

H.J. Lu hjl.tools@gmail.com
Tue Jul 7 12:36:00 GMT 2015


On Mon, Jul 6, 2015 at 6:24 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Define macros for fields in La_i86_regs and La_i86_retval and use them
> in dl-trampoline.S, instead of hardcoded values.  There are no code
> changes.
>
> Any comments, objections?
>
> Thanks.
>
> H.J.
> ---
>         * 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.

I checked it in.

-- 
H.J.



More information about the Libc-alpha mailing list