From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: brendan@dgs.monash.edu.au Cc: jlarmour@cygnus.co.uk, eramdam@kieray1.p.y.ki.era.ericsson.se, dmalek@jlc.net, gdb@sourceware.cygnus.com, binutils@sourceware.cygnus.com Subject: Re: SOLVED: objdump or gdb to force a section to load ? Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <19990618052740.26680.qmail@daffy.airs.com> References: <3766EA73.123505A6@dgs.monash.edu.au> <199906171606.RAA15562@peshwari.cygnus.co.uk> <376981EF.BE10D7C8@dgs.monash.edu.au> <37699391.2CF83050@cygnus.co.uk> <376996F2.1F150FCF@dgs.monash.edu.au> <376996F2.1F150FCF@dgs.monash.edu.au> X-SW-Source: 1999-q2/msg00280.html 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. Ian