This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 02/14] arm: Introduce and use NEGOFF series of macros


On Fri, 1 Mar 2013, Richard Henderson wrote:

> There are several places in which we access negative offsets from
> the thread-pointer, but thumb2 only supports positive offsets in
> memory references.
> 
> Avoid duplicating the rather large macros in which these references
> are embedded by abstracting out the operation.
> ---
>         * sysdeps/arm/sysdep.h (NEGOFF_ADJ_BASE): New macro.
>         (NEGOFF_ADJ_BASE2, NEGOFF_OFF1, NEGOFF_OFF2): New macros.
>         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use them.
>         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: Likewise.
>         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: Likewise.
>         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (SINGLE_THREAD_P):
>         Likewise.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]