Index: uspace/lib/c/arch/ia64/src/entry.s
===================================================================
--- uspace/lib/c/arch/ia64/src/entry.s	(revision d9fae23532028671526d24c90116318f54d92d29)
+++ uspace/lib/c/arch/ia64/src/entry.s	(revision 75c9852bc42da42e9e39f63e8d5bdd6b12e3fe02)
@@ -39,5 +39,5 @@
 __entry:
 	alloc loc0 = ar.pfs, 0, 1, 2, 0
-	movl r1 = _gp
+	movl gp = _gp
 
 	# Pass PCB pointer as the first argument to __main
Index: uspace/lib/c/arch/ia64/src/thread_entry.s
===================================================================
--- uspace/lib/c/arch/ia64/src/thread_entry.s	(revision d9fae23532028671526d24c90116318f54d92d29)
+++ uspace/lib/c/arch/ia64/src/thread_entry.s	(revision 75c9852bc42da42e9e39f63e8d5bdd6b12e3fe02)
@@ -37,5 +37,5 @@
 	alloc loc0 = ar.pfs, 0, 1, 1, 0
 
-	movl r1 = _gp
+	movl gp = _gp
 	
 	#
