diff options
author | Roland McGrath <roland@hack.frob.com> | 2011-07-02 16:59:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2011-07-02 16:59:14 -0700 |
commit | 5e9b6af4a9bb2aad0e1929e88b52009d14cb6831 (patch) | |
tree | 8bf55b4e8a9754e6285a5ab95e2ba4330b6b7d1d /Makerules | |
parent | d3bdf19b78aa4de74030175bbd9c41971428af81 (diff) |
Fail if format.lds comes out empty.
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -993,6 +993,7 @@ $(common-objpfx)format.lds: $(..)scripts/output-format.sed \ $(LINK.o) -shared $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS.so) \ -x c /dev/null -o $@.so -Wl,--verbose -v 2>&1 \ | sed -n -f $< > $@.new + test -s $@.new rm -f $@.so mv -f $@.new $@ common-generated += format.lds |