]> git.baikalelectronics.ru Git - kernel.git/commit
Build with -fno-dwarf2-cfi-asm
authorKyle McMartin <kyle@redhat.com>
Mon, 23 Mar 2009 19:25:49 +0000 (15:25 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Mar 2009 21:21:26 +0000 (14:21 -0700)
commitfb783155134718eac845f5302dbec9203fda5a01
tree109be4a657d67b76a5cef8d4b7b0d1cea93ef8b1
parent819317af12261751a9632130f6d2e28189775869
Build with -fno-dwarf2-cfi-asm

With a sufficiently new compiler and binutils, code which wasn't
previously generating .eh_frame sections has begun to.  Certain
architectures (powerpc, in this case) may generate unexpected relocation
formats in response to this, preventing modules from loading.

While the new relocation types should probably be handled, revert to the
previous behaviour with regards to generation of .eh_frame sections.

(This was reported against Fedora, which appears to be the only distro
doing any building against gcc-4.4 at present: RH bz#486545.)

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: Alexandre Oliva <aoliva@redhat.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Makefile