Change section flags in linker script

John Reiser jreiser@bitwagon.com
Fri Nov 6 01:31:00 GMT 2009


> 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.)

-- 



More information about the Binutils mailing list