Message ID | 20200427110813.1276533-13-npiggin@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | assorted fixes and preparation (try again) | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (0f1937ef40fca0c3212a9dff1010b832a24fb063) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | fail | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
diff --git a/Makefile.rules b/Makefile.rules index 8c41c26e4..dcebde6d2 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -64,6 +64,10 @@ endif $(call Q,CC, $(CC) $(call cook_cflags,$@) -x c -c $< -o $@, $@) %.s : %.c + $(call Q,CC, $(CC) $(call cook_cflags,$@) -fverbose-asm -S -c $< -o $@, $@) + +# no -fverbose-asm for asm-offsets.s +asm/asm-offsets.s: asm/asm-offsets.c $(call Q,CC, $(CC) $(call cook_cflags,$@) -S -c $< -o $@, $@) %.i : %.c diff --git a/asm/asm-offsets.c b/asm/asm-offsets.c index 7be0a1157..532437c1b 100644 --- a/asm/asm-offsets.c +++ b/asm/asm-offsets.c @@ -11,7 +11,7 @@ #include <stack.h> #define DEFINE(sym, val) \ - asm volatile("\n#define " #sym " %0 /* " #val " */" : : "i" (val)) + asm volatile("\n#define " #sym " %0 /* " #val " */\n" : : "i" (val)) #define OFFSET(sym, str, mem) \ DEFINE(sym, offsetof(struct str, mem))
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> --- Makefile.rules | 4 ++++ asm/asm-offsets.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)