This is the mail archive of the glibc-bugs@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]

[Bug libc/16786] New: sysdeps/powerpc/powerpc64/fpu/s_copysign.S doesn't comply with open power64 abi


https://sourceware.org/bugzilla/show_bug.cgi?id=16786

            Bug ID: 16786
           Summary: sysdeps/powerpc/powerpc64/fpu/s_copysign.S doesn't
                    comply with open power64 abi
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jedilyn at 163 dot com
                CC: drepper.fsp at gmail dot com, jedilyn at 163 dot com
              Host: power64 with OPEN POWER64 ABI support

Hi,

The new open power64 abi allows the minimum stack size is 32bytes, and move
closer to goal of passing each data type in "natural" register class.
Here the s_copysign.S assume there is some space for the 2nd parameters, it's
incorrect for new ABI now. If the caller doesn't allocate any parameters save
area, copysign will overwrite the save data of parent of the caller.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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