[PATCH uClibc 1/3] Makerules: Respect $(SYMBOL_PREFIX) when prelinking
Markos Chandras
markos.chandras at gmail.com
Fri Dec 14 10:17:44 UTC 2012
From: Markos Chandras <markos.chandras at imgtec.com>
Commit a33796043bdef5345bc00a528c942f91a87af8e9 introduced the runtime
prelink support. However, the linker script that is being generated
by the create-lds rule in the Makerules file, needs to respect the
SYMBOL_PREFIX for architectures that need it.
Signed-off-by: Markos Chandras <markos.chandras at imgtec.com>
---
Makerules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makerules b/Makerules
index 60acaa8..28bbdef 100644
--- a/Makerules
+++ b/Makerules
@@ -300,7 +300,7 @@ define create-lds
-Wl,-z,relro -Wl,--hash-style=gnu -Wl,-z,defs \
-Wl,--verbose 2>&1 | LC_ALL=C \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
- -e 's/\. = .* + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' > $@.lds
+ -e 's/\. = .* + SIZEOF_HEADERS;/& $(SYMBOL_PREFIX)_begin = . - SIZEOF_HEADERS;/' > $@.lds
endef
define link.so
--
1.8.0
More information about the uClibc
mailing list