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] Avoid registering empty .eh_frame sections


On Tue, Nov 20, 2001 at 03:51:23PM -0500, Graham Stott wrote:
> Jakub,
> 
> The early return from __deregister_frame_info_bases is missing
> a return value!
> 
> I'm not sure what's the correct fix is but returning ob
> (which is zero at this point) looks about right.

Ouch, I missed that warning during my bootstrap, sorry.
Returning NULL (== ob) is the right thing to do, the return value is only
used by __deregister_frame, which makes sure __deregister_frame_info will
not be called in that case.
> 
> 	* unwind-dw2-fde.c (__deregister_frame_info_bases):
> 	Fix lossage in last change return OB.

	Jakub


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