From: uz Date: Thu, 18 Aug 2011 16:26:44 +0000 (+0000) Subject: Adapt to changed information in the object files. X-Git-Tag: V2.13.3~248 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f8e5463278a91b48434665f028688fcc984c13f2;p=cc65 Adapt to changed information in the object files. git-svn-id: svn://svn.cc65.org/cc65/trunk@5214 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ar65/objfile.c b/src/ar65/objfile.c index bfc3dd175..1696ecc0c 100644 --- a/src/ar65/objfile.c +++ b/src/ar65/objfile.c @@ -224,6 +224,7 @@ void ObjReadData (FILE* F, ObjData* O) /* Line info indices */ SkipLineInfoList (F); + SkipLineInfoList (F); } } diff --git a/src/od65/dump.c b/src/od65/dump.c index 1af93aba5..12ab80c60 100644 --- a/src/od65/dump.c +++ b/src/od65/dump.c @@ -378,7 +378,7 @@ void DumpObjOptions (FILE* F, unsigned long Offset) case OPT_ARGNUM: printf (" Data:%26lu", Val); - if (Type == OPT_DATETIME) { + if (Type == OPT_DATETIME) { /* Print the time as a string */ printf (" (%s)", TimeToStr (Val)); } @@ -544,7 +544,8 @@ void DumpObjImports (FILE* F, unsigned long Offset) const char* Name = GetString (&StrPool, ReadVar (F)); unsigned Len = strlen (Name); - /* Skip the line infos */ + /* Skip both line info lists */ + SkipLineInfoList (F); SkipLineInfoList (F); /* Print the header */ @@ -613,7 +614,8 @@ void DumpObjExports (FILE* F, unsigned long Offset) Size = ReadVar (F); } - /* Skip the line infos */ + /* Skip both line infos lists */ + SkipLineInfoList (F); SkipLineInfoList (F); /* Print the header */ @@ -700,7 +702,8 @@ void DumpObjDbgSyms (FILE* F, unsigned long Offset) ExportId = ReadVar (F); } - /* Skip the line infos */ + /* Skip both line info lists */ + SkipLineInfoList (F); SkipLineInfoList (F); /* Print the header */ @@ -937,3 +940,4 @@ void DumpObjSegSize (FILE* F, unsigned long Offset) +