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
works fine.
ld of snow leopard (or lion) is upgraded. it has been linked with
libunwind.
Probably it can find error frames without labels and output right
__eh_frame section.
As a result, only in case of combination "ld of leopard", "-
dead_strip" and "*.o output by gcc-4.6", exception handlers are
ignored.
Thank you.
.
- References:
- -dead_strip and exception handling
- From: ytomino
- Re: -dead_strip and exception handling
- From: Simon Wright
- -dead_strip and exception handling
- Prev by Date: Re: gtkada and redrawing
- Next by Date: Compiler switches for directory in GNAT project files
- Previous by thread: Re: -dead_strip and exception handling
- Next by thread: gtkada and redrawing
- Index(es):