.eh_frame optimization question

Alan Modra amodra@bigpond.net.au
Wed Jan 3 09:10:00 GMT 2007


On Wed, Jan 03, 2007 at 04:21:19PM +0800, Jie Zhang wrote:
> Only one place needs such handling for removed .eh_frame
> entries. It has been fixed by one my previous patch.

OK.

> The currently
> issue is that if the whole .eh_frame section is removed, it does not
> get a chance to call _bfinfdpic_add_dyn_reloc for all of its
> relocations. Thus its dynamic relocations are not changed to R_*_NONE
> type.

Hmm, but you alloc the reloc section contents with bfd_zalloc, don't
you?  So you shouldn't need to change anything.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list