logo       

Re: Patch: get objdump to report exception table correctly: msg#00064

gnu.cegcc.devel

Subject: Re: Patch: get objdump to report exception table correctly

On Tue, 2007-07-17 at 17:46 +0200, Danny Backx wrote:
> On Mon, 2007-07-16 at 22:33 +0100, Pedro Alves wrote:
> > Danny Backx wrote:
> > > Comments & input welcomed.
> >
> > Nice!
> >
> > (IMHO, you should submit it upstream with a testcase.)
>
> That is my intention.
>
> I was thinking that it might be better to add one more thing. This patch
> only fixes binutils so it reads the right structure for ARM and SH4. In
> that structure, there's a pointer to another record which objdump might
> report on. (The two DWORDs before the function start.)

Next generation of the patch is attached, this is the output on a sample
executable :

dannypc: {106} arm-wince-mingw32ce-objdump -p param.exe | tail
The Function Table (interpreted .pdata section contents)
vma: Begin Prolog Function Flags Exception EH
Address Length Length 32b exc Handler Data
00015000 00011060 00000002 0000000d 1 1 00000000 00000000
00015008 0001109c 00000002 0000000d 1 1 00000000 00000000
00015010 000110d8 00000002 0000000c 1 1 0001109c 00000000
(handle2)
00015018 00011110 00000002 00000031 1 1 00011060 00000000
(handle1)

private flags = 820: [APCS-32] [floats passed in integer registers]
[absolute position] [interworking not supported]

Comments ?

Danny

--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info

Attachment: x2
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
Cegcc-devel mailing list
Cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise