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: PR binutils/3281: objcopy changes PT_GNU_RELRO when there is PT_TLS


On Thu, Sep 28, 2006 at 03:09:16PM -0700, H. J. Lu wrote:
> When linker creates PT_GNU_RELRO segment, it sets p_vaddr, p_paddr,
> p_offset, p_filesz from the corresponding PT_LOAD segment and
> set p_memsz to p_filesz, p_align to 1. My previous fix for PR 3015
> only handles p_align for objcopy. PT_GNU_RELRO segment will be
> different after objcopy if there is a PT_TLS segment. This patch
> puts all PT_GNU_RELRO segment procossing for objcopy into
> assign_file_positions_for_non_load_sections and uses the same logic
> as linker.
> 

Could someone please take a look at it:

http://sourceware.org/ml/binutils/2006-09/msg00376.html

Thanks.


H.J.


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