Commit:     55a910a81d0c3014abc20b9efa73c595b3e68339
Parent:     aa1cf632bd6f998cb4567ccf1a9d2e5daaa9fb44
Author:     Roland McGrath <[EMAIL PROTECTED]>
AuthorDate: Sat Aug 11 09:03:11 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Wed Aug 15 15:12:50 2007 +1000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 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 f39a72f..b0cb2e6 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -81,6 +81,7 @@ obj-y                         += iomap.o
+CFLAGS_lparmap.s               += -g0
 extra-y += lparmap.s
 $(obj)/head_64.o:      $(obj)/lparmap.s
 AFLAGS_head_64.o += -I$(obj)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to