summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-08-29 20:53:04 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-08-29 20:53:04 +0200
commit61ae023e5bb93f05b2b30b31f299efc64bcd420e (patch)
tree216c96f1651537dd773a3598cea597e3d78f6ead /Makerules
parent88041f133f06d81a9bf6c72fc6e41a604eddf4b8 (diff)
buildsys: use SED for create-lds
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 5030205c4..520b47d5a 100644
--- a/Makerules
+++ b/Makerules
@@ -303,7 +303,7 @@ define create-lds
$(Q)$(CC) -nostdlib -nostartfiles -shared -Wl,-z,combreloc \
-Wl,-z,relro -Wl,--hash-style=gnu -Wl,-z,defs \
-Wl,--verbose 2>&1 | LC_ALL=C \
- sed -e '/^=========/,/^=========/!d;/^=========/d' \
+ $(SED) -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = .* + SIZEOF_HEADERS;/& $(SYMBOL_PREFIX)_begin = . - SIZEOF_HEADERS;/' > $@.lds
endef