This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] i386: Assembly Implementation cleanup
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 12 Aug 2015 20:48:01 +0000
- Subject: Re: [PATCH] i386: Assembly Implementation cleanup
- Authentication-results: sourceware.org; auth=none
- References: <5596AD3B dot 1060903 at linaro dot org> <CAMe9rOof5LzNfW_Yd2qgtX2=UMdP-E-ewdneJ9GjiCF9SPyNqQ at mail dot gmail dot com> <55CB3E37 dot 8080006 at linaro dot org> <CAMe9rOr6a+iNtDjx6xT3KWYsyetpDswu8Zm8rQiJWS9CtP5f6w at mail dot gmail dot com> <55CB5FDA dot 9050802 at redhat dot com> <CAMe9rOoZGamBEG8rkN7LqARW9QxthyzydnSZzbBqn=jK5qZwvQ at mail dot gmail dot com> <CAMe9rOr8fXXDf52twnucnHnDM0Bv-YJW7EX2-rbkbd8mAfM2kQ at mail dot gmail dot com> <55CBAEC3 dot 7030507 at redhat dot com>
On Wed, 12 Aug 2015, Florian Weimer wrote:
> I would suggest to define a new macro (say,
> __usues_many_argument_syscall or something shorter) which expands to
> "__attribute__ ((optimize ("omit-frame-pointer), noinline))” on i386 and
> apply it to the function in the C source file, instead of adding it to
> the makefiles (assuming that this works, I have not tried it). This
> way, it would be more explicit what happens. In the documentation of
> the new macro, quote a typical GCC error message if a many-argument
> system call is used without it.
I see several uses of the affected lowlevellock-futex.h macros that aren't
in the files listed in that Makefile change - are they all in files with
separate x86-specific versions?
--
Joseph S. Myers
joseph@codesourcery.com