unwind/exception stuff bloats hello_world.c
Jeffrey A Law
law@cygnus.com
Tue Dec 9 01:40:00 GMT 1997
In message < Pine.LNX.3.96.971208235522.253H-100000@Wakko.ualberta.ca >you write:
> My code is C++ but does not use exception handling, presumably the same
> case as the original poster?
If you use C++ you get EH overhead, even if your code doesn't actually use
exceptions. If you use -fno-exceptions, then you won't get the overhead.
For C the only EH overhead should be from libgcc.
> I think I will post to the egcs list proper asking what the .LM?? entries
> are (this library has 480 of them), they are still present with
> -fno-exceptions and I'm quite curious.
.LM symbols are labels for use either by the debugging format or EH.
They should be removed by the final link process.
jeff
More information about the Gcc-bugs
mailing list