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]
Other format: [Raw text]

Re: make .eh_frame read-only


On Wed, 4 Jun 2003, Richard Henderson wrote:

> All this data is read-only; make sure ld puts it into the proper segment.

>         * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.

Unless "I have no ideas what I'm talking about", on some
architectures there'll still have to be run-time relocations for
DSO:s there, so forcing read-only for all would be wrong; that'd
force DT_TEXTREL for those targets.  I suggest instead a target
macro, by default

#define TC_EH_FRAME_SECTION_FLAGS (SEC_ALLOC | SEC_LOAD | SEC_DATA | SEC_READONLY)

brgds, H-P


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