summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-04 13:37:16 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-04 13:37:16 -0600
commit474700954dda085369a77e76c1c13a2c93b0a7e1 (patch)
tree8c4f30736e3331d09d0525847b48d49b40f39889 /Makerules
parent885d9c24d4c21da941603baf555fc72a3765bbe3 (diff)
parent8e5113112ae7d3402e2afb01c8cee18d3beb0f2e (diff)
Merge remote-tracking branch 'origin/upstream' into 1.0
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 87e3c19ee..1596988d2 100644
--- a/Makerules
+++ b/Makerules
@@ -330,7 +330,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;/& $(SYMBOL_PREFIX)_begin = . - SIZEOF_HEADERS;/' > $@.lds
+ -e 's/^\([ ]*\)\. = .* + SIZEOF_HEADERS;/&\n\1$(SYMBOL_PREFIX)_begin = . - SIZEOF_HEADERS;/' > $@.lds
endef
define link.so