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: Change section flags in linker script


To clarify, here is an example of what I start with
(from objdump -h):

  29 .text     00008fe8  a0002010  a0002010  0000132d  2**3
                   CONTENTS, ALLOC, LOAD, READONLY, CODE

And this is what I want to end up with:

  29 .text     00008fe8  a0002010  a0002010  0000132d  2**3
                   CONTENTS, ALLOC, LOAD, READONLY, DATA

If all you want to do is clear the SHF_EXECINSTR flag, then that's a very simple app in C (or your favorite language.)

--


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