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.) So where the tool now shows something like this : The Function Table (interpreted .pdata section contents) vma: Begin Prolog Function 32-bit Exception Address Length Length Flag Flag 00015000 00011060 00000002 0000000d 00000001 00000001 00015008 0001109c 00000002 0000000d 00000001 00000001 00015010 000110d8 00000002 0000000c 00000001 00000001 00015018 00011110 00000002 00000031 00000001 00000001 it might be better if it printed The Function Table (interpreted .pdata section contents) vma: Begin Prolog Function 32-bit Exception Address Length Length Flag Flag 00015000 00011060 00000002 0000000d 00000001 00000001 -> 11058 : 00000000 00000000 00015008 0001109c 00000002 0000000d 00000001 00000001 -> 11094 : 00000000 00000000 00015010 000110d8 00000002 0000000c 00000001 00000001 -> 110d0 : 9c100100 00000000 (actually that's 0001109c) 00015018 00011110 00000002 00000031 00000001 00000001 -> 11108 : 60100100 00000000 (actually that's 00011060) The "actually" is a formatting issue, I guess. I copied these values from the numeric dump of the text section. Would it be a good idea to add this and then submit to bug-binutils? Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel