This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Make ia64 unwind sections corresponding to linkonce functions linkonce as well
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Make ia64 unwind sections corresponding to linkonce functions linkonce as well
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 7 May 2001 17:36:09 -0700
- Cc: wilson at redhat dot com, binutils at sources dot redhat dot com
- References: <20010501101932.R9725@devserv.devel.redhat.com>
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~