This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 00/21] PowerPC: multiarch support for PPC64


On 19-12-2013 12:10, Andreas Schwab wrote:
> ../sysdeps/powerpc/powerpc64/power7/memrchr.S: Assembler messages:
> ../sysdeps/powerpc/powerpc64/power7/memrchr.S:25: Error: non-constant expression in ".if" statement
> ../sysdeps/powerpc/powerpc64/power7/memrchr.S:25: Error: non-constant expression in ".if" statement
> ../sysdeps/powerpc/powerpc64/power7/memrchr.S:25: Error: non-constant expression in ".if" statement
> ../sysdeps/powerpc/powerpc64/power7/memrchr.S:25: Error: non-constant expression in ".if" statement
>
> Andreas.
>
Thanks for spotting it and I think you built with --enable-profile, right? I don't think this is
really related to my patch, I tried to build sysdeps/powerpc/powerpc64/power7/memrchr.S with
-DPROF and I saw the same issue. I will investigate this today, but looks like this code is
triggering it:

 66         .macro SAVE_ARG NARG
 67         .if \NARG
 68         SAVE_ARG \NARG-1
 69         std     2+\NARG,call_mcount_parm_offset-8+8*(\NARG)(1)
 70         .endif
 71         .endm

Has the .if command been deprecated or is something not right in this code?


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