This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add and use sysdeps/i386/link-defines.sym
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 7 Jul 2015 05:36:40 -0700
- Subject: Re: [PATCH] Add and use sysdeps/i386/link-defines.sym
- Authentication-results: sourceware.org; auth=none
- References: <20150706132438 dot GA12562 at gmail dot com>
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.