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: AArch64's Setting DT_TEXTREL Is too Strict.


On Thu, Aug 13, 2015 at 05:01:16PM +0800, lin zuojian wrote:
>     I find that on aarch64, DT_TEXTREL is set in dynamic section when my
>     object just has read-only section relocation. On
[snip]
>     Would it be better to change this to .text section only?

No.  DT_TEXTREL (or DF_TEXTREL) should be set if any section that maps
to a read-only PT_LOAD segment, has a dynamic relocation.

-- 
Alan Modra
Australia Development Lab, IBM


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