Do more sanity-checking in unwind-dw2-fde.c

Richard Henderson rth@redhat.com
Wed Apr 23 17:40:00 GMT 2003


On Tue, Apr 22, 2003 at 07:02:32PM -0700, Douglas B Rupp wrote:
> If the .eh_frame section is empty...

Why would it be empty?

/* Terminate the frame unwind info section with a 4byte 0 as a sentinel;
   this would be the 'length' field in a real FDE.  */
STATIC EH_FRAME_SECTION_CONST int __FRAME_END__[]
     __attribute__ ((unused, mode(SI), section(EH_FRAME_SECTION_NAME),
                     aligned(4)))
     = { 0 };


r~



More information about the Gcc-patches mailing list