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: ld/3015: -z relro may create PT_NULL segment


On Mon, Aug 14, 2006 at 05:41:26PM -0700, H. J. Lu wrote:
> -		  p->p_type = PT_NULL;
> +		  /* elf_modify_segment_map will delete empty PT_LOAD
> +		     segments.  */
> +		  p->p_type = PT_LOAD;

But elf_modify_segment_map is called *before*
assign_file_positions_for_non_load_sections.

-- 
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]