This is the mail archive of the binutils@sources.redhat.com 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] Fix various strip bugs with .tbss sections


On Sat, Nov 30, 2002 at 12:51:52AM +0100, Jakub Jelinek wrote:
> 	* elf.c (elf_sort_sections): Don't reorder .tbss.
> 	(assign_file_positions_for_segments): Only adjust off/voff
> 	for increased alignment in PT_LOAD or PT_NOTE segment,
> 	but adjust p_filesz for .tbss too.  in PT_LOAD consider
> 	.tbss to have zero memory size.
> 	(copy_private_bfd_data) [SECTION_SIZE]: Define.
> 	[IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it.
> 	[INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections
> 	into PT_TLS segment.  Never put SHF_TLS sections in
> 	segments other than PT_TLS or PT_LOAD.

OK.

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