This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Make .eh_frame sections read-only on 64-bit Solaris/x86
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: binutils at sourceware dot org
- Date: Tue, 19 Jan 2010 01:39:26 +0100
- Subject: Re: PATCH: Make .eh_frame sections read-only on 64-bit Solaris/x86
- References: <yddockrfe2c.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
> I'll probably add a check to gcc's gcc/configure.ac to guard against
> this, but the proper fix seems to make gcc and gas consistent.
There is a check already, it will disable the CFI directives if the section is
made again read-only, so you'll need to invert it for x86-64.
> It would be good to get this both into binutils mainline and the 2.20
> branch so we can point people at the gas 2.20.1 release that works in
> time for the gcc 4.5 release.
Are you sure it's a patch against the trunk? My pristine tree has:
/* The Sun linker doesn't merge read-only and read-write sections into
a single read-write section so we must force all EH frame sections
to be read-write. */
#define DWARF2_EH_FRAME_READ_ONLY 0
--
Eric Botcazou