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: [PATCH] Don't check caches_rawsize in elf_link_input_bfd


On Fri, Apr 29, 2016 at 04:10:04AM -0700, H.J. Lu wrote:
> When backend caches the section contents, the .eh_frame section size
> may be increased due to DW_EH_PE_pcrel address encoding conversion
> even if caches_rawsize isn't set.  ld-elf/eh6.d is such an example.
> We shouldn't check caches_rawsize to support section size increase.
> 
> OK for master?

No.  This would break targets that increase section size in
relax_section and realloc section contents.

-- 
Alan Modra
Australia Development Lab, IBM


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