[PATCH/RFC] powerpc: avoid generating .eh_frame sections with gcc-4.4

Roland McGrath roland at redhat.com
Wed Feb 25 10:36:13 EST 2009


The patch is right though the log entry and comment are perhaps misleading.
The effect of the patch is to restore the compiler behavior to what it was
before.  What it was before includes cases of producing .eh_frame and cases
of not producing it.  The default behavior of a gcc-4.4 that was built
against new enough binutils has diverged, so that some situations that
before produced no .eh_frame now do produce one.  -fno-dwarf2-cfi-asm
tells gcc to behave like it did before (which is also how 4.4 behaves when
built against an old enough binutils).


Thanks,
Roland



More information about the Linuxppc-dev mailing list