On Fri, May 02, 2014 at 09:14:16AM +0100, David Laight wrote: > I don't think the linker has a global option to make the eh_frame > section(s) non-loadable - which ought to allow debuggers to use them > without taking up program memory (for non paged binaries).
Using objcopy -R is another option (we do that in various places) - but I'm not conviced it is any better than the options you used. Martin