This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use comdat for sparc PIC thunks...


On Thu, Mar 11, 2010 at 03:00:51PM -0800, David Miller wrote:
> But I wonder what happens if some modules are built with unwind tables
> and some are not?

Well, it is just an easy effort to provide unwind info.  Getting
.eh_frame manually emitted for it would be much harder (first of
all, the thunks would probably need to be emitted before emitting .eh_frame).
-fdwarf2-cfi-asm is the default when using recent enough gas, and if
some C file isn't built with unwind info, then yes, the thunk might be
without too, which is not any worse than it was before.  If all
.o files from the current library are compiled with the unwind info, it will
work well.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]