This patch series should be applied on top of Janosch's patch series ([kvm-unit-tests PATCH v2 1/7] s390x: Cleanup flat.lds). Changelog: v1->v2: + worked in comments from Claudio and Janosch + added r-b's from Janosch + added a new patch: `s390x/Makefile: add an extra `%.aux.o` target` Marc Hartmayer (8): .gitignore: ignore `s390x/comm.key` file s390x/Makefile: simplify `%.hdr` target rules s390x/Makefile: fix `*.gbin` target dependencies s390x/Makefile: refactor CPPFLAGS s390x: use C pre-processor for linker script generation s390x: define a macro for the stack frame size lib/linux/const.h: test for `__ASSEMBLER__` as well s390x/Makefile: add an extra `%.aux.o` target .gitignore | 2 ++ lib/linux/const.h | 2 +- lib/s390x/asm-offsets.c | 1 + s390x/Makefile | 33 +++++++++++---------- s390x/cstart64.S | 2 +- s390x/{flat.lds => flat.lds.S} | 4 ++- s390x/gs.c | 5 ++-- s390x/macros.S | 4 +-- s390x/snippets/asm/{flat.lds => flat.lds.S} | 0 s390x/snippets/c/{flat.lds => flat.lds.S} | 6 ++-- 10 files changed, 35 insertions(+), 24 deletions(-) rename s390x/{flat.lds => flat.lds.S} (93%) rename s390x/snippets/asm/{flat.lds => flat.lds.S} (100%) rename s390x/snippets/c/{flat.lds => flat.lds.S} (88%) -- 2.34.1