SOLVED: objdump or gdb to force a section to load ?

Ian Lance Taylor
Thu Jun 17 22:28:00 GMT 1999

   Date: Fri, 18 Jun 1999 00:46:42 +0000
   From: Brendan Simon <>

   I tried a few combinations and found that
   "--set-section-flags=image=load,alloc,readonly" does work even thought it complains
   with "BFD: sta00639: warning: allocated section `image' not in segment".

Yeah, this is what I meant in my previous message about getting
loadable information from the segments rather than the sections.

This is an area where it is hard for BFD to hide the specific
characteristics of ELF.


More information about the Gdb mailing list