This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix various strip bugs with .tbss sections
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com, roland at redhat dot com
- Date: Fri, 13 Dec 2002 12:11:31 +1030
- Subject: Re: [PATCH] Fix various strip bugs with .tbss sections
- References: <20021130005152.T1310@sunsite.ms.mff.cuni.cz>
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