This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: PATCH: Make .eh_frame sections read-only on 64-bit Solaris/x86


> 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


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