Re: -dead_strip and exception handling
- From: ytomino <aghia05@xxxxxxxxx>
- Date: Thu, 25 Aug 2011 12:46:10 -0700 (PDT)
I found something.
gcc-4.5 outputs labels of error frames (_funcname.eh).
gcc-4.6 does not output labels of error frames.
ld of leopard use labels of error frames to link __eh_frame section.
However, if without -dead_strip, ld links all contents of *.o. So it
ld of snow leopard (or lion) is upgraded. it has been linked with
Probably it can find error frames without labels and output right
As a result, only in case of combination "ld of leopard", "-
dead_strip" and "*.o output by gcc-4.6", exception handlers are