Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144435219
D41101.id124884.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
573 B
Referenced Files
None
Subscribers
None
D41101.id124884.diff
View Options
diff --git a/lib/csu/amd64/crt1_s.S b/lib/csu/amd64/crt1_s.S
--- a/lib/csu/amd64/crt1_s.S
+++ b/lib/csu/amd64/crt1_s.S
@@ -60,10 +60,11 @@
addq %rax, %rdx /* env += argc */
#ifdef PIC
/*
- * XXX. %rip relative addressing does not intended to use in the
- * large memory model due to offset from %rip is limited to 32 bits.
+ * XXX. %rip relative addressing is not intended for use in the
+ * large memory model due to the offset from %rip being limited
+ * to 32 bits.
*/
- leaq main(%rip), %r8
+ leaq main@plt(%rip), %r8
#else
movabsq $main, %r8
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 10:31 AM (8 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28542123
Default Alt Text
D41101.id124884.diff (573 B)
Attached To
Mode
D41101: amd64 crt1: Explicitly use a PLT entry for main in the PIC case.
Attached
Detach File
Event Timeline
Log In to Comment