Skip to content

Commit c04868d

Browse files
rnavmpe
authored andcommitted
powerpc: Drop -fno-dwarf2-cfi-asm
The original commit/discussion adding -fno-dwarf2-cfi-asm refers to R_PPC64_REL32 relocations not being handled by our module loader: http://lkml.kernel.org/r/[email protected] However, that is now handled thanks to commit 9f751b8 ("powerpc/module: Add support for R_PPC64_REL32 relocations"). So, drop this flag from our Makefile. Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/9b22a064de6eb1301d92177eb3a38559df7005d3.1583415544.git.naveen.n.rao@linux.vnet.ibm.com
1 parent b77afad commit c04868d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/powerpc/Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@ KBUILD_CFLAGS += $(call cc-option,-mno-vsx)
239239
KBUILD_CFLAGS += $(call cc-option,-mno-spe)
240240
KBUILD_CFLAGS += $(call cc-option,-mspe=no)
241241

242-
# FIXME: the module load should be taught about the additional relocs
243-
# generated by this.
244-
# revert to pre-gcc-4.4 behaviour of .eh_frame
245-
KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
246-
247242
# Never use string load/store instructions as they are
248243
# often slow when they are implemented at all
249244
KBUILD_CFLAGS += $(call cc-option,-mno-string)

0 commit comments

Comments
 (0)