attached.

ron
Make the lar more informative about loadaddress and entry point.

Signed-off-by: Ronald G. Minnich <[EMAIL PROTECTED]>

Index: util/lar/stream.c
===================================================================
--- util/lar/stream.c	(revision 518)
+++ util/lar/stream.c	(working copy)
@@ -517,19 +517,22 @@
 			printf("  %s ", filename);
 
 			if (ntohl(header->compression) == none) {
-				printf("(%d bytes @0x%lx)\n",
+				printf("(%d bytes @0x%lx);",
 				       ntohl(header->len),
 				       (unsigned long)(ptr - lar->map) +
 				       ntohl(header->offset));
 			} else {
 				printf("(%d bytes, %s compressed to %d bytes "
-				       "@0x%lx)\n",
+				       "@0x%lx);",
 				       ntohl(header->reallen),
 				       algo_name[ntohl(header->compression)],
 				       ntohl(header->len),
 				       (unsigned long)(ptr - lar->map) +
 				       ntohl(header->offset));
 			}
+			printf("loadaddress 0x%#x entry 0x%#x\n", 
+					ntohl(header->loadaddress), 
+					ntohl(header->entry));
 		}
 
 		ptr += get_next_offset(header);
-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to