On 27.11.2007 17:29, ron minnich wrote: > On Nov 27, 2007 8:33 AM, Jordan Crouse <[EMAIL PROTECTED]> wrote: > > >> Also, I would abandon the use of .o naming in the LAR - that will drive >> others (like me) off course thinking an object file is living in the >> LAR, which is not the case. >> > > your summary is correct. And, we should change the name. Carl-daniel, > suggestions? >
Yes. How about: old way: normal/stage2.o/segment0 normal/stage2.o/segment1 new 1: normal/stage2/seg0 normal/stage2/seg1 new 2: normal/stage2/0 normal/stage2/1 I prefer having seg in the name to make it obvious that these are segments. Together with a function void *load_all_segments(struct mem_file *archive, char *filename) which returns the entry point and is called like this from stage1: entry = load_all_segments(&archive, "normal/stage2"); handling should get a lot easier. Basically, people should not have to care about segments. Regards, Carl-Daniel -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios