Page MenuHomeFreeBSD

D41101.id124884.diff
No OneTemporary

D41101.id124884.diff

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

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)

Event Timeline