Index: uspace/lib/c/arch/abs32le/_link.ld.in
===================================================================
--- uspace/lib/c/arch/abs32le/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/abs32le/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -9,6 +9,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/amd64/_link.ld.in
===================================================================
--- uspace/lib/c/arch/amd64/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/amd64/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -10,6 +10,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/arm32/_link.ld.in
===================================================================
--- uspace/lib/c/arch/arm32/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/arm32/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -9,6 +9,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/ia32/_link.ld.in
===================================================================
--- uspace/lib/c/arch/ia32/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/ia32/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -18,6 +18,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/ia64/_link.ld.in
===================================================================
--- uspace/lib/c/arch/ia64/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/ia64/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -9,6 +9,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/mips32/_link.ld.in
===================================================================
--- uspace/lib/c/arch/mips32/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/mips32/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -9,6 +9,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/ppc32/_link.ld.in
===================================================================
--- uspace/lib/c/arch/ppc32/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/ppc32/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -10,6 +10,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/riscv64/_link.ld.in
===================================================================
--- uspace/lib/c/arch/riscv64/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/riscv64/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -10,6 +10,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
Index: uspace/lib/c/arch/sparc64/_link.ld.in
===================================================================
--- uspace/lib/c/arch/sparc64/_link.ld.in	(revision 4c5f04f66aa0d34ff3bbed6e9abebf85f59723fb)
+++ uspace/lib/c/arch/sparc64/_link.ld.in	(revision 9e5cc73161c96d8e96285672f0c8d58f77fbaf83)
@@ -10,6 +10,8 @@
 
 SECTIONS {
+#ifdef SHLIB
+	. = SEGMENT_START("text-segment", 0);
+#else
 	. = SEGMENT_START("text-segment", 0x400000);
-#ifndef SHLIB
 	PROVIDE (__executable_start = .);
 #endif
