diff options
author | Roland McGrath <roland@redhat.com> | 2007-08-10 19:03:11 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-15 01:12:50 -0400 |
commit | 55a910a81d0c3014abc20b9efa73c595b3e68339 (patch) | |
tree | 8625f499bea6286fea45f6aa973aad0d23eb4531 /arch | |
parent | aa1cf632bd6f998cb4567ccf1a9d2e5daaa9fb44 (diff) |
[POWERPC] Fix for assembler -g
ppc64 does the unusual thing of using #include on a compiler-generated
assembly file (lparmap.s) from an assembly source file (head_64.S).
This runs afoul of my recent patch to pass -gdwarf2 to the assembler
under CONFIG_DEBUG_INFO. This patch avoids the problem by disabling
DWARF generation (-g0) when producing lparmap.s.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index f39a72f30aad..b0cb2e662c25 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -81,6 +81,7 @@ obj-y += iomap.o | |||
81 | endif | 81 | endif |
82 | 82 | ||
83 | ifeq ($(CONFIG_PPC_ISERIES),y) | 83 | ifeq ($(CONFIG_PPC_ISERIES),y) |
84 | CFLAGS_lparmap.s += -g0 | ||
84 | extra-y += lparmap.s | 85 | extra-y += lparmap.s |
85 | $(obj)/head_64.o: $(obj)/lparmap.s | 86 | $(obj)/head_64.o: $(obj)/lparmap.s |
86 | AFLAGS_head_64.o += -I$(obj) | 87 | AFLAGS_head_64.o += -I$(obj) |