Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171571712
D26327.id76654.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
631 B
Referenced Files
None
Subscribers
None
D26327.id76654.diff
View Options
Index: libexec/rtld-elf/riscv/rtld_start.S
===================================================================
--- libexec/rtld-elf/riscv/rtld_start.S
+++ libexec/rtld-elf/riscv/rtld_start.S
@@ -64,7 +64,8 @@
*/
ENTRY(_rtld_bind_start)
/* Save the arguments and ra */
- addi sp, sp, -(8 * 17)
+ /* We require 17 dwords, but the stack must be aligned to 16-bytes */
+ addi sp, sp, -(8 * 18)
sd a0, (8 * 0)(sp)
sd a1, (8 * 1)(sp)
sd a2, (8 * 2)(sp)
@@ -122,7 +123,7 @@
fld fa6, (8 * 15)(sp)
fld fa7, (8 * 16)(sp)
#endif
- addi sp, sp, (8 * 17)
+ addi sp, sp, (8 * 18)
/* Call into the correct function */
jr t0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 12, 8:12 PM (5 m, 14 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38816760
Default Alt Text
D26327.id76654.diff (631 B)
Attached To
Mode
D26327: Maintain a stack alignment of 16-bytes.
Attached
Detach File
Event Timeline
Log In to Comment