logo       

Patch: get objdump to report exception table correctly: msg#00059

gnu.cegcc.devel

Subject: Patch: get objdump to report exception table correctly

The attached patch gets objdump to report sensible things for the .pdata
section. The new version outputs this :

The Function Table (interpreted .pdata section contents)
vma: Begin Prolog Function 32-bit Exception
Address Length Length Flag Flag
0001d000 00011008 00000002 000fffff 00000001 00000001

where the old version would say this :
Warning, .pdata section size (8) is not a multiple of 20

The Function Table (interpreted .pdata section contents)
vma: Begin End EH EH PrologEnd Exception
Address Address Handler Data Address Mask


I have a small problem in that I don't know how to identify SH4
processors in the code. I've now written
#if defined(ARM_WINCE) || defined(SH4)
but that may not actually work.

Comments & input welcomed.

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

Attachment: x
Description: Text Data

Attachment: 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-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