This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: .eh_frame optimization question


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


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