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]

Re: [PATCH] Make ia64 unwind sections corresponding to linkonce functions linkonce as well


On Tue, May 01, 2001 at 10:19:32AM -0400, Jakub Jelinek wrote:
> bfd/
> 	* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
> 	sections as well.
> 	(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
> 	to .gnu.linkonce.t.FOO text section.
> 
> binutils/
> 	* readelf.c (process_unwind): Print all unwind sections, not just
> 	one.
> 
> gas/
> 	* config/tc-ia64.c (special_linkonce_name): New.
> 	(make_unw_section): Map .gnu.linkonce.t.FOO text section into
> 	.gnu.linkonce.ia64unw{,i}.FOO.
> 	(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
> 	(dot_endp): Add comment about it.
> 
> include/
> 	* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
> 	(ELF_STRING_ia64_unwind_info_once): Define.
> 
> ld/
> 	* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
> 	.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
> 	output sections,

Ok, except for ...

>	 make sure crtend.o's .IA_64.unwind section comes last.

... this, which is completely unnecessary.  If you'll look,
you'll see that crtend.o doesn't even _have_ an unwind section.


r~


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