https://sourceware.org/bugzilla/show_bug.cgi?id=30145
Nick Clifton <nickc at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #1 from Nick Clifton <nickc at redhat dot com> --- Hi Pali, I am hesitant to change ld as it would mean introducing changes to the linker script syntax which might cause new bugs - and which would restrict users to using the bfd linker, instead of having a free choice. But it should be possible to provide the functionality using objcopy. In fact it might already be supported. Objcopy has a --set-section-flags option which accepts a range of arguments (alloc, load, noload, readonly, debug, code, data, rom, exclude, share, contents, merge, strings). Have you tried using this option to achieve the results you desire ? If it works, then maybe all that we need to do is to document how the arguments to the option correspond to various IMAGE_SCN_* flags. If not, then maybe we can add some more arguments that do map to the required flags. What do you think ? Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.