This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] -z relro + .dynsym STT_SECTION
- From: Eric Botcazou <ebotcazou at act-europe dot fr>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 15 Jun 2004 16:23:52 +0200
- Subject: Re: [PATCH] -z relro + .dynsym STT_SECTION
- References: <20040505133326.GS2565@bubble.modra.org> <20040506110502.GA3507@bubble.modra.org> <20040506103549.GQ5191@sunsite.ms.mff.cuni.cz>
> * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
> Create separate .got.plt section if SEPARATE_GOTPLT.
> Move sections which are only written during relocation handling
> to the beginning of RW segment. If NO_SMALL_DATA, move .got
> before .data. Add DATA_SEGMENT_RELRO_END directive.
> Include OTHER_RELRO_SECTIONS.
These bits
+ /* Exception handling */
+ .eh_frame ${RELOCATING-0} : { KEEP (*(.eh_frame)) }
+ .gcc_except_table ${RELOCATING-0} : { *(.gcc_except_table) }
- .eh_frame ${RELOCATING-0} : { KEEP (*(.eh_frame)) }
- .gcc_except_table ${RELOCATING-0} : { KEEP (*(.gcc_except_table))
*(.gcc_except_table.*) }
broke the gc mechanism used for Ada in presence of DWARF-2 EH.
Would you mind fixing the problem? Thanks.
--
Eric Botcazou