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/17555] New: [AARCH64][GLIBC]glibc's _start dosen't terminate the frame record chain correctly


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

            Bug ID: 17555
           Summary: [AARCH64][GLIBC]glibc's _start dosen't terminate the
                    frame record chain correctly
           Product: glibc
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: marcus.shawcroft at gmail dot com
                CC: drepper.fsp at gmail dot com

In glibc-2.20/sysdeps/aarch64/start.S we find:
_start:
/* Create an initial frame with 0 LR and FP */
mov    x29, #0
mov    x30, #0
mov    x29, sp

Because of the way _start is implemented, the end of the frame record
chain is not indicated by zero but instead by the value of
argc, because that's the first value on the initial stack.

-- 
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]